[2026-08-26 00:00:16] local.INFO: TCP Data received {"connection_id":163329,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-26 00:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-26 00:00:16] local.INFO: Processing buffer {"connection_id":163329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-26 00:00:16] local.INFO: Packet analysis {"connection_id":163329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a2b"} 
[2026-08-26 00:00:16] local.INFO: Extracted packet for processing {"connection_id":163329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a2b"} 
[2026-08-26 00:00:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 00:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646597120001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:00:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787682321000,"timestamp_ms":1787682321000,"timestamp_seconds":1787682321,"priority":1,"record_length":96,"hex_timestamp":"000001a03a2b7268"} 
[2026-08-26 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-26 00:00: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-26 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:00:16] 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-26 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-26 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-26 00:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646597120001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646597120001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:00:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646597120001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":163329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:00:16] local.INFO: GPS data processed {"connection_id":163329,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:00:16] local.INFO: Acknowledgment sent {"connection_id":163329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:00:40] local.INFO: TCP Data received {"connection_id":164713,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:00:40] local.INFO: Processing buffer {"connection_id":164713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:00:40] local.INFO: IMEI packet received {"connection_id":164713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":164713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:00:44] local.INFO: TCP Data received {"connection_id":164713,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:00:44] local.INFO: Processing buffer {"connection_id":164713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:00:44] local.INFO: IMEI packet received {"connection_id":164713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":164713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:00:44] local.INFO: TCP Data received {"connection_id":164713,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-26 00:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-26 00:00:44] local.INFO: Processing buffer {"connection_id":164713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a2b7268012d34c14006aa4818000b00e62d..."} 
[2026-08-26 00:00:44] local.INFO: Packet analysis {"connection_id":164713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a2b"} 
[2026-08-26 00:00:44] local.INFO: Extracted packet for processing {"connection_id":164713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a2b"} 
[2026-08-26 00:00:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646597120001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:00:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787682321000,"timestamp_ms":1787682321000,"timestamp_seconds":1787682321,"priority":1,"record_length":96,"hex_timestamp":"000001a03a2b7268"} 
[2026-08-26 00:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:00: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-26 00:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:00:44] 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-26 00:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646597120001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646597120001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:00:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646597120001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":164713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:00:44] local.INFO: GPS data processed {"connection_id":164713,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:00:44] local.INFO: Acknowledgment sent {"connection_id":164713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:01:16] local.INFO: TCP Data received {"connection_id":164713,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:01:16] local.INFO: Processing buffer {"connection_id":164713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:01:16] local.INFO: Packet analysis {"connection_id":164713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a30"} 
[2026-08-26 00:01:16] local.INFO: Extracted packet for processing {"connection_id":164713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a30"} 
[2026-08-26 00:01:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646674176001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:01:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787682622000,"timestamp_ms":1787682622000,"timestamp_seconds":1787682622,"priority":1,"record_length":96,"hex_timestamp":"000001a03a300a30"} 
[2026-08-26 00: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-26 00:01: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-26 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:01: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-26 00: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-26 00: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-26 00:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646674176001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646674176001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:01:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646674176001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":164713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:01:16] local.INFO: GPS data processed {"connection_id":164713,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:01:16] local.INFO: Acknowledgment sent {"connection_id":164713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:01:34] local.INFO: TCP Data received {"connection_id":162332,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:01:34] local.INFO: Processing buffer {"connection_id":162332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:01:34] local.INFO: IMEI packet received {"connection_id":162332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 00:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":162332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:01:38] local.INFO: TCP Data received {"connection_id":163330,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:01:38] local.INFO: Processing buffer {"connection_id":163330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:01:38] local.INFO: IMEI packet received {"connection_id":163330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":163330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:01:44] local.INFO: TCP Data received {"connection_id":163330,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:01:44] local.INFO: Processing buffer {"connection_id":163330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:01:44] local.INFO: IMEI packet received {"connection_id":163330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":163330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:01:45] local.INFO: TCP Data received {"connection_id":163330,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:01:45] local.INFO: Processing buffer {"connection_id":163330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:01:45] local.INFO: Packet analysis {"connection_id":163330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a30"} 
[2026-08-26 00:01:45] local.INFO: Extracted packet for processing {"connection_id":163330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a30"} 
[2026-08-26 00:01:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646674176001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:01:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787682622000,"timestamp_ms":1787682622000,"timestamp_seconds":1787682622,"priority":1,"record_length":96,"hex_timestamp":"000001a03a300a30"} 
[2026-08-26 00:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:01: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-26 00:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:01:45] 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-26 00:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646674176001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646674176001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:01:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646674176001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":163330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:01:45] local.INFO: GPS data processed {"connection_id":163330,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:01:45] local.INFO: Acknowledgment sent {"connection_id":163330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:02:16] local.INFO: TCP Data received {"connection_id":163330,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:02:16] local.INFO: Processing buffer {"connection_id":163330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:02:16] local.INFO: Packet analysis {"connection_id":163330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a30"} 
[2026-08-26 00:02:16] local.INFO: Extracted packet for processing {"connection_id":163330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a30"} 
[2026-08-26 00:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646674176001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:02:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787682622000,"timestamp_ms":1787682622000,"timestamp_seconds":1787682622,"priority":1,"record_length":96,"hex_timestamp":"000001a03a300a30"} 
[2026-08-26 00:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:02: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-26 00:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:02: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-26 00:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646674176001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646674176001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:02:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646674176001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":163330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:02:16] local.INFO: GPS data processed {"connection_id":163330,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:02:16] local.INFO: Acknowledgment sent {"connection_id":163330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:02:38] local.INFO: TCP Data received {"connection_id":162098,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:02:38] local.INFO: Processing buffer {"connection_id":162098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:02:38] local.INFO: IMEI packet received {"connection_id":162098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":162098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:02:44] local.INFO: TCP Data received {"connection_id":162098,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:02:44] local.INFO: Processing buffer {"connection_id":162098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:02:44] local.INFO: IMEI packet received {"connection_id":162098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":162098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:02:45] local.INFO: TCP Data received {"connection_id":162098,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:02:45] local.INFO: Processing buffer {"connection_id":162098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:02:45] local.INFO: Packet analysis {"connection_id":162098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a30"} 
[2026-08-26 00:02:45] local.INFO: Extracted packet for processing {"connection_id":162098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a30"} 
[2026-08-26 00:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646674176001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:02:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787682622000,"timestamp_ms":1787682622000,"timestamp_seconds":1787682622,"priority":1,"record_length":96,"hex_timestamp":"000001a03a300a30"} 
[2026-08-26 00:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:02: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-26 00:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:02:45] 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-26 00:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646674176001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646674176001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:02:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646674176001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":162098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:02:45] local.INFO: GPS data processed {"connection_id":162098,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:02:45] local.INFO: Acknowledgment sent {"connection_id":162098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:03:16] local.INFO: TCP Data received {"connection_id":162098,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:03:16] local.INFO: Processing buffer {"connection_id":162098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:03:16] local.INFO: Packet analysis {"connection_id":162098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a30"} 
[2026-08-26 00:03:16] local.INFO: Extracted packet for processing {"connection_id":162098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a30"} 
[2026-08-26 00:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 00:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646674176001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:03:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787682622000,"timestamp_ms":1787682622000,"timestamp_seconds":1787682622,"priority":1,"record_length":96,"hex_timestamp":"000001a03a300a30"} 
[2026-08-26 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-26 00:03: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-26 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:03: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-26 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-26 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-26 00:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646674176001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646674176001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646674176001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":162098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:03:16] local.INFO: GPS data processed {"connection_id":162098,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:03:16] local.INFO: Acknowledgment sent {"connection_id":162098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:03:44] local.INFO: TCP Data received {"connection_id":164715,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:03:44] local.INFO: Processing buffer {"connection_id":164715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:03:44] local.INFO: IMEI packet received {"connection_id":164715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":164715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:03:49] local.INFO: TCP Data received {"connection_id":164715,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:03:49] local.INFO: Processing buffer {"connection_id":164715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:03:49] local.INFO: IMEI packet received {"connection_id":164715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":164715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:03:49] local.INFO: TCP Data received {"connection_id":164715,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:03:49] local.INFO: Processing buffer {"connection_id":164715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:03:49] local.INFO: Packet analysis {"connection_id":164715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a30"} 
[2026-08-26 00:03:49] local.INFO: Extracted packet for processing {"connection_id":164715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a30"} 
[2026-08-26 00:03:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646674176001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:03:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787682622000,"timestamp_ms":1787682622000,"timestamp_seconds":1787682622,"priority":1,"record_length":96,"hex_timestamp":"000001a03a300a30"} 
[2026-08-26 00: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-26 00:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:03:49] 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-26 00: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-26 00: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-26 00:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646674176001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646674176001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:03:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646674176001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":164715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:03:49] local.INFO: GPS data processed {"connection_id":164715,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:03:49] local.INFO: Acknowledgment sent {"connection_id":164715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:03:54] local.INFO: TCP Data received {"connection_id":164715,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:03:54] local.INFO: Processing buffer {"connection_id":164715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:03:54] local.INFO: Packet analysis {"connection_id":164715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a30"} 
[2026-08-26 00:03:54] local.INFO: Extracted packet for processing {"connection_id":164715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a30"} 
[2026-08-26 00:03:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646674176001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:03:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787682622000,"timestamp_ms":1787682622000,"timestamp_seconds":1787682622,"priority":1,"record_length":96,"hex_timestamp":"000001a03a300a30"} 
[2026-08-26 00:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646674176001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646674176001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:03:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646674176001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":164715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:03:54] local.INFO: GPS data processed {"connection_id":164715,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:03:54] local.INFO: Acknowledgment sent {"connection_id":164715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:04:39] local.INFO: TCP Data received {"connection_id":162099,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:04:39] local.INFO: Processing buffer {"connection_id":162099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:04:39] local.INFO: IMEI packet received {"connection_id":162099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":162099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:04:44] local.INFO: TCP Data received {"connection_id":162099,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:04:44] local.INFO: Processing buffer {"connection_id":162099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:04:44] local.INFO: IMEI packet received {"connection_id":162099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":162099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:04:45] local.INFO: TCP Data received {"connection_id":162099,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:04:45] local.INFO: Processing buffer {"connection_id":162099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:04:45] local.INFO: Packet analysis {"connection_id":162099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a30"} 
[2026-08-26 00:04:45] local.INFO: Extracted packet for processing {"connection_id":162099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a30"} 
[2026-08-26 00:04:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646674176001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:04:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787682622000,"timestamp_ms":1787682622000,"timestamp_seconds":1787682622,"priority":1,"record_length":96,"hex_timestamp":"000001a03a300a30"} 
[2026-08-26 00:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:04: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-26 00:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:04:45] 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-26 00:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646674176001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646674176001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:04:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646674176001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":162099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:04:45] local.INFO: GPS data processed {"connection_id":162099,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:04:45] local.INFO: Acknowledgment sent {"connection_id":162099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:05:16] local.INFO: TCP Data received {"connection_id":162099,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:05:16] local.INFO: Processing buffer {"connection_id":162099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:05:16] local.INFO: Packet analysis {"connection_id":162099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a30"} 
[2026-08-26 00:05:16] local.INFO: Extracted packet for processing {"connection_id":162099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a30"} 
[2026-08-26 00:05:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646674176001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:05:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787682622000,"timestamp_ms":1787682622000,"timestamp_seconds":1787682622,"priority":1,"record_length":96,"hex_timestamp":"000001a03a300a30"} 
[2026-08-26 00:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:05: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-26 00:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:05: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-26 00:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646674176001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646674176001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:05:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646674176001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":162099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:05:16] local.INFO: GPS data processed {"connection_id":162099,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:05:16] local.INFO: Acknowledgment sent {"connection_id":162099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:05:39] local.INFO: TCP Data received {"connection_id":162334,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:05:39] local.INFO: Processing buffer {"connection_id":162334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:05:39] local.INFO: IMEI packet received {"connection_id":162334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":162334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:05:45] local.INFO: TCP Data received {"connection_id":162334,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:05:45] local.INFO: Processing buffer {"connection_id":162334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:05:45] local.INFO: IMEI packet received {"connection_id":162334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":162334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:05:46] local.INFO: TCP Data received {"connection_id":162334,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:05:46] local.INFO: Processing buffer {"connection_id":162334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a300a30012d34c14006aa4818000700e62f..."} 
[2026-08-26 00:05:46] local.INFO: Packet analysis {"connection_id":162334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a30"} 
[2026-08-26 00:05:46] local.INFO: Extracted packet for processing {"connection_id":162334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a30"} 
[2026-08-26 00:05:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646674176001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:05:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787682622000,"timestamp_ms":1787682622000,"timestamp_seconds":1787682622,"priority":1,"record_length":96,"hex_timestamp":"000001a03a300a30"} 
[2026-08-26 00: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-26 00:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:05:46] 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-26 00: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-26 00: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-26 00:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646674176001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646674176001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:05:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646674176001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":162334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:05:46] local.INFO: GPS data processed {"connection_id":162334,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:05:46] local.INFO: Acknowledgment sent {"connection_id":162334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:06:17] local.INFO: TCP Data received {"connection_id":162334,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:06:17] local.INFO: Processing buffer {"connection_id":162334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:06:17] local.INFO: Packet analysis {"connection_id":162334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a34"} 
[2026-08-26 00:06:17] local.INFO: Extracted packet for processing {"connection_id":162334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a34"} 
[2026-08-26 00:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646751232001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:06:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787682923000,"timestamp_ms":1787682923000,"timestamp_seconds":1787682923,"priority":1,"record_length":96,"hex_timestamp":"000001a03a34a1f8"} 
[2026-08-26 00:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:06: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-26 00:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:06: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-26 00:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646751232001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646751232001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:06:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646751232001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":162334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:06:17] local.INFO: GPS data processed {"connection_id":162334,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:06:17] local.INFO: Acknowledgment sent {"connection_id":162334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:06:43] local.INFO: TCP Data received {"connection_id":163331,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:06:44] local.INFO: Processing buffer {"connection_id":163331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:06:44] local.INFO: IMEI packet received {"connection_id":163331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":163331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:06:49] local.INFO: TCP Data received {"connection_id":163331,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:06:49] local.INFO: Processing buffer {"connection_id":163331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:06:49] local.INFO: IMEI packet received {"connection_id":163331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":163331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:06:50] local.INFO: TCP Data received {"connection_id":163331,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:06:50] local.INFO: Processing buffer {"connection_id":163331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:06:50] local.INFO: Packet analysis {"connection_id":163331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a34"} 
[2026-08-26 00:06:50] local.INFO: Extracted packet for processing {"connection_id":163331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a34"} 
[2026-08-26 00:06:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:06: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-26 00:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646751232001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:06:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787682923000,"timestamp_ms":1787682923000,"timestamp_seconds":1787682923,"priority":1,"record_length":96,"hex_timestamp":"000001a03a34a1f8"} 
[2026-08-26 00:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00:06: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:06:50] 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-26 00:06: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-26 00:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646751232001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646751232001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:06:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646751232001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":163331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:06:50] local.INFO: GPS data processed {"connection_id":163331,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:06:50] local.INFO: Acknowledgment sent {"connection_id":163331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:06:54] local.INFO: TCP Data received {"connection_id":163331,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:06:54] local.INFO: Processing buffer {"connection_id":163331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:06:54] local.INFO: Packet analysis {"connection_id":163331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a34"} 
[2026-08-26 00:06:54] local.INFO: Extracted packet for processing {"connection_id":163331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a34"} 
[2026-08-26 00:06:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646751232001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:06:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787682923000,"timestamp_ms":1787682923000,"timestamp_seconds":1787682923,"priority":1,"record_length":96,"hex_timestamp":"000001a03a34a1f8"} 
[2026-08-26 00: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-26 00:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00: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-26 00: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-26 00:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646751232001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646751232001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:06:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646751232001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":163331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:06:54] local.INFO: GPS data processed {"connection_id":163331,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:06:54] local.INFO: Acknowledgment sent {"connection_id":163331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:07:09] local.INFO: TCP Data received {"connection_id":164716,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:07:09] local.INFO: Processing buffer {"connection_id":164716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:07:09] local.INFO: IMEI packet received {"connection_id":164716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 00:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":164716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:07:39] local.INFO: TCP Data received {"connection_id":162335,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:07:39] local.INFO: Processing buffer {"connection_id":162335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:07:39] local.INFO: IMEI packet received {"connection_id":162335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":162335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:07:44] local.INFO: TCP Data received {"connection_id":162335,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:07:44] local.INFO: Processing buffer {"connection_id":162335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:07:44] local.INFO: IMEI packet received {"connection_id":162335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":162335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:07:45] local.INFO: TCP Data received {"connection_id":162335,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:07:45] local.INFO: Processing buffer {"connection_id":162335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:07:45] local.INFO: Packet analysis {"connection_id":162335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a34"} 
[2026-08-26 00:07:45] local.INFO: Extracted packet for processing {"connection_id":162335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a34"} 
[2026-08-26 00:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646751232001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:07:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787682923000,"timestamp_ms":1787682923000,"timestamp_seconds":1787682923,"priority":1,"record_length":96,"hex_timestamp":"000001a03a34a1f8"} 
[2026-08-26 00:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:07: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-26 00:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:07:45] 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-26 00:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646751232001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646751232001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:07:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646751232001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":162335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:07:45] local.INFO: GPS data processed {"connection_id":162335,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:07:45] local.INFO: Acknowledgment sent {"connection_id":162335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:08:16] local.INFO: TCP Data received {"connection_id":162335,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:08:16] local.INFO: Processing buffer {"connection_id":162335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:08:16] local.INFO: Packet analysis {"connection_id":162335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a34"} 
[2026-08-26 00:08:16] local.INFO: Extracted packet for processing {"connection_id":162335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a34"} 
[2026-08-26 00:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 00:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646751232001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:08:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787682923000,"timestamp_ms":1787682923000,"timestamp_seconds":1787682923,"priority":1,"record_length":96,"hex_timestamp":"000001a03a34a1f8"} 
[2026-08-26 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-26 00:08: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-26 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":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:08:16] 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-26 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-26 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-26 00:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646751232001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646751232001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646751232001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":162335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:08:16] local.INFO: GPS data processed {"connection_id":162335,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:08:16] local.INFO: Acknowledgment sent {"connection_id":162335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:08:39] local.INFO: TCP Data received {"connection_id":163333,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:08:39] local.INFO: Processing buffer {"connection_id":163333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:08:39] local.INFO: IMEI packet received {"connection_id":163333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":163333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:08:44] local.INFO: TCP Data received {"connection_id":163333,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:08:44] local.INFO: Processing buffer {"connection_id":163333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:08:44] local.INFO: IMEI packet received {"connection_id":163333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":163333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:08:45] local.INFO: TCP Data received {"connection_id":163333,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:08:45] local.INFO: Processing buffer {"connection_id":163333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:08:45] local.INFO: Packet analysis {"connection_id":163333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a34"} 
[2026-08-26 00:08:45] local.INFO: Extracted packet for processing {"connection_id":163333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a34"} 
[2026-08-26 00:08:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646751232001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:08:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787682923000,"timestamp_ms":1787682923000,"timestamp_seconds":1787682923,"priority":1,"record_length":96,"hex_timestamp":"000001a03a34a1f8"} 
[2026-08-26 00:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:08: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-26 00:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:08:45] 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-26 00:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646751232001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646751232001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:08:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646751232001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":163333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:08:45] local.INFO: GPS data processed {"connection_id":163333,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:08:45] local.INFO: Acknowledgment sent {"connection_id":163333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:09:16] local.INFO: TCP Data received {"connection_id":163333,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:09:16] local.INFO: Processing buffer {"connection_id":163333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:09:16] local.INFO: Packet analysis {"connection_id":163333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a34"} 
[2026-08-26 00:09:16] local.INFO: Extracted packet for processing {"connection_id":163333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a34"} 
[2026-08-26 00:09:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646751232001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:09:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787682923000,"timestamp_ms":1787682923000,"timestamp_seconds":1787682923,"priority":1,"record_length":96,"hex_timestamp":"000001a03a34a1f8"} 
[2026-08-26 00:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:09: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-26 00:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:09:16] 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-26 00:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646751232001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646751232001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:09:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646751232001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":163333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:09:16] local.INFO: GPS data processed {"connection_id":163333,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:09:16] local.INFO: Acknowledgment sent {"connection_id":163333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:09:39] local.INFO: TCP Data received {"connection_id":162336,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:09:39] local.INFO: Processing buffer {"connection_id":162336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:09:39] local.INFO: IMEI packet received {"connection_id":162336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":162336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:09:43] local.INFO: TCP Data received {"connection_id":162336,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:09:43] local.INFO: Processing buffer {"connection_id":162336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:09:43] local.INFO: IMEI packet received {"connection_id":162336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":162336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:09:44] local.INFO: TCP Data received {"connection_id":162336,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:09:44] local.INFO: Processing buffer {"connection_id":162336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:09:44] local.INFO: Packet analysis {"connection_id":162336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a34"} 
[2026-08-26 00:09:44] local.INFO: Extracted packet for processing {"connection_id":162336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a34"} 
[2026-08-26 00:09:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646751232001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:09:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787682923000,"timestamp_ms":1787682923000,"timestamp_seconds":1787682923,"priority":1,"record_length":96,"hex_timestamp":"000001a03a34a1f8"} 
[2026-08-26 00: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-26 00:09: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-26 00: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:09:44] 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-26 00: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-26 00: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-26 00:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646751232001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646751232001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:09:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646751232001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":162336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:09:44] local.INFO: GPS data processed {"connection_id":162336,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:09:44] local.INFO: Acknowledgment sent {"connection_id":162336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:10:16] local.INFO: TCP Data received {"connection_id":162336,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:10:16] local.INFO: Processing buffer {"connection_id":162336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:10:16] local.INFO: Packet analysis {"connection_id":162336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a34"} 
[2026-08-26 00:10:16] local.INFO: Extracted packet for processing {"connection_id":162336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a34"} 
[2026-08-26 00:10:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646751232001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:10:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787682923000,"timestamp_ms":1787682923000,"timestamp_seconds":1787682923,"priority":1,"record_length":96,"hex_timestamp":"000001a03a34a1f8"} 
[2026-08-26 00: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-26 00:10: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-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:10:16] 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-26 00: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-26 00: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-26 00:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646751232001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646751232001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:10:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646751232001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":162336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:10:16] local.INFO: GPS data processed {"connection_id":162336,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:10:16] local.INFO: Acknowledgment sent {"connection_id":162336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:10:38] local.INFO: TCP Data received {"connection_id":162337,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:10:38] local.INFO: Processing buffer {"connection_id":162337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:10:38] local.INFO: IMEI packet received {"connection_id":162337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":162337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:10:44] local.INFO: TCP Data received {"connection_id":162337,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:10:44] local.INFO: Processing buffer {"connection_id":162337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:10:44] local.INFO: IMEI packet received {"connection_id":162337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":162337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:10:44] local.INFO: TCP Data received {"connection_id":162337,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:10:44] local.INFO: Processing buffer {"connection_id":162337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a34a1f8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 00:10:44] local.INFO: Packet analysis {"connection_id":162337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a34"} 
[2026-08-26 00:10:44] local.INFO: Extracted packet for processing {"connection_id":162337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a34"} 
[2026-08-26 00:10:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646751232001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:10:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787682923000,"timestamp_ms":1787682923000,"timestamp_seconds":1787682923,"priority":1,"record_length":96,"hex_timestamp":"000001a03a34a1f8"} 
[2026-08-26 00: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-26 00:10: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-26 00: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:10:44] 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-26 00: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-26 00: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-26 00:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646751232001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646751232001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:10:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646751232001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":162337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:10:45] local.INFO: GPS data processed {"connection_id":162337,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:10:45] local.INFO: Acknowledgment sent {"connection_id":162337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:11:16] local.INFO: TCP Data received {"connection_id":162337,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:11:16] local.INFO: Processing buffer {"connection_id":162337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:11:16] local.INFO: Packet analysis {"connection_id":162337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a39"} 
[2026-08-26 00:11:16] local.INFO: Extracted packet for processing {"connection_id":162337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a39"} 
[2026-08-26 00:11:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646828288001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:11:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787683224000,"timestamp_ms":1787683224000,"timestamp_seconds":1787683224,"priority":1,"record_length":96,"hex_timestamp":"000001a03a3939c0"} 
[2026-08-26 00:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:11: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-26 00:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:11:16] 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-26 00:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646828288001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646828288001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:11:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646828288001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":162337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:11:16] local.INFO: GPS data processed {"connection_id":162337,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:11:16] local.INFO: Acknowledgment sent {"connection_id":162337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:11:44] local.INFO: TCP Data received {"connection_id":162100,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:11:44] local.INFO: Processing buffer {"connection_id":162100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:11:44] local.INFO: IMEI packet received {"connection_id":162100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":162100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:11:49] local.INFO: TCP Data received {"connection_id":162100,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:11:49] local.INFO: Processing buffer {"connection_id":162100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:11:49] local.INFO: IMEI packet received {"connection_id":162100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":162100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:11:50] local.INFO: TCP Data received {"connection_id":162100,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:11:50] local.INFO: Processing buffer {"connection_id":162100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:11:50] local.INFO: Packet analysis {"connection_id":162100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a39"} 
[2026-08-26 00:11:50] local.INFO: Extracted packet for processing {"connection_id":162100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a39"} 
[2026-08-26 00:11:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:11: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-26 00:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646828288001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:11:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787683224000,"timestamp_ms":1787683224000,"timestamp_seconds":1787683224,"priority":1,"record_length":96,"hex_timestamp":"000001a03a3939c0"} 
[2026-08-26 00:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00:11: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:11:50] 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-26 00:11: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-26 00:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646828288001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646828288001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:11:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646828288001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":162100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:11:50] local.INFO: GPS data processed {"connection_id":162100,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:11:50] local.INFO: Acknowledgment sent {"connection_id":162100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:11:54] local.INFO: TCP Data received {"connection_id":162100,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:11:54] local.INFO: Processing buffer {"connection_id":162100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:11:54] local.INFO: Packet analysis {"connection_id":162100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a39"} 
[2026-08-26 00:11:54] local.INFO: Extracted packet for processing {"connection_id":162100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a39"} 
[2026-08-26 00:11:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646828288001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:11:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787683224000,"timestamp_ms":1787683224000,"timestamp_seconds":1787683224,"priority":1,"record_length":96,"hex_timestamp":"000001a03a3939c0"} 
[2026-08-26 00: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-26 00:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00: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-26 00: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-26 00:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646828288001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646828288001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:11:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646828288001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":162100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:11:54] local.INFO: GPS data processed {"connection_id":162100,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:11:54] local.INFO: Acknowledgment sent {"connection_id":162100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:12:41] local.INFO: TCP Data received {"connection_id":162338,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:12:41] local.INFO: Processing buffer {"connection_id":162338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:12:41] local.INFO: IMEI packet received {"connection_id":162338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":162338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:12:43] local.INFO: TCP Data received {"connection_id":162338,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:12:43] local.INFO: Processing buffer {"connection_id":162338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:12:43] local.INFO: IMEI packet received {"connection_id":162338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":162338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:12:44] local.INFO: TCP Data received {"connection_id":163332,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:12:44] local.INFO: Processing buffer {"connection_id":163332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:12:44] local.INFO: IMEI packet received {"connection_id":163332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 00:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":163332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:12:49] local.INFO: TCP Data received {"connection_id":162338,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:12:49] local.INFO: Processing buffer {"connection_id":162338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:12:49] local.INFO: IMEI packet received {"connection_id":162338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":162338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:12:50] local.INFO: TCP Data received {"connection_id":162338,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:12:50] local.INFO: Processing buffer {"connection_id":162338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:12:50] local.INFO: Packet analysis {"connection_id":162338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a39"} 
[2026-08-26 00:12:50] local.INFO: Extracted packet for processing {"connection_id":162338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a39"} 
[2026-08-26 00:12:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646828288001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:12:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787683224000,"timestamp_ms":1787683224000,"timestamp_seconds":1787683224,"priority":1,"record_length":96,"hex_timestamp":"000001a03a3939c0"} 
[2026-08-26 00: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-26 00:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:12:50] 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-26 00: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-26 00: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-26 00:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646828288001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646828288001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:12:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646828288001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":162338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:12:50] local.INFO: GPS data processed {"connection_id":162338,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:12:50] local.INFO: Acknowledgment sent {"connection_id":162338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:13:09] local.INFO: TCP Data received {"connection_id":163334,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163334,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:13:09] local.INFO: Processing buffer {"connection_id":163334,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:13:09] local.INFO: IMEI packet received {"connection_id":163334,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 00:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":163334,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:13:21] local.INFO: TCP Data received {"connection_id":162338,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:13:21] local.INFO: Processing buffer {"connection_id":162338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:13:21] local.INFO: Packet analysis {"connection_id":162338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a39"} 
[2026-08-26 00:13:21] local.INFO: Extracted packet for processing {"connection_id":162338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a39"} 
[2026-08-26 00:13:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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":795,"current_offset":40} 
[2026-08-26 00:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646828288001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:13:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787683224000,"timestamp_ms":1787683224000,"timestamp_seconds":1787683224,"priority":1,"record_length":96,"hex_timestamp":"000001a03a3939c0"} 
[2026-08-26 00:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00:13: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:13:21] 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-26 00:13: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-26 00:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646828288001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646828288001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:13:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646828288001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":162338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:13:21] local.INFO: GPS data processed {"connection_id":162338,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:13:21] local.INFO: Acknowledgment sent {"connection_id":162338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:13:38] local.INFO: TCP Data received {"connection_id":163335,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:13:38] local.INFO: Processing buffer {"connection_id":163335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:13:38] local.INFO: IMEI packet received {"connection_id":163335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":163335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:13:45] local.INFO: TCP Data received {"connection_id":163335,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:13:45] local.INFO: Processing buffer {"connection_id":163335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:13:45] local.INFO: IMEI packet received {"connection_id":163335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":163335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:13:46] local.INFO: TCP Data received {"connection_id":163335,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:13:46] local.INFO: Processing buffer {"connection_id":163335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:13:46] local.INFO: Packet analysis {"connection_id":163335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a39"} 
[2026-08-26 00:13:46] local.INFO: Extracted packet for processing {"connection_id":163335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a39"} 
[2026-08-26 00:13:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646828288001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:13:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787683224000,"timestamp_ms":1787683224000,"timestamp_seconds":1787683224,"priority":1,"record_length":96,"hex_timestamp":"000001a03a3939c0"} 
[2026-08-26 00: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-26 00:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:13:46] 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-26 00: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-26 00: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-26 00:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646828288001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646828288001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:13:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646828288001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":163335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:13:46] local.INFO: GPS data processed {"connection_id":163335,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:13:46] local.INFO: Acknowledgment sent {"connection_id":163335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:14:18] local.INFO: TCP Data received {"connection_id":163335,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:14:18] local.INFO: Processing buffer {"connection_id":163335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:14:18] local.INFO: Packet analysis {"connection_id":163335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a39"} 
[2026-08-26 00:14:18] local.INFO: Extracted packet for processing {"connection_id":163335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a39"} 
[2026-08-26 00:14:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646828288001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:14:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787683224000,"timestamp_ms":1787683224000,"timestamp_seconds":1787683224,"priority":1,"record_length":96,"hex_timestamp":"000001a03a3939c0"} 
[2026-08-26 00: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-26 00:14: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-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:14:18] 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-26 00: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-26 00: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-26 00:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646828288001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646828288001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:14:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646828288001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":163335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:14:18] local.INFO: GPS data processed {"connection_id":163335,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:14:18] local.INFO: Acknowledgment sent {"connection_id":163335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:14:38] local.INFO: TCP Data received {"connection_id":163336,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:14:38] local.INFO: Processing buffer {"connection_id":163336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:14:38] local.INFO: IMEI packet received {"connection_id":163336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":163336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:14:43] local.INFO: TCP Data received {"connection_id":163336,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:14:43] local.INFO: Processing buffer {"connection_id":163336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:14:43] local.INFO: IMEI packet received {"connection_id":163336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":163336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:14:45] local.INFO: TCP Data received {"connection_id":163336,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:14:45] local.INFO: Processing buffer {"connection_id":163336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:14:45] local.INFO: Packet analysis {"connection_id":163336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a39"} 
[2026-08-26 00:14:45] local.INFO: Extracted packet for processing {"connection_id":163336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a39"} 
[2026-08-26 00:14:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646828288001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:14:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787683224000,"timestamp_ms":1787683224000,"timestamp_seconds":1787683224,"priority":1,"record_length":96,"hex_timestamp":"000001a03a3939c0"} 
[2026-08-26 00: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-26 00:14: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-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:14:45] 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-26 00: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-26 00: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-26 00:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646828288001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646828288001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:14:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646828288001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":163336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:14:45] local.INFO: GPS data processed {"connection_id":163336,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:14:45] local.INFO: Acknowledgment sent {"connection_id":163336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:15:17] local.INFO: TCP Data received {"connection_id":163336,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:15:17] local.INFO: Processing buffer {"connection_id":163336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:15:17] local.INFO: Packet analysis {"connection_id":163336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a39"} 
[2026-08-26 00:15:17] local.INFO: Extracted packet for processing {"connection_id":163336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a39"} 
[2026-08-26 00:15:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646828288001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:15:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787683224000,"timestamp_ms":1787683224000,"timestamp_seconds":1787683224,"priority":1,"record_length":96,"hex_timestamp":"000001a03a3939c0"} 
[2026-08-26 00: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-26 00:15: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-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:15: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-26 00: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-26 00: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-26 00:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646828288001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646828288001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:15:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646828288001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":163336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:15:17] local.INFO: GPS data processed {"connection_id":163336,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:15:17] local.INFO: Acknowledgment sent {"connection_id":163336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:15:45] local.INFO: TCP Data received {"connection_id":162101,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:15:45] local.INFO: Processing buffer {"connection_id":162101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:15:45] local.INFO: IMEI packet received {"connection_id":162101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":162101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:15:49] local.INFO: TCP Data received {"connection_id":162101,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:15:49] local.INFO: Processing buffer {"connection_id":162101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:15:49] local.INFO: IMEI packet received {"connection_id":162101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":162101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:15:50] local.INFO: TCP Data received {"connection_id":162101,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:15:50] local.INFO: Processing buffer {"connection_id":162101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:15:50] local.INFO: Packet analysis {"connection_id":162101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a39"} 
[2026-08-26 00:15:50] local.INFO: Extracted packet for processing {"connection_id":162101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a39"} 
[2026-08-26 00:15:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:15: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-26 00:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646828288001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:15:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787683224000,"timestamp_ms":1787683224000,"timestamp_seconds":1787683224,"priority":1,"record_length":96,"hex_timestamp":"000001a03a3939c0"} 
[2026-08-26 00:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00:15: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:15:50] 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-26 00:15: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-26 00:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646828288001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646828288001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:15:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646828288001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":162101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:15:50] local.INFO: GPS data processed {"connection_id":162101,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:15:50] local.INFO: Acknowledgment sent {"connection_id":162101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:15:54] local.INFO: TCP Data received {"connection_id":162101,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:15:54] local.INFO: Processing buffer {"connection_id":162101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a3939c0012d34c14006aa4818000f00e628..."} 
[2026-08-26 00:15:54] local.INFO: Packet analysis {"connection_id":162101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a39"} 
[2026-08-26 00:15:54] local.INFO: Extracted packet for processing {"connection_id":162101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a39"} 
[2026-08-26 00:15:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646828288001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:15:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787683224000,"timestamp_ms":1787683224000,"timestamp_seconds":1787683224,"priority":1,"record_length":96,"hex_timestamp":"000001a03a3939c0"} 
[2026-08-26 00:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646828288001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646828288001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:15:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646828288001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":162101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:15:54] local.INFO: GPS data processed {"connection_id":162101,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:15:54] local.INFO: Acknowledgment sent {"connection_id":162101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:16:38] local.INFO: TCP Data received {"connection_id":164717,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:16:38] local.INFO: Processing buffer {"connection_id":164717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:16:38] local.INFO: IMEI packet received {"connection_id":164717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":164717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:16:44] local.INFO: TCP Data received {"connection_id":164717,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:16:44] local.INFO: Processing buffer {"connection_id":164717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:16:44] local.INFO: IMEI packet received {"connection_id":164717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":164717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:16:45] local.INFO: TCP Data received {"connection_id":164717,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:16:45] local.INFO: Processing buffer {"connection_id":164717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:16:45] local.INFO: Packet analysis {"connection_id":164717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a3d"} 
[2026-08-26 00:16:45] local.INFO: Extracted packet for processing {"connection_id":164717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a3d"} 
[2026-08-26 00:16:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 00:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646905344001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:16:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787683525000,"timestamp_ms":1787683525000,"timestamp_seconds":1787683525,"priority":1,"record_length":96,"hex_timestamp":"000001a03a3dd188"} 
[2026-08-26 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-26 00:16: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-26 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":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:16:45] 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-26 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-26 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-26 00:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646905344001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646905344001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:16:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646905344001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":164717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:16:45] local.INFO: GPS data processed {"connection_id":164717,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:16:45] local.INFO: Acknowledgment sent {"connection_id":164717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:17:12] local.INFO: TCP Data received {"connection_id":162339,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:17:12] local.INFO: Processing buffer {"connection_id":162339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:17:12] local.INFO: IMEI packet received {"connection_id":162339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":162339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:17:15] local.INFO: TCP Data received {"connection_id":162339,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:17:15] local.INFO: Processing buffer {"connection_id":162339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:17:15] local.INFO: IMEI packet received {"connection_id":162339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":162339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:17:16] local.INFO: TCP Data received {"connection_id":162339,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:17:16] local.INFO: Processing buffer {"connection_id":162339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:17:16] local.INFO: IMEI packet received {"connection_id":162339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":162339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:17:16] local.INFO: TCP Data received {"connection_id":164717,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:17:16] local.INFO: Processing buffer {"connection_id":164717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:17:16] local.INFO: Packet analysis {"connection_id":164717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a3d"} 
[2026-08-26 00:17:16] local.INFO: Extracted packet for processing {"connection_id":164717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a3d"} 
[2026-08-26 00:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646905344001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:17:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787683525000,"timestamp_ms":1787683525000,"timestamp_seconds":1787683525,"priority":1,"record_length":96,"hex_timestamp":"000001a03a3dd188"} 
[2026-08-26 00:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:17: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-26 00:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:17: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-26 00:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646905344001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646905344001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:17:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646905344001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":164717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:17:16] local.INFO: GPS data processed {"connection_id":164717,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:17:16] local.INFO: Acknowledgment sent {"connection_id":164717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:17:17] local.INFO: TCP Data received {"connection_id":162339,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:17:17] local.INFO: Processing buffer {"connection_id":162339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:17:17] local.INFO: IMEI packet received {"connection_id":162339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":162339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:17:18] local.INFO: TCP Data received {"connection_id":162339,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a3e90f0012d7c078005db4fa80018011a22..."} 
[2026-08-26 00:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a3e90f0012d7c078005db4fa80018011a22..."} 
[2026-08-26 00:17:18] local.INFO: Processing buffer {"connection_id":162339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a3e90f0012d7c078005db4fa80018011a22..."} 
[2026-08-26 00:17:18] local.INFO: Packet analysis {"connection_id":162339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a3e"} 
[2026-08-26 00:17:18] local.INFO: Extracted packet for processing {"connection_id":162339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a3e"} 
[2026-08-26 00:17:18] local.INFO: GPS Element Parsed {"raw_longitude":763103104,"raw_latitude":98258856,"longitude_deg":76.3103104,"latitude_deg":9.8258856,"altitude":24,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d7c0780","hex_latitude":"05db4fa8","is_valid_coordinates":true} 
[2026-08-26 00:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646994944001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124536811585273856,"note":"Value kept but may cause issues"} 
[2026-08-26 00:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937252748182661120,"note":"Value kept but may cause issues"} 
[2026-08-26 00:17:18] 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-26 00:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787683574000,"timestamp_ms":1787683574000,"timestamp_seconds":1787683574,"priority":1,"record_length":96,"hex_timestamp":"000001a03a3e90f0"} 
[2026-08-26 00: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-26 00:17:18] 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-26 00: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":27,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-26 00:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00: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-26 00: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-26 00:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646994944001,"66":7036,"24":0,"16":124536811585273856,"45":8937252748182661120},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-26 00:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646994944001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124536811585273856,"km_value":124536811585273.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937252748182661120,"description":"Unknown IO ID 45"} 
[2026-08-26 00:17:18] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457646994944001,"power":7036,"ignition":0,"odometer":null,"unknown_45":8937252748182661120}} 
[2026-08-26 00:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":162339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698825,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:17:18] local.INFO: GPS data processed {"connection_id":162339,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:17:18] local.INFO: Acknowledgment sent {"connection_id":162339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:17:38] local.INFO: TCP Data received {"connection_id":163337,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:17:38] local.INFO: Processing buffer {"connection_id":163337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:17:38] local.INFO: IMEI packet received {"connection_id":163337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":163337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:17:43] local.INFO: TCP Data received {"connection_id":163337,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:17:43] local.INFO: Processing buffer {"connection_id":163337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:17:43] local.INFO: IMEI packet received {"connection_id":163337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":163337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:17:44] local.INFO: TCP Data received {"connection_id":163337,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:17:44] local.INFO: Processing buffer {"connection_id":163337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:17:44] local.INFO: Packet analysis {"connection_id":163337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a3d"} 
[2026-08-26 00:17:44] local.INFO: Extracted packet for processing {"connection_id":163337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a3d"} 
[2026-08-26 00:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646905344001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:17:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787683525000,"timestamp_ms":1787683525000,"timestamp_seconds":1787683525,"priority":1,"record_length":96,"hex_timestamp":"000001a03a3dd188"} 
[2026-08-26 00:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:17: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-26 00:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:17: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-26 00:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646905344001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646905344001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646905344001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":163337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:17:44] local.INFO: GPS data processed {"connection_id":163337,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:17:44] local.INFO: Acknowledgment sent {"connection_id":163337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:17:49] local.INFO: TCP Data received {"connection_id":162339,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a3e90f0012d7c078005db4fa80018011a22..."} 
[2026-08-26 00:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a3e90f0012d7c078005db4fa80018011a22..."} 
[2026-08-26 00:17:49] local.INFO: Processing buffer {"connection_id":162339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a3e90f0012d7c078005db4fa80018011a22..."} 
[2026-08-26 00:17:49] local.INFO: Packet analysis {"connection_id":162339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a3e"} 
[2026-08-26 00:17:49] local.INFO: Extracted packet for processing {"connection_id":162339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a3e"} 
[2026-08-26 00:17:49] local.INFO: GPS Element Parsed {"raw_longitude":763103104,"raw_latitude":98258856,"longitude_deg":76.3103104,"latitude_deg":9.8258856,"altitude":24,"angle":282,"satellites":34,"speed":0,"hex_longitude":"2d7c0780","hex_latitude":"05db4fa8","is_valid_coordinates":true} 
[2026-08-26 00:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646994944001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124536811585273856,"note":"Value kept but may cause issues"} 
[2026-08-26 00:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937252748182661120,"note":"Value kept but may cause issues"} 
[2026-08-26 00:17:49] 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-26 00:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787683574000,"timestamp_ms":1787683574000,"timestamp_seconds":1787683574,"priority":1,"record_length":96,"hex_timestamp":"000001a03a3e90f0"} 
[2026-08-26 00:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:17:49] 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-26 00:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":27,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-26 00:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646994944001,"66":7036,"24":0,"16":124536811585273856,"45":8937252748182661120},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-26 00:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646994944001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124536811585273856,"km_value":124536811585273.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937252748182661120,"description":"Unknown IO ID 45"} 
[2026-08-26 00:17:49] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457646994944001,"power":7036,"ignition":0,"odometer":null,"unknown_45":8937252748182661120}} 
[2026-08-26 00:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":162339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:17:49] local.INFO: GPS data processed {"connection_id":162339,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:17:49] local.INFO: Acknowledgment sent {"connection_id":162339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:18:16] local.INFO: TCP Data received {"connection_id":163337,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:18:16] local.INFO: Processing buffer {"connection_id":163337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:18:16] local.INFO: Packet analysis {"connection_id":163337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a3d"} 
[2026-08-26 00:18:16] local.INFO: Extracted packet for processing {"connection_id":163337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a3d"} 
[2026-08-26 00:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646905344001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:18:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787683525000,"timestamp_ms":1787683525000,"timestamp_seconds":1787683525,"priority":1,"record_length":96,"hex_timestamp":"000001a03a3dd188"} 
[2026-08-26 00: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-26 00:18: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-26 00: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:18: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-26 00: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-26 00: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-26 00:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646905344001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646905344001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646905344001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":163337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:18:16] local.INFO: GPS data processed {"connection_id":163337,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:18:16] local.INFO: Acknowledgment sent {"connection_id":163337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:18:22] local.INFO: TCP Data received {"connection_id":164719,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:18:22] local.INFO: Processing buffer {"connection_id":164719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:18:22] local.INFO: IMEI packet received {"connection_id":164719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":164719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:18:27] local.INFO: TCP Data received {"connection_id":164719,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164719,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:18:27] local.INFO: Processing buffer {"connection_id":164719,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:18:27] local.INFO: IMEI packet received {"connection_id":164719,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":164719,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:18:28] local.INFO: TCP Data received {"connection_id":164719,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a402348012d7c078005db4fa80018011a23..."} 
[2026-08-26 00:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a402348012d7c078005db4fa80018011a23..."} 
[2026-08-26 00:18:28] local.INFO: Processing buffer {"connection_id":164719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a402348012d7c078005db4fa80018011a23..."} 
[2026-08-26 00:18:28] local.INFO: Packet analysis {"connection_id":164719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a40"} 
[2026-08-26 00:18:28] local.INFO: Extracted packet for processing {"connection_id":164719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a40"} 
[2026-08-26 00:18:28] local.INFO: GPS Element Parsed {"raw_longitude":763103104,"raw_latitude":98258856,"longitude_deg":76.3103104,"latitude_deg":9.8258856,"altitude":24,"angle":282,"satellites":35,"speed":0,"hex_longitude":"2d7c0780","hex_latitude":"05db4fa8","is_valid_coordinates":true} 
[2026-08-26 00:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647015936001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124536811585273856,"note":"Value kept but may cause issues"} 
[2026-08-26 00:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937252748182661120,"note":"Value kept but may cause issues"} 
[2026-08-26 00:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787683677000,"timestamp_ms":1787683677000,"timestamp_seconds":1787683677,"priority":1,"record_length":96,"hex_timestamp":"000001a03a402348"} 
[2026-08-26 00:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-26 00:18:28] 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-26 00:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647015936001,"66":11776,"185":206,"85":15104,"24":0,"16":124536811585273856,"45":8937252748182661120},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-26 00:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647015936001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:18:28] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-26 00:18:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124536811585273856,"km_value":124536811585273.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937252748182661120,"description":"Unknown IO ID 45"} 
[2026-08-26 00:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647015936001,"power":11776,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8937252748182661120}} 
[2026-08-26 00:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":164719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:18:28] local.INFO: GPS data processed {"connection_id":164719,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:18:28] local.INFO: Acknowledgment sent {"connection_id":164719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:18:32] local.INFO: TCP Data received {"connection_id":164719,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a405610012d7c07c005db4ee00015004823..."} 
[2026-08-26 00:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a405610012d7c07c005db4ee00015004823..."} 
[2026-08-26 00:18:32] local.INFO: Processing buffer {"connection_id":164719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a405610012d7c07c005db4ee00015004823..."} 
[2026-08-26 00:18:32] local.INFO: Packet analysis {"connection_id":164719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a40"} 
[2026-08-26 00:18:32] local.INFO: Extracted packet for processing {"connection_id":164719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a40"} 
[2026-08-26 00:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":98258656,"longitude_deg":76.3103168,"latitude_deg":9.8258656,"altitude":21,"angle":72,"satellites":35,"speed":1,"hex_longitude":"2d7c07c0","hex_latitude":"05db4ee0","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647021312001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124536824470175744,"note":"Value kept but may cause issues"} 
[2026-08-26 00:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937252748182661120,"note":"Value kept but may cause issues"} 
[2026-08-26 00:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787683690000,"timestamp_ms":1787683690000,"timestamp_seconds":1787683690,"priority":1,"record_length":96,"hex_timestamp":"000001a03a405610"} 
[2026-08-26 00: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-26 00:18: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-26 00: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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-26 00:18:32] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3221302652,"note":"Value kept but may cause issues"} 
[2026-08-26 00:18:32] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2147867471,"note":"Value kept but may cause issues"} 
[2026-08-26 00:18:32] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,185,85,24,241,157,16,113,160,209,45,128,79,33,10,66,115,35,1,240,141,227,58,219,4,205,152,7,168,239,27,2,186],"length":434,"final_offset":564,"validated_count":33,"validation_warnings":[]} 
[2026-08-26 00:18:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1729692469513158656,"timestamp_seconds":1729692469513158.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 00: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-26 00:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":164719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":164719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":164719,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647021312001,"66":11189,"185":206,"85":15104,"24":1,"16":124536824470175744,"45":8937252748182661120},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-26 00:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647021312001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:18:32] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-26 00:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124536824470175744,"km_value":124536824470175.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937252748182661120,"description":"Unknown IO ID 45"} 
[2026-08-26 00:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647021312001,"power":11189,"unknown_185":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8937252748182661120}} 
[2026-08-26 00:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":164719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:18:32] local.INFO: GPS data processed {"connection_id":164719,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:18:32] local.INFO: Acknowledgment sent {"connection_id":164719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:18:38] local.INFO: TCP Data received {"connection_id":162102,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:18:38] local.INFO: Processing buffer {"connection_id":162102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:18:38] local.INFO: IMEI packet received {"connection_id":162102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":162102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:18:39] local.INFO: TCP Data received {"connection_id":164718,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:18:39] local.INFO: Processing buffer {"connection_id":164718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:18:39] local.INFO: IMEI packet received {"connection_id":164718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 00:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":164718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:18:44] local.INFO: TCP Data received {"connection_id":162102,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:18:44] local.INFO: Processing buffer {"connection_id":162102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:18:44] local.INFO: IMEI packet received {"connection_id":162102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":162102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:18:45] local.INFO: TCP Data received {"connection_id":162102,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:18:45] local.INFO: Processing buffer {"connection_id":162102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:18:45] local.INFO: Packet analysis {"connection_id":162102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a3d"} 
[2026-08-26 00:18:45] local.INFO: Extracted packet for processing {"connection_id":162102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a3d"} 
[2026-08-26 00:18:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646905344001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:18:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787683525000,"timestamp_ms":1787683525000,"timestamp_seconds":1787683525,"priority":1,"record_length":96,"hex_timestamp":"000001a03a3dd188"} 
[2026-08-26 00: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-26 00:18: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-26 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:18:45] 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-26 00: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-26 00: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-26 00:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646905344001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646905344001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:18:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646905344001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":162102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:18:45] local.INFO: GPS data processed {"connection_id":162102,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:18:45] local.INFO: Acknowledgment sent {"connection_id":162102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:19:17] local.INFO: TCP Data received {"connection_id":162102,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:19:17] local.INFO: Processing buffer {"connection_id":162102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:19:17] local.INFO: Packet analysis {"connection_id":162102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a3d"} 
[2026-08-26 00:19:17] local.INFO: Extracted packet for processing {"connection_id":162102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a3d"} 
[2026-08-26 00:19:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646905344001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:19:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787683525000,"timestamp_ms":1787683525000,"timestamp_seconds":1787683525,"priority":1,"record_length":96,"hex_timestamp":"000001a03a3dd188"} 
[2026-08-26 00: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-26 00:19: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-26 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:19:17] 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-26 00: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-26 00: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-26 00:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646905344001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646905344001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:19:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646905344001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":162102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:19:17] local.INFO: GPS data processed {"connection_id":162102,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:19:17] local.INFO: Acknowledgment sent {"connection_id":162102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:19:17] local.INFO: TCP Data received {"connection_id":164720,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:19:17] local.INFO: Processing buffer {"connection_id":164720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:19:17] local.INFO: IMEI packet received {"connection_id":164720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":164720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:19:22] local.INFO: TCP Data received {"connection_id":164720,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:19:22] local.INFO: Processing buffer {"connection_id":164720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:19:22] local.INFO: IMEI packet received {"connection_id":164720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":164720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:19:23] local.INFO: TCP Data received {"connection_id":164720,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4059f8012d7c07c005db4f080015003522..."} 
[2026-08-26 00:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4059f8012d7c07c005db4f080015003522..."} 
[2026-08-26 00:19:23] local.INFO: Processing buffer {"connection_id":164720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4059f8012d7c07c005db4f080015003522..."} 
[2026-08-26 00:19:23] local.INFO: Packet analysis {"connection_id":164720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a40"} 
[2026-08-26 00:19:23] local.INFO: Extracted packet for processing {"connection_id":164720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a40"} 
[2026-08-26 00:19:23] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":98258696,"longitude_deg":76.3103168,"latitude_deg":9.8258696,"altitude":21,"angle":53,"satellites":34,"speed":2,"hex_longitude":"2d7c07c0","hex_latitude":"05db4f08","is_valid_coordinates":true} 
[2026-08-26 00:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647024640001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124536824470175744,"note":"Value kept but may cause issues"} 
[2026-08-26 00:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116926787584,"note":"Value kept but may cause issues"} 
[2026-08-26 00:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787683691000,"timestamp_ms":1787683691000,"timestamp_seconds":1787683691,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4059f8"} 
[2026-08-26 00:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:19:23] 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-26 00:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-26 00:19:23] 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-26 00:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647024640001,"66":11189,"185":206,"85":15104,"24":2,"16":124536824470175744,"45":8937323116926787584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-26 00:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647024640001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:19:23] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-26 00:19:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124536824470175744,"km_value":124536824470175.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116926787584,"description":"Unknown IO ID 45"} 
[2026-08-26 00:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647024640001,"power":11189,"unknown_185":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8937323116926787584}} 
[2026-08-26 00:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":164720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:19:23] local.INFO: GPS data processed {"connection_id":164720,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:19:23] local.INFO: Acknowledgment sent {"connection_id":164720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:19:43] local.INFO: TCP Data received {"connection_id":164721,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:19:43] local.INFO: Processing buffer {"connection_id":164721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:19:43] local.INFO: IMEI packet received {"connection_id":164721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":164721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:19:48] local.INFO: TCP Data received {"connection_id":164721,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:19:49] local.INFO: Processing buffer {"connection_id":164721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:19:49] local.INFO: IMEI packet received {"connection_id":164721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":164721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:19:50] local.INFO: TCP Data received {"connection_id":164721,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:19:50] local.INFO: Processing buffer {"connection_id":164721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:19:50] local.INFO: Packet analysis {"connection_id":164721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a3d"} 
[2026-08-26 00:19:50] local.INFO: Extracted packet for processing {"connection_id":164721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a3d"} 
[2026-08-26 00:19:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646905344001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:19:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787683525000,"timestamp_ms":1787683525000,"timestamp_seconds":1787683525,"priority":1,"record_length":96,"hex_timestamp":"000001a03a3dd188"} 
[2026-08-26 00:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:19:50] 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-26 00:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646905344001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646905344001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:19:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646905344001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":164721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:19:50] local.INFO: GPS data processed {"connection_id":164721,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:19:50] local.INFO: Acknowledgment sent {"connection_id":164721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:19:54] local.INFO: TCP Data received {"connection_id":164721,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:19:54] local.INFO: Processing buffer {"connection_id":164721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:19:54] local.INFO: Packet analysis {"connection_id":164721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a3d"} 
[2026-08-26 00:19:54] local.INFO: Extracted packet for processing {"connection_id":164721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a3d"} 
[2026-08-26 00:19:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646905344001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:19:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787683525000,"timestamp_ms":1787683525000,"timestamp_seconds":1787683525,"priority":1,"record_length":96,"hex_timestamp":"000001a03a3dd188"} 
[2026-08-26 00:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646905344001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646905344001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:19:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646905344001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":164721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:19:54] local.INFO: GPS data processed {"connection_id":164721,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:19:54] local.INFO: Acknowledgment sent {"connection_id":164721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:19:56] local.INFO: TCP Data received {"connection_id":164720,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a41a600012d7c090005db78a8000e008921..."} 
[2026-08-26 00:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a41a600012d7c090005db78a8000e008921..."} 
[2026-08-26 00:19:56] local.INFO: Processing buffer {"connection_id":164720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a41a600012d7c090005db78a8000e008921..."} 
[2026-08-26 00:19:56] local.INFO: Packet analysis {"connection_id":164720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a41"} 
[2026-08-26 00:19:56] local.INFO: Extracted packet for processing {"connection_id":164720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a41"} 
[2026-08-26 00:19:56] local.INFO: GPS Element Parsed {"raw_longitude":763103488,"raw_latitude":98269352,"longitude_deg":76.3103488,"latitude_deg":9.8269352,"altitude":14,"angle":137,"satellites":33,"speed":6,"hex_longitude":"2d7c0900","hex_latitude":"05db78a8","is_valid_coordinates":true} 
[2026-08-26 00:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647046144001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124537412880695296,"note":"Value kept but may cause issues"} 
[2026-08-26 00:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937112010697009152,"note":"Value kept but may cause issues"} 
[2026-08-26 00:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787683776000,"timestamp_ms":1787683776000,"timestamp_seconds":1787683776,"priority":1,"record_length":96,"hex_timestamp":"000001a03a41a600"} 
[2026-08-26 00:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:19:56] 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-26 00:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-26 00:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1842,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647046144001,"66":10123,"168":206,"85":15104,"24":6,"16":124537412880695296,"45":8937112010697009152},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-26 00:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647046144001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:19:56] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-26 00:19:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124537412880695296,"km_value":124537412880695.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937112010697009152,"description":"Unknown IO ID 45"} 
[2026-08-26 00:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647046144001,"power":10123,"unknown_168":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8937112010697009152}} 
[2026-08-26 00:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":164720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:19:56] local.INFO: GPS data processed {"connection_id":164720,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:19:56] local.INFO: Acknowledgment sent {"connection_id":164720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:20:17] local.INFO: TCP Data received {"connection_id":163338,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:20:17] local.INFO: Processing buffer {"connection_id":163338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:20:17] local.INFO: IMEI packet received {"connection_id":163338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":163338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:20:22] local.INFO: TCP Data received {"connection_id":163338,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:20:22] local.INFO: Processing buffer {"connection_id":163338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:20:22] local.INFO: IMEI packet received {"connection_id":163338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":163338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:20:23] local.INFO: TCP Data received {"connection_id":163338,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a41a9e8012d7c098005db77c0000e009d22..."} 
[2026-08-26 00:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a41a9e8012d7c098005db77c0000e009d22..."} 
[2026-08-26 00:20:23] local.INFO: Processing buffer {"connection_id":163338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a41a9e8012d7c098005db77c0000e009d22..."} 
[2026-08-26 00:20:23] local.INFO: Packet analysis {"connection_id":163338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a41"} 
[2026-08-26 00:20:23] local.INFO: Extracted packet for processing {"connection_id":163338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a41"} 
[2026-08-26 00:20:23] local.INFO: GPS Element Parsed {"raw_longitude":763103616,"raw_latitude":98269120,"longitude_deg":76.3103616,"latitude_deg":9.826912,"altitude":14,"angle":157,"satellites":34,"speed":7,"hex_longitude":"2d7c0980","hex_latitude":"05db77c0","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647046656001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124537430060564480,"note":"Value kept but may cause issues"} 
[2026-08-26 00:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937674960650414080,"note":"Value kept but may cause issues"} 
[2026-08-26 00:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787683777000,"timestamp_ms":1787683777000,"timestamp_seconds":1787683777,"priority":1,"record_length":96,"hex_timestamp":"000001a03a41a9e8"} 
[2026-08-26 00: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-26 00:20:23] 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-26 00: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":39,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-26 00:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1644,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00: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-26 00: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-26 00:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647046656001,"66":10265,"168":206,"85":15104,"24":7,"16":124537430060564480,"45":8937674960650414080},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-26 00:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647046656001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:20:23] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-26 00:20:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124537430060564480,"km_value":124537430060564.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937674960650414080,"description":"Unknown IO ID 45"} 
[2026-08-26 00:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647046656001,"power":10265,"unknown_168":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8937674960650414080}} 
[2026-08-26 00:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":163338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:20:23] local.INFO: GPS data processed {"connection_id":163338,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:20:23] local.INFO: Acknowledgment sent {"connection_id":163338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:20:38] local.INFO: TCP Data received {"connection_id":164722,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:20:38] local.INFO: Processing buffer {"connection_id":164722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:20:38] local.INFO: IMEI packet received {"connection_id":164722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":164722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:20:44] local.INFO: TCP Data received {"connection_id":164722,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:20:44] local.INFO: Processing buffer {"connection_id":164722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:20:44] local.INFO: IMEI packet received {"connection_id":164722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":164722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:20:44] local.INFO: TCP Data received {"connection_id":164722,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:20:44] local.INFO: Processing buffer {"connection_id":164722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a3dd188012d34c14006aa4818000900e62b..."} 
[2026-08-26 00:20:44] local.INFO: Packet analysis {"connection_id":164722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a3d"} 
[2026-08-26 00:20:44] local.INFO: Extracted packet for processing {"connection_id":164722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a3d"} 
[2026-08-26 00:20:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646905344001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:20:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787683525000,"timestamp_ms":1787683525000,"timestamp_seconds":1787683525,"priority":1,"record_length":96,"hex_timestamp":"000001a03a3dd188"} 
[2026-08-26 00: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-26 00:20: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-26 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:20: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-26 00: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-26 00: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-26 00:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646905344001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646905344001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:20:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646905344001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":164722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:20:44] local.INFO: GPS data processed {"connection_id":164722,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:20:44] local.INFO: Acknowledgment sent {"connection_id":164722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:20:54] local.INFO: TCP Data received {"connection_id":163338,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a41add0012d7c0a4005db7688000d00a923..."} 
[2026-08-26 00:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a41add0012d7c0a4005db7688000d00a923..."} 
[2026-08-26 00:20:54] local.INFO: Processing buffer {"connection_id":163338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a41add0012d7c0a4005db7688000d00a923..."} 
[2026-08-26 00:20:54] local.INFO: Packet analysis {"connection_id":163338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a41"} 
[2026-08-26 00:20:54] local.INFO: Extracted packet for processing {"connection_id":163338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a41"} 
[2026-08-26 00:20:54] local.INFO: GPS Element Parsed {"raw_longitude":763103808,"raw_latitude":98268808,"longitude_deg":76.3103808,"latitude_deg":9.8268808,"altitude":13,"angle":169,"satellites":35,"speed":10,"hex_longitude":"2d7c0a40","hex_latitude":"05db7688","is_valid_coordinates":true} 
[2026-08-26 00:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647046912001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124537447240433664,"note":"Value kept but may cause issues"} 
[2026-08-26 00:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937815698138710016,"note":"Value kept but may cause issues"} 
[2026-08-26 00:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787683778000,"timestamp_ms":1787683778000,"timestamp_seconds":1787683778,"priority":1,"record_length":96,"hex_timestamp":"000001a03a41add0"} 
[2026-08-26 00:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:20:54] 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-26 00:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-26 00:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-08-26 00:20:54] local.WARNING: Large IO value detected {"io_id":10,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-26 00:20:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788839,"note":"Value kept but may cause issues"} 
[2026-08-26 00:20:54] local.WARNING: Large IO value detected {"io_id":219,"raw_value":8475774576021675776,"note":"Value kept but may cause issues"} 
[2026-08-26 00:20:54] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845166832,"note":"Value kept but may cause issues"} 
[2026-08-26 00:20:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930245838,"corrected_to":0} 
[2026-08-26 00:20:54] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3221302652,"note":"Value kept but may cause issues"} 
[2026-08-26 00:20:54] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3540045230,"note":"Value kept but may cause issues"} 
[2026-08-26 00:20:54] local.WARNING: Large IO value detected {"io_id":65,"raw_value":-9018456958943657979,"note":"Value kept but may cause issues"} 
[2026-08-26 00:20:54] local.WARNING: Large IO value detected {"io_id":174,"raw_value":-6340841409880254464,"note":"Value kept but may cause issues"} 
[2026-08-26 00:20:54] local.WARNING: Large IO value detected {"io_id":59,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-26 00:20:54] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929935874,"note":"Value kept but may cause issues"} 
[2026-08-26 00:20:54] local.WARNING: Large IO value detected {"io_id":186,"raw_value":8214565720323784704,"note":"Value kept but may cause issues"} 
[2026-08-26 00:20:54] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-4610037354965495296,"note":"Value kept but may cause issues"} 
[2026-08-26 00:20:54] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2161743214300629504,"note":"Value kept but may cause issues"} 
[2026-08-26 00:20:54] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,168,85,24,241,157,16,114,160,166,45,120,14,33,10,66,158,15,32,146,64,1,240,52,227,58,219,4,113,205,8,134,30,239,38,65,174,59,206,186,2,3],"length":629,"final_offset":759,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2930245838,"validated":0}]} 
[2026-08-26 00:20:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008979085885898752,"timestamp_seconds":1008979085885898.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 00:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647046912001,"66":10265,"168":206,"85":15104,"24":10,"16":124537447240433664,"45":8937815698138710016},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-26 00:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647046912001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:20:54] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-26 00:20:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124537447240433664,"km_value":124537447240433.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937815698138710016,"description":"Unknown IO ID 45"} 
[2026-08-26 00:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647046912001,"power":10265,"unknown_168":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8937815698138710016}} 
[2026-08-26 00:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":163338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:20:54] local.INFO: GPS data processed {"connection_id":163338,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:20:54] local.INFO: Acknowledgment sent {"connection_id":163338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:21:16] local.INFO: TCP Data received {"connection_id":164722,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:21:16] local.INFO: Processing buffer {"connection_id":164722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:21:16] local.INFO: Packet analysis {"connection_id":164722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:21:16] local.INFO: Extracted packet for processing {"connection_id":164722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 00:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646982400001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787683826000,"timestamp_ms":1787683826000,"timestamp_seconds":1787683826,"priority":1,"record_length":96,"hex_timestamp":"000001a03a426950"} 
[2026-08-26 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-26 00:21: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-26 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":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:21:16] 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-26 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-26 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-26 00:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646982400001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646982400001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646982400001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":164722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:21:16] local.INFO: GPS data processed {"connection_id":164722,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:21:16] local.INFO: Acknowledgment sent {"connection_id":164722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:21:17] local.INFO: TCP Data received {"connection_id":162340,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:21:17] local.INFO: Processing buffer {"connection_id":162340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:21:17] local.INFO: IMEI packet received {"connection_id":162340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":162340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:21:22] local.INFO: TCP Data received {"connection_id":162340,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:21:22] local.INFO: Processing buffer {"connection_id":162340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:21:22] local.INFO: IMEI packet received {"connection_id":162340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":162340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:21:23] local.INFO: TCP Data received {"connection_id":162340,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a41f038012d7c12c005db5410000b00a91d..."} 
[2026-08-26 00:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a41f038012d7c12c005db5410000b00a91d..."} 
[2026-08-26 00:21:23] local.INFO: Processing buffer {"connection_id":162340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a41f038012d7c12c005db5410000b00a91d..."} 
[2026-08-26 00:21:23] local.INFO: Packet analysis {"connection_id":162340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a41"} 
[2026-08-26 00:21:23] local.INFO: Extracted packet for processing {"connection_id":162340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a41"} 
[2026-08-26 00:21:23] local.INFO: GPS Element Parsed {"raw_longitude":763105984,"raw_latitude":98259984,"longitude_deg":76.3105984,"latitude_deg":9.8259984,"altitude":11,"angle":169,"satellites":29,"speed":24,"hex_longitude":"2d7c12c0","hex_latitude":"05db5410","is_valid_coordinates":true} 
[2026-08-26 00:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647047168001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124537885327097856,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8938026804371163136,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787683795000,"timestamp_ms":1787683795000,"timestamp_seconds":1787683795,"priority":1,"record_length":96,"hex_timestamp":"000001a03a41f038"} 
[2026-08-26 00: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-26 00:21:23] 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-26 00: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":40,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-26 00:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788839,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:23] local.WARNING: Large IO value detected {"io_id":219,"raw_value":8536573170990390784,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:23] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845166832,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930245838,"corrected_to":0} 
[2026-08-26 00:21:23] local.WARNING: Large IO value detected {"io_id":138,"raw_value":2818649468,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:23] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3540045230,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:23] local.WARNING: Large IO value detected {"io_id":65,"raw_value":-8736981982232969211,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:23] local.WARNING: Large IO value detected {"io_id":9,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:23] local.WARNING: Large IO value detected {"io_id":174,"raw_value":-6340841409880254464,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:23] local.WARNING: Large IO value detected {"io_id":60,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:23] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929673730,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:23] local.WARNING: Large IO value detected {"io_id":186,"raw_value":8216817520137469952,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:23] local.WARNING: Large IO value detected {"io_id":2,"raw_value":-4610037354965495296,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:23] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2161743214300629504,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:23] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,168,85,24,241,157,16,114,160,169,45,128,119,14,34,10,66,166,120,33,158,1,240,161,227,58,219,4,113,205,6,138,64,30,239,38,65,9,174,60,206,186,2,3],"length":629,"final_offset":759,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2930245838,"validated":0}]} 
[2026-08-26 00:21:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936934690282668032,"timestamp_seconds":936934690282668.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 00: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-26 00:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647047168001,"66":10026,"168":206,"85":15104,"24":24,"16":124537885327097856,"45":8938026804371163136},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-26 00:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647047168001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:21:23] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-26 00:21:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124537885327097856,"km_value":124537885327097.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8938026804371163136,"description":"Unknown IO ID 45"} 
[2026-08-26 00:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647047168001,"power":10026,"unknown_168":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8938026804371163136}} 
[2026-08-26 00:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":162340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698841,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:21:23] local.INFO: GPS data processed {"connection_id":162340,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:21:23] local.INFO: Acknowledgment sent {"connection_id":162340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:21:38] local.INFO: TCP Data received {"connection_id":163339,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:21:38] local.INFO: Processing buffer {"connection_id":163339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:21:38] local.INFO: IMEI packet received {"connection_id":163339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":163339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:21:48] local.INFO: TCP Data received {"connection_id":163339,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:21:48] local.INFO: Processing buffer {"connection_id":163339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:21:48] local.INFO: IMEI packet received {"connection_id":163339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":163339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:21:49] local.INFO: TCP Data received {"connection_id":163339,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:21:49] local.INFO: Processing buffer {"connection_id":163339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:21:49] local.INFO: Packet analysis {"connection_id":163339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:21:49] local.INFO: Extracted packet for processing {"connection_id":163339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:21:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646982400001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787683826000,"timestamp_ms":1787683826000,"timestamp_seconds":1787683826,"priority":1,"record_length":96,"hex_timestamp":"000001a03a426950"} 
[2026-08-26 00: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-26 00:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:21:49] 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-26 00: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-26 00: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-26 00:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646982400001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646982400001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:21:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646982400001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":163339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:21:49] local.INFO: GPS data processed {"connection_id":163339,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:21:49] local.INFO: Acknowledgment sent {"connection_id":163339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:21:54] local.INFO: TCP Data received {"connection_id":162340,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a422300012d7c1bc005db31a0000800a71d..."} 
[2026-08-26 00:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a422300012d7c1bc005db31a0000800a71d..."} 
[2026-08-26 00:21:54] local.INFO: Processing buffer {"connection_id":162340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a422300012d7c1bc005db31a0000800a71d..."} 
[2026-08-26 00:21:54] local.INFO: Packet analysis {"connection_id":162340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:21:54] local.INFO: Extracted packet for processing {"connection_id":162340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:21:54] local.INFO: GPS Element Parsed {"raw_longitude":763108288,"raw_latitude":98251168,"longitude_deg":76.3108288,"latitude_deg":9.8251168,"altitude":8,"angle":167,"satellites":29,"speed":26,"hex_longitude":"2d7c1bc0","hex_latitude":"05db31a0","is_valid_coordinates":true} 
[2026-08-26 00:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647051520001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124538327708729344,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940419341670944768,"note":"Value kept but may cause issues"} 
[2026-08-26 00:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787683808000,"timestamp_ms":1787683808000,"timestamp_seconds":1787683808,"priority":1,"record_length":96,"hex_timestamp":"000001a03a422300"} 
[2026-08-26 00:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-26 00:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":771,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00:21:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647051520001,"66":9678,"168":206,"85":15104,"24":26,"16":124538327708729344,"45":8940419341670944768},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-26 00:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647051520001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:21:54] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-26 00:21:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124538327708729344,"km_value":124538327708729.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940419341670944768,"description":"Unknown IO ID 45"} 
[2026-08-26 00:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647051520001,"power":9678,"unknown_168":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8940419341670944768}} 
[2026-08-26 00:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":162340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:21:54] local.INFO: GPS data processed {"connection_id":162340,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:21:54] local.INFO: Acknowledgment sent {"connection_id":162340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:22:17] local.INFO: TCP Data received {"connection_id":162341,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:22:17] local.INFO: Processing buffer {"connection_id":162341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:22:17] local.INFO: IMEI packet received {"connection_id":162341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":162341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:22:20] local.INFO: TCP Data received {"connection_id":163339,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:22:20] local.INFO: Processing buffer {"connection_id":163339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:22:20] local.INFO: Packet analysis {"connection_id":163339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:22:20] local.INFO: Extracted packet for processing {"connection_id":163339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:22:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646982400001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:22:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787683826000,"timestamp_ms":1787683826000,"timestamp_seconds":1787683826,"priority":1,"record_length":96,"hex_timestamp":"000001a03a426950"} 
[2026-08-26 00: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-26 00:22: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-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:22:20] 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-26 00: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-26 00: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-26 00:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646982400001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646982400001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:22:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646982400001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":163339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:22:20] local.INFO: GPS data processed {"connection_id":163339,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:22:20] local.INFO: Acknowledgment sent {"connection_id":163339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:22:22] local.INFO: TCP Data received {"connection_id":162341,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:22:22] local.INFO: Processing buffer {"connection_id":162341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:22:22] local.INFO: IMEI packet received {"connection_id":162341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":162341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:22:23] local.INFO: TCP Data received {"connection_id":162341,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a427120012d7c21c005db2458000700a322..."} 
[2026-08-26 00:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a427120012d7c21c005db2458000700a322..."} 
[2026-08-26 00:22:23] local.INFO: Processing buffer {"connection_id":162341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a427120012d7c21c005db2458000700a322..."} 
[2026-08-26 00:22:23] local.INFO: Packet analysis {"connection_id":162341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:22:23] local.INFO: Extracted packet for processing {"connection_id":162341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:22:23] local.INFO: GPS Element Parsed {"raw_longitude":763109824,"raw_latitude":98247768,"longitude_deg":76.3109824,"latitude_deg":9.8247768,"altitude":7,"angle":163,"satellites":34,"speed":0,"hex_longitude":"2d7c21c0","hex_latitude":"05db2458","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647054848001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124538512392323072,"note":"Value kept but may cause issues"} 
[2026-08-26 00:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942952616459083776,"note":"Value kept but may cause issues"} 
[2026-08-26 00:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787683828000,"timestamp_ms":1787683828000,"timestamp_seconds":1787683828,"priority":1,"record_length":96,"hex_timestamp":"000001a03a427120"} 
[2026-08-26 00: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-26 00:22:23] 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-26 00: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":37,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-08-26 00:22:23] 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-26 00: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-26 00: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-26 00:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647054848001,"66":10069,"185":206,"85":15104,"24":0,"16":124538512392323072,"45":8942952616459083776},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-26 00:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647054848001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:22:23] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-26 00:22:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124538512392323072,"km_value":124538512392323.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942952616459083776,"description":"Unknown IO ID 45"} 
[2026-08-26 00:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647054848001,"power":10069,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8942952616459083776}} 
[2026-08-26 00:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":162341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:22:23] local.INFO: GPS data processed {"connection_id":162341,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:22:23] local.INFO: Acknowledgment sent {"connection_id":162341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:22:38] local.INFO: TCP Data received {"connection_id":162103,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:22:38] local.INFO: Processing buffer {"connection_id":162103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:22:38] local.INFO: IMEI packet received {"connection_id":162103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":162103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:22:44] local.INFO: TCP Data received {"connection_id":162103,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:22:44] local.INFO: Processing buffer {"connection_id":162103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:22:44] local.INFO: IMEI packet received {"connection_id":162103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":162103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:22:45] local.INFO: TCP Data received {"connection_id":162103,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:22:45] local.INFO: Processing buffer {"connection_id":162103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:22:45] local.INFO: Packet analysis {"connection_id":162103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:22:45] local.INFO: Extracted packet for processing {"connection_id":162103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:22:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646982400001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:22:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787683826000,"timestamp_ms":1787683826000,"timestamp_seconds":1787683826,"priority":1,"record_length":96,"hex_timestamp":"000001a03a426950"} 
[2026-08-26 00: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-26 00:22: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-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:22:45] 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-26 00: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-26 00: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-26 00:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646982400001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646982400001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:22:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646982400001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":162103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:22:45] local.INFO: GPS data processed {"connection_id":162103,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:22:45] local.INFO: Acknowledgment sent {"connection_id":162103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:22:54] local.INFO: TCP Data received {"connection_id":162341,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a42c328012d7c21c005db2458000700a31c..."} 
[2026-08-26 00:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a42c328012d7c21c005db2458000700a31c..."} 
[2026-08-26 00:22:54] local.INFO: Processing buffer {"connection_id":162341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a42c328012d7c21c005db2458000700a31c..."} 
[2026-08-26 00:22:54] local.INFO: Packet analysis {"connection_id":162341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:22:54] local.INFO: Extracted packet for processing {"connection_id":162341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:22:54] local.INFO: GPS Element Parsed {"raw_longitude":763109824,"raw_latitude":98247768,"longitude_deg":76.3109824,"latitude_deg":9.8247768,"altitude":7,"angle":163,"satellites":28,"speed":0,"hex_longitude":"2d7c21c0","hex_latitude":"05db2458","is_valid_coordinates":true} 
[2026-08-26 00:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647059968001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124538512392323072,"note":"Value kept but may cause issues"} 
[2026-08-26 00:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944641466318477312,"note":"Value kept but may cause issues"} 
[2026-08-26 00:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787683849000,"timestamp_ms":1787683849000,"timestamp_seconds":1787683849,"priority":1,"record_length":96,"hex_timestamp":"000001a03a42c328"} 
[2026-08-26 00:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:22:54] 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-26 00:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-26 00:22:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1158,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647059968001,"66":9884,"185":206,"85":15104,"24":0,"16":124538512392323072,"45":8944641466318477312},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-26 00:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647059968001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:22:54] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-26 00:22:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124538512392323072,"km_value":124538512392323.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944641466318477312,"description":"Unknown IO ID 45"} 
[2026-08-26 00:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647059968001,"power":9884,"unknown_185":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8944641466318477312}} 
[2026-08-26 00:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":162341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:22:54] local.INFO: GPS data processed {"connection_id":162341,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:22:54] local.INFO: Acknowledgment sent {"connection_id":162341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:23:16] local.INFO: TCP Data received {"connection_id":162103,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:23:16] local.INFO: Processing buffer {"connection_id":162103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:23:16] local.INFO: Packet analysis {"connection_id":162103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:23:16] local.INFO: Extracted packet for processing {"connection_id":162103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:23:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646982400001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:23:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787683826000,"timestamp_ms":1787683826000,"timestamp_seconds":1787683826,"priority":1,"record_length":96,"hex_timestamp":"000001a03a426950"} 
[2026-08-26 00: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-26 00:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:23:16] 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-26 00: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-26 00: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-26 00:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646982400001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646982400001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:23:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646982400001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":162103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:23:16] local.INFO: GPS data processed {"connection_id":162103,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:23:16] local.INFO: Acknowledgment sent {"connection_id":162103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:23:17] local.INFO: TCP Data received {"connection_id":162104,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:23:17] local.INFO: Processing buffer {"connection_id":162104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:23:17] local.INFO: IMEI packet received {"connection_id":162104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":162104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:23:22] local.INFO: TCP Data received {"connection_id":162104,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:23:22] local.INFO: Processing buffer {"connection_id":162104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:23:22] local.INFO: IMEI packet received {"connection_id":162104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":162104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:23:22] local.INFO: TCP Data received {"connection_id":162104,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:23:22] local.INFO: Processing buffer {"connection_id":162104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:23:22] local.INFO: IMEI packet received {"connection_id":162104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":162104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:23:25] local.INFO: TCP Data received {"connection_id":162104,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a44a3a0012d7c604005da4978000200a418..."} 
[2026-08-26 00:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a44a3a0012d7c604005da4978000200a418..."} 
[2026-08-26 00:23:25] local.INFO: Processing buffer {"connection_id":162104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a44a3a0012d7c604005da4978000200a418..."} 
[2026-08-26 00:23:25] local.INFO: Packet analysis {"connection_id":162104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a44"} 
[2026-08-26 00:23:25] local.INFO: Extracted packet for processing {"connection_id":162104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a44"} 
[2026-08-26 00:23:25] local.INFO: GPS Element Parsed {"raw_longitude":763125824,"raw_latitude":98191736,"longitude_deg":76.3125824,"latitude_deg":9.8191736,"altitude":2,"angle":164,"satellites":24,"speed":46,"hex_longitude":"2d7c6040","hex_latitude":"05da4978","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647094784001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124541351365705728,"note":"Value kept but may cause issues"} 
[2026-08-26 00:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8958715215142037504,"note":"Value kept but may cause issues"} 
[2026-08-26 00:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787683972000,"timestamp_ms":1787683972000,"timestamp_seconds":1787683972,"priority":1,"record_length":96,"hex_timestamp":"000001a03a44a3a0"} 
[2026-08-26 00: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-26 00:23:25] 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-26 00: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":39,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-26 00:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":861,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00: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-26 00: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-26 00:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647094784001,"66":10026,"187":206,"85":15104,"24":46,"16":124541351365705728,"45":8958715215142037504},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-26 00:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647094784001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:23:25] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-26 00:23:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124541351365705728,"km_value":124541351365705.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8958715215142037504,"description":"Unknown IO ID 45"} 
[2026-08-26 00:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647094784001,"power":10026,"unknown_187":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8958715215142037504}} 
[2026-08-26 00:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":162104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:23:25] local.INFO: GPS data processed {"connection_id":162104,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:23:25] local.INFO: Acknowledgment sent {"connection_id":162104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:23:27] local.INFO: TCP Data received {"connection_id":162104,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a44c6c8012d7c6b0005da2538000400a51b..."} 
[2026-08-26 00:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a44c6c8012d7c6b0005da2538000400a51b..."} 
[2026-08-26 00:23:27] local.INFO: Processing buffer {"connection_id":162104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a44c6c8012d7c6b0005da2538000400a51b..."} 
[2026-08-26 00:23:27] local.INFO: Packet analysis {"connection_id":162104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a44"} 
[2026-08-26 00:23:27] local.INFO: Extracted packet for processing {"connection_id":162104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a44"} 
[2026-08-26 00:23:27] local.INFO: GPS Element Parsed {"raw_longitude":763128576,"raw_latitude":98182456,"longitude_deg":76.3128576,"latitude_deg":9.8182456,"altitude":4,"angle":165,"satellites":27,"speed":41,"hex_longitude":"2d7c6b00","hex_latitude":"05da2538","is_valid_coordinates":true} 
[2026-08-26 00:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647096832001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124541819517140992,"note":"Value kept but may cause issues"} 
[2026-08-26 00:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962233652348549120,"note":"Value kept but may cause issues"} 
[2026-08-26 00:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787683981000,"timestamp_ms":1787683981000,"timestamp_seconds":1787683981,"priority":1,"record_length":96,"hex_timestamp":"000001a03a44c6c8"} 
[2026-08-26 00:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-26 00:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":771,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":162104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":162104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":162104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647096832001,"66":9939,"187":206,"85":15104,"24":41,"16":124541819517140992,"45":8962233652348549120},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-26 00:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647096832001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:23:27] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-26 00:23:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124541819517140992,"km_value":124541819517140.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962233652348549120,"description":"Unknown IO ID 45"} 
[2026-08-26 00:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647096832001,"power":9939,"unknown_187":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8962233652348549120}} 
[2026-08-26 00:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":162104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:23:27] local.INFO: GPS data processed {"connection_id":162104,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:23:27] local.INFO: Acknowledgment sent {"connection_id":162104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:23:43] local.INFO: TCP Data received {"connection_id":164723,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:23:43] local.INFO: Processing buffer {"connection_id":164723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:23:43] local.INFO: IMEI packet received {"connection_id":164723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":164723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:23:48] local.INFO: TCP Data received {"connection_id":164723,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:23:48] local.INFO: Processing buffer {"connection_id":164723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:23:48] local.INFO: IMEI packet received {"connection_id":164723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":164723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:23:50] local.INFO: TCP Data received {"connection_id":164723,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:23:50] local.INFO: Processing buffer {"connection_id":164723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:23:50] local.INFO: Packet analysis {"connection_id":164723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:23:50] local.INFO: Extracted packet for processing {"connection_id":164723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:23:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646982400001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:23:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787683826000,"timestamp_ms":1787683826000,"timestamp_seconds":1787683826,"priority":1,"record_length":96,"hex_timestamp":"000001a03a426950"} 
[2026-08-26 00: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-26 00:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:23:50] 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-26 00: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-26 00: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-26 00:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646982400001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646982400001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:23:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646982400001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":164723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:23:50] local.INFO: GPS data processed {"connection_id":164723,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:23:50] local.INFO: Acknowledgment sent {"connection_id":164723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:23:54] local.INFO: TCP Data received {"connection_id":164723,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:23:54] local.INFO: Processing buffer {"connection_id":164723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:23:54] local.INFO: Packet analysis {"connection_id":164723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:23:54] local.INFO: Extracted packet for processing {"connection_id":164723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:23:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646982400001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:23:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787683826000,"timestamp_ms":1787683826000,"timestamp_seconds":1787683826,"priority":1,"record_length":96,"hex_timestamp":"000001a03a426950"} 
[2026-08-26 00: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-26 00:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00: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-26 00:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646982400001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646982400001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:23:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646982400001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":164723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:23:54] local.INFO: GPS data processed {"connection_id":164723,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:23:54] local.INFO: Acknowledgment sent {"connection_id":164723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:23:58] local.INFO: TCP Data received {"connection_id":162104,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a44e9f0012d7c73c005da0120000500a81a..."} 
[2026-08-26 00:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a44e9f0012d7c73c005da0120000500a81a..."} 
[2026-08-26 00:23:58] local.INFO: Processing buffer {"connection_id":162104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a44e9f0012d7c73c005da0120000500a81a..."} 
[2026-08-26 00:23:58] local.INFO: Packet analysis {"connection_id":162104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a44"} 
[2026-08-26 00:23:58] local.INFO: Extracted packet for processing {"connection_id":162104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a44"} 
[2026-08-26 00:23:58] local.INFO: GPS Element Parsed {"raw_longitude":763130816,"raw_latitude":98173216,"longitude_deg":76.3130816,"latitude_deg":9.8173216,"altitude":5,"angle":168,"satellites":26,"speed":42,"hex_longitude":"2d7c73c0","hex_latitude":"05da0120","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647099136001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124542279078641664,"note":"Value kept but may cause issues"} 
[2026-08-26 00:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965259508345812992,"note":"Value kept but may cause issues"} 
[2026-08-26 00:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787683990000,"timestamp_ms":1787683990000,"timestamp_seconds":1787683990,"priority":1,"record_length":96,"hex_timestamp":"000001a03a44e9f0"} 
[2026-08-26 00: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-26 00:23:58] 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-26 00: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":38,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-26 00:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00: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-26 00: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-26 00:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647099136001,"66":9895,"187":206,"85":15104,"24":42,"16":124542279078641664,"45":8965259508345812992},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-26 00:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647099136001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:23:58] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-26 00:23:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124542279078641664,"km_value":124542279078641.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965259508345812992,"description":"Unknown IO ID 45"} 
[2026-08-26 00:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647099136001,"power":9895,"unknown_187":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8965259508345812992}} 
[2026-08-26 00:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":162104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:23:59] local.INFO: GPS data processed {"connection_id":162104,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:23:59] local.INFO: Acknowledgment sent {"connection_id":162104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:24:14] local.INFO: TCP Data received {"connection_id":163340,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:24:14] local.INFO: Processing buffer {"connection_id":163340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:24:14] local.INFO: IMEI packet received {"connection_id":163340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 00:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":163340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:24:17] local.INFO: TCP Data received {"connection_id":162342,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:24:17] local.INFO: Processing buffer {"connection_id":162342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:24:17] local.INFO: IMEI packet received {"connection_id":162342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":162342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:24:21] local.INFO: TCP Data received {"connection_id":162342,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:24:21] local.INFO: Processing buffer {"connection_id":162342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:24:21] local.INFO: IMEI packet received {"connection_id":162342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":162342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:24:22] local.INFO: TCP Data received {"connection_id":162342,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162342,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:24:22] local.INFO: Processing buffer {"connection_id":162342,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:24:22] local.INFO: IMEI packet received {"connection_id":162342,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":162342,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:24:22] local.INFO: TCP Data received {"connection_id":162342,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a45d838012d7c79c005d996600003013b14..."} 
[2026-08-26 00:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a45d838012d7c79c005d996600003013b14..."} 
[2026-08-26 00:24:22] local.INFO: Processing buffer {"connection_id":162342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a45d838012d7c79c005d996600003013b14..."} 
[2026-08-26 00:24:22] local.INFO: Packet analysis {"connection_id":162342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a45"} 
[2026-08-26 00:24:22] local.INFO: Extracted packet for processing {"connection_id":162342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a45"} 
[2026-08-26 00:24:22] local.INFO: GPS Element Parsed {"raw_longitude":763132352,"raw_latitude":98145888,"longitude_deg":76.3132352,"latitude_deg":9.8145888,"altitude":3,"angle":315,"satellites":20,"speed":8,"hex_longitude":"2d7c79c0","hex_latitude":"05d99660","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647116800001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124544452332093440,"note":"Value kept but may cause issues"} 
[2026-08-26 00:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969552001731244032,"note":"Value kept but may cause issues"} 
[2026-08-26 00:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787684051000,"timestamp_ms":1787684051000,"timestamp_seconds":1787684051,"priority":1,"record_length":96,"hex_timestamp":"000001a03a45d838"} 
[2026-08-26 00: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-26 00:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00: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":37,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-08-26 00:24:22] 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-26 00: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-26 00: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-26 00:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647116800001,"66":9732,"245":206,"85":15104,"24":8,"16":124544452332093440,"45":8969552001731244032},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-26 00:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647116800001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:24:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124544452332093440,"km_value":124544452332093.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969552001731244032,"description":"Unknown IO ID 45"} 
[2026-08-26 00:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647116800001,"power":9732,"geofence_id":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8969552001731244032}} 
[2026-08-26 00:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":162342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:24:22] local.INFO: GPS data processed {"connection_id":162342,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:24:22] local.INFO: Acknowledgment sent {"connection_id":162342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:24:38] local.INFO: TCP Data received {"connection_id":162343,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:24:38] local.INFO: Processing buffer {"connection_id":162343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:24:38] local.INFO: IMEI packet received {"connection_id":162343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":162343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:24:43] local.INFO: TCP Data received {"connection_id":162343,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:24:43] local.INFO: Processing buffer {"connection_id":162343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:24:43] local.INFO: IMEI packet received {"connection_id":162343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":162343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:24:45] local.INFO: TCP Data received {"connection_id":162343,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:24:45] local.INFO: Processing buffer {"connection_id":162343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:24:45] local.INFO: Packet analysis {"connection_id":162343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:24:45] local.INFO: Extracted packet for processing {"connection_id":162343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:24:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646982400001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:24:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787683826000,"timestamp_ms":1787683826000,"timestamp_seconds":1787683826,"priority":1,"record_length":96,"hex_timestamp":"000001a03a426950"} 
[2026-08-26 00: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-26 00:24: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-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:24:45] 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-26 00: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-26 00: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-26 00:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646982400001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646982400001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:24:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646982400001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":162343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:24:45] local.INFO: GPS data processed {"connection_id":162343,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:24:45] local.INFO: Acknowledgment sent {"connection_id":162343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:24:53] local.INFO: TCP Data received {"connection_id":162342,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a45dc20012d7c790005d996c00003012713..."} 
[2026-08-26 00:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a45dc20012d7c790005d996c00003012713..."} 
[2026-08-26 00:24:53] local.INFO: Processing buffer {"connection_id":162342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a45dc20012d7c790005d996c00003012713..."} 
[2026-08-26 00:24:53] local.INFO: Packet analysis {"connection_id":162342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a45"} 
[2026-08-26 00:24:53] local.INFO: Extracted packet for processing {"connection_id":162342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a45"} 
[2026-08-26 00:24:53] local.INFO: GPS Element Parsed {"raw_longitude":763132160,"raw_latitude":98145984,"longitude_deg":76.313216,"latitude_deg":9.8145984,"altitude":3,"angle":295,"satellites":19,"speed":7,"hex_longitude":"2d7c7900","hex_latitude":"05d996c0","is_valid_coordinates":true} 
[2026-08-26 00:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647117056001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124544460922028032,"note":"Value kept but may cause issues"} 
[2026-08-26 00:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969411264242933760,"note":"Value kept but may cause issues"} 
[2026-08-26 00:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787684052000,"timestamp_ms":1787684052000,"timestamp_seconds":1787684052,"priority":1,"record_length":96,"hex_timestamp":"000001a03a45dc20"} 
[2026-08-26 00:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:24: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-26 00:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":38,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-26 00:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751626872,"note":"Value kept but may cause issues"} 
[2026-08-26 00:24:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2834628814,"corrected_to":0} 
[2026-08-26 00:24:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":262367,"corrected_to":0} 
[2026-08-26 00:24:53] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3458990639369211477,"note":"Value kept but may cause issues"} 
[2026-08-26 00:24:53] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-08-26 00:24:53] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,245,85,24,241,157,16,120,160,212,45,64,149,3,21,10,66,181,128,134,4,25,161,1,240,238,227,58,217,113,205,7,130,200,19,239,38,59,32],"length":430,"final_offset":560,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2834628814,"validated":0},{"io_id":200,"original":262367,"validated":0}]} 
[2026-08-26 00:24:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216519214176403456,"timestamp_seconds":216519214176403.47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 00:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162342,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647117056001,"66":9699,"245":206,"85":15104,"24":7,"16":124544460922028032,"45":8969411264242933760},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-26 00:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647117056001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:24:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124544460922028032,"km_value":124544460922028.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969411264242933760,"description":"Unknown IO ID 45"} 
[2026-08-26 00:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647117056001,"power":9699,"geofence_id":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8969411264242933760}} 
[2026-08-26 00:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":162342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:24:53] local.INFO: GPS data processed {"connection_id":162342,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:24:53] local.INFO: Acknowledgment sent {"connection_id":162342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:25:16] local.INFO: TCP Data received {"connection_id":162343,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:25:16] local.INFO: Processing buffer {"connection_id":162343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:25:16] local.INFO: Packet analysis {"connection_id":162343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:25:16] local.INFO: Extracted packet for processing {"connection_id":162343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 00:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646982400001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:25:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787683826000,"timestamp_ms":1787683826000,"timestamp_seconds":1787683826,"priority":1,"record_length":96,"hex_timestamp":"000001a03a426950"} 
[2026-08-26 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-26 00:25: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-26 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":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:25:16] 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-26 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-26 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-26 00:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646982400001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646982400001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646982400001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":162343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:25:16] local.INFO: GPS data processed {"connection_id":162343,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:25:16] local.INFO: Acknowledgment sent {"connection_id":162343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:25:22] local.INFO: TCP Data received {"connection_id":163341,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:25:22] local.INFO: Processing buffer {"connection_id":163341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:25:22] local.INFO: IMEI packet received {"connection_id":163341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":163341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:25:28] local.INFO: TCP Data received {"connection_id":163341,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163341,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:25:28] local.INFO: Processing buffer {"connection_id":163341,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:25:28] local.INFO: IMEI packet received {"connection_id":163341,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":163341,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:25:29] local.INFO: TCP Data received {"connection_id":163341,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a45e008012d7c78c005d996f00003011b14..."} 
[2026-08-26 00:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a45e008012d7c78c005d996f00003011b14..."} 
[2026-08-26 00:25:29] local.INFO: Processing buffer {"connection_id":163341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a45e008012d7c78c005d996f00003011b14..."} 
[2026-08-26 00:25:29] local.INFO: Packet analysis {"connection_id":163341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a45"} 
[2026-08-26 00:25:29] local.INFO: Extracted packet for processing {"connection_id":163341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a45"} 
[2026-08-26 00:25:29] local.INFO: GPS Element Parsed {"raw_longitude":763132096,"raw_latitude":98146032,"longitude_deg":76.3132096,"latitude_deg":9.8146032,"altitude":3,"angle":283,"satellites":20,"speed":7,"hex_longitude":"2d7c78c0","hex_latitude":"05d996f0","is_valid_coordinates":true} 
[2026-08-26 00:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647117312001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124544465216995328,"note":"Value kept but may cause issues"} 
[2026-08-26 00:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969200158010425344,"note":"Value kept but may cause issues"} 
[2026-08-26 00:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787684053000,"timestamp_ms":1787684053000,"timestamp_seconds":1787684053,"priority":1,"record_length":96,"hex_timestamp":"000001a03a45e008"} 
[2026-08-26 00:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-26 00:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2426,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00:25:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647117312001,"66":9699,"245":206,"85":15104,"24":7,"16":124544465216995328,"45":8969200158010425344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-26 00:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647117312001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:25:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124544465216995328,"km_value":124544465216995.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969200158010425344,"description":"Unknown IO ID 45"} 
[2026-08-26 00:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647117312001,"power":9699,"geofence_id":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8969200158010425344}} 
[2026-08-26 00:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":163341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:25:29] local.INFO: GPS data processed {"connection_id":163341,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:25:29] local.INFO: Acknowledgment sent {"connection_id":163341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:25:38] local.INFO: TCP Data received {"connection_id":162344,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:25:38] local.INFO: Processing buffer {"connection_id":162344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:25:38] local.INFO: IMEI packet received {"connection_id":162344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":162344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:25:47] local.INFO: TCP Data received {"connection_id":162344,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:25:47] local.INFO: Processing buffer {"connection_id":162344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:25:47] local.INFO: IMEI packet received {"connection_id":162344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":162344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:25:48] local.INFO: TCP Data received {"connection_id":162344,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:25:48] local.INFO: Processing buffer {"connection_id":162344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a426950012d34c14006aa4818000700e62c..."} 
[2026-08-26 00:25:48] local.INFO: Packet analysis {"connection_id":162344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:25:48] local.INFO: Extracted packet for processing {"connection_id":162344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a42"} 
[2026-08-26 00:25:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457646982400001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:25:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787683826000,"timestamp_ms":1787683826000,"timestamp_seconds":1787683826,"priority":1,"record_length":96,"hex_timestamp":"000001a03a426950"} 
[2026-08-26 00: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-26 00:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:25:48] 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-26 00: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-26 00: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-26 00:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457646982400001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457646982400001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:25:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457646982400001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":162344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:25:48] local.INFO: GPS data processed {"connection_id":162344,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:25:48] local.INFO: Acknowledgment sent {"connection_id":162344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:26:00] local.INFO: TCP Data received {"connection_id":163341,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a46ce50012d7c30c005d98838000800ae24..."} 
[2026-08-26 00:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a46ce50012d7c30c005d98838000800ae24..."} 
[2026-08-26 00:26:00] local.INFO: Processing buffer {"connection_id":163341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a46ce50012d7c30c005d98838000800ae24..."} 
[2026-08-26 00:26:00] local.INFO: Packet analysis {"connection_id":163341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a46"} 
[2026-08-26 00:26:00] local.INFO: Extracted packet for processing {"connection_id":163341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a46"} 
[2026-08-26 00:26:00] local.INFO: GPS Element Parsed {"raw_longitude":763113664,"raw_latitude":98142264,"longitude_deg":76.3113664,"latitude_deg":9.8142264,"altitude":8,"angle":174,"satellites":36,"speed":1,"hex_longitude":"2d7c30c0","hex_latitude":"05d98838","is_valid_coordinates":true} 
[2026-08-26 00:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647132672001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124545435879604224,"note":"Value kept but may cause issues"} 
[2026-08-26 00:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948722853453789184,"note":"Value kept but may cause issues"} 
[2026-08-26 00:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787684114000,"timestamp_ms":1787684114000,"timestamp_seconds":1787684114,"priority":1,"record_length":96,"hex_timestamp":"000001a03a46ce50"} 
[2026-08-26 00:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:26: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-26 00:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-08-26 00:26:00] 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-26 00:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163341,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647132672001,"66":9634,"245":206,"85":15104,"24":1,"16":124545435879604224,"45":8948722853453789184},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-26 00:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647132672001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:26:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124545435879604224,"km_value":124545435879604.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948722853453789184,"description":"Unknown IO ID 45"} 
[2026-08-26 00:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647132672001,"power":9634,"geofence_id":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8948722853453789184}} 
[2026-08-26 00:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":163341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:26:00] local.INFO: GPS data processed {"connection_id":163341,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:26:00] local.INFO: Acknowledgment sent {"connection_id":163341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:26:17] local.INFO: TCP Data received {"connection_id":162345,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:26:17] local.INFO: Processing buffer {"connection_id":162345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:26:17] local.INFO: IMEI packet received {"connection_id":162345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":162345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:26:18] local.INFO: TCP Data received {"connection_id":162345,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:26:18] local.INFO: Processing buffer {"connection_id":162345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:26:18] local.INFO: IMEI packet received {"connection_id":162345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":162345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:26:19] local.INFO: TCP Data received {"connection_id":162344,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:26:19] local.INFO: Processing buffer {"connection_id":162344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:26:19] local.INFO: Packet analysis {"connection_id":162344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:26:19] local.INFO: Extracted packet for processing {"connection_id":162344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:26:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647059456001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:26:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787684127000,"timestamp_ms":1787684127000,"timestamp_seconds":1787684127,"priority":1,"record_length":96,"hex_timestamp":"000001a03a470118"} 
[2026-08-26 00: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-26 00:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:26:19] 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-26 00: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-26 00: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-26 00:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647059456001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647059456001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:26:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647059456001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":162344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:26:19] local.INFO: GPS data processed {"connection_id":162344,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:26:19] local.INFO: Acknowledgment sent {"connection_id":162344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:26:21] local.INFO: TCP Data received {"connection_id":162345,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:26:21] local.INFO: Processing buffer {"connection_id":162345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:26:21] local.INFO: IMEI packet received {"connection_id":162345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":162345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:26:22] local.INFO: TCP Data received {"connection_id":162345,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a471c70012d7c310005d98780000800b11f..."} 
[2026-08-26 00:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a471c70012d7c310005d98780000800b11f..."} 
[2026-08-26 00:26:22] local.INFO: Processing buffer {"connection_id":162345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a471c70012d7c310005d98780000800b11f..."} 
[2026-08-26 00:26:22] local.INFO: Packet analysis {"connection_id":162345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:26:22] local.INFO: Extracted packet for processing {"connection_id":162345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:26:22] local.INFO: GPS Element Parsed {"raw_longitude":763113728,"raw_latitude":98142080,"longitude_deg":76.3113728,"latitude_deg":9.814208,"altitude":8,"angle":177,"satellites":31,"speed":0,"hex_longitude":"2d7c3100","hex_latitude":"05d98780","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647133184001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124545448764506112,"note":"Value kept but may cause issues"} 
[2026-08-26 00:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948863590942128128,"note":"Value kept but may cause issues"} 
[2026-08-26 00:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787684134000,"timestamp_ms":1787684134000,"timestamp_seconds":1787684134,"priority":1,"record_length":96,"hex_timestamp":"000001a03a471c70"} 
[2026-08-26 00: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-26 00:26: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-26 00: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":37,"n8_eight_byte":162,"data_length":795,"current_offset":136} 
[2026-08-26 00:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1841,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00: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-26 00: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-26 00:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647133184001,"66":10667,"245":206,"85":15104,"24":0,"16":124545448764506112,"45":8948863590942128128},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-26 00:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647133184001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:26:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124545448764506112,"km_value":124545448764506.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948863590942128128,"description":"Unknown IO ID 45"} 
[2026-08-26 00:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647133184001,"power":10667,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8948863590942128128}} 
[2026-08-26 00:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":162345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:26:22] local.INFO: GPS data processed {"connection_id":162345,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:26:22] local.INFO: Acknowledgment sent {"connection_id":162345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:26:38] local.INFO: TCP Data received {"connection_id":162105,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:26:38] local.INFO: Processing buffer {"connection_id":162105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:26:38] local.INFO: IMEI packet received {"connection_id":162105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":162105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:26:43] local.INFO: TCP Data received {"connection_id":162105,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:26:43] local.INFO: Processing buffer {"connection_id":162105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:26:43] local.INFO: IMEI packet received {"connection_id":162105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":162105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:26:45] local.INFO: TCP Data received {"connection_id":162105,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:26:45] local.INFO: Processing buffer {"connection_id":162105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:26:45] local.INFO: Packet analysis {"connection_id":162105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:26:45] local.INFO: Extracted packet for processing {"connection_id":162105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:26:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647059456001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:26:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787684127000,"timestamp_ms":1787684127000,"timestamp_seconds":1787684127,"priority":1,"record_length":96,"hex_timestamp":"000001a03a470118"} 
[2026-08-26 00: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-26 00:26: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-26 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:26:45] 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-26 00: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-26 00: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-26 00:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647059456001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647059456001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:26:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647059456001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":162105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:26:45] local.INFO: GPS data processed {"connection_id":162105,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:26:45] local.INFO: Acknowledgment sent {"connection_id":162105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:26:53] local.INFO: TCP Data received {"connection_id":162345,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a476e78012d7c310005d98780000800b121..."} 
[2026-08-26 00:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a476e78012d7c310005d98780000800b121..."} 
[2026-08-26 00:26:53] local.INFO: Processing buffer {"connection_id":162345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a476e78012d7c310005d98780000800b121..."} 
[2026-08-26 00:26:53] local.INFO: Packet analysis {"connection_id":162345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:26:53] local.INFO: Extracted packet for processing {"connection_id":162345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:26:53] local.INFO: GPS Element Parsed {"raw_longitude":763113728,"raw_latitude":98142080,"longitude_deg":76.3113728,"latitude_deg":9.814208,"altitude":8,"angle":177,"satellites":33,"speed":0,"hex_longitude":"2d7c3100","hex_latitude":"05d98780","is_valid_coordinates":true} 
[2026-08-26 00:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647138304001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124545448764506112,"note":"Value kept but may cause issues"} 
[2026-08-26 00:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948933959686258688,"note":"Value kept but may cause issues"} 
[2026-08-26 00:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787684155000,"timestamp_ms":1787684155000,"timestamp_seconds":1787684155,"priority":1,"record_length":96,"hex_timestamp":"000001a03a476e78"} 
[2026-08-26 00:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:26:53] 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-26 00:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-08-26 00:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1942,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647138304001,"66":10732,"245":206,"85":15104,"24":0,"16":124545448764506112,"45":8948933959686258688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-26 00:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647138304001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:26:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124545448764506112,"km_value":124545448764506.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948933959686258688,"description":"Unknown IO ID 45"} 
[2026-08-26 00:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647138304001,"power":10732,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8948933959686258688}} 
[2026-08-26 00:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":162345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:26:53] local.INFO: GPS data processed {"connection_id":162345,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:26:53] local.INFO: Acknowledgment sent {"connection_id":162345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:27:16] local.INFO: TCP Data received {"connection_id":162105,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:27:16] local.INFO: Processing buffer {"connection_id":162105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:27:16] local.INFO: Packet analysis {"connection_id":162105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:27:16] local.INFO: Extracted packet for processing {"connection_id":162105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:27:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647059456001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:27:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787684127000,"timestamp_ms":1787684127000,"timestamp_seconds":1787684127,"priority":1,"record_length":96,"hex_timestamp":"000001a03a470118"} 
[2026-08-26 00:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:27: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-26 00:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:27: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-26 00:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647059456001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647059456001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:27:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647059456001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":162105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:27:16] local.INFO: GPS data processed {"connection_id":162105,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:27:16] local.INFO: Acknowledgment sent {"connection_id":162105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:27:17] local.INFO: TCP Data received {"connection_id":162346,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:27:17] local.INFO: Processing buffer {"connection_id":162346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:27:17] local.INFO: IMEI packet received {"connection_id":162346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":162346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:27:22] local.INFO: TCP Data received {"connection_id":162346,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:27:22] local.INFO: Processing buffer {"connection_id":162346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:27:22] local.INFO: IMEI packet received {"connection_id":162346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":162346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:27:23] local.INFO: TCP Data received {"connection_id":162346,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a47c080012d7c310005d98780000800b124..."} 
[2026-08-26 00:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a47c080012d7c310005d98780000800b124..."} 
[2026-08-26 00:27:23] local.INFO: Processing buffer {"connection_id":162346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a47c080012d7c310005d98780000800b124..."} 
[2026-08-26 00:27:23] local.INFO: Packet analysis {"connection_id":162346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:27:23] local.INFO: Extracted packet for processing {"connection_id":162346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:27:23] local.INFO: GPS Element Parsed {"raw_longitude":763113728,"raw_latitude":98142080,"longitude_deg":76.3113728,"latitude_deg":9.814208,"altitude":8,"angle":177,"satellites":36,"speed":0,"hex_longitude":"2d7c3100","hex_latitude":"05d98780","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647143680001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124545448764506112,"note":"Value kept but may cause issues"} 
[2026-08-26 00:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948933959686258688,"note":"Value kept but may cause issues"} 
[2026-08-26 00:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787684176000,"timestamp_ms":1787684176000,"timestamp_seconds":1787684176,"priority":1,"record_length":96,"hex_timestamp":"000001a03a47c080"} 
[2026-08-26 00: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-26 00:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00: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":41,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-08-26 00:27:23] 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-26 00: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-26 00: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-26 00:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647143680001,"66":10439,"245":206,"85":15104,"24":0,"16":124545448764506112,"45":8948933959686258688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-26 00:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647143680001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:27:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124545448764506112,"km_value":124545448764506.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948933959686258688,"description":"Unknown IO ID 45"} 
[2026-08-26 00:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647143680001,"power":10439,"geofence_id":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8948933959686258688}} 
[2026-08-26 00:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":162346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:27:23] local.INFO: GPS data processed {"connection_id":162346,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:27:23] local.INFO: Acknowledgment sent {"connection_id":162346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:27:38] local.INFO: TCP Data received {"connection_id":162347,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:27:38] local.INFO: Processing buffer {"connection_id":162347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:27:38] local.INFO: IMEI packet received {"connection_id":162347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":162347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:27:43] local.INFO: TCP Data received {"connection_id":162347,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:27:43] local.INFO: Processing buffer {"connection_id":162347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:27:43] local.INFO: IMEI packet received {"connection_id":162347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":162347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:27:44] local.INFO: TCP Data received {"connection_id":162347,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:27:44] local.INFO: Processing buffer {"connection_id":162347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:27:44] local.INFO: Packet analysis {"connection_id":162347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:27:44] local.INFO: Extracted packet for processing {"connection_id":162347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:27:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647059456001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:27:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787684127000,"timestamp_ms":1787684127000,"timestamp_seconds":1787684127,"priority":1,"record_length":96,"hex_timestamp":"000001a03a470118"} 
[2026-08-26 00: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-26 00:27: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-26 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:27: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-26 00: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-26 00: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-26 00:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647059456001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647059456001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:27:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647059456001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":162347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:27:44] local.INFO: GPS data processed {"connection_id":162347,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:27:44] local.INFO: Acknowledgment sent {"connection_id":162347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:27:54] local.INFO: TCP Data received {"connection_id":162346,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a47cc38012d7c320005d988d0000a004324..."} 
[2026-08-26 00:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a47cc38012d7c320005d988d0000a004324..."} 
[2026-08-26 00:27:54] local.INFO: Processing buffer {"connection_id":162346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a47cc38012d7c320005d988d0000a004324..."} 
[2026-08-26 00:27:54] local.INFO: Packet analysis {"connection_id":162346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:27:54] local.INFO: Extracted packet for processing {"connection_id":162346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:27:54] local.INFO: GPS Element Parsed {"raw_longitude":763113984,"raw_latitude":98142416,"longitude_deg":76.3113984,"latitude_deg":9.8142416,"altitude":10,"angle":67,"satellites":36,"speed":3,"hex_longitude":"2d7c3200","hex_latitude":"05d988d0","is_valid_coordinates":true} 
[2026-08-26 00:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647149056001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124545470239342592,"note":"Value kept but may cause issues"} 
[2026-08-26 00:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948933959686258688,"note":"Value kept but may cause issues"} 
[2026-08-26 00:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787684179000,"timestamp_ms":1787684179000,"timestamp_seconds":1787684179,"priority":1,"record_length":96,"hex_timestamp":"000001a03a47cc38"} 
[2026-08-26 00:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-26 00:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2189,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647149056001,"66":10330,"245":206,"85":15104,"24":3,"16":124545470239342592,"45":8948933959686258688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-26 00:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647149056001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:27:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124545470239342592,"km_value":124545470239342.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948933959686258688,"description":"Unknown IO ID 45"} 
[2026-08-26 00:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647149056001,"power":10330,"geofence_id":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8948933959686258688}} 
[2026-08-26 00:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":162346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698868,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:27:54] local.INFO: GPS data processed {"connection_id":162346,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:27:54] local.INFO: Acknowledgment sent {"connection_id":162346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:28:16] local.INFO: TCP Data received {"connection_id":162347,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:28:16] local.INFO: Processing buffer {"connection_id":162347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:28:16] local.INFO: Packet analysis {"connection_id":162347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:28:16] local.INFO: Extracted packet for processing {"connection_id":162347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647059456001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:28:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787684127000,"timestamp_ms":1787684127000,"timestamp_seconds":1787684127,"priority":1,"record_length":96,"hex_timestamp":"000001a03a470118"} 
[2026-08-26 00: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-26 00:28: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-26 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:28: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-26 00: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-26 00: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-26 00:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647059456001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647059456001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647059456001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":162347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:28:16] local.INFO: GPS data processed {"connection_id":162347,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:28:16] local.INFO: Acknowledgment sent {"connection_id":162347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:28:17] local.INFO: TCP Data received {"connection_id":164724,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:28:17] local.INFO: Processing buffer {"connection_id":164724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:28:17] local.INFO: IMEI packet received {"connection_id":164724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":164724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:28:18] local.INFO: TCP Data received {"connection_id":164724,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:28:18] local.INFO: Processing buffer {"connection_id":164724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:28:18] local.INFO: IMEI packet received {"connection_id":164724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":164724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:28:22] local.INFO: TCP Data received {"connection_id":164724,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164724,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:28:22] local.INFO: Processing buffer {"connection_id":164724,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:28:22] local.INFO: IMEI packet received {"connection_id":164724,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":164724,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:28:23] local.INFO: TCP Data received {"connection_id":164724,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a493780012d7c7a0005d99dc80005000621..."} 
[2026-08-26 00:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a493780012d7c7a0005d99dc80005000621..."} 
[2026-08-26 00:28:23] local.INFO: Processing buffer {"connection_id":164724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a493780012d7c7a0005d99dc80005000621..."} 
[2026-08-26 00:28:23] local.INFO: Packet analysis {"connection_id":164724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a49"} 
[2026-08-26 00:28:23] local.INFO: Extracted packet for processing {"connection_id":164724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a49"} 
[2026-08-26 00:28:23] local.INFO: GPS Element Parsed {"raw_longitude":763132416,"raw_latitude":98147784,"longitude_deg":76.3132416,"latitude_deg":9.8147784,"altitude":5,"angle":6,"satellites":33,"speed":15,"hex_longitude":"2d7c7a00","hex_latitude":"05d99dc8","is_valid_coordinates":true} 
[2026-08-26 00:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647173120001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124546436606984192,"note":"Value kept but may cause issues"} 
[2026-08-26 00:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969481632987428864,"note":"Value kept but may cause issues"} 
[2026-08-26 00:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787684272000,"timestamp_ms":1787684272000,"timestamp_seconds":1787684272,"priority":1,"record_length":96,"hex_timestamp":"000001a03a493780"} 
[2026-08-26 00:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:28:23] 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-26 00:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-08-26 00:28:23] 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-26 00:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647173120001,"66":9547,"245":206,"85":15104,"24":15,"16":124546436606984192,"45":8969481632987428864},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-26 00:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647173120001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:28:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124546436606984192,"km_value":124546436606984.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969481632987428864,"description":"Unknown IO ID 45"} 
[2026-08-26 00:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647173120001,"power":9547,"geofence_id":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8969481632987428864}} 
[2026-08-26 00:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":164724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:28:23] local.INFO: GPS data processed {"connection_id":164724,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:28:23] local.INFO: Acknowledgment sent {"connection_id":164724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:28:44] local.INFO: TCP Data received {"connection_id":163342,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:28:44] local.INFO: Processing buffer {"connection_id":163342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:28:44] local.INFO: IMEI packet received {"connection_id":163342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":163342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:28:48] local.INFO: TCP Data received {"connection_id":163342,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:28:48] local.INFO: Processing buffer {"connection_id":163342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:28:48] local.INFO: IMEI packet received {"connection_id":163342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":163342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:28:49] local.INFO: TCP Data received {"connection_id":163342,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:28:49] local.INFO: Processing buffer {"connection_id":163342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:28:49] local.INFO: Packet analysis {"connection_id":163342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:28:49] local.INFO: Extracted packet for processing {"connection_id":163342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:28:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647059456001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:28:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787684127000,"timestamp_ms":1787684127000,"timestamp_seconds":1787684127,"priority":1,"record_length":96,"hex_timestamp":"000001a03a470118"} 
[2026-08-26 00:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:28:49] 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-26 00:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647059456001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647059456001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:28:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647059456001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":163342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:28:49] local.INFO: GPS data processed {"connection_id":163342,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:28:49] local.INFO: Acknowledgment sent {"connection_id":163342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:28:54] local.INFO: TCP Data received {"connection_id":163342,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:28:54] local.INFO: Processing buffer {"connection_id":163342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:28:54] local.INFO: Packet analysis {"connection_id":163342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:28:54] local.INFO: Extracted packet for processing {"connection_id":163342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:28:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647059456001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:28:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787684127000,"timestamp_ms":1787684127000,"timestamp_seconds":1787684127,"priority":1,"record_length":96,"hex_timestamp":"000001a03a470118"} 
[2026-08-26 00:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647059456001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647059456001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:28:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647059456001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":163342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:28:54] local.INFO: GPS data processed {"connection_id":163342,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:28:54] local.INFO: Acknowledgment sent {"connection_id":163342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:28:54] local.INFO: TCP Data received {"connection_id":164724,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a493f50012d7c79c005d9a1500005016020..."} 
[2026-08-26 00:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a493f50012d7c79c005d9a1500005016020..."} 
[2026-08-26 00:28:54] local.INFO: Processing buffer {"connection_id":164724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a493f50012d7c79c005d9a1500005016020..."} 
[2026-08-26 00:28:54] local.INFO: Packet analysis {"connection_id":164724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a49"} 
[2026-08-26 00:28:54] local.INFO: Extracted packet for processing {"connection_id":164724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a49"} 
[2026-08-26 00:28:54] local.INFO: GPS Element Parsed {"raw_longitude":763132352,"raw_latitude":98148688,"longitude_deg":76.3132352,"latitude_deg":9.8148688,"altitude":5,"angle":352,"satellites":32,"speed":18,"hex_longitude":"2d7c79c0","hex_latitude":"05d9a150","is_valid_coordinates":true} 
[2026-08-26 00:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647173632001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124546479556657152,"note":"Value kept but may cause issues"} 
[2026-08-26 00:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969481632987596800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787684274000,"timestamp_ms":1787684274000,"timestamp_seconds":1787684274,"priority":1,"record_length":96,"hex_timestamp":"000001a03a493f50"} 
[2026-08-26 00:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 00:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1058,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164724,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647173632001,"66":9569,"245":206,"85":15104,"24":18,"16":124546479556657152,"45":8969481632987596800},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-26 00:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647173632001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:28:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124546479556657152,"km_value":124546479556657.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969481632987596800,"description":"Unknown IO ID 45"} 
[2026-08-26 00:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647173632001,"power":9569,"geofence_id":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8969481632987596800}} 
[2026-08-26 00:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":164724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698873,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:28:54] local.INFO: GPS data processed {"connection_id":164724,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:28:54] local.INFO: Acknowledgment sent {"connection_id":164724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:29:17] local.INFO: TCP Data received {"connection_id":162349,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:29:17] local.INFO: Processing buffer {"connection_id":162349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:29:17] local.INFO: IMEI packet received {"connection_id":162349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":162349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:29:18] local.INFO: TCP Data received {"connection_id":162349,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:29:18] local.INFO: Processing buffer {"connection_id":162349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:29:18] local.INFO: IMEI packet received {"connection_id":162349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":162349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:29:22] local.INFO: TCP Data received {"connection_id":162349,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:29:22] local.INFO: Processing buffer {"connection_id":162349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:29:22] local.INFO: IMEI packet received {"connection_id":162349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":162349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:29:22] local.INFO: TCP Data received {"connection_id":162349,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a496e30012d7c74c005d9c4d80003016117..."} 
[2026-08-26 00:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a496e30012d7c74c005d9c4d80003016117..."} 
[2026-08-26 00:29:22] local.INFO: Processing buffer {"connection_id":162349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a496e30012d7c74c005d9c4d80003016117..."} 
[2026-08-26 00:29:22] local.INFO: Packet analysis {"connection_id":162349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a49"} 
[2026-08-26 00:29:22] local.INFO: Extracted packet for processing {"connection_id":162349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a49"} 
[2026-08-26 00:29:22] local.INFO: GPS Element Parsed {"raw_longitude":763131072,"raw_latitude":98157784,"longitude_deg":76.3131072,"latitude_deg":9.8157784,"altitude":3,"angle":353,"satellites":23,"speed":36,"hex_longitude":"2d7c74c0","hex_latitude":"05d9c4d8","is_valid_coordinates":true} 
[2026-08-26 00:29: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-26 00:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647174144001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124546926233255936,"note":"Value kept but may cause issues"} 
[2026-08-26 00:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969411264243650560,"note":"Value kept but may cause issues"} 
[2026-08-26 00:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787684286000,"timestamp_ms":1787684286000,"timestamp_seconds":1787684286,"priority":1,"record_length":96,"hex_timestamp":"000001a03a496e30"} 
[2026-08-26 00:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:29: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-26 00:29: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":37,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1256,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00:29: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-26 00:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647174144001,"66":9667,"245":206,"85":15104,"24":36,"16":124546926233255936,"45":8969411264243650560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-26 00:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647174144001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:29:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124546926233255936,"km_value":124546926233255.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969411264243650560,"description":"Unknown IO ID 45"} 
[2026-08-26 00:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647174144001,"power":9667,"geofence_id":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8969411264243650560}} 
[2026-08-26 00:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":162349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:29:22] local.INFO: GPS data processed {"connection_id":162349,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:29:22] local.INFO: Acknowledgment sent {"connection_id":162349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:29:38] local.INFO: TCP Data received {"connection_id":164725,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:29:38] local.INFO: Processing buffer {"connection_id":164725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:29:38] local.INFO: IMEI packet received {"connection_id":164725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":164725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:29:44] local.INFO: TCP Data received {"connection_id":164725,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:29:44] local.INFO: Processing buffer {"connection_id":164725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:29:44] local.INFO: IMEI packet received {"connection_id":164725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":164725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:29:45] local.INFO: TCP Data received {"connection_id":164725,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:29:45] local.INFO: Processing buffer {"connection_id":164725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:29:45] local.INFO: Packet analysis {"connection_id":164725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:29:45] local.INFO: Extracted packet for processing {"connection_id":164725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:29:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647059456001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:29:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787684127000,"timestamp_ms":1787684127000,"timestamp_seconds":1787684127,"priority":1,"record_length":96,"hex_timestamp":"000001a03a470118"} 
[2026-08-26 00:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:29:45] 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-26 00:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647059456001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647059456001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:29:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647059456001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":164725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:29:45] local.INFO: GPS data processed {"connection_id":164725,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:29:45] local.INFO: Acknowledgment sent {"connection_id":164725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:29:49] local.INFO: TCP Data received {"connection_id":162348,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:29:49] local.INFO: Processing buffer {"connection_id":162348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:29:49] local.INFO: IMEI packet received {"connection_id":162348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 00:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":162348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:29:55] local.INFO: TCP Data received {"connection_id":162349,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a499540012d7c70c005d9e9100001015e17..."} 
[2026-08-26 00:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a499540012d7c70c005d9e9100001015e17..."} 
[2026-08-26 00:29:55] local.INFO: Processing buffer {"connection_id":162349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a499540012d7c70c005d9e9100001015e17..."} 
[2026-08-26 00:29:55] local.INFO: Packet analysis {"connection_id":162349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a49"} 
[2026-08-26 00:29:55] local.INFO: Extracted packet for processing {"connection_id":162349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a49"} 
[2026-08-26 00:29:55] local.INFO: GPS Element Parsed {"raw_longitude":763130048,"raw_latitude":98167056,"longitude_deg":76.3130048,"latitude_deg":9.8167056,"altitude":1,"angle":350,"satellites":23,"speed":35,"hex_longitude":"2d7c70c0","hex_latitude":"05d9e910","is_valid_coordinates":true} 
[2026-08-26 00:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647177216001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124547377204822016,"note":"Value kept but may cause issues"} 
[2026-08-26 00:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968003889362425856,"note":"Value kept but may cause issues"} 
[2026-08-26 00:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787684296000,"timestamp_ms":1787684296000,"timestamp_seconds":1787684296,"priority":1,"record_length":96,"hex_timestamp":"000001a03a499540"} 
[2026-08-26 00:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:29: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-26 00:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-26 00:29: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-26 00:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647177216001,"66":9732,"245":206,"85":15104,"24":35,"16":124547377204822016,"45":8968003889362425856},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-08-26 00:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647177216001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:29:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124547377204822016,"km_value":124547377204822.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968003889362425856,"description":"Unknown IO ID 45"} 
[2026-08-26 00:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647177216001,"power":9732,"geofence_id":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8968003889362425856}} 
[2026-08-26 00:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":162349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:29:55] local.INFO: GPS data processed {"connection_id":162349,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:29:55] local.INFO: Acknowledgment sent {"connection_id":162349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:30:16] local.INFO: TCP Data received {"connection_id":164725,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:30:16] local.INFO: Processing buffer {"connection_id":164725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:30:16] local.INFO: Packet analysis {"connection_id":164725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:30:16] local.INFO: Extracted packet for processing {"connection_id":164725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 00:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647059456001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787684127000,"timestamp_ms":1787684127000,"timestamp_seconds":1787684127,"priority":1,"record_length":96,"hex_timestamp":"000001a03a470118"} 
[2026-08-26 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-26 00:30: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-26 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":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:30: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-26 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-26 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-26 00:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647059456001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647059456001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:30:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647059456001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":164725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:30:16] local.INFO: GPS data processed {"connection_id":164725,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:30:16] local.INFO: Acknowledgment sent {"connection_id":164725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:30:22] local.INFO: TCP Data received {"connection_id":164726,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:30:22] local.INFO: Processing buffer {"connection_id":164726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:30:22] local.INFO: IMEI packet received {"connection_id":164726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":164726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:30:23] local.INFO: TCP Data received {"connection_id":164726,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164726,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:30:23] local.INFO: Processing buffer {"connection_id":164726,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:30:23] local.INFO: IMEI packet received {"connection_id":164726,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":164726,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:30:23] local.INFO: TCP Data received {"connection_id":164726,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4b2b80012d7c064005db6c000000015822..."} 
[2026-08-26 00:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4b2b80012d7c064005db6c000000015822..."} 
[2026-08-26 00:30:23] local.INFO: Processing buffer {"connection_id":164726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4b2b80012d7c064005db6c000000015822..."} 
[2026-08-26 00:30:23] local.INFO: Packet analysis {"connection_id":164726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:30:23] local.INFO: Extracted packet for processing {"connection_id":164726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:30:23] local.INFO: GPS Element Parsed {"raw_longitude":763102784,"raw_latitude":98266112,"longitude_deg":76.3102784,"latitude_deg":9.8266112,"altitude":0,"angle":344,"satellites":34,"speed":51,"hex_longitude":"2d7c0640","hex_latitude":"05db6c00","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647204352001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124552363661852672,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939574916739885056,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787684400000,"timestamp_ms":1787684400000,"timestamp_seconds":1787684400,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4b2b80"} 
[2026-08-26 00: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-26 00:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00: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":37,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-26 00:30:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2426,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00: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-26 00: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-26 00:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647204352001,"66":9493,"185":206,"85":15104,"24":51,"16":124552363661852672,"45":8939574916739885056},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-26 00:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647204352001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:30:23] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-26 00:30:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124552363661852672,"km_value":124552363661852.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939574916739885056,"description":"Unknown IO ID 45"} 
[2026-08-26 00:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647204352001,"power":9493,"unknown_185":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8939574916739885056}} 
[2026-08-26 00:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":164726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:30:24] local.INFO: GPS data processed {"connection_id":164726,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:30:24] local.INFO: Acknowledgment sent {"connection_id":164726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:30:27] local.INFO: TCP Data received {"connection_id":164726,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4b46d8012d7bfe8005db8e800000015b1f..."} 
[2026-08-26 00:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4b46d8012d7bfe8005db8e800000015b1f..."} 
[2026-08-26 00:30:27] local.INFO: Processing buffer {"connection_id":164726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4b46d8012d7bfe8005db8e800000015b1f..."} 
[2026-08-26 00:30:27] local.INFO: Packet analysis {"connection_id":164726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:30:27] local.INFO: Extracted packet for processing {"connection_id":164726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:30:27] local.INFO: GPS Element Parsed {"raw_longitude":763100800,"raw_latitude":98274944,"longitude_deg":76.31008,"latitude_deg":9.8274944,"altitude":0,"angle":347,"satellites":31,"speed":51,"hex_longitude":"2d7bfe80","hex_latitude":"05db8e80","is_valid_coordinates":true} 
[2026-08-26 00:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647206400001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124552801748516864,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936900904463630336,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787684407000,"timestamp_ms":1787684407000,"timestamp_seconds":1787684407,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4b46d8"} 
[2026-08-26 00:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-08-26 00:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-7069806921293071157,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:27] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2684431740,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788837,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:27] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3717726208,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846149872,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-08-26 00:30:27] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3221609145,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:27] local.WARNING: Large IO value detected {"io_id":166,"raw_value":-4971747123159623680,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:27] local.WARNING: Large IO value detected {"io_id":38,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:27] local.WARNING: Large IO value detected {"io_id":75,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:27] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619931443202,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:27] local.WARNING: Large IO value detected {"io_id":186,"raw_value":9022398903483367424,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:27] local.WARNING: Large IO value detected {"io_id":76,"raw_value":1647562608082945,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:27] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2377942384693479936,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:27] local.WARNING: Large IO value detected {"io_id":195,"raw_value":57885692328301883,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:27] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,185,85,24,241,157,16,127,160,12,45,192,69,33,10,66,187,237,128,35,126,201,1,240,32,227,58,218,4,113,205,39,50,80,31,239,166,38,75,206,186,76,84,195],"length":578,"final_offset":708,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-08-26 00:30:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":378378032185344,"timestamp_seconds":378378032185.344,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 00:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":164726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":164726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":164726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647206400001,"66":9699,"185":206,"85":15104,"24":51,"16":124552801748516864,"45":8936900904463630336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-26 00:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647206400001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:30:27] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-26 00:30:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124552801748516864,"km_value":124552801748516.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936900904463630336,"description":"Unknown IO ID 45"} 
[2026-08-26 00:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647206400001,"power":9699,"unknown_185":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8936900904463630336}} 
[2026-08-26 00:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":164726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:30:27] local.INFO: GPS data processed {"connection_id":164726,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:30:27] local.INFO: Acknowledgment sent {"connection_id":164726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:30:38] local.INFO: TCP Data received {"connection_id":162350,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:30:38] local.INFO: Processing buffer {"connection_id":162350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:30:38] local.INFO: IMEI packet received {"connection_id":162350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":162350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:30:44] local.INFO: TCP Data received {"connection_id":162350,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:30:44] local.INFO: Processing buffer {"connection_id":162350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:30:44] local.INFO: IMEI packet received {"connection_id":162350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":162350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:30:45] local.INFO: TCP Data received {"connection_id":162350,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:30:45] local.INFO: Processing buffer {"connection_id":162350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a470118012d34c14006aa4818000d00e62c..."} 
[2026-08-26 00:30:45] local.INFO: Packet analysis {"connection_id":162350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:30:45] local.INFO: Extracted packet for processing {"connection_id":162350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a47"} 
[2026-08-26 00:30:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647059456001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787684127000,"timestamp_ms":1787684127000,"timestamp_seconds":1787684127,"priority":1,"record_length":96,"hex_timestamp":"000001a03a470118"} 
[2026-08-26 00: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-26 00:30: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-26 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:30:45] 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-26 00: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-26 00: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-26 00:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647059456001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647059456001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:30:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647059456001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":162350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:30:45] local.INFO: GPS data processed {"connection_id":162350,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:30:45] local.INFO: Acknowledgment sent {"connection_id":162350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:30:58] local.INFO: TCP Data received {"connection_id":164726,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4b6230012d7bf6c005dbb0a00000015a1e..."} 
[2026-08-26 00:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4b6230012d7bf6c005dbb0a00000015a1e..."} 
[2026-08-26 00:30:58] local.INFO: Processing buffer {"connection_id":164726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4b6230012d7bf6c005dbb0a00000015a1e..."} 
[2026-08-26 00:30:58] local.INFO: Packet analysis {"connection_id":164726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:30:58] local.INFO: Extracted packet for processing {"connection_id":164726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:30:58] local.INFO: GPS Element Parsed {"raw_longitude":763098816,"raw_latitude":98283680,"longitude_deg":76.3098816,"latitude_deg":9.828368,"altitude":0,"angle":346,"satellites":30,"speed":51,"hex_longitude":"2d7bf6c0","hex_latitude":"05dbb0a0","is_valid_coordinates":true} 
[2026-08-26 00:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647208192001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124553235540213760,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934719473396383744,"note":"Value kept but may cause issues"} 
[2026-08-26 00:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787684414000,"timestamp_ms":1787684414000,"timestamp_seconds":1787684414,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4b6230"} 
[2026-08-26 00:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:30: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-26 00:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-26 00:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2426,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164726,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647208192001,"66":9667,"185":206,"85":15104,"24":51,"16":124553235540213760,"45":8934719473396383744},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-26 00:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647208192001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:30:58] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-26 00:30:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124553235540213760,"km_value":124553235540213.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934719473396383744,"description":"Unknown IO ID 45"} 
[2026-08-26 00:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647208192001,"power":9667,"unknown_185":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8934719473396383744}} 
[2026-08-26 00:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":164726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:30:58] local.INFO: GPS data processed {"connection_id":164726,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:30:58] local.INFO: Acknowledgment sent {"connection_id":164726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:31:16] local.INFO: TCP Data received {"connection_id":162350,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:31:16] local.INFO: Processing buffer {"connection_id":162350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:31:16] local.INFO: Packet analysis {"connection_id":162350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:31:16] local.INFO: Extracted packet for processing {"connection_id":162350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647136512001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:31:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787684428000,"timestamp_ms":1787684428000,"timestamp_seconds":1787684428,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4b98e0"} 
[2026-08-26 00:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:31: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-26 00:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:31:16] 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-26 00:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647136512001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647136512001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647136512001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":162350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:31:16] local.INFO: GPS data processed {"connection_id":162350,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:31:16] local.INFO: Acknowledgment sent {"connection_id":162350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:31:17] local.INFO: TCP Data received {"connection_id":164727,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:31:17] local.INFO: Processing buffer {"connection_id":164727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:31:17] local.INFO: IMEI packet received {"connection_id":164727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":164727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:31:19] local.INFO: TCP Data received {"connection_id":164727,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:31:19] local.INFO: Processing buffer {"connection_id":164727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:31:19] local.INFO: IMEI packet received {"connection_id":164727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":164727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:31:22] local.INFO: TCP Data received {"connection_id":164727,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:31:22] local.INFO: Processing buffer {"connection_id":164727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:31:22] local.INFO: IMEI packet received {"connection_id":164727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":164727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:31:22] local.INFO: TCP Data received {"connection_id":164727,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4b7d88012d7bef4005dbd3f00000015e1d..."} 
[2026-08-26 00:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4b7d88012d7bef4005dbd3f00000015e1d..."} 
[2026-08-26 00:31:22] local.INFO: Processing buffer {"connection_id":164727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4b7d88012d7bef4005dbd3f00000015e1d..."} 
[2026-08-26 00:31:22] local.INFO: Packet analysis {"connection_id":164727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:31:22] local.INFO: Extracted packet for processing {"connection_id":164727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:31:22] local.INFO: GPS Element Parsed {"raw_longitude":763096896,"raw_latitude":98292720,"longitude_deg":76.3096896,"latitude_deg":9.829272,"altitude":0,"angle":350,"satellites":29,"speed":52,"hex_longitude":"2d7bef40","hex_latitude":"05dbd3f0","is_valid_coordinates":true} 
[2026-08-26 00:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647209984001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124553682216812544,"note":"Value kept but may cause issues"} 
[2026-08-26 00:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932538042329112576,"note":"Value kept but may cause issues"} 
[2026-08-26 00:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787684421000,"timestamp_ms":1787684421000,"timestamp_seconds":1787684421,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4b7d88"} 
[2026-08-26 00:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:31:22] 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-26 00:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-26 00:31:22] 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-26 00:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647209984001,"66":9667,"185":206,"85":15104,"24":52,"16":124553682216812544,"45":8932538042329112576},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-26 00:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647209984001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:31:22] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-26 00:31:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124553682216812544,"km_value":124553682216812.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932538042329112576,"description":"Unknown IO ID 45"} 
[2026-08-26 00:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647209984001,"power":9667,"unknown_185":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8932538042329112576}} 
[2026-08-26 00:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":164727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:31:22] local.INFO: GPS data processed {"connection_id":164727,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:31:22] local.INFO: Acknowledgment sent {"connection_id":164727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:31:38] local.INFO: TCP Data received {"connection_id":162106,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:31:38] local.INFO: Processing buffer {"connection_id":162106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:31:38] local.INFO: IMEI packet received {"connection_id":162106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":162106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:31:43] local.INFO: TCP Data received {"connection_id":162106,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:31:43] local.INFO: Processing buffer {"connection_id":162106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:31:43] local.INFO: IMEI packet received {"connection_id":162106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":162106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:31:44] local.INFO: TCP Data received {"connection_id":162106,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:31:44] local.INFO: Processing buffer {"connection_id":162106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:31:44] local.INFO: Packet analysis {"connection_id":162106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:31:44] local.INFO: Extracted packet for processing {"connection_id":162106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:31:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647136512001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:31:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787684428000,"timestamp_ms":1787684428000,"timestamp_seconds":1787684428,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4b98e0"} 
[2026-08-26 00: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-26 00:31: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-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:31:44] 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-26 00: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-26 00: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-26 00:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647136512001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647136512001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:31:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647136512001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":162106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:31:44] local.INFO: GPS data processed {"connection_id":162106,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:31:44] local.INFO: Acknowledgment sent {"connection_id":162106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:31:54] local.INFO: TCP Data received {"connection_id":164727,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4b98e0012d7bea4005dbf830000001611e..."} 
[2026-08-26 00:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4b98e0012d7bea4005dbf830000001611e..."} 
[2026-08-26 00:31:54] local.INFO: Processing buffer {"connection_id":164727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4b98e0012d7bea4005dbf830000001611e..."} 
[2026-08-26 00:31:54] local.INFO: Packet analysis {"connection_id":164727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:31:54] local.INFO: Extracted packet for processing {"connection_id":164727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:31:54] local.INFO: GPS Element Parsed {"raw_longitude":763095616,"raw_latitude":98302000,"longitude_deg":76.3095616,"latitude_deg":9.8302,"altitude":0,"angle":353,"satellites":30,"speed":53,"hex_longitude":"2d7bea40","hex_latitude":"05dbf830","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647211776001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124554137483345920,"note":"Value kept but may cause issues"} 
[2026-08-26 00:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930426980006096896,"note":"Value kept but may cause issues"} 
[2026-08-26 00:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787684428000,"timestamp_ms":1787684428000,"timestamp_seconds":1787684428,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4b98e0"} 
[2026-08-26 00: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-26 00:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00: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":37,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-26 00:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00: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-26 00: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-26 00:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647211776001,"66":9536,"185":206,"85":15104,"24":53,"16":124554137483345920,"45":8930426980006096896},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-26 00:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647211776001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:31:54] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-26 00:31:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124554137483345920,"km_value":124554137483345.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930426980006096896,"description":"Unknown IO ID 45"} 
[2026-08-26 00:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647211776001,"power":9536,"unknown_185":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8930426980006096896}} 
[2026-08-26 00:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":164727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:31:54] local.INFO: GPS data processed {"connection_id":164727,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:31:54] local.INFO: Acknowledgment sent {"connection_id":164727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:32:16] local.INFO: TCP Data received {"connection_id":162106,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:32:16] local.INFO: Processing buffer {"connection_id":162106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:32:16] local.INFO: Packet analysis {"connection_id":162106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:32:16] local.INFO: Extracted packet for processing {"connection_id":162106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647136512001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:32:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787684428000,"timestamp_ms":1787684428000,"timestamp_seconds":1787684428,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4b98e0"} 
[2026-08-26 00:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:32: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-26 00:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:32:16] 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-26 00:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647136512001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647136512001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:32:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647136512001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":162106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:32:16] local.INFO: GPS data processed {"connection_id":162106,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:32:16] local.INFO: Acknowledgment sent {"connection_id":162106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:32:22] local.INFO: TCP Data received {"connection_id":162107,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:32:22] local.INFO: Processing buffer {"connection_id":162107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:32:22] local.INFO: IMEI packet received {"connection_id":162107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":162107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:32:27] local.INFO: TCP Data received {"connection_id":162107,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:32:27] local.INFO: Processing buffer {"connection_id":162107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:32:27] local.INFO: IMEI packet received {"connection_id":162107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":162107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:32:37] local.INFO: TCP Data received {"connection_id":162107,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4cd548012d7bcd0005dd8ee00000015f1c..."} 
[2026-08-26 00:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4cd548012d7bcd0005dd8ee00000015f1c..."} 
[2026-08-26 00:32:37] local.INFO: Processing buffer {"connection_id":162107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4cd548012d7bcd0005dd8ee00000015f1c..."} 
[2026-08-26 00:32:37] local.INFO: Packet analysis {"connection_id":162107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4c"} 
[2026-08-26 00:32:37] local.INFO: Extracted packet for processing {"connection_id":162107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4c"} 
[2026-08-26 00:32:37] local.INFO: GPS Element Parsed {"raw_longitude":763088128,"raw_latitude":98406112,"longitude_deg":76.3088128,"latitude_deg":9.8406112,"altitude":0,"angle":351,"satellites":28,"speed":49,"hex_longitude":"2d7bcd00","hex_latitude":"05dd8ee0","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647232256001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124559205544755200,"note":"Value kept but may cause issues"} 
[2026-08-26 00:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922545680684732416,"note":"Value kept but may cause issues"} 
[2026-08-26 00:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787684509000,"timestamp_ms":1787684509000,"timestamp_seconds":1787684509,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4cd548"} 
[2026-08-26 00: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-26 00:32:37] 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-26 00: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":37,"n8_eight_byte":108,"data_length":795,"current_offset":136} 
[2026-08-26 00:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1355,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00: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-26 00: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-26 00:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":162107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":162107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":162107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647232256001,"66":9373,"169":206,"85":15104,"24":49,"16":124559205544755200,"45":8922545680684732416},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-26 00:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647232256001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:32:37] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-26 00:32:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124559205544755200,"km_value":124559205544755.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922545680684732416,"description":"Unknown IO ID 45"} 
[2026-08-26 00:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647232256001,"power":9373,"unknown_169":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8922545680684732416}} 
[2026-08-26 00:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":162107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698887,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:32:37] local.INFO: GPS data processed {"connection_id":162107,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:32:37] local.INFO: Acknowledgment sent {"connection_id":162107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:32:42] local.INFO: TCP Data received {"connection_id":162107,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4cf488012d7bc64005ddb5680000015c14..."} 
[2026-08-26 00:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4cf488012d7bc64005ddb5680000015c14..."} 
[2026-08-26 00:32:42] local.INFO: Processing buffer {"connection_id":162107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4cf488012d7bc64005ddb5680000015c14..."} 
[2026-08-26 00:32:42] local.INFO: Packet analysis {"connection_id":162107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4c"} 
[2026-08-26 00:32:42] local.INFO: Extracted packet for processing {"connection_id":162107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4c"} 
[2026-08-26 00:32:42] local.INFO: GPS Element Parsed {"raw_longitude":763086400,"raw_latitude":98415976,"longitude_deg":76.30864,"latitude_deg":9.8415976,"altitude":0,"angle":348,"satellites":20,"speed":49,"hex_longitude":"2d7bc640","hex_latitude":"05ddb568","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647234304001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124559690876059648,"note":"Value kept but may cause issues"} 
[2026-08-26 00:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920786462082785280,"note":"Value kept but may cause issues"} 
[2026-08-26 00:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787684517000,"timestamp_ms":1787684517000,"timestamp_seconds":1787684517,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4cf488"} 
[2026-08-26 00: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-26 00:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00: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":36,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-26 00:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1791,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00: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-26 00: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-26 00:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647234304001,"66":9776,"169":206,"85":15104,"24":49,"16":124559690876059648,"45":8920786462082785280},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-26 00:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647234304001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:32:42] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-26 00:32:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124559690876059648,"km_value":124559690876059.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920786462082785280,"description":"Unknown IO ID 45"} 
[2026-08-26 00:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647234304001,"power":9776,"unknown_169":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8920786462082785280}} 
[2026-08-26 00:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":162107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:32:42] local.INFO: GPS data processed {"connection_id":162107,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:32:42] local.INFO: Acknowledgment sent {"connection_id":162107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:32:43] local.INFO: TCP Data received {"connection_id":163343,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:32:43] local.INFO: Processing buffer {"connection_id":163343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:32:43] local.INFO: IMEI packet received {"connection_id":163343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":163343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:32:48] local.INFO: TCP Data received {"connection_id":163343,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:32:48] local.INFO: Processing buffer {"connection_id":163343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:32:48] local.INFO: IMEI packet received {"connection_id":163343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":163343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:32:49] local.INFO: TCP Data received {"connection_id":163343,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:32:49] local.INFO: Processing buffer {"connection_id":163343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:32:49] local.INFO: Packet analysis {"connection_id":163343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:32:49] local.INFO: Extracted packet for processing {"connection_id":163343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:32:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647136512001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:32:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787684428000,"timestamp_ms":1787684428000,"timestamp_seconds":1787684428,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4b98e0"} 
[2026-08-26 00:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:32:49] 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-26 00:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647136512001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647136512001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:32:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647136512001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":163343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:32:49] local.INFO: GPS data processed {"connection_id":163343,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:32:49] local.INFO: Acknowledgment sent {"connection_id":163343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:32:54] local.INFO: TCP Data received {"connection_id":163343,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:32:54] local.INFO: Processing buffer {"connection_id":163343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:32:54] local.INFO: Packet analysis {"connection_id":163343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:32:54] local.INFO: Extracted packet for processing {"connection_id":163343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:32:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647136512001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:32:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787684428000,"timestamp_ms":1787684428000,"timestamp_seconds":1787684428,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4b98e0"} 
[2026-08-26 00:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647136512001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647136512001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:32:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647136512001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":163343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:32:54] local.INFO: GPS data processed {"connection_id":163343,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:32:54] local.INFO: Acknowledgment sent {"connection_id":163343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:33:17] local.INFO: TCP Data received {"connection_id":162108,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:33:17] local.INFO: Processing buffer {"connection_id":162108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:33:17] local.INFO: IMEI packet received {"connection_id":162108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":162108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:33:19] local.INFO: TCP Data received {"connection_id":162108,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:33:19] local.INFO: Processing buffer {"connection_id":162108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:33:19] local.INFO: IMEI packet received {"connection_id":162108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":162108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:33:22] local.INFO: TCP Data received {"connection_id":162108,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:33:22] local.INFO: Processing buffer {"connection_id":162108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:33:22] local.INFO: IMEI packet received {"connection_id":162108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":162108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:33:23] local.INFO: TCP Data received {"connection_id":162108,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4d13c8012d7bbf8005dddb680000015c1b..."} 
[2026-08-26 00:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4d13c8012d7bbf8005dddb680000015c1b..."} 
[2026-08-26 00:33:23] local.INFO: Processing buffer {"connection_id":162108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4d13c8012d7bbf8005dddb680000015c1b..."} 
[2026-08-26 00:33:23] local.INFO: Packet analysis {"connection_id":162108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4d"} 
[2026-08-26 00:33:23] local.INFO: Extracted packet for processing {"connection_id":162108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4d"} 
[2026-08-26 00:33:23] local.INFO: GPS Element Parsed {"raw_longitude":763084672,"raw_latitude":98425704,"longitude_deg":76.3084672,"latitude_deg":9.8425704,"altitude":0,"angle":348,"satellites":27,"speed":48,"hex_longitude":"2d7bbf80","hex_latitude":"05dddb68","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647236352001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124560171912396800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918886505992513536,"note":"Value kept but may cause issues"} 
[2026-08-26 00:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787684525000,"timestamp_ms":1787684525000,"timestamp_seconds":1787684525,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4d13c8"} 
[2026-08-26 00: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-26 00:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00: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":38,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-08-26 00:33:23] 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-26 00: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-26 00: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-26 00:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647236352001,"66":9580,"169":206,"85":15104,"24":48,"16":124560171912396800,"45":8918886505992513536},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-26 00:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647236352001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:33:23] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-26 00:33:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124560171912396800,"km_value":124560171912396.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918886505992513536,"description":"Unknown IO ID 45"} 
[2026-08-26 00:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647236352001,"power":9580,"unknown_169":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8918886505992513536}} 
[2026-08-26 00:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":162108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698891,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:33:23] local.INFO: GPS data processed {"connection_id":162108,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:33:23] local.INFO: Acknowledgment sent {"connection_id":162108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:33:39] local.INFO: TCP Data received {"connection_id":162109,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:33:39] local.INFO: Processing buffer {"connection_id":162109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:33:39] local.INFO: IMEI packet received {"connection_id":162109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":162109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:33:43] local.INFO: TCP Data received {"connection_id":162109,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:33:43] local.INFO: Processing buffer {"connection_id":162109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:33:43] local.INFO: IMEI packet received {"connection_id":162109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":162109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:33:44] local.INFO: TCP Data received {"connection_id":162109,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:33:44] local.INFO: Processing buffer {"connection_id":162109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:33:44] local.INFO: Packet analysis {"connection_id":162109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:33:44] local.INFO: Extracted packet for processing {"connection_id":162109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:33:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647136512001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:33:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787684428000,"timestamp_ms":1787684428000,"timestamp_seconds":1787684428,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4b98e0"} 
[2026-08-26 00: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-26 00:33: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-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:33:44] 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-26 00: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-26 00: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-26 00:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647136512001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647136512001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:33:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647136512001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":162109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:33:44] local.INFO: GPS data processed {"connection_id":162109,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:33:44] local.INFO: Acknowledgment sent {"connection_id":162109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:33:54] local.INFO: TCP Data received {"connection_id":162108,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4e63b8012d7b8c8005df69300000015f1d..."} 
[2026-08-26 00:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4e63b8012d7b8c8005df69300000015f1d..."} 
[2026-08-26 00:33:54] local.INFO: Processing buffer {"connection_id":162108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4e63b8012d7b8c8005df69300000015f1d..."} 
[2026-08-26 00:33:54] local.INFO: Packet analysis {"connection_id":162108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4e"} 
[2026-08-26 00:33:54] local.INFO: Extracted packet for processing {"connection_id":162108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4e"} 
[2026-08-26 00:33:54] local.INFO: GPS Element Parsed {"raw_longitude":763071616,"raw_latitude":98527536,"longitude_deg":76.3071616,"latitude_deg":9.8527536,"altitude":0,"angle":351,"satellites":29,"speed":52,"hex_longitude":"2d7b8c80","hex_latitude":"05df6930","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647258624001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124565158369427456,"note":"Value kept but may cause issues"} 
[2026-08-26 00:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903686857276354560,"note":"Value kept but may cause issues"} 
[2026-08-26 00:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787684611000,"timestamp_ms":1787684611000,"timestamp_seconds":1787684611,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4e63b8"} 
[2026-08-26 00: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-26 00:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00: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":37,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 00:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":860,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00: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-26 00: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-26 00:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647258624001,"66":9667,"103":206,"85":15104,"24":52,"16":124565158369427456,"45":8903686857276354560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-26 00:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647258624001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:33:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-26 00:33:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124565158369427456,"km_value":124565158369427.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903686857276354560,"description":"Unknown IO ID 45"} 
[2026-08-26 00:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647258624001,"power":9667,"unknown_103":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8903686857276354560}} 
[2026-08-26 00:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":162108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:33:54] local.INFO: GPS data processed {"connection_id":162108,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:33:54] local.INFO: Acknowledgment sent {"connection_id":162108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:34:16] local.INFO: TCP Data received {"connection_id":162109,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:34:16] local.INFO: Processing buffer {"connection_id":162109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:34:16] local.INFO: Packet analysis {"connection_id":162109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:34:16] local.INFO: Extracted packet for processing {"connection_id":162109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647136512001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:34:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787684428000,"timestamp_ms":1787684428000,"timestamp_seconds":1787684428,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4b98e0"} 
[2026-08-26 00:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:34: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-26 00:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:34:16] 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-26 00:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647136512001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647136512001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:34:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647136512001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":162109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:34:16] local.INFO: GPS data processed {"connection_id":162109,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:34:16] local.INFO: Acknowledgment sent {"connection_id":162109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:34:17] local.INFO: TCP Data received {"connection_id":162110,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:34:17] local.INFO: Processing buffer {"connection_id":162110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:34:17] local.INFO: IMEI packet received {"connection_id":162110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":162110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:34:25] local.INFO: TCP Data received {"connection_id":162110,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:34:25] local.INFO: Processing buffer {"connection_id":162110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:34:25] local.INFO: IMEI packet received {"connection_id":162110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":162110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:34:26] local.INFO: TCP Data received {"connection_id":162110,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4e7f10012d7b884005df8c80000001601d..."} 
[2026-08-26 00:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4e7f10012d7b884005df8c80000001601d..."} 
[2026-08-26 00:34:26] local.INFO: Processing buffer {"connection_id":162110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4e7f10012d7b884005df8c80000001601d..."} 
[2026-08-26 00:34:26] local.INFO: Packet analysis {"connection_id":162110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4e"} 
[2026-08-26 00:34:26] local.INFO: Extracted packet for processing {"connection_id":162110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4e"} 
[2026-08-26 00:34:26] local.INFO: GPS Element Parsed {"raw_longitude":763070528,"raw_latitude":98536576,"longitude_deg":76.3070528,"latitude_deg":9.8536576,"altitude":0,"angle":352,"satellites":29,"speed":52,"hex_longitude":"2d7b8840","hex_latitude":"05df8c80","is_valid_coordinates":true} 
[2026-08-26 00:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647260416001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124565596456091648,"note":"Value kept but may cause issues"} 
[2026-08-26 00:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902631326116032512,"note":"Value kept but may cause issues"} 
[2026-08-26 00:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787684618000,"timestamp_ms":1787684618000,"timestamp_seconds":1787684618,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4e7f10"} 
[2026-08-26 00:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:34: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-26 00:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-26 00:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":162110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":162110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":162110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647260416001,"66":9569,"103":206,"85":15104,"24":52,"16":124565596456091648,"45":8902631326116032512},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-26 00:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647260416001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:34:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-26 00:34:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124565596456091648,"km_value":124565596456091.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902631326116032512,"description":"Unknown IO ID 45"} 
[2026-08-26 00:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647260416001,"power":9569,"unknown_103":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8902631326116032512}} 
[2026-08-26 00:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":162110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698895,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:34:26] local.INFO: GPS data processed {"connection_id":162110,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:34:26] local.INFO: Acknowledgment sent {"connection_id":162110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:34:38] local.INFO: TCP Data received {"connection_id":162111,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:34:38] local.INFO: Processing buffer {"connection_id":162111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:34:38] local.INFO: IMEI packet received {"connection_id":162111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":162111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:34:43] local.INFO: TCP Data received {"connection_id":162111,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:34:43] local.INFO: Processing buffer {"connection_id":162111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:34:43] local.INFO: IMEI packet received {"connection_id":162111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":162111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:34:44] local.INFO: TCP Data received {"connection_id":162111,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:34:44] local.INFO: Processing buffer {"connection_id":162111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:34:44] local.INFO: Packet analysis {"connection_id":162111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:34:44] local.INFO: Extracted packet for processing {"connection_id":162111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:34:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647136512001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:34:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787684428000,"timestamp_ms":1787684428000,"timestamp_seconds":1787684428,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4b98e0"} 
[2026-08-26 00: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-26 00:34: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-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:34:44] 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-26 00: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-26 00: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-26 00:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647136512001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647136512001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:34:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647136512001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":162111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:34:44] local.INFO: GPS data processed {"connection_id":162111,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:34:44] local.INFO: Acknowledgment sent {"connection_id":162111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:34:58] local.INFO: TCP Data received {"connection_id":162110,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4e9a68012d7b838005dfb050000001601f..."} 
[2026-08-26 00:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4e9a68012d7b838005dfb050000001601f..."} 
[2026-08-26 00:34:58] local.INFO: Processing buffer {"connection_id":162110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4e9a68012d7b838005dfb050000001601f..."} 
[2026-08-26 00:34:58] local.INFO: Packet analysis {"connection_id":162110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4e"} 
[2026-08-26 00:34:58] local.INFO: Extracted packet for processing {"connection_id":162110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4e"} 
[2026-08-26 00:34:58] local.INFO: GPS Element Parsed {"raw_longitude":763069312,"raw_latitude":98545744,"longitude_deg":76.3069312,"latitude_deg":9.8545744,"altitude":0,"angle":352,"satellites":31,"speed":52,"hex_longitude":"2d7b8380","hex_latitude":"05dfb050","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647262208001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124566047427657728,"note":"Value kept but may cause issues"} 
[2026-08-26 00:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901435057467326464,"note":"Value kept but may cause issues"} 
[2026-08-26 00:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787684625000,"timestamp_ms":1787684625000,"timestamp_seconds":1787684625,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4e9a68"} 
[2026-08-26 00: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-26 00:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00: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":37,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1256,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00: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-26 00: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-26 00:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647262208001,"66":9667,"103":206,"85":15104,"24":52,"16":124566047427657728,"45":8901435057467326464},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-26 00:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647262208001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:34:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-26 00:34:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124566047427657728,"km_value":124566047427657.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901435057467326464,"description":"Unknown IO ID 45"} 
[2026-08-26 00:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647262208001,"power":9667,"unknown_103":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8901435057467326464}} 
[2026-08-26 00:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":162110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:34:58] local.INFO: GPS data processed {"connection_id":162110,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:34:58] local.INFO: Acknowledgment sent {"connection_id":162110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:35:16] local.INFO: TCP Data received {"connection_id":162111,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:35:16] local.INFO: Processing buffer {"connection_id":162111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:35:16] local.INFO: Packet analysis {"connection_id":162111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:35:16] local.INFO: Extracted packet for processing {"connection_id":162111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647136512001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:35:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787684428000,"timestamp_ms":1787684428000,"timestamp_seconds":1787684428,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4b98e0"} 
[2026-08-26 00:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:35: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-26 00:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:35:16] 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-26 00:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647136512001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647136512001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:35:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647136512001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":162111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:35:16] local.INFO: GPS data processed {"connection_id":162111,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:35:16] local.INFO: Acknowledgment sent {"connection_id":162111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:35:22] local.INFO: TCP Data received {"connection_id":163344,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163344,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:35:22] local.INFO: Processing buffer {"connection_id":163344,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:35:22] local.INFO: IMEI packet received {"connection_id":163344,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 00:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":163344,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:35:22] local.INFO: TCP Data received {"connection_id":163345,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:35:22] local.INFO: Processing buffer {"connection_id":163345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:35:22] local.INFO: IMEI packet received {"connection_id":163345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":163345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:35:27] local.INFO: TCP Data received {"connection_id":163345,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:35:27] local.INFO: Processing buffer {"connection_id":163345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:35:27] local.INFO: IMEI packet received {"connection_id":163345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":163345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:35:28] local.INFO: TCP Data received {"connection_id":163345,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4eb5c0012d7b7e8005dfd428000001601f..."} 
[2026-08-26 00:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4eb5c0012d7b7e8005dfd428000001601f..."} 
[2026-08-26 00:35:28] local.INFO: Processing buffer {"connection_id":163345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4eb5c0012d7b7e8005dfd428000001601f..."} 
[2026-08-26 00:35:28] local.INFO: Packet analysis {"connection_id":163345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4e"} 
[2026-08-26 00:35:28] local.INFO: Extracted packet for processing {"connection_id":163345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4e"} 
[2026-08-26 00:35:28] local.INFO: GPS Element Parsed {"raw_longitude":763068032,"raw_latitude":98554920,"longitude_deg":76.3068032,"latitude_deg":9.855492,"altitude":0,"angle":352,"satellites":31,"speed":53,"hex_longitude":"2d7b7e80","hex_latitude":"05dfd428","is_valid_coordinates":true} 
[2026-08-26 00:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647264000001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124566494104256512,"note":"Value kept but may cause issues"} 
[2026-08-26 00:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900098051330297856,"note":"Value kept but may cause issues"} 
[2026-08-26 00:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787684632000,"timestamp_ms":1787684632000,"timestamp_seconds":1787684632,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4eb5c0"} 
[2026-08-26 00:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:35: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-26 00:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-26 00:35:28] 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-26 00:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647264000001,"66":9580,"103":206,"85":15104,"24":53,"16":124566494104256512,"45":8900098051330297856},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-26 00:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647264000001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:35:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-26 00:35:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124566494104256512,"km_value":124566494104256.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900098051330297856,"description":"Unknown IO ID 45"} 
[2026-08-26 00:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647264000001,"power":9580,"unknown_103":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8900098051330297856}} 
[2026-08-26 00:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":163345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:35:28] local.INFO: GPS data processed {"connection_id":163345,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:35:28] local.INFO: Acknowledgment sent {"connection_id":163345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:35:29] local.INFO: TCP Data received {"connection_id":163345,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4ed118012d7b79c005dff8c0000001601c..."} 
[2026-08-26 00:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4ed118012d7b79c005dff8c0000001601c..."} 
[2026-08-26 00:35:29] local.INFO: Processing buffer {"connection_id":163345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4ed118012d7b79c005dff8c0000001601c..."} 
[2026-08-26 00:35:29] local.INFO: Packet analysis {"connection_id":163345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4e"} 
[2026-08-26 00:35:29] local.INFO: Extracted packet for processing {"connection_id":163345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4e"} 
[2026-08-26 00:35:29] local.INFO: GPS Element Parsed {"raw_longitude":763066816,"raw_latitude":98564288,"longitude_deg":76.3066816,"latitude_deg":9.8564288,"altitude":0,"angle":352,"satellites":28,"speed":53,"hex_longitude":"2d7b79c0","hex_latitude":"05dff8c0","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647265792001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124566953665757184,"note":"Value kept but may cause issues"} 
[2026-08-26 00:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898690676449093632,"note":"Value kept but may cause issues"} 
[2026-08-26 00:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787684639000,"timestamp_ms":1787684639000,"timestamp_seconds":1787684639,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4ed118"} 
[2026-08-26 00: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-26 00:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00: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":37,"n8_eight_byte":108,"data_length":795,"current_offset":136} 
[2026-08-26 00:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1355,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00: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-26 00: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-26 00:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647265792001,"66":9569,"103":206,"85":15104,"24":53,"16":124566953665757184,"45":8898690676449093632},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-26 00:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647265792001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:35:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-26 00:35:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124566953665757184,"km_value":124566953665757.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898690676449093632,"description":"Unknown IO ID 45"} 
[2026-08-26 00:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647265792001,"power":9569,"unknown_103":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8898690676449093632}} 
[2026-08-26 00:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":163345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:35:29] local.INFO: GPS data processed {"connection_id":163345,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:35:29] local.INFO: Acknowledgment sent {"connection_id":163345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:35:38] local.INFO: TCP Data received {"connection_id":162112,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:35:38] local.INFO: Processing buffer {"connection_id":162112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:35:38] local.INFO: IMEI packet received {"connection_id":162112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":162112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:35:43] local.INFO: TCP Data received {"connection_id":162112,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:35:43] local.INFO: Processing buffer {"connection_id":162112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:35:43] local.INFO: IMEI packet received {"connection_id":162112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":162112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:35:44] local.INFO: TCP Data received {"connection_id":162112,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:35:44] local.INFO: Processing buffer {"connection_id":162112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4b98e0012d34c14006aa4818000200e62d..."} 
[2026-08-26 00:35:44] local.INFO: Packet analysis {"connection_id":162112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:35:44] local.INFO: Extracted packet for processing {"connection_id":162112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4b"} 
[2026-08-26 00:35:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647136512001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:35:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787684428000,"timestamp_ms":1787684428000,"timestamp_seconds":1787684428,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4b98e0"} 
[2026-08-26 00: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-26 00:35: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-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:35:44] 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-26 00: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-26 00: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-26 00:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647136512001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647136512001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:35:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647136512001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":162112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:35:44] local.INFO: GPS data processed {"connection_id":162112,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:35:44] local.INFO: Acknowledgment sent {"connection_id":162112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:36:00] local.INFO: TCP Data received {"connection_id":163345,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4eec70012d7b754005e01d78000001601e..."} 
[2026-08-26 00:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4eec70012d7b754005e01d78000001601e..."} 
[2026-08-26 00:36:00] local.INFO: Processing buffer {"connection_id":163345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4eec70012d7b754005e01d78000001601e..."} 
[2026-08-26 00:36:00] local.INFO: Packet analysis {"connection_id":163345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4e"} 
[2026-08-26 00:36:00] local.INFO: Extracted packet for processing {"connection_id":163345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4e"} 
[2026-08-26 00:36:00] local.INFO: GPS Element Parsed {"raw_longitude":763065664,"raw_latitude":98573688,"longitude_deg":76.3065664,"latitude_deg":9.8573688,"altitude":0,"angle":352,"satellites":30,"speed":52,"hex_longitude":"2d7b7540","hex_latitude":"05e01d78","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647267584001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124567413227257856,"note":"Value kept but may cause issues"} 
[2026-08-26 00:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897353670312116224,"note":"Value kept but may cause issues"} 
[2026-08-26 00:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787684646000,"timestamp_ms":1787684646000,"timestamp_seconds":1787684646,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4eec70"} 
[2026-08-26 00: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-26 00:36: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-26 00: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":37,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1256,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00: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-26 00: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-26 00:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647267584001,"66":9525,"103":206,"85":15104,"24":52,"16":124567413227257856,"45":8897353670312116224},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-26 00:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647267584001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:36:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-26 00:36:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124567413227257856,"km_value":124567413227257.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897353670312116224,"description":"Unknown IO ID 45"} 
[2026-08-26 00:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647267584001,"power":9525,"unknown_103":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8897353670312116224}} 
[2026-08-26 00:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":163345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:36:00] local.INFO: GPS data processed {"connection_id":163345,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:36:00] local.INFO: Acknowledgment sent {"connection_id":163345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:36:16] local.INFO: TCP Data received {"connection_id":162112,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:36:16] local.INFO: Processing buffer {"connection_id":162112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:36:16] local.INFO: Packet analysis {"connection_id":162112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a50"} 
[2026-08-26 00:36:16] local.INFO: Extracted packet for processing {"connection_id":162112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a50"} 
[2026-08-26 00:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647213568001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:36:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787684729000,"timestamp_ms":1787684729000,"timestamp_seconds":1787684729,"priority":1,"record_length":96,"hex_timestamp":"000001a03a5030a8"} 
[2026-08-26 00: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-26 00:36: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-26 00: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:36: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-26 00: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-26 00: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-26 00:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647213568001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647213568001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647213568001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":162112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:36:16] local.INFO: GPS data processed {"connection_id":162112,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:36:16] local.INFO: Acknowledgment sent {"connection_id":162112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:36:17] local.INFO: TCP Data received {"connection_id":163346,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:36:17] local.INFO: Processing buffer {"connection_id":163346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:36:17] local.INFO: IMEI packet received {"connection_id":163346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":163346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:36:22] local.INFO: TCP Data received {"connection_id":163346,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163346,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:36:22] local.INFO: Processing buffer {"connection_id":163346,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:36:22] local.INFO: IMEI packet received {"connection_id":163346,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":163346,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:36:23] local.INFO: TCP Data received {"connection_id":163346,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4f0bb0012d7b700005e04418000101611c..."} 
[2026-08-26 00:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4f0bb0012d7b700005e04418000101611c..."} 
[2026-08-26 00:36:23] local.INFO: Processing buffer {"connection_id":163346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4f0bb0012d7b700005e04418000101611c..."} 
[2026-08-26 00:36:23] local.INFO: Packet analysis {"connection_id":163346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4f"} 
[2026-08-26 00:36:23] local.INFO: Extracted packet for processing {"connection_id":163346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4f"} 
[2026-08-26 00:36:23] local.INFO: GPS Element Parsed {"raw_longitude":763064320,"raw_latitude":98583576,"longitude_deg":76.306432,"latitude_deg":9.8583576,"altitude":1,"angle":353,"satellites":28,"speed":47,"hex_longitude":"2d7b7000","hex_latitude":"05e04418","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647269376001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124567894263595008,"note":"Value kept but may cause issues"} 
[2026-08-26 00:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896087032919324672,"note":"Value kept but may cause issues"} 
[2026-08-26 00:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787684654000,"timestamp_ms":1787684654000,"timestamp_seconds":1787684654,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4f0bb0"} 
[2026-08-26 00: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-26 00:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00: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":37,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 00:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":860,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00: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-26 00: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-26 00:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647269376001,"66":9525,"103":206,"85":15104,"24":47,"16":124567894263595008,"45":8896087032919324672},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-26 00:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647269376001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:36:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-26 00:36:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124567894263595008,"km_value":124567894263595.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896087032919324672,"description":"Unknown IO ID 45"} 
[2026-08-26 00:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647269376001,"power":9525,"unknown_103":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8896087032919324672}} 
[2026-08-26 00:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":163346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698904,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:36:23] local.INFO: GPS data processed {"connection_id":163346,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:36:23] local.INFO: Acknowledgment sent {"connection_id":163346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:36:28] local.INFO: TCP Data received {"connection_id":163346,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4f2af0012d7b6b4005e066c80003015f1f..."} 
[2026-08-26 00:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4f2af0012d7b6b4005e066c80003015f1f..."} 
[2026-08-26 00:36:28] local.INFO: Processing buffer {"connection_id":163346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4f2af0012d7b6b4005e066c80003015f1f..."} 
[2026-08-26 00:36:28] local.INFO: Packet analysis {"connection_id":163346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4f"} 
[2026-08-26 00:36:28] local.INFO: Extracted packet for processing {"connection_id":163346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4f"} 
[2026-08-26 00:36:28] local.INFO: GPS Element Parsed {"raw_longitude":763063104,"raw_latitude":98592456,"longitude_deg":76.3063104,"latitude_deg":9.8592456,"altitude":3,"angle":351,"satellites":31,"speed":43,"hex_longitude":"2d7b6b40","hex_latitude":"05e066c8","is_valid_coordinates":true} 
[2026-08-26 00:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647271424001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124568328055291904,"note":"Value kept but may cause issues"} 
[2026-08-26 00:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894609289294125056,"note":"Value kept but may cause issues"} 
[2026-08-26 00:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787684662000,"timestamp_ms":1787684662000,"timestamp_seconds":1787684662,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4f2af0"} 
[2026-08-26 00:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 00:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":860,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647271424001,"66":9004,"103":206,"85":15104,"24":43,"16":124568328055291904,"45":8894609289294125056},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-26 00:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647271424001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:36:28] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-26 00:36:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124568328055291904,"km_value":124568328055291.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894609289294125056,"description":"Unknown IO ID 45"} 
[2026-08-26 00:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647271424001,"power":9004,"unknown_103":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8894609289294125056}} 
[2026-08-26 00:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":163346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:36:28] local.INFO: GPS data processed {"connection_id":163346,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:36:28] local.INFO: Acknowledgment sent {"connection_id":163346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:36:38] local.INFO: TCP Data received {"connection_id":163347,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:36:38] local.INFO: Processing buffer {"connection_id":163347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:36:38] local.INFO: IMEI packet received {"connection_id":163347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":163347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:36:43] local.INFO: TCP Data received {"connection_id":163347,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:36:43] local.INFO: Processing buffer {"connection_id":163347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:36:43] local.INFO: IMEI packet received {"connection_id":163347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":163347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:36:45] local.INFO: TCP Data received {"connection_id":163347,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:36:45] local.INFO: Processing buffer {"connection_id":163347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:36:45] local.INFO: Packet analysis {"connection_id":163347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a50"} 
[2026-08-26 00:36:45] local.INFO: Extracted packet for processing {"connection_id":163347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a50"} 
[2026-08-26 00:36:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647213568001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:36:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787684729000,"timestamp_ms":1787684729000,"timestamp_seconds":1787684729,"priority":1,"record_length":96,"hex_timestamp":"000001a03a5030a8"} 
[2026-08-26 00: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-26 00: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-26 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:36:45] 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-26 00: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-26 00: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-26 00:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647213568001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647213568001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:36:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647213568001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":163347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:36:45] local.INFO: GPS data processed {"connection_id":163347,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:36:45] local.INFO: Acknowledgment sent {"connection_id":163347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:37:00] local.INFO: TCP Data received {"connection_id":163346,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4f4e18012d7b664005e089880004015d1d..."} 
[2026-08-26 00:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4f4e18012d7b664005e089880004015d1d..."} 
[2026-08-26 00:37:00] local.INFO: Processing buffer {"connection_id":163346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4f4e18012d7b664005e089880004015d1d..."} 
[2026-08-26 00:37:00] local.INFO: Packet analysis {"connection_id":163346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4f"} 
[2026-08-26 00:37:00] local.INFO: Extracted packet for processing {"connection_id":163346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4f"} 
[2026-08-26 00:37:00] local.INFO: GPS Element Parsed {"raw_longitude":763061824,"raw_latitude":98601352,"longitude_deg":76.3061824,"latitude_deg":9.8601352,"altitude":4,"angle":349,"satellites":29,"speed":37,"hex_longitude":"2d7b6640","hex_latitude":"05e08988","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647273472001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124568766141956096,"note":"Value kept but may cause issues"} 
[2026-08-26 00:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893272283157022720,"note":"Value kept but may cause issues"} 
[2026-08-26 00:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787684671000,"timestamp_ms":1787684671000,"timestamp_seconds":1787684671,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4f4e18"} 
[2026-08-26 00: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-26 00:37: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-26 00: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":35,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-26 00:37:00] 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-26 00: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-26 00: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-26 00:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163346,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647273472001,"66":8906,"103":206,"85":15104,"24":37,"16":124568766141956096,"45":8893272283157022720},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-26 00:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647273472001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:37:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-26 00:37:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124568766141956096,"km_value":124568766141956.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893272283157022720,"description":"Unknown IO ID 45"} 
[2026-08-26 00:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647273472001,"power":8906,"unknown_103":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8893272283157022720}} 
[2026-08-26 00:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":163346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:37:00] local.INFO: GPS data processed {"connection_id":163346,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:37:00] local.INFO: Acknowledgment sent {"connection_id":163346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:37:17] local.INFO: TCP Data received {"connection_id":163347,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:37:17] local.INFO: Processing buffer {"connection_id":163347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:37:17] local.INFO: Packet analysis {"connection_id":163347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a50"} 
[2026-08-26 00:37:17] local.INFO: Extracted packet for processing {"connection_id":163347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a50"} 
[2026-08-26 00:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647213568001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:37:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787684729000,"timestamp_ms":1787684729000,"timestamp_seconds":1787684729,"priority":1,"record_length":96,"hex_timestamp":"000001a03a5030a8"} 
[2026-08-26 00: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-26 00:37: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-26 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:37:17] 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-26 00: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-26 00: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-26 00:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647213568001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647213568001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647213568001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":163347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:37:17] local.INFO: GPS data processed {"connection_id":163347,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:37:17] local.INFO: Acknowledgment sent {"connection_id":163347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:37:17] local.INFO: TCP Data received {"connection_id":162351,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:37:17] local.INFO: Processing buffer {"connection_id":162351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:37:17] local.INFO: IMEI packet received {"connection_id":162351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":162351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:37:22] local.INFO: TCP Data received {"connection_id":162351,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:37:22] local.INFO: Processing buffer {"connection_id":162351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:37:22] local.INFO: IMEI packet received {"connection_id":162351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":162351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:37:23] local.INFO: TCP Data received {"connection_id":162351,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4f9080012d7b604005e0ab600006014c21..."} 
[2026-08-26 00:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4f9080012d7b604005e0ab600006014c21..."} 
[2026-08-26 00:37:23] local.INFO: Processing buffer {"connection_id":162351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4f9080012d7b604005e0ab600006014c21..."} 
[2026-08-26 00:37:23] local.INFO: Packet analysis {"connection_id":162351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4f"} 
[2026-08-26 00:37:23] local.INFO: Extracted packet for processing {"connection_id":162351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4f"} 
[2026-08-26 00:37:23] local.INFO: GPS Element Parsed {"raw_longitude":763060288,"raw_latitude":98610016,"longitude_deg":76.3060288,"latitude_deg":9.8610016,"altitude":6,"angle":332,"satellites":33,"speed":10,"hex_longitude":"2d7b6040","hex_latitude":"05e0ab60","is_valid_coordinates":true} 
[2026-08-26 00:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647275776001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124569195638685696,"note":"Value kept but may cause issues"} 
[2026-08-26 00:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891864908275746816,"note":"Value kept but may cause issues"} 
[2026-08-26 00:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787684688000,"timestamp_ms":1787684688000,"timestamp_seconds":1787684688,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4f9080"} 
[2026-08-26 00:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":34,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-26 00:37: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-26 00:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647275776001,"66":9439,"103":206,"85":15104,"24":10,"16":124569195638685696,"45":8891864908275746816},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-26 00:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647275776001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:37:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-26 00:37:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124569195638685696,"km_value":124569195638685.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891864908275746816,"description":"Unknown IO ID 45"} 
[2026-08-26 00:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647275776001,"power":9439,"unknown_103":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8891864908275746816}} 
[2026-08-26 00:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":162351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698909,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:37:23] local.INFO: GPS data processed {"connection_id":162351,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:37:23] local.INFO: Acknowledgment sent {"connection_id":162351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:37:38] local.INFO: TCP Data received {"connection_id":162352,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:37:38] local.INFO: Processing buffer {"connection_id":162352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:37:38] local.INFO: IMEI packet received {"connection_id":162352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":162352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:37:43] local.INFO: TCP Data received {"connection_id":162352,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:37:43] local.INFO: Processing buffer {"connection_id":162352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:37:43] local.INFO: IMEI packet received {"connection_id":162352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":162352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:37:44] local.INFO: TCP Data received {"connection_id":162352,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:37:44] local.INFO: Processing buffer {"connection_id":162352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:37:44] local.INFO: Packet analysis {"connection_id":162352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a50"} 
[2026-08-26 00:37:44] local.INFO: Extracted packet for processing {"connection_id":162352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a50"} 
[2026-08-26 00:37:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647213568001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:37:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787684729000,"timestamp_ms":1787684729000,"timestamp_seconds":1787684729,"priority":1,"record_length":96,"hex_timestamp":"000001a03a5030a8"} 
[2026-08-26 00: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-26 00:37: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-26 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:37: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-26 00: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-26 00: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-26 00:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647213568001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647213568001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:37:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647213568001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":162352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:37:44] local.INFO: GPS data processed {"connection_id":162352,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:37:44] local.INFO: Acknowledgment sent {"connection_id":162352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:37:54] local.INFO: TCP Data received {"connection_id":162351,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4f9850012d7b5f8005e0ac800006012d21..."} 
[2026-08-26 00:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4f9850012d7b5f8005e0ac800006012d21..."} 
[2026-08-26 00:37:54] local.INFO: Processing buffer {"connection_id":162351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4f9850012d7b5f8005e0ac800006012d21..."} 
[2026-08-26 00:37:54] local.INFO: Packet analysis {"connection_id":162351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4f"} 
[2026-08-26 00:37:54] local.INFO: Extracted packet for processing {"connection_id":162351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4f"} 
[2026-08-26 00:37:54] local.INFO: GPS Element Parsed {"raw_longitude":763060096,"raw_latitude":98610304,"longitude_deg":76.3060096,"latitude_deg":9.8610304,"altitude":6,"angle":301,"satellites":33,"speed":6,"hex_longitude":"2d7b5f80","hex_latitude":"05e0ac80","is_valid_coordinates":true} 
[2026-08-26 00:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647280128001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124569212818554880,"note":"Value kept but may cause issues"} 
[2026-08-26 00:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890176058417700864,"note":"Value kept but may cause issues"} 
[2026-08-26 00:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787684690000,"timestamp_ms":1787684690000,"timestamp_seconds":1787684690,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4f9850"} 
[2026-08-26 00:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":36,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-26 00:37:54] 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-26 00:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647280128001,"66":9525,"103":206,"85":15104,"24":6,"16":124569212818554880,"45":8890176058417700864},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,45]} 
[2026-08-26 00:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647280128001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:37:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-26 00:37:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124569212818554880,"km_value":124569212818554.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890176058417700864,"description":"Unknown IO ID 45"} 
[2026-08-26 00:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647280128001,"power":9525,"unknown_103":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8890176058417700864}} 
[2026-08-26 00:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":162351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:37:54] local.INFO: GPS data processed {"connection_id":162351,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:37:54] local.INFO: Acknowledgment sent {"connection_id":162351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:38:15] local.INFO: TCP Data received {"connection_id":162352,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:38:15] local.INFO: Processing buffer {"connection_id":162352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:38:15] local.INFO: Packet analysis {"connection_id":162352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a50"} 
[2026-08-26 00:38:15] local.INFO: Extracted packet for processing {"connection_id":162352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a50"} 
[2026-08-26 00:38:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647213568001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:38:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787684729000,"timestamp_ms":1787684729000,"timestamp_seconds":1787684729,"priority":1,"record_length":96,"hex_timestamp":"000001a03a5030a8"} 
[2026-08-26 00:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:38: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-26 00:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:38: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-26 00:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647213568001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647213568001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:38:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647213568001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":162352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:38:15] local.INFO: GPS data processed {"connection_id":162352,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:38:15] local.INFO: Acknowledgment sent {"connection_id":162352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:38:16] local.INFO: TCP Data received {"connection_id":162353,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:38:16] local.INFO: Processing buffer {"connection_id":162353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:38:16] local.INFO: IMEI packet received {"connection_id":162353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":162353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:38:17] local.INFO: TCP Data received {"connection_id":162353,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:38:17] local.INFO: Processing buffer {"connection_id":162353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:38:17] local.INFO: IMEI packet received {"connection_id":162353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":162353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:38:22] local.INFO: TCP Data received {"connection_id":162353,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:38:22] local.INFO: Processing buffer {"connection_id":162353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:38:22] local.INFO: IMEI packet received {"connection_id":162353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":162353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:38:23] local.INFO: TCP Data received {"connection_id":162353,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a4fbb78012d7b5c4005e0abd8000700bb22..."} 
[2026-08-26 00:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a4fbb78012d7b5c4005e0abd8000700bb22..."} 
[2026-08-26 00:38:23] local.INFO: Processing buffer {"connection_id":162353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a4fbb78012d7b5c4005e0abd8000700bb22..."} 
[2026-08-26 00:38:23] local.INFO: Packet analysis {"connection_id":162353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a4f"} 
[2026-08-26 00:38:23] local.INFO: Extracted packet for processing {"connection_id":162353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a4f"} 
[2026-08-26 00:38:23] local.INFO: GPS Element Parsed {"raw_longitude":763059264,"raw_latitude":98610136,"longitude_deg":76.3059264,"latitude_deg":9.8610136,"altitude":7,"angle":187,"satellites":34,"speed":3,"hex_longitude":"2d7b5c40","hex_latitude":"05e0abd8","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647280640001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124569260063195136,"note":"Value kept but may cause issues"} 
[2026-08-26 00:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889964952185241600,"note":"Value kept but may cause issues"} 
[2026-08-26 00:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787684699000,"timestamp_ms":1787684699000,"timestamp_seconds":1787684699,"priority":1,"record_length":96,"hex_timestamp":"000001a03a4fbb78"} 
[2026-08-26 00: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-26 00:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00: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":37,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 00:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":860,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00: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-26 00: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-26 00:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647280640001,"66":9373,"217":206,"85":15104,"24":3,"16":124569260063195136,"45":8889964952185241600},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-26 00:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647280640001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:38:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-26 00:38:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124569260063195136,"km_value":124569260063195.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889964952185241600,"description":"Unknown IO ID 45"} 
[2026-08-26 00:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647280640001,"power":9373,"unknown_217":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8889964952185241600}} 
[2026-08-26 00:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":162353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:38:23] local.INFO: GPS data processed {"connection_id":162353,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:38:23] local.INFO: Acknowledgment sent {"connection_id":162353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:38:43] local.INFO: TCP Data received {"connection_id":162113,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:38:43] local.INFO: Processing buffer {"connection_id":162113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:38:43] local.INFO: IMEI packet received {"connection_id":162113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":162113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:38:49] local.INFO: TCP Data received {"connection_id":162113,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:38:49] local.INFO: Processing buffer {"connection_id":162113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:38:49] local.INFO: IMEI packet received {"connection_id":162113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":162113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:38:51] local.INFO: TCP Data received {"connection_id":162113,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:38:51] local.INFO: Processing buffer {"connection_id":162113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:38:51] local.INFO: Packet analysis {"connection_id":162113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a50"} 
[2026-08-26 00:38:51] local.INFO: Extracted packet for processing {"connection_id":162113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a50"} 
[2026-08-26 00:38:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647213568001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:38:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787684729000,"timestamp_ms":1787684729000,"timestamp_seconds":1787684729,"priority":1,"record_length":96,"hex_timestamp":"000001a03a5030a8"} 
[2026-08-26 00:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:38:51] 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-26 00:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647213568001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647213568001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:38:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647213568001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":162113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:38:51] local.INFO: GPS data processed {"connection_id":162113,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:38:51] local.INFO: Acknowledgment sent {"connection_id":162113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:38:54] local.INFO: TCP Data received {"connection_id":162113,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:38:54] local.INFO: Processing buffer {"connection_id":162113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:38:54] local.INFO: Packet analysis {"connection_id":162113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a50"} 
[2026-08-26 00:38:54] local.INFO: Extracted packet for processing {"connection_id":162113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a50"} 
[2026-08-26 00:38:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647213568001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:38:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787684729000,"timestamp_ms":1787684729000,"timestamp_seconds":1787684729,"priority":1,"record_length":96,"hex_timestamp":"000001a03a5030a8"} 
[2026-08-26 00: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-26 00:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00: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-26 00: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-26 00:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647213568001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647213568001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:38:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647213568001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":162113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:38:54] local.INFO: GPS data processed {"connection_id":162113,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:38:54] local.INFO: Acknowledgment sent {"connection_id":162113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:38:55] local.INFO: TCP Data received {"connection_id":162353,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a52b530012d7b5cc005e0ab080008002c20..."} 
[2026-08-26 00:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a52b530012d7b5cc005e0ab080008002c20..."} 
[2026-08-26 00:38:55] local.INFO: Processing buffer {"connection_id":162353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a52b530012d7b5cc005e0ab080008002c20..."} 
[2026-08-26 00:38:55] local.INFO: Packet analysis {"connection_id":162353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a52"} 
[2026-08-26 00:38:55] local.INFO: Extracted packet for processing {"connection_id":162353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a52"} 
[2026-08-26 00:38:55] local.INFO: GPS Element Parsed {"raw_longitude":763059392,"raw_latitude":98609928,"longitude_deg":76.3059392,"latitude_deg":9.8609928,"altitude":8,"angle":44,"satellites":32,"speed":0,"hex_longitude":"2d7b5cc0","hex_latitude":"05e0ab08","is_valid_coordinates":true} 
[2026-08-26 00:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647327488001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124569277243064320,"note":"Value kept but may cause issues"} 
[2026-08-26 00:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889190895999191040,"note":"Value kept but may cause issues"} 
[2026-08-26 00:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787684894000,"timestamp_ms":1787684894000,"timestamp_seconds":1787684894,"priority":1,"record_length":96,"hex_timestamp":"000001a03a52b530"} 
[2026-08-26 00:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:38: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-26 00:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":40,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-26 00:38:55] local.WARNING: Large IO value detected {"io_id":224,"raw_value":2869428232,"note":"Value kept but may cause issues"} 
[2026-08-26 00:38:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1608057038,"corrected_to":0} 
[2026-08-26 00:38:55] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3221610667,"note":"Value kept but may cause issues"} 
[2026-08-26 00:38:55] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3590376799,"note":"Value kept but may cause issues"} 
[2026-08-26 00:38:55] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,217,85,24,241,157,16,143,160,17,45,192,171,8,32,10,66,191,34,109,1,240,89,227,58,224,4,113,205,201,92,239,41],"length":431,"final_offset":561,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1608057038,"validated":0}]} 
[2026-08-26 00:38:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576509272548966400,"timestamp_seconds":576509272548966.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 00:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647327488001,"66":10776,"217":206,"85":15104,"24":0,"16":124569277243064320,"45":8889190895999191040},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-26 00:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647327488001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:38:55] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-26 00:38:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124569277243064320,"km_value":124569277243064.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889190895999191040,"description":"Unknown IO ID 45"} 
[2026-08-26 00:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647327488001,"power":10776,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8889190895999191040}} 
[2026-08-26 00:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":162353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:38:55] local.INFO: GPS data processed {"connection_id":162353,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:38:55] local.INFO: Acknowledgment sent {"connection_id":162353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:39:16] local.INFO: TCP Data received {"connection_id":164728,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:39:16] local.INFO: Processing buffer {"connection_id":164728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:39:16] local.INFO: IMEI packet received {"connection_id":164728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":164728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:39:17] local.INFO: TCP Data received {"connection_id":164728,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:39:17] local.INFO: Processing buffer {"connection_id":164728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:39:17] local.INFO: IMEI packet received {"connection_id":164728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":164728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:39:18] local.INFO: TCP Data received {"connection_id":164728,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:39:18] local.INFO: Processing buffer {"connection_id":164728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:39:18] local.INFO: IMEI packet received {"connection_id":164728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":164728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:39:19] local.INFO: TCP Data received {"connection_id":164728,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164728,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:39:19] local.INFO: Processing buffer {"connection_id":164728,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:39:19] local.INFO: IMEI packet received {"connection_id":164728,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":164728,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:39:38] local.INFO: TCP Data received {"connection_id":162354,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:39:38] local.INFO: Processing buffer {"connection_id":162354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:39:38] local.INFO: IMEI packet received {"connection_id":162354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":162354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:39:43] local.INFO: TCP Data received {"connection_id":162354,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:39:43] local.INFO: Processing buffer {"connection_id":162354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:39:43] local.INFO: IMEI packet received {"connection_id":162354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":162354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:39:44] local.INFO: TCP Data received {"connection_id":162354,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:39:44] local.INFO: Processing buffer {"connection_id":162354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:39:44] local.INFO: Packet analysis {"connection_id":162354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a50"} 
[2026-08-26 00:39:44] local.INFO: Extracted packet for processing {"connection_id":162354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a50"} 
[2026-08-26 00:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647213568001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:39:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787684729000,"timestamp_ms":1787684729000,"timestamp_seconds":1787684729,"priority":1,"record_length":96,"hex_timestamp":"000001a03a5030a8"} 
[2026-08-26 00:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:39: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-26 00:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:39: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-26 00:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647213568001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647213568001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:39:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647213568001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":162354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:39:44] local.INFO: GPS data processed {"connection_id":162354,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:39:44] local.INFO: Acknowledgment sent {"connection_id":162354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:40:15] local.INFO: TCP Data received {"connection_id":162354,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:40:15] local.INFO: Processing buffer {"connection_id":162354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:40:15] local.INFO: Packet analysis {"connection_id":162354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a50"} 
[2026-08-26 00:40:15] local.INFO: Extracted packet for processing {"connection_id":162354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a50"} 
[2026-08-26 00:40:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647213568001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:40:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787684729000,"timestamp_ms":1787684729000,"timestamp_seconds":1787684729,"priority":1,"record_length":96,"hex_timestamp":"000001a03a5030a8"} 
[2026-08-26 00: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-26 00:40: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-26 00: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:40: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-26 00: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-26 00: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-26 00:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647213568001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647213568001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:40:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647213568001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":162354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:40:15] local.INFO: GPS data processed {"connection_id":162354,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:40:15] local.INFO: Acknowledgment sent {"connection_id":162354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:40:38] local.INFO: TCP Data received {"connection_id":162115,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:40:38] local.INFO: Processing buffer {"connection_id":162115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:40:38] local.INFO: IMEI packet received {"connection_id":162115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":162115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:40:43] local.INFO: TCP Data received {"connection_id":162115,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:40:43] local.INFO: Processing buffer {"connection_id":162115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:40:43] local.INFO: IMEI packet received {"connection_id":162115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":162115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:40:45] local.INFO: TCP Data received {"connection_id":162115,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:40:45] local.INFO: Processing buffer {"connection_id":162115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a5030a8012d34c14006aa4818000800e62b..."} 
[2026-08-26 00:40:45] local.INFO: Packet analysis {"connection_id":162115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a50"} 
[2026-08-26 00:40:45] local.INFO: Extracted packet for processing {"connection_id":162115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a50"} 
[2026-08-26 00:40:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647213568001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:40:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787684729000,"timestamp_ms":1787684729000,"timestamp_seconds":1787684729,"priority":1,"record_length":96,"hex_timestamp":"000001a03a5030a8"} 
[2026-08-26 00: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-26 00:40: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-26 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:40:45] 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-26 00: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-26 00: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-26 00:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647213568001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647213568001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:40:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647213568001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":162115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:40:45] local.INFO: GPS data processed {"connection_id":162115,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:40:45] local.INFO: Acknowledgment sent {"connection_id":162115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:40:54] local.INFO: TCP Data received {"connection_id":163348,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:40:54] local.INFO: Processing buffer {"connection_id":163348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:40:54] local.INFO: IMEI packet received {"connection_id":163348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 00:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":163348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:41:16] local.INFO: TCP Data received {"connection_id":162115,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:41:16] local.INFO: Processing buffer {"connection_id":162115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:41:16] local.INFO: Packet analysis {"connection_id":162115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:41:16] local.INFO: Extracted packet for processing {"connection_id":162115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647290624001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:41:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787685030000,"timestamp_ms":1787685030000,"timestamp_seconds":1787685030,"priority":1,"record_length":96,"hex_timestamp":"000001a03a54c870"} 
[2026-08-26 00: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-26 00:41: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-26 00:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:41:16] 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-26 00: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-26 00: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-26 00:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647290624001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647290624001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:41:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647290624001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":162115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:41:16] local.INFO: GPS data processed {"connection_id":162115,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:41:16] local.INFO: Acknowledgment sent {"connection_id":162115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:41:44] local.INFO: TCP Data received {"connection_id":164729,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:41:44] local.INFO: Processing buffer {"connection_id":164729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:41:44] local.INFO: IMEI packet received {"connection_id":164729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":164729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:41:48] local.INFO: TCP Data received {"connection_id":164729,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:41:48] local.INFO: Processing buffer {"connection_id":164729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:41:48] local.INFO: IMEI packet received {"connection_id":164729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":164729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:41:50] local.INFO: TCP Data received {"connection_id":164729,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:41:50] local.INFO: Processing buffer {"connection_id":164729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:41:50] local.INFO: Packet analysis {"connection_id":164729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:41:50] local.INFO: Extracted packet for processing {"connection_id":164729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:41:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647290624001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:41:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787685030000,"timestamp_ms":1787685030000,"timestamp_seconds":1787685030,"priority":1,"record_length":96,"hex_timestamp":"000001a03a54c870"} 
[2026-08-26 00: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-26 00:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:41:50] 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-26 00: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-26 00: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-26 00:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647290624001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647290624001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:41:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647290624001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":164729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:41:50] local.INFO: GPS data processed {"connection_id":164729,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:41:50] local.INFO: Acknowledgment sent {"connection_id":164729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:41:54] local.INFO: TCP Data received {"connection_id":164729,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:41:54] local.INFO: Processing buffer {"connection_id":164729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:41:54] local.INFO: Packet analysis {"connection_id":164729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:41:54] local.INFO: Extracted packet for processing {"connection_id":164729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:41:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647290624001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:41:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:41:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787685030000,"timestamp_ms":1787685030000,"timestamp_seconds":1787685030,"priority":1,"record_length":96,"hex_timestamp":"000001a03a54c870"} 
[2026-08-26 00:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:41:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647290624001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647290624001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:41:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647290624001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":164729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:41:54] local.INFO: GPS data processed {"connection_id":164729,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:41:54] local.INFO: Acknowledgment sent {"connection_id":164729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:42:38] local.INFO: TCP Data received {"connection_id":162355,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:42:38] local.INFO: Processing buffer {"connection_id":162355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:42:38] local.INFO: IMEI packet received {"connection_id":162355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":162355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:42:43] local.INFO: TCP Data received {"connection_id":162355,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:42:43] local.INFO: Processing buffer {"connection_id":162355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:42:43] local.INFO: IMEI packet received {"connection_id":162355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":162355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:42:45] local.INFO: TCP Data received {"connection_id":162355,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:42:45] local.INFO: Processing buffer {"connection_id":162355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:42:45] local.INFO: Packet analysis {"connection_id":162355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:42:45] local.INFO: Extracted packet for processing {"connection_id":162355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:42:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647290624001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:42:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787685030000,"timestamp_ms":1787685030000,"timestamp_seconds":1787685030,"priority":1,"record_length":96,"hex_timestamp":"000001a03a54c870"} 
[2026-08-26 00:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:42: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-26 00:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:42:45] 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-26 00:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647290624001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647290624001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:42:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647290624001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":162355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:42:45] local.INFO: GPS data processed {"connection_id":162355,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:42:45] local.INFO: Acknowledgment sent {"connection_id":162355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:43:16] local.INFO: TCP Data received {"connection_id":162355,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:43:16] local.INFO: Processing buffer {"connection_id":162355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:43:16] local.INFO: Packet analysis {"connection_id":162355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:43:16] local.INFO: Extracted packet for processing {"connection_id":162355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647290624001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:43:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787685030000,"timestamp_ms":1787685030000,"timestamp_seconds":1787685030,"priority":1,"record_length":96,"hex_timestamp":"000001a03a54c870"} 
[2026-08-26 00: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-26 00:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:43:16] 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-26 00: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-26 00: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-26 00:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647290624001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647290624001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:43:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647290624001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":162355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:43:16] local.INFO: GPS data processed {"connection_id":162355,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:43:16] local.INFO: Acknowledgment sent {"connection_id":162355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:43:39] local.INFO: TCP Data received {"connection_id":163350,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:43:39] local.INFO: Processing buffer {"connection_id":163350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:43:39] local.INFO: IMEI packet received {"connection_id":163350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":163350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:43:43] local.INFO: TCP Data received {"connection_id":163350,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:43:43] local.INFO: Processing buffer {"connection_id":163350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:43:43] local.INFO: IMEI packet received {"connection_id":163350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":163350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:43:45] local.INFO: TCP Data received {"connection_id":163350,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:43:45] local.INFO: Processing buffer {"connection_id":163350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:43:45] local.INFO: Packet analysis {"connection_id":163350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:43:45] local.INFO: Extracted packet for processing {"connection_id":163350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:43:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647290624001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:43:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787685030000,"timestamp_ms":1787685030000,"timestamp_seconds":1787685030,"priority":1,"record_length":96,"hex_timestamp":"000001a03a54c870"} 
[2026-08-26 00:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:43: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-26 00:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:43:45] 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-26 00:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647290624001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647290624001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:43:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647290624001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":163350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:43:45] local.INFO: GPS data processed {"connection_id":163350,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:43:45] local.INFO: Acknowledgment sent {"connection_id":163350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:44:16] local.INFO: TCP Data received {"connection_id":163350,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:44:16] local.INFO: Processing buffer {"connection_id":163350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:44:16] local.INFO: Packet analysis {"connection_id":163350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:44:16] local.INFO: Extracted packet for processing {"connection_id":163350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:44:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647290624001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:44:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787685030000,"timestamp_ms":1787685030000,"timestamp_seconds":1787685030,"priority":1,"record_length":96,"hex_timestamp":"000001a03a54c870"} 
[2026-08-26 00: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-26 00:44: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-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:44:16] 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-26 00: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-26 00: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-26 00:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647290624001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647290624001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:44:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647290624001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":163350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:44:16] local.INFO: GPS data processed {"connection_id":163350,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:44:16] local.INFO: Acknowledgment sent {"connection_id":163350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:44:22] local.INFO: TCP Data received {"connection_id":163351,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:44:22] local.INFO: Processing buffer {"connection_id":163351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:44:22] local.INFO: IMEI packet received {"connection_id":163351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":163351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:44:23] local.INFO: TCP Data received {"connection_id":163351,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a5410d8012d7b54c005e0fbe80001015e1e..."} 
[2026-08-26 00:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a5410d8012d7b54c005e0fbe80001015e1e..."} 
[2026-08-26 00:44:23] local.INFO: Processing buffer {"connection_id":163351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a5410d8012d7b54c005e0fbe80001015e1e..."} 
[2026-08-26 00:44:23] local.INFO: Packet analysis {"connection_id":163351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:44:23] local.INFO: Extracted packet for processing {"connection_id":163351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:44:23] local.INFO: GPS Element Parsed {"raw_longitude":763057344,"raw_latitude":98630632,"longitude_deg":76.3057344,"latitude_deg":9.8630632,"altitude":1,"angle":350,"satellites":30,"speed":35,"hex_longitude":"2d7b54c0","hex_latitude":"05e0fbe8","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647352832001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124570402524495872,"note":"Value kept but may cause issues"} 
[2026-08-26 00:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888768683537022976,"note":"Value kept but may cause issues"} 
[2026-08-26 00:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787684983000,"timestamp_ms":1787684983000,"timestamp_seconds":1787684983,"priority":1,"record_length":96,"hex_timestamp":"000001a03a5410d8"} 
[2026-08-26 00: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-26 00:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00: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":38,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-26 00:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751626895,"note":"Value kept but may cause issues"} 
[2026-08-26 00:44:23] local.WARNING: Large IO value detected {"io_id":224,"raw_value":2954362889,"note":"Value kept but may cause issues"} 
[2026-08-26 00:44:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1608057038,"corrected_to":0} 
[2026-08-26 00:44:23] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3221302651,"note":"Value kept but may cause issues"} 
[2026-08-26 00:44:23] local.WARNING: Large IO value detected {"io_id":37,"raw_value":-4395287424767308203,"note":"Value kept but may cause issues"} 
[2026-08-26 00:44:23] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-08-26 00:44:23] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,217,85,24,241,157,16,143,160,179,45,180,9,34,10,66,171,177,167,128,1,240,97,227,58,224,4,113,205,151,99,176,33,239,37,59,61],"length":430,"final_offset":560,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1608057038,"validated":0}]} 
[2026-08-26 00:44:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360678429963583488,"timestamp_seconds":360678429963583.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 00: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-26 00:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647352832001,"66":9525,"217":206,"85":15104,"24":35,"16":124570402524495872,"45":8888768683537022976},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-26 00:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647352832001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:44:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-26 00:44:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124570402524495872,"km_value":124570402524495.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888768683537022976,"description":"Unknown IO ID 45"} 
[2026-08-26 00:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647352832001,"power":9525,"unknown_217":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8888768683537022976}} 
[2026-08-26 00:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":163351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698927,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:44:23] local.INFO: GPS data processed {"connection_id":163351,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:44:23] local.INFO: Acknowledgment sent {"connection_id":163351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:44:42] local.INFO: TCP Data received {"connection_id":164730,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:44:42] local.INFO: Processing buffer {"connection_id":164730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:44:42] local.INFO: IMEI packet received {"connection_id":164730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":164730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:44:43] local.INFO: TCP Data received {"connection_id":164730,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:44:43] local.INFO: Processing buffer {"connection_id":164730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:44:43] local.INFO: IMEI packet received {"connection_id":164730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":164730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:44:44] local.INFO: TCP Data received {"connection_id":164730,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:44:44] local.INFO: Processing buffer {"connection_id":164730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:44:44] local.INFO: Packet analysis {"connection_id":164730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:44:44] local.INFO: Extracted packet for processing {"connection_id":164730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:44:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647290624001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:44:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787685030000,"timestamp_ms":1787685030000,"timestamp_seconds":1787685030,"priority":1,"record_length":96,"hex_timestamp":"000001a03a54c870"} 
[2026-08-26 00: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-26 00:44: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-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:44:44] 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-26 00: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-26 00: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-26 00:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647290624001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647290624001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:44:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647290624001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":164730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:44:44] local.INFO: GPS data processed {"connection_id":164730,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:44:44] local.INFO: Acknowledgment sent {"connection_id":164730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:44:49] local.INFO: TCP Data received {"connection_id":164730,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:44:49] local.INFO: Processing buffer {"connection_id":164730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:44:49] local.INFO: Packet analysis {"connection_id":164730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:44:49] local.INFO: Extracted packet for processing {"connection_id":164730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:44:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647290624001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:44:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787685030000,"timestamp_ms":1787685030000,"timestamp_seconds":1787685030,"priority":1,"record_length":96,"hex_timestamp":"000001a03a54c870"} 
[2026-08-26 00: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-26 00:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:44:49] 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-26 00: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-26 00: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-26 00:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647290624001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647290624001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:44:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647290624001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":164730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:44:49] local.INFO: GPS data processed {"connection_id":164730,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:44:49] local.INFO: Acknowledgment sent {"connection_id":164730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:44:54] local.INFO: TCP Data received {"connection_id":163351,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a543bd0012d7b4e8005e11e300000015d1b..."} 
[2026-08-26 00:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a543bd0012d7b4e8005e11e300000015d1b..."} 
[2026-08-26 00:44:54] local.INFO: Processing buffer {"connection_id":163351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a543bd0012d7b4e8005e11e300000015d1b..."} 
[2026-08-26 00:44:54] local.INFO: Packet analysis {"connection_id":163351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:44:54] local.INFO: Extracted packet for processing {"connection_id":163351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:44:54] local.INFO: GPS Element Parsed {"raw_longitude":763055744,"raw_latitude":98639408,"longitude_deg":76.3055744,"latitude_deg":9.8639408,"altitude":0,"angle":349,"satellites":27,"speed":28,"hex_longitude":"2d7b4e80","hex_latitude":"05e11e30","is_valid_coordinates":true} 
[2026-08-26 00:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647355648001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124570836316192768,"note":"Value kept but may cause issues"} 
[2026-08-26 00:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886939096190806016,"note":"Value kept but may cause issues"} 
[2026-08-26 00:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787684994000,"timestamp_ms":1787684994000,"timestamp_seconds":1787684994,"priority":1,"record_length":96,"hex_timestamp":"000001a03a543bd0"} 
[2026-08-26 00:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":37,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 00:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":860,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647355648001,"66":9373,"217":206,"85":15104,"24":28,"16":124570836316192768,"45":8886939096190806016},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-26 00:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647355648001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:44:54] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-26 00:44:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124570836316192768,"km_value":124570836316192.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886939096190806016,"description":"Unknown IO ID 45"} 
[2026-08-26 00:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647355648001,"power":9373,"unknown_217":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8886939096190806016}} 
[2026-08-26 00:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":163351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:44:55] local.INFO: GPS data processed {"connection_id":163351,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:44:55] local.INFO: Acknowledgment sent {"connection_id":163351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:45:17] local.INFO: TCP Data received {"connection_id":162117,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:45:17] local.INFO: Processing buffer {"connection_id":162117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:45:17] local.INFO: IMEI packet received {"connection_id":162117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":162117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:45:20] local.INFO: TCP Data received {"connection_id":164730,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:45:20] local.INFO: Processing buffer {"connection_id":164730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:45:20] local.INFO: Packet analysis {"connection_id":164730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:45:20] local.INFO: Extracted packet for processing {"connection_id":164730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:45:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647290624001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:45:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787685030000,"timestamp_ms":1787685030000,"timestamp_seconds":1787685030,"priority":1,"record_length":96,"hex_timestamp":"000001a03a54c870"} 
[2026-08-26 00: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-26 00:45: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-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:45:20] 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-26 00: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-26 00: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-26 00:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647290624001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647290624001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:45:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647290624001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":164730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:45:20] local.INFO: GPS data processed {"connection_id":164730,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:45:20] local.INFO: Acknowledgment sent {"connection_id":164730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:45:22] local.INFO: TCP Data received {"connection_id":162117,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:45:22] local.INFO: Processing buffer {"connection_id":162117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:45:22] local.INFO: IMEI packet received {"connection_id":162117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":162117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:45:23] local.INFO: TCP Data received {"connection_id":162117,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a5462e0012d7b4a4005e131280000014c1f..."} 
[2026-08-26 00:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a5462e0012d7b4a4005e131280000014c1f..."} 
[2026-08-26 00:45:23] local.INFO: Processing buffer {"connection_id":162117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a5462e0012d7b4a4005e131280000014c1f..."} 
[2026-08-26 00:45:23] local.INFO: Packet analysis {"connection_id":162117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:45:23] local.INFO: Extracted packet for processing {"connection_id":162117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:45:23] local.INFO: GPS Element Parsed {"raw_longitude":763054656,"raw_latitude":98644264,"longitude_deg":76.3054656,"latitude_deg":9.8644264,"altitude":0,"angle":332,"satellites":31,"speed":8,"hex_longitude":"2d7b4a40","hex_latitude":"05e13128","is_valid_coordinates":true} 
[2026-08-26 00:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647358464001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571076834361344,"note":"Value kept but may cause issues"} 
[2026-08-26 00:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885179877588611072,"note":"Value kept but may cause issues"} 
[2026-08-26 00:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787685004000,"timestamp_ms":1787685004000,"timestamp_seconds":1787685004,"priority":1,"record_length":96,"hex_timestamp":"000001a03a5462e0"} 
[2026-08-26 00:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":36,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-26 00:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1791,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647358464001,"66":9341,"217":206,"85":15104,"24":8,"16":124571076834361344,"45":8885179877588611072},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-26 00:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647358464001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:45:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-26 00:45:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124571076834361344,"km_value":124571076834361.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885179877588611072,"description":"Unknown IO ID 45"} 
[2026-08-26 00:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647358464001,"power":9341,"unknown_217":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8885179877588611072}} 
[2026-08-26 00:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":162117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:45:23] local.INFO: GPS data processed {"connection_id":162117,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:45:23] local.INFO: Acknowledgment sent {"connection_id":162117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:45:38] local.INFO: TCP Data received {"connection_id":163352,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:45:38] local.INFO: Processing buffer {"connection_id":163352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:45:38] local.INFO: IMEI packet received {"connection_id":163352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":163352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:45:43] local.INFO: TCP Data received {"connection_id":163352,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:45:43] local.INFO: Processing buffer {"connection_id":163352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:45:43] local.INFO: IMEI packet received {"connection_id":163352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":163352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:45:44] local.INFO: TCP Data received {"connection_id":163352,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:45:44] local.INFO: Processing buffer {"connection_id":163352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a54c870012d34c14006aa4818000800e62a..."} 
[2026-08-26 00:45:44] local.INFO: Packet analysis {"connection_id":163352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:45:44] local.INFO: Extracted packet for processing {"connection_id":163352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647290624001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:45:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787685030000,"timestamp_ms":1787685030000,"timestamp_seconds":1787685030,"priority":1,"record_length":96,"hex_timestamp":"000001a03a54c870"} 
[2026-08-26 00:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:45: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-26 00:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:45:44] 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-26 00:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647290624001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647290624001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647290624001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":163352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:45:44] local.INFO: GPS data processed {"connection_id":163352,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:45:44] local.INFO: Acknowledgment sent {"connection_id":163352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:45:54] local.INFO: TCP Data received {"connection_id":162117,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a547668012d7b488005e133c8000101611f..."} 
[2026-08-26 00:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a547668012d7b488005e133c8000101611f..."} 
[2026-08-26 00:45:54] local.INFO: Processing buffer {"connection_id":162117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a547668012d7b488005e133c8000101611f..."} 
[2026-08-26 00:45:54] local.INFO: Packet analysis {"connection_id":162117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:45:54] local.INFO: Extracted packet for processing {"connection_id":162117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:45:54] local.INFO: GPS Element Parsed {"raw_longitude":763054208,"raw_latitude":98644936,"longitude_deg":76.3054208,"latitude_deg":9.8644936,"altitude":1,"angle":353,"satellites":31,"speed":6,"hex_longitude":"2d7b4880","hex_latitude":"05e133c8","is_valid_coordinates":true} 
[2026-08-26 00:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647361024001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571119784034304,"note":"Value kept but may cause issues"} 
[2026-08-26 00:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883983608938833920,"note":"Value kept but may cause issues"} 
[2026-08-26 00:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787685009000,"timestamp_ms":1787685009000,"timestamp_seconds":1787685009,"priority":1,"record_length":96,"hex_timestamp":"000001a03a547668"} 
[2026-08-26 00:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":36,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-26 00:45:54] 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-26 00:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647361024001,"66":9362,"217":206,"85":15104,"24":6,"16":124571119784034304,"45":8883983608938833920},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-26 00:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647361024001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:45:54] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-26 00:45:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124571119784034304,"km_value":124571119784034.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883983608938833920,"description":"Unknown IO ID 45"} 
[2026-08-26 00:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647361024001,"power":9362,"unknown_217":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8883983608938833920}} 
[2026-08-26 00:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":162117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:45:54] local.INFO: GPS data processed {"connection_id":162117,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:45:54] local.INFO: Acknowledgment sent {"connection_id":162117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:46:14] local.INFO: TCP Data received {"connection_id":162356,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:46:14] local.INFO: Processing buffer {"connection_id":162356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:46:14] local.INFO: IMEI packet received {"connection_id":162356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 00:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":162356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:46:16] local.INFO: TCP Data received {"connection_id":163352,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:46:16] local.INFO: Processing buffer {"connection_id":163352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:46:16] local.INFO: Packet analysis {"connection_id":163352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a59"} 
[2026-08-26 00:46:16] local.INFO: Extracted packet for processing {"connection_id":163352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a59"} 
[2026-08-26 00:46:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647367680001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:46:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787685331000,"timestamp_ms":1787685331000,"timestamp_seconds":1787685331,"priority":1,"record_length":96,"hex_timestamp":"000001a03a596038"} 
[2026-08-26 00:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:46: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-26 00:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:46: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-26 00:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647367680001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647367680001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:46:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647367680001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":163352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:46:16] local.INFO: GPS data processed {"connection_id":163352,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:46:16] local.INFO: Acknowledgment sent {"connection_id":163352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:46:17] local.INFO: TCP Data received {"connection_id":163353,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:46:17] local.INFO: Processing buffer {"connection_id":163353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:46:17] local.INFO: IMEI packet received {"connection_id":163353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 00:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":163353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:46:22] local.INFO: TCP Data received {"connection_id":163353,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:46:22] local.INFO: Processing buffer {"connection_id":163353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 00:46:22] local.INFO: IMEI packet received {"connection_id":163353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 00:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":163353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:46:23] local.INFO: TCP Data received {"connection_id":163353,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a54c488012d7b488005e13310000201611f..."} 
[2026-08-26 00:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a54c488012d7b488005e13310000201611f..."} 
[2026-08-26 00:46:23] local.INFO: Processing buffer {"connection_id":163353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a54c488012d7b488005e13310000201611f..."} 
[2026-08-26 00:46:23] local.INFO: Packet analysis {"connection_id":163353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:46:23] local.INFO: Extracted packet for processing {"connection_id":163353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:46:23] local.INFO: GPS Element Parsed {"raw_longitude":763054208,"raw_latitude":98644752,"longitude_deg":76.3054208,"latitude_deg":9.8644752,"altitude":2,"angle":353,"satellites":31,"speed":0,"hex_longitude":"2d7b4880","hex_latitude":"05e13310","is_valid_coordinates":true} 
[2026-08-26 00:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647362304001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 00:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883491027729762304,"note":"Value kept but may cause issues"} 
[2026-08-26 00:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787685029000,"timestamp_ms":1787685029000,"timestamp_seconds":1787685029,"priority":1,"record_length":96,"hex_timestamp":"000001a03a54c488"} 
[2026-08-26 00:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 00:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":36,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-26 00:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647362304001,"66":9210,"217":206,"85":15104,"24":0,"16":124571162733707264,"45":8883491027729762304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-26 00:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647362304001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:46:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-26 00:46:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124571162733707264,"km_value":124571162733707.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883491027729762304,"description":"Unknown IO ID 45"} 
[2026-08-26 00:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647362304001,"power":9210,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8883491027729762304}} 
[2026-08-26 00:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":163353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:46:23] local.INFO: GPS data processed {"connection_id":163353,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:46:23] local.INFO: Acknowledgment sent {"connection_id":163353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:46:43] local.INFO: TCP Data received {"connection_id":162118,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:46:43] local.INFO: Processing buffer {"connection_id":162118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:46:43] local.INFO: IMEI packet received {"connection_id":162118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":162118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:46:48] local.INFO: TCP Data received {"connection_id":162118,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:46:48] local.INFO: Processing buffer {"connection_id":162118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:46:48] local.INFO: IMEI packet received {"connection_id":162118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":162118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:46:49] local.INFO: TCP Data received {"connection_id":162118,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:46:49] local.INFO: Processing buffer {"connection_id":162118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:46:49] local.INFO: Packet analysis {"connection_id":162118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a59"} 
[2026-08-26 00:46:49] local.INFO: Extracted packet for processing {"connection_id":162118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a59"} 
[2026-08-26 00:46:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647367680001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:46:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787685331000,"timestamp_ms":1787685331000,"timestamp_seconds":1787685331,"priority":1,"record_length":96,"hex_timestamp":"000001a03a596038"} 
[2026-08-26 00: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-26 00:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:46:49] 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-26 00: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-26 00: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-26 00:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647367680001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647367680001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:46:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647367680001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":162118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:46:49] local.INFO: GPS data processed {"connection_id":162118,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:46:49] local.INFO: Acknowledgment sent {"connection_id":162118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:46:54] local.INFO: TCP Data received {"connection_id":163353,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03a54c488012d7b488005e13310000201611f..."} 
[2026-08-26 00:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a54c488012d7b488005e13310000201611f..."} 
[2026-08-26 00:46:54] local.INFO: Processing buffer {"connection_id":163353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a54c488012d7b488005e13310000201611f..."} 
[2026-08-26 00:46:54] local.INFO: Packet analysis {"connection_id":163353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:46:54] local.INFO: Extracted packet for processing {"connection_id":163353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a54"} 
[2026-08-26 00:46:54] local.INFO: GPS Element Parsed {"raw_longitude":763054208,"raw_latitude":98644752,"longitude_deg":76.3054208,"latitude_deg":9.8644752,"altitude":2,"angle":353,"satellites":31,"speed":0,"hex_longitude":"2d7b4880","hex_latitude":"05e13310","is_valid_coordinates":true} 
[2026-08-26 00:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647367424001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 00:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883491027729715200,"note":"Value kept but may cause issues"} 
[2026-08-26 00:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 00:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787685029000,"timestamp_ms":1787685029000,"timestamp_seconds":1787685029,"priority":1,"record_length":96,"hex_timestamp":"000001a03a54c488"} 
[2026-08-26 00:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:46: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-26 00:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":35,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-26 00:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2623,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 00:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 00:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 00:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 00:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647367424001,"66":9210,"217":206,"85":15104,"24":0,"16":124571162733707264,"45":8883491027729715200},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-26 00:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 00:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 00:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647367424001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:46:54] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-26 00:46:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 00:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124571162733707264,"km_value":124571162733707.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883491027729715200,"description":"Unknown IO ID 45"} 
[2026-08-26 00:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647367424001,"power":9210,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8883491027729715200}} 
[2026-08-26 00:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":163353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:46:54] local.INFO: GPS data processed {"connection_id":163353,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:46:54] local.INFO: Acknowledgment sent {"connection_id":163353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:47:21] local.INFO: TCP Data received {"connection_id":162118,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:47:21] local.INFO: Processing buffer {"connection_id":162118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:47:21] local.INFO: Packet analysis {"connection_id":162118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a59"} 
[2026-08-26 00:47:21] local.INFO: Extracted packet for processing {"connection_id":162118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a59"} 
[2026-08-26 00:47:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647367680001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:47:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787685331000,"timestamp_ms":1787685331000,"timestamp_seconds":1787685331,"priority":1,"record_length":96,"hex_timestamp":"000001a03a596038"} 
[2026-08-26 00: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-26 00:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:47:21] 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-26 00: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-26 00: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-26 00:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647367680001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647367680001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:47:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647367680001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":162118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:47:21] local.INFO: GPS data processed {"connection_id":162118,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:47:21] local.INFO: Acknowledgment sent {"connection_id":162118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:47:40] local.INFO: TCP Data received {"connection_id":162358,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:47:40] local.INFO: Processing buffer {"connection_id":162358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:47:40] local.INFO: IMEI packet received {"connection_id":162358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":162358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:47:43] local.INFO: TCP Data received {"connection_id":162358,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:47:43] local.INFO: Processing buffer {"connection_id":162358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:47:43] local.INFO: IMEI packet received {"connection_id":162358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":162358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:47:44] local.INFO: TCP Data received {"connection_id":162358,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:47:44] local.INFO: Processing buffer {"connection_id":162358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:47:44] local.INFO: Packet analysis {"connection_id":162358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a59"} 
[2026-08-26 00:47:44] local.INFO: Extracted packet for processing {"connection_id":162358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a59"} 
[2026-08-26 00:47:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647367680001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:47:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787685331000,"timestamp_ms":1787685331000,"timestamp_seconds":1787685331,"priority":1,"record_length":96,"hex_timestamp":"000001a03a596038"} 
[2026-08-26 00: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-26 00:47: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-26 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:47: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-26 00: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-26 00: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-26 00:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647367680001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647367680001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:47:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647367680001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":162358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:47:44] local.INFO: GPS data processed {"connection_id":162358,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:47:44] local.INFO: Acknowledgment sent {"connection_id":162358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:47:49] local.INFO: TCP Data received {"connection_id":162358,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:47:49] local.INFO: Processing buffer {"connection_id":162358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:47:49] local.INFO: Packet analysis {"connection_id":162358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a59"} 
[2026-08-26 00:47:49] local.INFO: Extracted packet for processing {"connection_id":162358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a59"} 
[2026-08-26 00:47:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647367680001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:47:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787685331000,"timestamp_ms":1787685331000,"timestamp_seconds":1787685331,"priority":1,"record_length":96,"hex_timestamp":"000001a03a596038"} 
[2026-08-26 00:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:47:49] 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-26 00:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647367680001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647367680001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:47:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647367680001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":162358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:47:49] local.INFO: GPS data processed {"connection_id":162358,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:47:49] local.INFO: Acknowledgment sent {"connection_id":162358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:48:21] local.INFO: TCP Data received {"connection_id":162358,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:48:21] local.INFO: Processing buffer {"connection_id":162358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:48:21] local.INFO: Packet analysis {"connection_id":162358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a59"} 
[2026-08-26 00:48:21] local.INFO: Extracted packet for processing {"connection_id":162358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a59"} 
[2026-08-26 00:48:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647367680001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:48:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787685331000,"timestamp_ms":1787685331000,"timestamp_seconds":1787685331,"priority":1,"record_length":96,"hex_timestamp":"000001a03a596038"} 
[2026-08-26 00: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-26 00:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:48:21] 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-26 00: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-26 00: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-26 00:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647367680001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647367680001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:48:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647367680001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":162358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:48:21] local.INFO: GPS data processed {"connection_id":162358,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:48:21] local.INFO: Acknowledgment sent {"connection_id":162358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:48:40] local.INFO: TCP Data received {"connection_id":162119,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:48:40] local.INFO: Processing buffer {"connection_id":162119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:48:40] local.INFO: IMEI packet received {"connection_id":162119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":162119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:48:43] local.INFO: TCP Data received {"connection_id":162119,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:48:43] local.INFO: Processing buffer {"connection_id":162119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:48:43] local.INFO: IMEI packet received {"connection_id":162119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":162119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:48:48] local.INFO: TCP Data received {"connection_id":162119,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:48:48] local.INFO: Processing buffer {"connection_id":162119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:48:48] local.INFO: IMEI packet received {"connection_id":162119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":162119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:48:49] local.INFO: TCP Data received {"connection_id":162119,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:48:49] local.INFO: Processing buffer {"connection_id":162119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:48:49] local.INFO: Packet analysis {"connection_id":162119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a59"} 
[2026-08-26 00:48:49] local.INFO: Extracted packet for processing {"connection_id":162119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a59"} 
[2026-08-26 00:48:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647367680001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:48:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787685331000,"timestamp_ms":1787685331000,"timestamp_seconds":1787685331,"priority":1,"record_length":96,"hex_timestamp":"000001a03a596038"} 
[2026-08-26 00: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-26 00:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:48:49] 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-26 00: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-26 00: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-26 00:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647367680001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647367680001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:48:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647367680001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":162119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:48:49] local.INFO: GPS data processed {"connection_id":162119,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:48:49] local.INFO: Acknowledgment sent {"connection_id":162119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:49:21] local.INFO: TCP Data received {"connection_id":162119,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:49:21] local.INFO: Processing buffer {"connection_id":162119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:49:21] local.INFO: Packet analysis {"connection_id":162119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a59"} 
[2026-08-26 00:49:21] local.INFO: Extracted packet for processing {"connection_id":162119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a59"} 
[2026-08-26 00:49:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647367680001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:49:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787685331000,"timestamp_ms":1787685331000,"timestamp_seconds":1787685331,"priority":1,"record_length":96,"hex_timestamp":"000001a03a596038"} 
[2026-08-26 00: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-26 00:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:49:21] 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-26 00: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-26 00: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-26 00:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647367680001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647367680001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:49:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647367680001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":162119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:49:21] local.INFO: GPS data processed {"connection_id":162119,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:49:21] local.INFO: Acknowledgment sent {"connection_id":162119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:49:38] local.INFO: TCP Data received {"connection_id":164732,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:49:38] local.INFO: Processing buffer {"connection_id":164732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:49:38] local.INFO: IMEI packet received {"connection_id":164732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":164732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:49:43] local.INFO: TCP Data received {"connection_id":164732,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:49:43] local.INFO: Processing buffer {"connection_id":164732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:49:43] local.INFO: IMEI packet received {"connection_id":164732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":164732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:49:44] local.INFO: TCP Data received {"connection_id":164732,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:49:44] local.INFO: Processing buffer {"connection_id":164732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:49:44] local.INFO: Packet analysis {"connection_id":164732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a59"} 
[2026-08-26 00:49:44] local.INFO: Extracted packet for processing {"connection_id":164732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a59"} 
[2026-08-26 00:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647367680001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:49:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787685331000,"timestamp_ms":1787685331000,"timestamp_seconds":1787685331,"priority":1,"record_length":96,"hex_timestamp":"000001a03a596038"} 
[2026-08-26 00: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-26 00:49: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-26 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:49: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-26 00: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-26 00: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-26 00:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647367680001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647367680001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:49:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647367680001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":164732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:49:44] local.INFO: GPS data processed {"connection_id":164732,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:49:44] local.INFO: Acknowledgment sent {"connection_id":164732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:50:15] local.INFO: TCP Data received {"connection_id":164732,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:50:15] local.INFO: Processing buffer {"connection_id":164732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:50:15] local.INFO: Packet analysis {"connection_id":164732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a59"} 
[2026-08-26 00:50:15] local.INFO: Extracted packet for processing {"connection_id":164732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a59"} 
[2026-08-26 00:50:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647367680001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:50:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787685331000,"timestamp_ms":1787685331000,"timestamp_seconds":1787685331,"priority":1,"record_length":96,"hex_timestamp":"000001a03a596038"} 
[2026-08-26 00:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:50: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-26 00:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:50: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-26 00:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647367680001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647367680001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:50:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647367680001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":164732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:50:16] local.INFO: GPS data processed {"connection_id":164732,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:50:16] local.INFO: Acknowledgment sent {"connection_id":164732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:50:38] local.INFO: TCP Data received {"connection_id":163354,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:50:38] local.INFO: Processing buffer {"connection_id":163354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:50:38] local.INFO: IMEI packet received {"connection_id":163354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":163354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:50:43] local.INFO: TCP Data received {"connection_id":163354,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:50:43] local.INFO: Processing buffer {"connection_id":163354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:50:43] local.INFO: IMEI packet received {"connection_id":163354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":163354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:50:45] local.INFO: TCP Data received {"connection_id":163354,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:50:45] local.INFO: Processing buffer {"connection_id":163354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a596038012d34c14006aa4818000a00e625..."} 
[2026-08-26 00:50:45] local.INFO: Packet analysis {"connection_id":163354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a59"} 
[2026-08-26 00:50:45] local.INFO: Extracted packet for processing {"connection_id":163354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a59"} 
[2026-08-26 00:50:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647367680001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:50:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787685331000,"timestamp_ms":1787685331000,"timestamp_seconds":1787685331,"priority":1,"record_length":96,"hex_timestamp":"000001a03a596038"} 
[2026-08-26 00: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-26 00:50: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-26 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 00:50:45] 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-26 00: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-26 00: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-26 00:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647367680001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647367680001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:50:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647367680001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":163354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:50:45] local.INFO: GPS data processed {"connection_id":163354,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:50:45] local.INFO: Acknowledgment sent {"connection_id":163354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:51:16] local.INFO: TCP Data received {"connection_id":163354,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:51:16] local.INFO: Processing buffer {"connection_id":163354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:51:16] local.INFO: Packet analysis {"connection_id":163354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a5d"} 
[2026-08-26 00:51:16] local.INFO: Extracted packet for processing {"connection_id":163354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a5d"} 
[2026-08-26 00:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647444736001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:51:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787685632000,"timestamp_ms":1787685632000,"timestamp_seconds":1787685632,"priority":1,"record_length":96,"hex_timestamp":"000001a03a5df800"} 
[2026-08-26 00:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:51: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-26 00:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:51:16] 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-26 00:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647444736001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647444736001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:51:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647444736001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":163354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:51:16] local.INFO: GPS data processed {"connection_id":163354,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:51:16] local.INFO: Acknowledgment sent {"connection_id":163354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:51:43] local.INFO: TCP Data received {"connection_id":162359,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:51:43] local.INFO: Processing buffer {"connection_id":162359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:51:43] local.INFO: IMEI packet received {"connection_id":162359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":162359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:51:48] local.INFO: TCP Data received {"connection_id":164731,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:51:48] local.INFO: Processing buffer {"connection_id":164731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:51:48] local.INFO: IMEI packet received {"connection_id":164731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 00:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":164731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:51:48] local.INFO: TCP Data received {"connection_id":162359,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:51:48] local.INFO: Processing buffer {"connection_id":162359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:51:48] local.INFO: IMEI packet received {"connection_id":162359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":162359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:51:50] local.INFO: TCP Data received {"connection_id":162359,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:51:50] local.INFO: Processing buffer {"connection_id":162359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:51:50] local.INFO: Packet analysis {"connection_id":162359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a5d"} 
[2026-08-26 00:51:50] local.INFO: Extracted packet for processing {"connection_id":162359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a5d"} 
[2026-08-26 00:51:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647444736001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:51:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787685632000,"timestamp_ms":1787685632000,"timestamp_seconds":1787685632,"priority":1,"record_length":96,"hex_timestamp":"000001a03a5df800"} 
[2026-08-26 00:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:51:50] 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-26 00:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647444736001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647444736001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:51:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647444736001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":162359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:51:50] local.INFO: GPS data processed {"connection_id":162359,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:51:50] local.INFO: Acknowledgment sent {"connection_id":162359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:52:21] local.INFO: TCP Data received {"connection_id":162359,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:52:21] local.INFO: Processing buffer {"connection_id":162359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:52:21] local.INFO: Packet analysis {"connection_id":162359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a5d"} 
[2026-08-26 00:52:21] local.INFO: Extracted packet for processing {"connection_id":162359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a5d"} 
[2026-08-26 00:52:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647444736001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:52:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787685632000,"timestamp_ms":1787685632000,"timestamp_seconds":1787685632,"priority":1,"record_length":96,"hex_timestamp":"000001a03a5df800"} 
[2026-08-26 00: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-26 00:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:52:21] 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-26 00: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-26 00: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-26 00:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647444736001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647444736001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:52:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647444736001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":162359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:52:21] local.INFO: GPS data processed {"connection_id":162359,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:52:21] local.INFO: Acknowledgment sent {"connection_id":162359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:52:38] local.INFO: TCP Data received {"connection_id":163355,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:52:38] local.INFO: Processing buffer {"connection_id":163355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:52:38] local.INFO: IMEI packet received {"connection_id":163355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":163355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:52:43] local.INFO: TCP Data received {"connection_id":163355,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:52:43] local.INFO: Processing buffer {"connection_id":163355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:52:43] local.INFO: IMEI packet received {"connection_id":163355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":163355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:52:45] local.INFO: TCP Data received {"connection_id":163355,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:52:45] local.INFO: Processing buffer {"connection_id":163355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:52:45] local.INFO: Packet analysis {"connection_id":163355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a5d"} 
[2026-08-26 00:52:45] local.INFO: Extracted packet for processing {"connection_id":163355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a5d"} 
[2026-08-26 00:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647444736001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:52:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787685632000,"timestamp_ms":1787685632000,"timestamp_seconds":1787685632,"priority":1,"record_length":96,"hex_timestamp":"000001a03a5df800"} 
[2026-08-26 00: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-26 00:52: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-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:52:45] 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-26 00: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-26 00: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-26 00:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647444736001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647444736001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:52:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647444736001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":163355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:52:45] local.INFO: GPS data processed {"connection_id":163355,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:52:45] local.INFO: Acknowledgment sent {"connection_id":163355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:53:16] local.INFO: TCP Data received {"connection_id":163355,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:53:16] local.INFO: Processing buffer {"connection_id":163355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:53:16] local.INFO: Packet analysis {"connection_id":163355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a5d"} 
[2026-08-26 00:53:16] local.INFO: Extracted packet for processing {"connection_id":163355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a5d"} 
[2026-08-26 00:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647444736001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:53:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787685632000,"timestamp_ms":1787685632000,"timestamp_seconds":1787685632,"priority":1,"record_length":96,"hex_timestamp":"000001a03a5df800"} 
[2026-08-26 00: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-26 00:53: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-26 00: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:53:16] 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-26 00: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-26 00: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-26 00:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647444736001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647444736001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647444736001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":163355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:53:16] local.INFO: GPS data processed {"connection_id":163355,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:53:16] local.INFO: Acknowledgment sent {"connection_id":163355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:53:38] local.INFO: TCP Data received {"connection_id":162360,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:53:38] local.INFO: Processing buffer {"connection_id":162360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:53:38] local.INFO: IMEI packet received {"connection_id":162360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":162360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:53:44] local.INFO: TCP Data received {"connection_id":162360,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:53:44] local.INFO: Processing buffer {"connection_id":162360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:53:44] local.INFO: IMEI packet received {"connection_id":162360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":162360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:53:45] local.INFO: TCP Data received {"connection_id":162360,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:53:45] local.INFO: Processing buffer {"connection_id":162360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:53:45] local.INFO: Packet analysis {"connection_id":162360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a5d"} 
[2026-08-26 00:53:45] local.INFO: Extracted packet for processing {"connection_id":162360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a5d"} 
[2026-08-26 00:53:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647444736001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:53:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787685632000,"timestamp_ms":1787685632000,"timestamp_seconds":1787685632,"priority":1,"record_length":96,"hex_timestamp":"000001a03a5df800"} 
[2026-08-26 00:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:53: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-26 00:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:53:45] 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-26 00:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647444736001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647444736001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:53:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647444736001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":162360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:53:45] local.INFO: GPS data processed {"connection_id":162360,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:53:45] local.INFO: Acknowledgment sent {"connection_id":162360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:54:16] local.INFO: TCP Data received {"connection_id":162360,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:54:16] local.INFO: Processing buffer {"connection_id":162360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:54:16] local.INFO: Packet analysis {"connection_id":162360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a5d"} 
[2026-08-26 00:54:16] local.INFO: Extracted packet for processing {"connection_id":162360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a5d"} 
[2026-08-26 00:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647444736001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:54:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787685632000,"timestamp_ms":1787685632000,"timestamp_seconds":1787685632,"priority":1,"record_length":96,"hex_timestamp":"000001a03a5df800"} 
[2026-08-26 00: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-26 00:54: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-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:54:16] 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-26 00:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00: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-26 00:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647444736001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647444736001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:54:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647444736001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":162360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:54:16] local.INFO: GPS data processed {"connection_id":162360,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:54:16] local.INFO: Acknowledgment sent {"connection_id":162360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:54:38] local.INFO: TCP Data received {"connection_id":162361,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:54:38] local.INFO: Processing buffer {"connection_id":162361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:54:38] local.INFO: IMEI packet received {"connection_id":162361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":162361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:54:43] local.INFO: TCP Data received {"connection_id":162361,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:54:43] local.INFO: Processing buffer {"connection_id":162361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:54:43] local.INFO: IMEI packet received {"connection_id":162361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":162361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:54:44] local.INFO: TCP Data received {"connection_id":162361,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:54:44] local.INFO: Processing buffer {"connection_id":162361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:54:44] local.INFO: Packet analysis {"connection_id":162361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a5d"} 
[2026-08-26 00:54:44] local.INFO: Extracted packet for processing {"connection_id":162361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a5d"} 
[2026-08-26 00:54:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647444736001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:54:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787685632000,"timestamp_ms":1787685632000,"timestamp_seconds":1787685632,"priority":1,"record_length":96,"hex_timestamp":"000001a03a5df800"} 
[2026-08-26 00: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-26 00:54: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-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:54:44] 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-26 00: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-26 00: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-26 00:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647444736001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647444736001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:54:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647444736001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":162361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:54:44] local.INFO: GPS data processed {"connection_id":162361,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:54:44] local.INFO: Acknowledgment sent {"connection_id":162361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:55:16] local.INFO: TCP Data received {"connection_id":162361,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:55:16] local.INFO: Processing buffer {"connection_id":162361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:55:16] local.INFO: Packet analysis {"connection_id":162361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a5d"} 
[2026-08-26 00:55:16] local.INFO: Extracted packet for processing {"connection_id":162361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a5d"} 
[2026-08-26 00:55:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647444736001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:55:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787685632000,"timestamp_ms":1787685632000,"timestamp_seconds":1787685632,"priority":1,"record_length":96,"hex_timestamp":"000001a03a5df800"} 
[2026-08-26 00:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:55: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-26 00:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:55:16] 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-26 00:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647444736001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647444736001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:55:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647444736001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":162361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:55:16] local.INFO: GPS data processed {"connection_id":162361,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:55:16] local.INFO: Acknowledgment sent {"connection_id":162361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:55:38] local.INFO: TCP Data received {"connection_id":163356,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:55:38] local.INFO: Processing buffer {"connection_id":163356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:55:38] local.INFO: IMEI packet received {"connection_id":163356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":163356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:55:48] local.INFO: TCP Data received {"connection_id":163356,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:55:48] local.INFO: Processing buffer {"connection_id":163356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:55:48] local.INFO: IMEI packet received {"connection_id":163356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":163356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:55:49] local.INFO: TCP Data received {"connection_id":163356,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:55:49] local.INFO: Processing buffer {"connection_id":163356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a5df800012d34c14006aa4818000700e62a..."} 
[2026-08-26 00:55:49] local.INFO: Packet analysis {"connection_id":163356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a5d"} 
[2026-08-26 00:55:49] local.INFO: Extracted packet for processing {"connection_id":163356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a5d"} 
[2026-08-26 00:55:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647444736001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:55:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787685632000,"timestamp_ms":1787685632000,"timestamp_seconds":1787685632,"priority":1,"record_length":96,"hex_timestamp":"000001a03a5df800"} 
[2026-08-26 00: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-26 00:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:55:49] 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-26 00: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-26 00: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-26 00:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647444736001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647444736001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:55:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647444736001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":163356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:55:49] local.INFO: GPS data processed {"connection_id":163356,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:55:49] local.INFO: Acknowledgment sent {"connection_id":163356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:56:20] local.INFO: TCP Data received {"connection_id":163356,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 00:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 00:56:20] local.INFO: Processing buffer {"connection_id":163356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 00:56:20] local.INFO: Packet analysis {"connection_id":163356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a62"} 
[2026-08-26 00:56:20] local.INFO: Extracted packet for processing {"connection_id":163356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a62"} 
[2026-08-26 00:56:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647521792001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:56:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787685933000,"timestamp_ms":1787685933000,"timestamp_seconds":1787685933,"priority":1,"record_length":96,"hex_timestamp":"000001a03a628fc8"} 
[2026-08-26 00: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-26 00:56: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-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:56:20] 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-26 00: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-26 00: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-26 00:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647521792001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647521792001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:56:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647521792001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":163356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:56:20] local.INFO: GPS data processed {"connection_id":163356,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:56:20] local.INFO: Acknowledgment sent {"connection_id":163356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:56:43] local.INFO: TCP Data received {"connection_id":162121,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:56:43] local.INFO: Processing buffer {"connection_id":162121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:56:43] local.INFO: IMEI packet received {"connection_id":162121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":162121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:56:48] local.INFO: TCP Data received {"connection_id":162121,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:56:48] local.INFO: Processing buffer {"connection_id":162121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:56:48] local.INFO: IMEI packet received {"connection_id":162121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":162121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:56:50] local.INFO: TCP Data received {"connection_id":162121,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 00:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 00:56:50] local.INFO: Processing buffer {"connection_id":162121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 00:56:50] local.INFO: Packet analysis {"connection_id":162121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a62"} 
[2026-08-26 00:56:50] local.INFO: Extracted packet for processing {"connection_id":162121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a62"} 
[2026-08-26 00:56:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647521792001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:56:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787685933000,"timestamp_ms":1787685933000,"timestamp_seconds":1787685933,"priority":1,"record_length":96,"hex_timestamp":"000001a03a628fc8"} 
[2026-08-26 00: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-26 00:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:56:50] 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-26 00:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00: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-26 00:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647521792001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647521792001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:56:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647521792001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":162121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:56:50] local.INFO: GPS data processed {"connection_id":162121,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:56:50] local.INFO: Acknowledgment sent {"connection_id":162121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:57:21] local.INFO: TCP Data received {"connection_id":162121,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 00:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 00:57:21] local.INFO: Processing buffer {"connection_id":162121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 00:57:21] local.INFO: Packet analysis {"connection_id":162121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a62"} 
[2026-08-26 00:57:21] local.INFO: Extracted packet for processing {"connection_id":162121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a62"} 
[2026-08-26 00:57:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647521792001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:57:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787685933000,"timestamp_ms":1787685933000,"timestamp_seconds":1787685933,"priority":1,"record_length":96,"hex_timestamp":"000001a03a628fc8"} 
[2026-08-26 00: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-26 00:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:57:21] 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-26 00: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-26 00: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-26 00:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647521792001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647521792001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:57:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647521792001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":162121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:57:21] local.INFO: GPS data processed {"connection_id":162121,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:57:21] local.INFO: Acknowledgment sent {"connection_id":162121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:57:24] local.INFO: TCP Data received {"connection_id":162120,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:57:24] local.INFO: Processing buffer {"connection_id":162120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:57:24] local.INFO: IMEI packet received {"connection_id":162120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 00:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":162120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:57:40] local.INFO: TCP Data received {"connection_id":164733,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:57:40] local.INFO: Processing buffer {"connection_id":164733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:57:40] local.INFO: IMEI packet received {"connection_id":164733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":164733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:57:43] local.INFO: TCP Data received {"connection_id":164733,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:57:43] local.INFO: Processing buffer {"connection_id":164733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:57:43] local.INFO: IMEI packet received {"connection_id":164733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":164733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:57:44] local.INFO: TCP Data received {"connection_id":164733,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 00:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 00:57:44] local.INFO: Processing buffer {"connection_id":164733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 00:57:44] local.INFO: Packet analysis {"connection_id":164733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a62"} 
[2026-08-26 00:57:44] local.INFO: Extracted packet for processing {"connection_id":164733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a62"} 
[2026-08-26 00:57:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647521792001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:57:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787685933000,"timestamp_ms":1787685933000,"timestamp_seconds":1787685933,"priority":1,"record_length":96,"hex_timestamp":"000001a03a628fc8"} 
[2026-08-26 00:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:57: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-26 00:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:57:44] 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-26 00:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647521792001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647521792001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:57:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647521792001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":164733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:57:44] local.INFO: GPS data processed {"connection_id":164733,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:57:44] local.INFO: Acknowledgment sent {"connection_id":164733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:58:03] local.INFO: TCP Data received {"connection_id":162122,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:58:03] local.INFO: Processing buffer {"connection_id":162122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 00:58:03] local.INFO: IMEI packet received {"connection_id":162122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 00:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":162122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:58:15] local.INFO: TCP Data received {"connection_id":164733,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 00:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 00:58:15] local.INFO: Processing buffer {"connection_id":164733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 00:58:15] local.INFO: Packet analysis {"connection_id":164733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a62"} 
[2026-08-26 00:58:15] local.INFO: Extracted packet for processing {"connection_id":164733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a62"} 
[2026-08-26 00:58:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647521792001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:58:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787685933000,"timestamp_ms":1787685933000,"timestamp_seconds":1787685933,"priority":1,"record_length":96,"hex_timestamp":"000001a03a628fc8"} 
[2026-08-26 00: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-26 00:58: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-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:58: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-26 00: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-26 00: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-26 00:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647521792001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647521792001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:58:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647521792001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":164733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:58:15] local.INFO: GPS data processed {"connection_id":164733,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:58:15] local.INFO: Acknowledgment sent {"connection_id":164733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:58:38] local.INFO: TCP Data received {"connection_id":162362,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:58:38] local.INFO: Processing buffer {"connection_id":162362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:58:38] local.INFO: IMEI packet received {"connection_id":162362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":162362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:58:43] local.INFO: TCP Data received {"connection_id":162362,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:58:43] local.INFO: Processing buffer {"connection_id":162362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:58:43] local.INFO: IMEI packet received {"connection_id":162362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":162362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:58:44] local.INFO: TCP Data received {"connection_id":162362,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 00:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 00:58:44] local.INFO: Processing buffer {"connection_id":162362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 00:58:44] local.INFO: Packet analysis {"connection_id":162362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a62"} 
[2026-08-26 00:58:44] local.INFO: Extracted packet for processing {"connection_id":162362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a62"} 
[2026-08-26 00:58:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647521792001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:58:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787685933000,"timestamp_ms":1787685933000,"timestamp_seconds":1787685933,"priority":1,"record_length":96,"hex_timestamp":"000001a03a628fc8"} 
[2026-08-26 00: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-26 00:58: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-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:58:44] 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-26 00: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-26 00: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-26 00:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647521792001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647521792001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:58:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647521792001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":162362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:58:44] local.INFO: GPS data processed {"connection_id":162362,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:58:44] local.INFO: Acknowledgment sent {"connection_id":162362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:59:17] local.INFO: TCP Data received {"connection_id":162362,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 00:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 00:59:17] local.INFO: Processing buffer {"connection_id":162362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 00:59:17] local.INFO: Packet analysis {"connection_id":162362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a62"} 
[2026-08-26 00:59:17] local.INFO: Extracted packet for processing {"connection_id":162362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a62"} 
[2026-08-26 00:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 00:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647521792001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:59:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787685933000,"timestamp_ms":1787685933000,"timestamp_seconds":1787685933,"priority":1,"record_length":96,"hex_timestamp":"000001a03a628fc8"} 
[2026-08-26 00:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 00:59: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-26 00:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:59: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-26 00:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 00:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 00:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647521792001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647521792001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647521792001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":162362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:59:17] local.INFO: GPS data processed {"connection_id":162362,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:59:17] local.INFO: Acknowledgment sent {"connection_id":162362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 00:59:38] local.INFO: TCP Data received {"connection_id":162123,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:59:38] local.INFO: Processing buffer {"connection_id":162123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:59:38] local.INFO: IMEI packet received {"connection_id":162123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 00:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":162123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 00:59:48] local.INFO: TCP Data received {"connection_id":162123,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:59:48] local.INFO: Processing buffer {"connection_id":162123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 00:59:48] local.INFO: IMEI packet received {"connection_id":162123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 00:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":162123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 00:59:49] local.INFO: TCP Data received {"connection_id":162123,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 00:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 00:59:49] local.INFO: Processing buffer {"connection_id":162123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 00:59:49] local.INFO: Packet analysis {"connection_id":162123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a62"} 
[2026-08-26 00:59:49] local.INFO: Extracted packet for processing {"connection_id":162123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a62"} 
[2026-08-26 00:59:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 00: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-26 00:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647521792001,"note":"Value kept but may cause issues"} 
[2026-08-26 00:59:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 00:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 00:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 00:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 00:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787685933000,"timestamp_ms":1787685933000,"timestamp_seconds":1787685933,"priority":1,"record_length":96,"hex_timestamp":"000001a03a628fc8"} 
[2026-08-26 00: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-26 00:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 00:59:49] 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-26 00: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-26 00: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-26 00:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 00:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 00:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 00:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 00:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 00:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 00:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647521792001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 00:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 00:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 00:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647521792001,"description":"Unknown IO ID 0"} 
[2026-08-26 00:59:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 00:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 00:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 00:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647521792001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 00:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":162123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 00:59:49] local.INFO: GPS data processed {"connection_id":162123,"processed":1,"errors":0,"total":1} 
[2026-08-26 00:59:49] local.INFO: Acknowledgment sent {"connection_id":162123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:00:20] local.INFO: TCP Data received {"connection_id":162123,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:00:20] local.INFO: Processing buffer {"connection_id":162123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:00:20] local.INFO: Packet analysis {"connection_id":162123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a62"} 
[2026-08-26 01:00:20] local.INFO: Extracted packet for processing {"connection_id":162123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a62"} 
[2026-08-26 01:00:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647521792001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:00:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787685933000,"timestamp_ms":1787685933000,"timestamp_seconds":1787685933,"priority":1,"record_length":96,"hex_timestamp":"000001a03a628fc8"} 
[2026-08-26 01: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-26 01:00: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-26 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:00:20] 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-26 01: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-26 01: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-26 01:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647521792001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647521792001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:00:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647521792001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":162123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:00:20] local.INFO: GPS data processed {"connection_id":162123,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:00:20] local.INFO: Acknowledgment sent {"connection_id":162123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:00:38] local.INFO: TCP Data received {"connection_id":162363,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:00:38] local.INFO: Processing buffer {"connection_id":162363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:00:38] local.INFO: IMEI packet received {"connection_id":162363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":162363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:00:43] local.INFO: TCP Data received {"connection_id":162363,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:00:43] local.INFO: Processing buffer {"connection_id":162363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:00:43] local.INFO: IMEI packet received {"connection_id":162363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":162363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:00:45] local.INFO: TCP Data received {"connection_id":162363,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:00:45] local.INFO: Processing buffer {"connection_id":162363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a628fc8012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:00:45] local.INFO: Packet analysis {"connection_id":162363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a62"} 
[2026-08-26 01:00:45] local.INFO: Extracted packet for processing {"connection_id":162363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a62"} 
[2026-08-26 01:00:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647521792001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:00:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787685933000,"timestamp_ms":1787685933000,"timestamp_seconds":1787685933,"priority":1,"record_length":96,"hex_timestamp":"000001a03a628fc8"} 
[2026-08-26 01: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-26 01:00: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-26 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:00:45] 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-26 01: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-26 01: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-26 01:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647521792001,"66":25419,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647521792001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:00:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647521792001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":162363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:00:45] local.INFO: GPS data processed {"connection_id":162363,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:00:45] local.INFO: Acknowledgment sent {"connection_id":162363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:01:17] local.INFO: TCP Data received {"connection_id":162363,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:01:17] local.INFO: Processing buffer {"connection_id":162363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:01:17] local.INFO: Packet analysis {"connection_id":162363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a67"} 
[2026-08-26 01:01:17] local.INFO: Extracted packet for processing {"connection_id":162363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a67"} 
[2026-08-26 01:01:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647598848001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:01:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787686234000,"timestamp_ms":1787686234000,"timestamp_seconds":1787686234,"priority":1,"record_length":96,"hex_timestamp":"000001a03a672790"} 
[2026-08-26 01: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-26 01:01: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-26 01: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 01:01:17] 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-26 01: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-26 01: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-26 01:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647598848001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647598848001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:01:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647598848001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":162363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:01:17] local.INFO: GPS data processed {"connection_id":162363,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:01:17] local.INFO: Acknowledgment sent {"connection_id":162363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:01:44] local.INFO: TCP Data received {"connection_id":162124,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:01:44] local.INFO: Processing buffer {"connection_id":162124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:01:44] local.INFO: IMEI packet received {"connection_id":162124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":162124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:01:48] local.INFO: TCP Data received {"connection_id":162124,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:01:48] local.INFO: Processing buffer {"connection_id":162124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:01:48] local.INFO: IMEI packet received {"connection_id":162124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":162124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:01:50] local.INFO: TCP Data received {"connection_id":162124,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:01:50] local.INFO: Processing buffer {"connection_id":162124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:01:50] local.INFO: Packet analysis {"connection_id":162124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a67"} 
[2026-08-26 01:01:50] local.INFO: Extracted packet for processing {"connection_id":162124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a67"} 
[2026-08-26 01:01:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:01: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-26 01:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647598848001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:01:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787686234000,"timestamp_ms":1787686234000,"timestamp_seconds":1787686234,"priority":1,"record_length":96,"hex_timestamp":"000001a03a672790"} 
[2026-08-26 01:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01:01: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 01:01:50] 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-26 01:01: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-26 01:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647598848001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647598848001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:01:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647598848001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":162124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:01:50] local.INFO: GPS data processed {"connection_id":162124,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:01:50] local.INFO: Acknowledgment sent {"connection_id":162124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:02:21] local.INFO: TCP Data received {"connection_id":162124,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:02:21] local.INFO: Processing buffer {"connection_id":162124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:02:21] local.INFO: Packet analysis {"connection_id":162124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a67"} 
[2026-08-26 01:02:21] local.INFO: Extracted packet for processing {"connection_id":162124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a67"} 
[2026-08-26 01:02:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647598848001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:02:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787686234000,"timestamp_ms":1787686234000,"timestamp_seconds":1787686234,"priority":1,"record_length":96,"hex_timestamp":"000001a03a672790"} 
[2026-08-26 01: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-26 01:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 01:02:21] 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-26 01: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-26 01: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-26 01:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647598848001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647598848001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:02:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647598848001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":162124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:02:21] local.INFO: GPS data processed {"connection_id":162124,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:02:21] local.INFO: Acknowledgment sent {"connection_id":162124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:02:38] local.INFO: TCP Data received {"connection_id":164735,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:02:38] local.INFO: Processing buffer {"connection_id":164735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:02:38] local.INFO: IMEI packet received {"connection_id":164735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":164735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:02:43] local.INFO: TCP Data received {"connection_id":164735,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:02:43] local.INFO: Processing buffer {"connection_id":164735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:02:43] local.INFO: IMEI packet received {"connection_id":164735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":164735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:02:45] local.INFO: TCP Data received {"connection_id":164735,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:02:45] local.INFO: Processing buffer {"connection_id":164735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:02:45] local.INFO: Packet analysis {"connection_id":164735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a67"} 
[2026-08-26 01:02:45] local.INFO: Extracted packet for processing {"connection_id":164735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a67"} 
[2026-08-26 01:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647598848001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:02:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787686234000,"timestamp_ms":1787686234000,"timestamp_seconds":1787686234,"priority":1,"record_length":96,"hex_timestamp":"000001a03a672790"} 
[2026-08-26 01:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:02: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-26 01:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 01:02:45] 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-26 01:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647598848001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647598848001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:02:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647598848001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":164735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:02:45] local.INFO: GPS data processed {"connection_id":164735,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:02:45] local.INFO: Acknowledgment sent {"connection_id":164735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:03:16] local.INFO: TCP Data received {"connection_id":164735,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:03:16] local.INFO: Processing buffer {"connection_id":164735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:03:16] local.INFO: Packet analysis {"connection_id":164735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a67"} 
[2026-08-26 01:03:16] local.INFO: Extracted packet for processing {"connection_id":164735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a67"} 
[2026-08-26 01:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647598848001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:03:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787686234000,"timestamp_ms":1787686234000,"timestamp_seconds":1787686234,"priority":1,"record_length":96,"hex_timestamp":"000001a03a672790"} 
[2026-08-26 01:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:03: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-26 01:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 01:03: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-26 01:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647598848001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647598848001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647598848001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":164735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:03:16] local.INFO: GPS data processed {"connection_id":164735,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:03:16] local.INFO: Acknowledgment sent {"connection_id":164735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:03:29] local.INFO: TCP Data received {"connection_id":163357,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163357,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:03:29] local.INFO: Processing buffer {"connection_id":163357,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:03:29] local.INFO: IMEI packet received {"connection_id":163357,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 01:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":163357,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:03:38] local.INFO: TCP Data received {"connection_id":162364,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:03:38] local.INFO: Processing buffer {"connection_id":162364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:03:38] local.INFO: IMEI packet received {"connection_id":162364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":162364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:03:44] local.INFO: TCP Data received {"connection_id":162364,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:03:44] local.INFO: Processing buffer {"connection_id":162364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:03:44] local.INFO: IMEI packet received {"connection_id":162364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":162364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:03:45] local.INFO: TCP Data received {"connection_id":162364,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:03:45] local.INFO: Processing buffer {"connection_id":162364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:03:45] local.INFO: Packet analysis {"connection_id":162364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a67"} 
[2026-08-26 01:03:45] local.INFO: Extracted packet for processing {"connection_id":162364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a67"} 
[2026-08-26 01:03:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647598848001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:03:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787686234000,"timestamp_ms":1787686234000,"timestamp_seconds":1787686234,"priority":1,"record_length":96,"hex_timestamp":"000001a03a672790"} 
[2026-08-26 01:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:03: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-26 01:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 01:03:45] 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-26 01:03:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647598848001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647598848001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:03:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647598848001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":162364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:03:45] local.INFO: GPS data processed {"connection_id":162364,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:03:45] local.INFO: Acknowledgment sent {"connection_id":162364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:04:17] local.INFO: TCP Data received {"connection_id":162364,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:04:17] local.INFO: Processing buffer {"connection_id":162364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:04:17] local.INFO: Packet analysis {"connection_id":162364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a67"} 
[2026-08-26 01:04:17] local.INFO: Extracted packet for processing {"connection_id":162364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a67"} 
[2026-08-26 01:04:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647598848001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:04:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787686234000,"timestamp_ms":1787686234000,"timestamp_seconds":1787686234,"priority":1,"record_length":96,"hex_timestamp":"000001a03a672790"} 
[2026-08-26 01:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:04: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-26 01:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 01:04:17] 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-26 01:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647598848001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647598848001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:04:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647598848001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":162364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:04:17] local.INFO: GPS data processed {"connection_id":162364,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:04:17] local.INFO: Acknowledgment sent {"connection_id":162364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:04:38] local.INFO: TCP Data received {"connection_id":163358,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:04:38] local.INFO: Processing buffer {"connection_id":163358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:04:38] local.INFO: IMEI packet received {"connection_id":163358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":163358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:04:43] local.INFO: TCP Data received {"connection_id":163358,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:04:43] local.INFO: Processing buffer {"connection_id":163358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:04:43] local.INFO: IMEI packet received {"connection_id":163358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":163358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:04:45] local.INFO: TCP Data received {"connection_id":163358,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:04:45] local.INFO: Processing buffer {"connection_id":163358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:04:45] local.INFO: Packet analysis {"connection_id":163358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a67"} 
[2026-08-26 01:04:45] local.INFO: Extracted packet for processing {"connection_id":163358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a67"} 
[2026-08-26 01:04:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647598848001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:04:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787686234000,"timestamp_ms":1787686234000,"timestamp_seconds":1787686234,"priority":1,"record_length":96,"hex_timestamp":"000001a03a672790"} 
[2026-08-26 01:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:04: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-26 01:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 01:04:45] 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-26 01:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647598848001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647598848001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:04:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647598848001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":163358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:04:45] local.INFO: GPS data processed {"connection_id":163358,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:04:45] local.INFO: Acknowledgment sent {"connection_id":163358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:05:16] local.INFO: TCP Data received {"connection_id":163358,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:05:16] local.INFO: Processing buffer {"connection_id":163358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:05:16] local.INFO: Packet analysis {"connection_id":163358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a67"} 
[2026-08-26 01:05:16] local.INFO: Extracted packet for processing {"connection_id":163358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a67"} 
[2026-08-26 01:05:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647598848001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:05:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787686234000,"timestamp_ms":1787686234000,"timestamp_seconds":1787686234,"priority":1,"record_length":96,"hex_timestamp":"000001a03a672790"} 
[2026-08-26 01:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:05: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-26 01:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 01:05: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-26 01:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647598848001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647598848001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:05:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647598848001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":163358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:05:16] local.INFO: GPS data processed {"connection_id":163358,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:05:16] local.INFO: Acknowledgment sent {"connection_id":163358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:05:43] local.INFO: TCP Data received {"connection_id":163359,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:05:43] local.INFO: Processing buffer {"connection_id":163359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:05:43] local.INFO: IMEI packet received {"connection_id":163359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":163359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:05:48] local.INFO: TCP Data received {"connection_id":163359,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:05:48] local.INFO: Processing buffer {"connection_id":163359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:05:48] local.INFO: IMEI packet received {"connection_id":163359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":163359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:05:50] local.INFO: TCP Data received {"connection_id":163359,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:05:50] local.INFO: Processing buffer {"connection_id":163359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:05:50] local.INFO: Packet analysis {"connection_id":163359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a67"} 
[2026-08-26 01:05:50] local.INFO: Extracted packet for processing {"connection_id":163359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a67"} 
[2026-08-26 01:05:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:05: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-26 01:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647598848001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:05:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787686234000,"timestamp_ms":1787686234000,"timestamp_seconds":1787686234,"priority":1,"record_length":96,"hex_timestamp":"000001a03a672790"} 
[2026-08-26 01:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01:05: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 01:05:50] 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-26 01:05: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-26 01:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647598848001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647598848001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:05:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647598848001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":163359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:05:50] local.INFO: GPS data processed {"connection_id":163359,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:05:50] local.INFO: Acknowledgment sent {"connection_id":163359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:05:54] local.INFO: TCP Data received {"connection_id":163359,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:05:54] local.INFO: Processing buffer {"connection_id":163359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a672790012d34c14006aa4818000300e62a..."} 
[2026-08-26 01:05:54] local.INFO: Packet analysis {"connection_id":163359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a67"} 
[2026-08-26 01:05:54] local.INFO: Extracted packet for processing {"connection_id":163359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a67"} 
[2026-08-26 01:05:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647598848001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:05:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787686234000,"timestamp_ms":1787686234000,"timestamp_seconds":1787686234,"priority":1,"record_length":96,"hex_timestamp":"000001a03a672790"} 
[2026-08-26 01:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 01:05:54] 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-26 01:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647598848001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647598848001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:05:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647598848001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":163359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:05:54] local.INFO: GPS data processed {"connection_id":163359,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:05:54] local.INFO: Acknowledgment sent {"connection_id":163359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:06:39] local.INFO: TCP Data received {"connection_id":164736,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:06:39] local.INFO: Processing buffer {"connection_id":164736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:06:39] local.INFO: IMEI packet received {"connection_id":164736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":164736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:06:43] local.INFO: TCP Data received {"connection_id":164736,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:06:43] local.INFO: Processing buffer {"connection_id":164736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:06:43] local.INFO: IMEI packet received {"connection_id":164736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":164736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:06:45] local.INFO: TCP Data received {"connection_id":164736,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:06:45] local.INFO: Processing buffer {"connection_id":164736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:06:45] local.INFO: Packet analysis {"connection_id":164736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a6b"} 
[2026-08-26 01:06:45] local.INFO: Extracted packet for processing {"connection_id":164736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a6b"} 
[2026-08-26 01:06:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647675904001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:06:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787686535000,"timestamp_ms":1787686535000,"timestamp_seconds":1787686535,"priority":1,"record_length":96,"hex_timestamp":"000001a03a6bbf58"} 
[2026-08-26 01: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-26 01:06: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-26 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 01:06:45] 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-26 01: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-26 01: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-26 01:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647675904001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647675904001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:06:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647675904001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":164736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:06:45] local.INFO: GPS data processed {"connection_id":164736,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:06:45] local.INFO: Acknowledgment sent {"connection_id":164736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:07:16] local.INFO: TCP Data received {"connection_id":164736,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:07:16] local.INFO: Processing buffer {"connection_id":164736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:07:16] local.INFO: Packet analysis {"connection_id":164736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a6b"} 
[2026-08-26 01:07:16] local.INFO: Extracted packet for processing {"connection_id":164736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a6b"} 
[2026-08-26 01:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647675904001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:07:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787686535000,"timestamp_ms":1787686535000,"timestamp_seconds":1787686535,"priority":1,"record_length":96,"hex_timestamp":"000001a03a6bbf58"} 
[2026-08-26 01:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:07: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-26 01:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 01:07:16] 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-26 01:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647675904001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647675904001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:07:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647675904001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":164736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:07:16] local.INFO: GPS data processed {"connection_id":164736,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:07:16] local.INFO: Acknowledgment sent {"connection_id":164736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:07:38] local.INFO: TCP Data received {"connection_id":164737,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:07:38] local.INFO: Processing buffer {"connection_id":164737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:07:38] local.INFO: IMEI packet received {"connection_id":164737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":164737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:07:44] local.INFO: TCP Data received {"connection_id":164737,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:07:44] local.INFO: Processing buffer {"connection_id":164737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:07:44] local.INFO: IMEI packet received {"connection_id":164737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":164737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:07:45] local.INFO: TCP Data received {"connection_id":164737,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:07:45] local.INFO: Processing buffer {"connection_id":164737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:07:45] local.INFO: Packet analysis {"connection_id":164737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a6b"} 
[2026-08-26 01:07:45] local.INFO: Extracted packet for processing {"connection_id":164737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a6b"} 
[2026-08-26 01:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647675904001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:07:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787686535000,"timestamp_ms":1787686535000,"timestamp_seconds":1787686535,"priority":1,"record_length":96,"hex_timestamp":"000001a03a6bbf58"} 
[2026-08-26 01:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:07: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-26 01:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 01:07:45] 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-26 01:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647675904001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647675904001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:07:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647675904001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":164737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:07:45] local.INFO: GPS data processed {"connection_id":164737,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:07:45] local.INFO: Acknowledgment sent {"connection_id":164737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:08:17] local.INFO: TCP Data received {"connection_id":164737,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:08:17] local.INFO: Processing buffer {"connection_id":164737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:08:17] local.INFO: Packet analysis {"connection_id":164737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a6b"} 
[2026-08-26 01:08:17] local.INFO: Extracted packet for processing {"connection_id":164737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a6b"} 
[2026-08-26 01:08:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647675904001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:08:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787686535000,"timestamp_ms":1787686535000,"timestamp_seconds":1787686535,"priority":1,"record_length":96,"hex_timestamp":"000001a03a6bbf58"} 
[2026-08-26 01: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-26 01:08: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-26 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 01:08: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-26 01: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-26 01: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-26 01:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647675904001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647675904001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:08:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647675904001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":164737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:08:17] local.INFO: GPS data processed {"connection_id":164737,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:08:17] local.INFO: Acknowledgment sent {"connection_id":164737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:08:38] local.INFO: TCP Data received {"connection_id":163360,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:08:38] local.INFO: Processing buffer {"connection_id":163360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:08:38] local.INFO: IMEI packet received {"connection_id":163360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":163360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:08:43] local.INFO: TCP Data received {"connection_id":163360,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:08:43] local.INFO: Processing buffer {"connection_id":163360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:08:43] local.INFO: IMEI packet received {"connection_id":163360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":163360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:08:44] local.INFO: TCP Data received {"connection_id":163360,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:08:44] local.INFO: Processing buffer {"connection_id":163360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:08:44] local.INFO: Packet analysis {"connection_id":163360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a6b"} 
[2026-08-26 01:08:44] local.INFO: Extracted packet for processing {"connection_id":163360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a6b"} 
[2026-08-26 01:08:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647675904001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:08:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787686535000,"timestamp_ms":1787686535000,"timestamp_seconds":1787686535,"priority":1,"record_length":96,"hex_timestamp":"000001a03a6bbf58"} 
[2026-08-26 01: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-26 01:08: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-26 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 01:08: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-26 01: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-26 01: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-26 01:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647675904001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647675904001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:08:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647675904001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":163360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:08:44] local.INFO: GPS data processed {"connection_id":163360,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:08:44] local.INFO: Acknowledgment sent {"connection_id":163360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:09:04] local.INFO: TCP Data received {"connection_id":164738,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:09:04] local.INFO: Processing buffer {"connection_id":164738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:09:04] local.INFO: IMEI packet received {"connection_id":164738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 01:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":164738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:09:16] local.INFO: TCP Data received {"connection_id":163360,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:09:16] local.INFO: Processing buffer {"connection_id":163360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:09:16] local.INFO: Packet analysis {"connection_id":163360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a6b"} 
[2026-08-26 01:09:16] local.INFO: Extracted packet for processing {"connection_id":163360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a6b"} 
[2026-08-26 01:09:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647675904001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:09:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787686535000,"timestamp_ms":1787686535000,"timestamp_seconds":1787686535,"priority":1,"record_length":96,"hex_timestamp":"000001a03a6bbf58"} 
[2026-08-26 01:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:09: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-26 01:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 01:09:16] 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-26 01:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647675904001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647675904001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:09:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647675904001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":163360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:09:16] local.INFO: GPS data processed {"connection_id":163360,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:09:16] local.INFO: Acknowledgment sent {"connection_id":163360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:09:38] local.INFO: TCP Data received {"connection_id":162365,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:09:38] local.INFO: Processing buffer {"connection_id":162365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:09:38] local.INFO: IMEI packet received {"connection_id":162365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":162365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:09:43] local.INFO: TCP Data received {"connection_id":162365,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:09:43] local.INFO: Processing buffer {"connection_id":162365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:09:43] local.INFO: IMEI packet received {"connection_id":162365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":162365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:09:44] local.INFO: TCP Data received {"connection_id":162365,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:09:44] local.INFO: Processing buffer {"connection_id":162365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:09:44] local.INFO: Packet analysis {"connection_id":162365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a6b"} 
[2026-08-26 01:09:44] local.INFO: Extracted packet for processing {"connection_id":162365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a6b"} 
[2026-08-26 01:09:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647675904001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:09:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787686535000,"timestamp_ms":1787686535000,"timestamp_seconds":1787686535,"priority":1,"record_length":96,"hex_timestamp":"000001a03a6bbf58"} 
[2026-08-26 01: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-26 01:09: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-26 01: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-26 01: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-26 01: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-26 01: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-26 01:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647675904001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647675904001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:09:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647675904001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":162365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:09:44] local.INFO: GPS data processed {"connection_id":162365,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:09:44] local.INFO: Acknowledgment sent {"connection_id":162365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:10:16] local.INFO: TCP Data received {"connection_id":162365,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:10:16] local.INFO: Processing buffer {"connection_id":162365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:10:16] local.INFO: Packet analysis {"connection_id":162365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a6b"} 
[2026-08-26 01:10:16] local.INFO: Extracted packet for processing {"connection_id":162365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a6b"} 
[2026-08-26 01:10:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647675904001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:10:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787686535000,"timestamp_ms":1787686535000,"timestamp_seconds":1787686535,"priority":1,"record_length":96,"hex_timestamp":"000001a03a6bbf58"} 
[2026-08-26 01: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-26 01:10: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-26 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 01:10:16] 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-26 01: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-26 01: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-26 01:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647675904001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647675904001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:10:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647675904001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":162365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:10:16] local.INFO: GPS data processed {"connection_id":162365,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:10:16] local.INFO: Acknowledgment sent {"connection_id":162365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:10:43] local.INFO: TCP Data received {"connection_id":163361,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:10:43] local.INFO: Processing buffer {"connection_id":163361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:10:43] local.INFO: IMEI packet received {"connection_id":163361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":163361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:10:48] local.INFO: TCP Data received {"connection_id":163361,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:10:48] local.INFO: Processing buffer {"connection_id":163361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:10:48] local.INFO: IMEI packet received {"connection_id":163361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":163361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:10:50] local.INFO: TCP Data received {"connection_id":163361,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:10:50] local.INFO: Processing buffer {"connection_id":163361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:10:50] local.INFO: Packet analysis {"connection_id":163361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a6b"} 
[2026-08-26 01:10:50] local.INFO: Extracted packet for processing {"connection_id":163361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a6b"} 
[2026-08-26 01:10:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647675904001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:10:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787686535000,"timestamp_ms":1787686535000,"timestamp_seconds":1787686535,"priority":1,"record_length":96,"hex_timestamp":"000001a03a6bbf58"} 
[2026-08-26 01: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-26 01:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 01:10:50] 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-26 01:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01: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-26 01:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647675904001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647675904001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:10:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647675904001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":163361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:10:50] local.INFO: GPS data processed {"connection_id":163361,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:10:50] local.INFO: Acknowledgment sent {"connection_id":163361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:10:54] local.INFO: TCP Data received {"connection_id":163361,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:10:54] local.INFO: Processing buffer {"connection_id":163361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a6bbf58012d34c14006aa4818000400e62c..."} 
[2026-08-26 01:10:54] local.INFO: Packet analysis {"connection_id":163361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a6b"} 
[2026-08-26 01:10:54] local.INFO: Extracted packet for processing {"connection_id":163361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a6b"} 
[2026-08-26 01:10:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647675904001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:10:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787686535000,"timestamp_ms":1787686535000,"timestamp_seconds":1787686535,"priority":1,"record_length":96,"hex_timestamp":"000001a03a6bbf58"} 
[2026-08-26 01: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-26 01:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 01:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 01: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-26 01: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-26 01:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647675904001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647675904001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:10:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647675904001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":163361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:10:54] local.INFO: GPS data processed {"connection_id":163361,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:10:54] local.INFO: Acknowledgment sent {"connection_id":163361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:11:41] local.INFO: TCP Data received {"connection_id":162366,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:11:41] local.INFO: Processing buffer {"connection_id":162366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:11:41] local.INFO: IMEI packet received {"connection_id":162366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":162366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:11:43] local.INFO: TCP Data received {"connection_id":162366,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:11:43] local.INFO: Processing buffer {"connection_id":162366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:11:43] local.INFO: IMEI packet received {"connection_id":162366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":162366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:11:44] local.INFO: TCP Data received {"connection_id":162366,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:11:44] local.INFO: Processing buffer {"connection_id":162366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:11:44] local.INFO: Packet analysis {"connection_id":162366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a70"} 
[2026-08-26 01:11:44] local.INFO: Extracted packet for processing {"connection_id":162366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a70"} 
[2026-08-26 01:11:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647752960001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:11:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787686836000,"timestamp_ms":1787686836000,"timestamp_seconds":1787686836,"priority":1,"record_length":96,"hex_timestamp":"000001a03a705720"} 
[2026-08-26 01: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-26 01:11: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-26 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:11: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-26 01: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-26 01: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-26 01:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647752960001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647752960001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:11:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647752960001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":162366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:11:44] local.INFO: GPS data processed {"connection_id":162366,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:11:44] local.INFO: Acknowledgment sent {"connection_id":162366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:11:49] local.INFO: TCP Data received {"connection_id":162366,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:11:49] local.INFO: Processing buffer {"connection_id":162366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:11:49] local.INFO: Packet analysis {"connection_id":162366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a70"} 
[2026-08-26 01:11:49] local.INFO: Extracted packet for processing {"connection_id":162366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a70"} 
[2026-08-26 01:11:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:11: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-26 01:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647752960001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:11:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787686836000,"timestamp_ms":1787686836000,"timestamp_seconds":1787686836,"priority":1,"record_length":96,"hex_timestamp":"000001a03a705720"} 
[2026-08-26 01:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01:11: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:11:49] 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-26 01:11: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-26 01:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647752960001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647752960001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:11:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647752960001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":162366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:11:49] local.INFO: GPS data processed {"connection_id":162366,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:11:49] local.INFO: Acknowledgment sent {"connection_id":162366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:12:21] local.INFO: TCP Data received {"connection_id":162366,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:12:21] local.INFO: Processing buffer {"connection_id":162366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:12:21] local.INFO: Packet analysis {"connection_id":162366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a70"} 
[2026-08-26 01:12:21] local.INFO: Extracted packet for processing {"connection_id":162366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a70"} 
[2026-08-26 01:12:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647752960001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:12:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787686836000,"timestamp_ms":1787686836000,"timestamp_seconds":1787686836,"priority":1,"record_length":96,"hex_timestamp":"000001a03a705720"} 
[2026-08-26 01: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-26 01:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:12:21] 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-26 01: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-26 01: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-26 01:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647752960001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647752960001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:12:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647752960001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":162366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:12:21] local.INFO: GPS data processed {"connection_id":162366,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:12:21] local.INFO: Acknowledgment sent {"connection_id":162366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:12:38] local.INFO: TCP Data received {"connection_id":164739,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:12:38] local.INFO: Processing buffer {"connection_id":164739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:12:38] local.INFO: IMEI packet received {"connection_id":164739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":164739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:12:43] local.INFO: TCP Data received {"connection_id":164739,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:12:43] local.INFO: Processing buffer {"connection_id":164739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:12:43] local.INFO: IMEI packet received {"connection_id":164739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":164739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:12:44] local.INFO: TCP Data received {"connection_id":164739,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:12:44] local.INFO: Processing buffer {"connection_id":164739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:12:44] local.INFO: Packet analysis {"connection_id":164739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a70"} 
[2026-08-26 01:12:44] local.INFO: Extracted packet for processing {"connection_id":164739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a70"} 
[2026-08-26 01:12:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647752960001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:12:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787686836000,"timestamp_ms":1787686836000,"timestamp_seconds":1787686836,"priority":1,"record_length":96,"hex_timestamp":"000001a03a705720"} 
[2026-08-26 01: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-26 01:12: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-26 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:12: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-26 01: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-26 01: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-26 01:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647752960001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647752960001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:12:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647752960001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":164739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:12:44] local.INFO: GPS data processed {"connection_id":164739,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:12:44] local.INFO: Acknowledgment sent {"connection_id":164739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:13:16] local.INFO: TCP Data received {"connection_id":164739,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:13:16] local.INFO: Processing buffer {"connection_id":164739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:13:16] local.INFO: Packet analysis {"connection_id":164739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a70"} 
[2026-08-26 01:13:16] local.INFO: Extracted packet for processing {"connection_id":164739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a70"} 
[2026-08-26 01:13:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647752960001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:13:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787686836000,"timestamp_ms":1787686836000,"timestamp_seconds":1787686836,"priority":1,"record_length":96,"hex_timestamp":"000001a03a705720"} 
[2026-08-26 01: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-26 01:13: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-26 01: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:13: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-26 01: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-26 01: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-26 01:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647752960001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647752960001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:13:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647752960001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":164739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:13:16] local.INFO: GPS data processed {"connection_id":164739,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:13:16] local.INFO: Acknowledgment sent {"connection_id":164739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:13:38] local.INFO: TCP Data received {"connection_id":163362,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:13:38] local.INFO: Processing buffer {"connection_id":163362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:13:38] local.INFO: IMEI packet received {"connection_id":163362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":163362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:13:44] local.INFO: TCP Data received {"connection_id":163362,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:13:44] local.INFO: Processing buffer {"connection_id":163362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:13:44] local.INFO: IMEI packet received {"connection_id":163362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":163362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:13:44] local.INFO: TCP Data received {"connection_id":163362,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:13:45] local.INFO: Processing buffer {"connection_id":163362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:13:45] local.INFO: Packet analysis {"connection_id":163362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a70"} 
[2026-08-26 01:13:45] local.INFO: Extracted packet for processing {"connection_id":163362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a70"} 
[2026-08-26 01:13:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647752960001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:13:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787686836000,"timestamp_ms":1787686836000,"timestamp_seconds":1787686836,"priority":1,"record_length":96,"hex_timestamp":"000001a03a705720"} 
[2026-08-26 01: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-26 01:13: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-26 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:13:45] 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-26 01: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-26 01: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-26 01:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647752960001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647752960001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:13:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647752960001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":163362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:13:45] local.INFO: GPS data processed {"connection_id":163362,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:13:45] local.INFO: Acknowledgment sent {"connection_id":163362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:14:16] local.INFO: TCP Data received {"connection_id":163362,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:14:16] local.INFO: Processing buffer {"connection_id":163362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:14:16] local.INFO: Packet analysis {"connection_id":163362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a70"} 
[2026-08-26 01:14:16] local.INFO: Extracted packet for processing {"connection_id":163362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a70"} 
[2026-08-26 01:14:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647752960001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:14:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787686836000,"timestamp_ms":1787686836000,"timestamp_seconds":1787686836,"priority":1,"record_length":96,"hex_timestamp":"000001a03a705720"} 
[2026-08-26 01: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-26 01:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:14: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-26 01: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-26 01: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-26 01:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647752960001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647752960001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:14:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647752960001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":163362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:14:16] local.INFO: GPS data processed {"connection_id":163362,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:14:16] local.INFO: Acknowledgment sent {"connection_id":163362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:14:38] local.INFO: TCP Data received {"connection_id":162367,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:14:38] local.INFO: Processing buffer {"connection_id":162367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:14:38] local.INFO: IMEI packet received {"connection_id":162367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":162367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:14:39] local.INFO: TCP Data received {"connection_id":162125,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:14:39] local.INFO: Processing buffer {"connection_id":162125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:14:39] local.INFO: IMEI packet received {"connection_id":162125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 01:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":162125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:14:43] local.INFO: TCP Data received {"connection_id":162367,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:14:43] local.INFO: Processing buffer {"connection_id":162367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:14:43] local.INFO: IMEI packet received {"connection_id":162367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":162367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:14:45] local.INFO: TCP Data received {"connection_id":162367,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:14:45] local.INFO: Processing buffer {"connection_id":162367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:14:45] local.INFO: Packet analysis {"connection_id":162367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a70"} 
[2026-08-26 01:14:45] local.INFO: Extracted packet for processing {"connection_id":162367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a70"} 
[2026-08-26 01:14:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647752960001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:14:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787686836000,"timestamp_ms":1787686836000,"timestamp_seconds":1787686836,"priority":1,"record_length":96,"hex_timestamp":"000001a03a705720"} 
[2026-08-26 01: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-26 01:14: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-26 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:14:45] 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-26 01: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-26 01: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-26 01:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647752960001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647752960001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:14:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647752960001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":162367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:14:45] local.INFO: GPS data processed {"connection_id":162367,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:14:45] local.INFO: Acknowledgment sent {"connection_id":162367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:15:16] local.INFO: TCP Data received {"connection_id":162367,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:15:16] local.INFO: Processing buffer {"connection_id":162367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:15:16] local.INFO: Packet analysis {"connection_id":162367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a70"} 
[2026-08-26 01:15:16] local.INFO: Extracted packet for processing {"connection_id":162367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a70"} 
[2026-08-26 01:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647752960001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:15:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787686836000,"timestamp_ms":1787686836000,"timestamp_seconds":1787686836,"priority":1,"record_length":96,"hex_timestamp":"000001a03a705720"} 
[2026-08-26 01:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01: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-26 01:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:15: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-26 01:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647752960001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647752960001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647752960001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":162367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:15:16] local.INFO: GPS data processed {"connection_id":162367,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:15:16] local.INFO: Acknowledgment sent {"connection_id":162367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:15:38] local.INFO: TCP Data received {"connection_id":162368,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:15:38] local.INFO: Processing buffer {"connection_id":162368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:15:38] local.INFO: IMEI packet received {"connection_id":162368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":162368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:15:44] local.INFO: TCP Data received {"connection_id":162368,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:15:44] local.INFO: Processing buffer {"connection_id":162368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:15:44] local.INFO: IMEI packet received {"connection_id":162368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":162368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:15:46] local.INFO: TCP Data received {"connection_id":162368,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:15:46] local.INFO: Processing buffer {"connection_id":162368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a705720012d34c14006aa4818000700e62b..."} 
[2026-08-26 01:15:46] local.INFO: Packet analysis {"connection_id":162368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a70"} 
[2026-08-26 01:15:46] local.INFO: Extracted packet for processing {"connection_id":162368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a70"} 
[2026-08-26 01:15:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647752960001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:15:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787686836000,"timestamp_ms":1787686836000,"timestamp_seconds":1787686836,"priority":1,"record_length":96,"hex_timestamp":"000001a03a705720"} 
[2026-08-26 01:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:15:46] 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-26 01:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647752960001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647752960001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:15:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647752960001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":162368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:15:46] local.INFO: GPS data processed {"connection_id":162368,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:15:46] local.INFO: Acknowledgment sent {"connection_id":162368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:16:17] local.INFO: TCP Data received {"connection_id":162368,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:16:17] local.INFO: Processing buffer {"connection_id":162368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:16:17] local.INFO: Packet analysis {"connection_id":162368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a74"} 
[2026-08-26 01:16:17] local.INFO: Extracted packet for processing {"connection_id":162368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a74"} 
[2026-08-26 01:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647830016001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:16:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787687137000,"timestamp_ms":1787687137000,"timestamp_seconds":1787687137,"priority":1,"record_length":96,"hex_timestamp":"000001a03a74eee8"} 
[2026-08-26 01:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:16: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-26 01:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647830016001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647830016001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647830016001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":162368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":698999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:16:17] local.INFO: GPS data processed {"connection_id":162368,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:16:17] local.INFO: Acknowledgment sent {"connection_id":162368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:16:43] local.INFO: TCP Data received {"connection_id":163363,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:16:43] local.INFO: Processing buffer {"connection_id":163363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:16:43] local.INFO: IMEI packet received {"connection_id":163363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":163363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:16:48] local.INFO: TCP Data received {"connection_id":163363,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:16:48] local.INFO: Processing buffer {"connection_id":163363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:16:48] local.INFO: IMEI packet received {"connection_id":163363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":163363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:16:50] local.INFO: TCP Data received {"connection_id":163363,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:16:50] local.INFO: Processing buffer {"connection_id":163363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:16:50] local.INFO: Packet analysis {"connection_id":163363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a74"} 
[2026-08-26 01:16:50] local.INFO: Extracted packet for processing {"connection_id":163363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a74"} 
[2026-08-26 01:16:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:16: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-26 01:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647830016001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:16:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787687137000,"timestamp_ms":1787687137000,"timestamp_seconds":1787687137,"priority":1,"record_length":96,"hex_timestamp":"000001a03a74eee8"} 
[2026-08-26 01:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01:16: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:16:50] 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-26 01:16: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-26 01:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647830016001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647830016001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:16:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647830016001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":163363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:16:50] local.INFO: GPS data processed {"connection_id":163363,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:16:50] local.INFO: Acknowledgment sent {"connection_id":163363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:17:21] local.INFO: TCP Data received {"connection_id":163363,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:17:21] local.INFO: Processing buffer {"connection_id":163363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:17:21] local.INFO: Packet analysis {"connection_id":163363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a74"} 
[2026-08-26 01:17:21] local.INFO: Extracted packet for processing {"connection_id":163363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a74"} 
[2026-08-26 01:17:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647830016001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:17:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787687137000,"timestamp_ms":1787687137000,"timestamp_seconds":1787687137,"priority":1,"record_length":96,"hex_timestamp":"000001a03a74eee8"} 
[2026-08-26 01: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-26 01:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:17:21] 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-26 01: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-26 01: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-26 01:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647830016001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647830016001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:17:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647830016001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":163363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:17:21] local.INFO: GPS data processed {"connection_id":163363,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:17:21] local.INFO: Acknowledgment sent {"connection_id":163363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:17:38] local.INFO: TCP Data received {"connection_id":162369,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:17:38] local.INFO: Processing buffer {"connection_id":162369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:17:38] local.INFO: IMEI packet received {"connection_id":162369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":162369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:17:44] local.INFO: TCP Data received {"connection_id":162369,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:17:44] local.INFO: Processing buffer {"connection_id":162369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:17:44] local.INFO: IMEI packet received {"connection_id":162369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":162369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:17:46] local.INFO: TCP Data received {"connection_id":162369,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:17:46] local.INFO: Processing buffer {"connection_id":162369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:17:46] local.INFO: Packet analysis {"connection_id":162369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a74"} 
[2026-08-26 01:17:46] local.INFO: Extracted packet for processing {"connection_id":162369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a74"} 
[2026-08-26 01:17:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647830016001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:17:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787687137000,"timestamp_ms":1787687137000,"timestamp_seconds":1787687137,"priority":1,"record_length":96,"hex_timestamp":"000001a03a74eee8"} 
[2026-08-26 01:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:17:46] 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-26 01:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647830016001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647830016001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:17:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647830016001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":162369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:17:46] local.INFO: GPS data processed {"connection_id":162369,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:17:46] local.INFO: Acknowledgment sent {"connection_id":162369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:18:17] local.INFO: TCP Data received {"connection_id":162369,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:18:17] local.INFO: Processing buffer {"connection_id":162369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:18:17] local.INFO: Packet analysis {"connection_id":162369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a74"} 
[2026-08-26 01:18:17] local.INFO: Extracted packet for processing {"connection_id":162369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a74"} 
[2026-08-26 01:18:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647830016001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:18:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787687137000,"timestamp_ms":1787687137000,"timestamp_seconds":1787687137,"priority":1,"record_length":96,"hex_timestamp":"000001a03a74eee8"} 
[2026-08-26 01: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-26 01:18: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-26 01:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:18: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-26 01: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-26 01: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-26 01:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647830016001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647830016001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:18:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647830016001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":162369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:18:17] local.INFO: GPS data processed {"connection_id":162369,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:18:17] local.INFO: Acknowledgment sent {"connection_id":162369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:18:38] local.INFO: TCP Data received {"connection_id":163364,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:18:38] local.INFO: Processing buffer {"connection_id":163364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:18:38] local.INFO: IMEI packet received {"connection_id":163364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":163364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:18:43] local.INFO: TCP Data received {"connection_id":163364,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:18:43] local.INFO: Processing buffer {"connection_id":163364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:18:43] local.INFO: IMEI packet received {"connection_id":163364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":163364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:18:44] local.INFO: TCP Data received {"connection_id":163364,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:18:44] local.INFO: Processing buffer {"connection_id":163364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:18:44] local.INFO: Packet analysis {"connection_id":163364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a74"} 
[2026-08-26 01:18:44] local.INFO: Extracted packet for processing {"connection_id":163364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a74"} 
[2026-08-26 01:18:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647830016001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:18:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787687137000,"timestamp_ms":1787687137000,"timestamp_seconds":1787687137,"priority":1,"record_length":96,"hex_timestamp":"000001a03a74eee8"} 
[2026-08-26 01: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-26 01:18: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-26 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:18:44] 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-26 01: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-26 01: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-26 01:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647830016001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647830016001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:18:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647830016001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":163364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:18:44] local.INFO: GPS data processed {"connection_id":163364,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:18:44] local.INFO: Acknowledgment sent {"connection_id":163364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:19:15] local.INFO: TCP Data received {"connection_id":163364,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:19:15] local.INFO: Processing buffer {"connection_id":163364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:19:15] local.INFO: Packet analysis {"connection_id":163364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a74"} 
[2026-08-26 01:19:15] local.INFO: Extracted packet for processing {"connection_id":163364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a74"} 
[2026-08-26 01:19:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647830016001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:19:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787687137000,"timestamp_ms":1787687137000,"timestamp_seconds":1787687137,"priority":1,"record_length":96,"hex_timestamp":"000001a03a74eee8"} 
[2026-08-26 01:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:19: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-26 01:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:19: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-26 01:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647830016001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647830016001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:19:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647830016001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":163364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:19:15] local.INFO: GPS data processed {"connection_id":163364,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:19:15] local.INFO: Acknowledgment sent {"connection_id":163364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:19:38] local.INFO: TCP Data received {"connection_id":162126,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:19:38] local.INFO: Processing buffer {"connection_id":162126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:19:38] local.INFO: IMEI packet received {"connection_id":162126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":162126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:19:43] local.INFO: TCP Data received {"connection_id":162126,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:19:43] local.INFO: Processing buffer {"connection_id":162126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:19:43] local.INFO: IMEI packet received {"connection_id":162126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":162126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:19:44] local.INFO: TCP Data received {"connection_id":162126,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:19:44] local.INFO: Processing buffer {"connection_id":162126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:19:44] local.INFO: Packet analysis {"connection_id":162126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a74"} 
[2026-08-26 01:19:44] local.INFO: Extracted packet for processing {"connection_id":162126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a74"} 
[2026-08-26 01:19:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647830016001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:19:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787687137000,"timestamp_ms":1787687137000,"timestamp_seconds":1787687137,"priority":1,"record_length":96,"hex_timestamp":"000001a03a74eee8"} 
[2026-08-26 01: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-26 01:19: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-26 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:19:44] 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-26 01: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-26 01: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-26 01:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647830016001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647830016001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:19:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647830016001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":162126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:19:44] local.INFO: GPS data processed {"connection_id":162126,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:19:44] local.INFO: Acknowledgment sent {"connection_id":162126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:19:58] local.INFO: TCP Data received {"connection_id":164740,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164740,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:19:58] local.INFO: Processing buffer {"connection_id":164740,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:19:58] local.INFO: IMEI packet received {"connection_id":164740,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 01:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":164740,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:20:16] local.INFO: TCP Data received {"connection_id":162126,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:20:16] local.INFO: Processing buffer {"connection_id":162126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:20:16] local.INFO: Packet analysis {"connection_id":162126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a74"} 
[2026-08-26 01:20:16] local.INFO: Extracted packet for processing {"connection_id":162126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a74"} 
[2026-08-26 01:20:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647830016001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:20:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787687137000,"timestamp_ms":1787687137000,"timestamp_seconds":1787687137,"priority":1,"record_length":96,"hex_timestamp":"000001a03a74eee8"} 
[2026-08-26 01:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:20: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-26 01:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:20:16] 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-26 01:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647830016001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647830016001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:20:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647830016001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":162126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:20:16] local.INFO: GPS data processed {"connection_id":162126,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:20:16] local.INFO: Acknowledgment sent {"connection_id":162126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:20:38] local.INFO: TCP Data received {"connection_id":162370,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:20:38] local.INFO: Processing buffer {"connection_id":162370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:20:38] local.INFO: IMEI packet received {"connection_id":162370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":162370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:20:43] local.INFO: TCP Data received {"connection_id":162370,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:20:43] local.INFO: Processing buffer {"connection_id":162370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:20:43] local.INFO: IMEI packet received {"connection_id":162370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":162370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:20:44] local.INFO: TCP Data received {"connection_id":162370,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:20:44] local.INFO: Processing buffer {"connection_id":162370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:20:44] local.INFO: Packet analysis {"connection_id":162370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a74"} 
[2026-08-26 01:20:44] local.INFO: Extracted packet for processing {"connection_id":162370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a74"} 
[2026-08-26 01:20:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647830016001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:20:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787687137000,"timestamp_ms":1787687137000,"timestamp_seconds":1787687137,"priority":1,"record_length":96,"hex_timestamp":"000001a03a74eee8"} 
[2026-08-26 01:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:20: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-26 01:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:20:44] 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-26 01:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647830016001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647830016001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:20:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647830016001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":162370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:20:44] local.INFO: GPS data processed {"connection_id":162370,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:20:44] local.INFO: Acknowledgment sent {"connection_id":162370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:21:16] local.INFO: TCP Data received {"connection_id":162370,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:21:16] local.INFO: Processing buffer {"connection_id":162370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a74eee8012d34c14006aa4818000500e62e..."} 
[2026-08-26 01:21:16] local.INFO: Packet analysis {"connection_id":162370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a74"} 
[2026-08-26 01:21:16] local.INFO: Extracted packet for processing {"connection_id":162370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a74"} 
[2026-08-26 01:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647830016001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:21:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787687137000,"timestamp_ms":1787687137000,"timestamp_seconds":1787687137,"priority":1,"record_length":96,"hex_timestamp":"000001a03a74eee8"} 
[2026-08-26 01: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-26 01:21: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-26 01: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:21:16] 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-26 01: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-26 01: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-26 01:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647830016001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647830016001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647830016001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":162370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:21:16] local.INFO: GPS data processed {"connection_id":162370,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:21:16] local.INFO: Acknowledgment sent {"connection_id":162370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:21:44] local.INFO: TCP Data received {"connection_id":162127,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:21:44] local.INFO: Processing buffer {"connection_id":162127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:21:44] local.INFO: IMEI packet received {"connection_id":162127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":162127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:21:48] local.INFO: TCP Data received {"connection_id":162127,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:21:48] local.INFO: Processing buffer {"connection_id":162127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:21:48] local.INFO: IMEI packet received {"connection_id":162127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":162127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:21:50] local.INFO: TCP Data received {"connection_id":162127,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:21:50] local.INFO: Processing buffer {"connection_id":162127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:21:50] local.INFO: Packet analysis {"connection_id":162127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a79"} 
[2026-08-26 01:21:50] local.INFO: Extracted packet for processing {"connection_id":162127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a79"} 
[2026-08-26 01:21:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647907072001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:21:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787687438000,"timestamp_ms":1787687438000,"timestamp_seconds":1787687438,"priority":1,"record_length":96,"hex_timestamp":"000001a03a7986b0"} 
[2026-08-26 01:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:21:50] 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-26 01:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647907072001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647907072001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:21:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647907072001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":162127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:21:50] local.INFO: GPS data processed {"connection_id":162127,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:21:50] local.INFO: Acknowledgment sent {"connection_id":162127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:22:21] local.INFO: TCP Data received {"connection_id":162127,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:22:21] local.INFO: Processing buffer {"connection_id":162127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:22:21] local.INFO: Packet analysis {"connection_id":162127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a79"} 
[2026-08-26 01:22:21] local.INFO: Extracted packet for processing {"connection_id":162127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a79"} 
[2026-08-26 01:22:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647907072001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:22:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787687438000,"timestamp_ms":1787687438000,"timestamp_seconds":1787687438,"priority":1,"record_length":96,"hex_timestamp":"000001a03a7986b0"} 
[2026-08-26 01: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-26 01:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:22:21] 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-26 01: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-26 01: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-26 01:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647907072001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647907072001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:22:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647907072001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":162127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:22:21] local.INFO: GPS data processed {"connection_id":162127,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:22:21] local.INFO: Acknowledgment sent {"connection_id":162127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:22:38] local.INFO: TCP Data received {"connection_id":164741,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:22:38] local.INFO: Processing buffer {"connection_id":164741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:22:38] local.INFO: IMEI packet received {"connection_id":164741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":164741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:22:43] local.INFO: TCP Data received {"connection_id":164741,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:22:43] local.INFO: Processing buffer {"connection_id":164741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:22:43] local.INFO: IMEI packet received {"connection_id":164741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":164741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:22:44] local.INFO: TCP Data received {"connection_id":164741,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:22:44] local.INFO: Processing buffer {"connection_id":164741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:22:44] local.INFO: Packet analysis {"connection_id":164741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a79"} 
[2026-08-26 01:22:44] local.INFO: Extracted packet for processing {"connection_id":164741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a79"} 
[2026-08-26 01:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647907072001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:22:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787687438000,"timestamp_ms":1787687438000,"timestamp_seconds":1787687438,"priority":1,"record_length":96,"hex_timestamp":"000001a03a7986b0"} 
[2026-08-26 01: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-26 01:22: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-26 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:22: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-26 01: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-26 01: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-26 01:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647907072001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647907072001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647907072001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":164741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:22:44] local.INFO: GPS data processed {"connection_id":164741,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:22:44] local.INFO: Acknowledgment sent {"connection_id":164741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:23:15] local.INFO: TCP Data received {"connection_id":164741,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:23:15] local.INFO: Processing buffer {"connection_id":164741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:23:15] local.INFO: Packet analysis {"connection_id":164741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a79"} 
[2026-08-26 01:23:15] local.INFO: Extracted packet for processing {"connection_id":164741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a79"} 
[2026-08-26 01:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647907072001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:23:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787687438000,"timestamp_ms":1787687438000,"timestamp_seconds":1787687438,"priority":1,"record_length":96,"hex_timestamp":"000001a03a7986b0"} 
[2026-08-26 01: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-26 01:23: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-26 01: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:23: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-26 01: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-26 01: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-26 01:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647907072001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647907072001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647907072001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":164741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:23:16] local.INFO: GPS data processed {"connection_id":164741,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:23:16] local.INFO: Acknowledgment sent {"connection_id":164741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:23:38] local.INFO: TCP Data received {"connection_id":162372,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:23:38] local.INFO: Processing buffer {"connection_id":162372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:23:38] local.INFO: IMEI packet received {"connection_id":162372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":162372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:23:46] local.INFO: TCP Data received {"connection_id":162372,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:23:46] local.INFO: Processing buffer {"connection_id":162372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:23:46] local.INFO: IMEI packet received {"connection_id":162372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":162372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:23:47] local.INFO: TCP Data received {"connection_id":162372,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:23:47] local.INFO: Processing buffer {"connection_id":162372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:23:47] local.INFO: Packet analysis {"connection_id":162372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a79"} 
[2026-08-26 01:23:47] local.INFO: Extracted packet for processing {"connection_id":162372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a79"} 
[2026-08-26 01:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647907072001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:23:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787687438000,"timestamp_ms":1787687438000,"timestamp_seconds":1787687438,"priority":1,"record_length":96,"hex_timestamp":"000001a03a7986b0"} 
[2026-08-26 01: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-26 01:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:23:47] 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-26 01: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-26 01: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-26 01:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647907072001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647907072001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:23:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647907072001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":162372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:23:47] local.INFO: GPS data processed {"connection_id":162372,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:23:47] local.INFO: Acknowledgment sent {"connection_id":162372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:24:19] local.INFO: TCP Data received {"connection_id":162372,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:24:19] local.INFO: Processing buffer {"connection_id":162372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:24:19] local.INFO: Packet analysis {"connection_id":162372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a79"} 
[2026-08-26 01:24:19] local.INFO: Extracted packet for processing {"connection_id":162372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a79"} 
[2026-08-26 01:24:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647907072001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:24:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787687438000,"timestamp_ms":1787687438000,"timestamp_seconds":1787687438,"priority":1,"record_length":96,"hex_timestamp":"000001a03a7986b0"} 
[2026-08-26 01: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-26 01:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:24:19] 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-26 01: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-26 01: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-26 01:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647907072001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647907072001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:24:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647907072001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":162372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:24:19] local.INFO: GPS data processed {"connection_id":162372,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:24:19] local.INFO: Acknowledgment sent {"connection_id":162372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:24:38] local.INFO: TCP Data received {"connection_id":164742,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:24:38] local.INFO: Processing buffer {"connection_id":164742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:24:38] local.INFO: IMEI packet received {"connection_id":164742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":164742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:24:43] local.INFO: TCP Data received {"connection_id":164742,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:24:43] local.INFO: Processing buffer {"connection_id":164742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:24:43] local.INFO: IMEI packet received {"connection_id":164742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":164742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:24:44] local.INFO: TCP Data received {"connection_id":164742,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:24:44] local.INFO: Processing buffer {"connection_id":164742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:24:44] local.INFO: Packet analysis {"connection_id":164742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a79"} 
[2026-08-26 01:24:44] local.INFO: Extracted packet for processing {"connection_id":164742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a79"} 
[2026-08-26 01:24:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647907072001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:24:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787687438000,"timestamp_ms":1787687438000,"timestamp_seconds":1787687438,"priority":1,"record_length":96,"hex_timestamp":"000001a03a7986b0"} 
[2026-08-26 01:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:24: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-26 01:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:24: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-26 01:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647907072001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647907072001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:24:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647907072001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":164742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:24:44] local.INFO: GPS data processed {"connection_id":164742,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:24:44] local.INFO: Acknowledgment sent {"connection_id":164742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:25:15] local.INFO: TCP Data received {"connection_id":164742,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:25:15] local.INFO: Processing buffer {"connection_id":164742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:25:15] local.INFO: Packet analysis {"connection_id":164742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a79"} 
[2026-08-26 01:25:15] local.INFO: Extracted packet for processing {"connection_id":164742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a79"} 
[2026-08-26 01:25:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647907072001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:25:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787687438000,"timestamp_ms":1787687438000,"timestamp_seconds":1787687438,"priority":1,"record_length":96,"hex_timestamp":"000001a03a7986b0"} 
[2026-08-26 01: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-26 01: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-26 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:25: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-26 01: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-26 01: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-26 01:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647907072001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647907072001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:25:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647907072001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":164742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:25:15] local.INFO: GPS data processed {"connection_id":164742,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:25:15] local.INFO: Acknowledgment sent {"connection_id":164742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:25:32] local.INFO: TCP Data received {"connection_id":162371,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:25:32] local.INFO: Processing buffer {"connection_id":162371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:25:32] local.INFO: IMEI packet received {"connection_id":162371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 01:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":162371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:25:43] local.INFO: TCP Data received {"connection_id":162128,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:25:43] local.INFO: Processing buffer {"connection_id":162128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:25:43] local.INFO: IMEI packet received {"connection_id":162128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":162128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:25:48] local.INFO: TCP Data received {"connection_id":162128,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:25:48] local.INFO: Processing buffer {"connection_id":162128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:25:48] local.INFO: IMEI packet received {"connection_id":162128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":162128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:25:50] local.INFO: TCP Data received {"connection_id":162128,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:25:50] local.INFO: Processing buffer {"connection_id":162128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:25:50] local.INFO: Packet analysis {"connection_id":162128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a79"} 
[2026-08-26 01:25:50] local.INFO: Extracted packet for processing {"connection_id":162128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a79"} 
[2026-08-26 01:25:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:25: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-26 01:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647907072001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:25:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787687438000,"timestamp_ms":1787687438000,"timestamp_seconds":1787687438,"priority":1,"record_length":96,"hex_timestamp":"000001a03a7986b0"} 
[2026-08-26 01:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01:25: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:25:50] 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-26 01:25: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-26 01:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647907072001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647907072001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:25:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647907072001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":162128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:25:50] local.INFO: GPS data processed {"connection_id":162128,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:25:50] local.INFO: Acknowledgment sent {"connection_id":162128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:25:54] local.INFO: TCP Data received {"connection_id":162128,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:25:54] local.INFO: Processing buffer {"connection_id":162128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a7986b0012d34c14006aa4818000500e62d..."} 
[2026-08-26 01:25:54] local.INFO: Packet analysis {"connection_id":162128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a79"} 
[2026-08-26 01:25:54] local.INFO: Extracted packet for processing {"connection_id":162128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a79"} 
[2026-08-26 01:25:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647907072001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:25:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787687438000,"timestamp_ms":1787687438000,"timestamp_seconds":1787687438,"priority":1,"record_length":96,"hex_timestamp":"000001a03a7986b0"} 
[2026-08-26 01:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 01:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647907072001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647907072001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:25:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647907072001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":162128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:25:54] local.INFO: GPS data processed {"connection_id":162128,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:25:54] local.INFO: Acknowledgment sent {"connection_id":162128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:26:43] local.INFO: TCP Data received {"connection_id":162373,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:26:43] local.INFO: Processing buffer {"connection_id":162373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:26:43] local.INFO: IMEI packet received {"connection_id":162373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":162373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:26:48] local.INFO: TCP Data received {"connection_id":162373,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:26:48] local.INFO: Processing buffer {"connection_id":162373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:26:48] local.INFO: IMEI packet received {"connection_id":162373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":162373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:26:50] local.INFO: TCP Data received {"connection_id":162373,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:26:50] local.INFO: Processing buffer {"connection_id":162373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:26:50] local.INFO: Packet analysis {"connection_id":162373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a7e"} 
[2026-08-26 01:26:50] local.INFO: Extracted packet for processing {"connection_id":162373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a7e"} 
[2026-08-26 01:26:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:26: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-26 01:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647984128001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:26:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787687739000,"timestamp_ms":1787687739000,"timestamp_seconds":1787687739,"priority":1,"record_length":96,"hex_timestamp":"000001a03a7e1e78"} 
[2026-08-26 01:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01:26: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:26:50] 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-26 01:26: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-26 01:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647984128001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647984128001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:26:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647984128001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":162373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:26:50] local.INFO: GPS data processed {"connection_id":162373,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:26:50] local.INFO: Acknowledgment sent {"connection_id":162373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:27:21] local.INFO: TCP Data received {"connection_id":162373,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:27:21] local.INFO: Processing buffer {"connection_id":162373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:27:21] local.INFO: Packet analysis {"connection_id":162373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a7e"} 
[2026-08-26 01:27:21] local.INFO: Extracted packet for processing {"connection_id":162373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a7e"} 
[2026-08-26 01:27:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647984128001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:27:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787687739000,"timestamp_ms":1787687739000,"timestamp_seconds":1787687739,"priority":1,"record_length":96,"hex_timestamp":"000001a03a7e1e78"} 
[2026-08-26 01:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:27:21] 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-26 01:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647984128001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647984128001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:27:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647984128001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":162373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:27:21] local.INFO: GPS data processed {"connection_id":162373,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:27:21] local.INFO: Acknowledgment sent {"connection_id":162373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:27:38] local.INFO: TCP Data received {"connection_id":162129,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:27:38] local.INFO: Processing buffer {"connection_id":162129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:27:38] local.INFO: IMEI packet received {"connection_id":162129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":162129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:27:48] local.INFO: TCP Data received {"connection_id":162129,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:27:48] local.INFO: Processing buffer {"connection_id":162129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:27:48] local.INFO: IMEI packet received {"connection_id":162129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":162129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:27:48] local.INFO: TCP Data received {"connection_id":162129,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:27:48] local.INFO: Processing buffer {"connection_id":162129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:27:48] local.INFO: Packet analysis {"connection_id":162129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a7e"} 
[2026-08-26 01:27:48] local.INFO: Extracted packet for processing {"connection_id":162129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a7e"} 
[2026-08-26 01:27:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647984128001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:27:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787687739000,"timestamp_ms":1787687739000,"timestamp_seconds":1787687739,"priority":1,"record_length":96,"hex_timestamp":"000001a03a7e1e78"} 
[2026-08-26 01: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-26 01:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:27:48] 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-26 01: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-26 01: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-26 01:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647984128001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647984128001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:27:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647984128001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":162129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:27:48] local.INFO: GPS data processed {"connection_id":162129,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:27:48] local.INFO: Acknowledgment sent {"connection_id":162129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:28:20] local.INFO: TCP Data received {"connection_id":162129,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:28:20] local.INFO: Processing buffer {"connection_id":162129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:28:20] local.INFO: Packet analysis {"connection_id":162129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a7e"} 
[2026-08-26 01:28:20] local.INFO: Extracted packet for processing {"connection_id":162129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a7e"} 
[2026-08-26 01:28:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647984128001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:28:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787687739000,"timestamp_ms":1787687739000,"timestamp_seconds":1787687739,"priority":1,"record_length":96,"hex_timestamp":"000001a03a7e1e78"} 
[2026-08-26 01: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-26 01:28: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-26 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:28:20] 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-26 01: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-26 01: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-26 01:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647984128001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647984128001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:28:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647984128001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":162129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:28:20] local.INFO: GPS data processed {"connection_id":162129,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:28:20] local.INFO: Acknowledgment sent {"connection_id":162129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:28:38] local.INFO: TCP Data received {"connection_id":162130,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:28:38] local.INFO: Processing buffer {"connection_id":162130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:28:38] local.INFO: IMEI packet received {"connection_id":162130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":162130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:28:43] local.INFO: TCP Data received {"connection_id":162130,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:28:43] local.INFO: Processing buffer {"connection_id":162130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:28:43] local.INFO: IMEI packet received {"connection_id":162130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":162130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:28:45] local.INFO: TCP Data received {"connection_id":162130,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:28:45] local.INFO: Processing buffer {"connection_id":162130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:28:45] local.INFO: Packet analysis {"connection_id":162130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a7e"} 
[2026-08-26 01:28:45] local.INFO: Extracted packet for processing {"connection_id":162130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a7e"} 
[2026-08-26 01:28:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:28: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-26 01:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647984128001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:28:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787687739000,"timestamp_ms":1787687739000,"timestamp_seconds":1787687739,"priority":1,"record_length":96,"hex_timestamp":"000001a03a7e1e78"} 
[2026-08-26 01:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:28: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-26 01:28: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:28:45] 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-26 01:28: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-26 01:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647984128001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647984128001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:28:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647984128001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":162130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:28:45] local.INFO: GPS data processed {"connection_id":162130,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:28:45] local.INFO: Acknowledgment sent {"connection_id":162130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:29:16] local.INFO: TCP Data received {"connection_id":162130,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:29:16] local.INFO: Processing buffer {"connection_id":162130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:29:16] local.INFO: Packet analysis {"connection_id":162130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a7e"} 
[2026-08-26 01:29:16] local.INFO: Extracted packet for processing {"connection_id":162130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a7e"} 
[2026-08-26 01:29:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647984128001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:29:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787687739000,"timestamp_ms":1787687739000,"timestamp_seconds":1787687739,"priority":1,"record_length":96,"hex_timestamp":"000001a03a7e1e78"} 
[2026-08-26 01:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:29:16] 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-26 01:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647984128001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647984128001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:29:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647984128001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":162130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:29:16] local.INFO: GPS data processed {"connection_id":162130,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:29:16] local.INFO: Acknowledgment sent {"connection_id":162130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:29:38] local.INFO: TCP Data received {"connection_id":162374,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:29:38] local.INFO: Processing buffer {"connection_id":162374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:29:38] local.INFO: IMEI packet received {"connection_id":162374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":162374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:29:43] local.INFO: TCP Data received {"connection_id":162374,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:29:43] local.INFO: Processing buffer {"connection_id":162374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:29:43] local.INFO: IMEI packet received {"connection_id":162374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":162374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:29:44] local.INFO: TCP Data received {"connection_id":162374,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:29:44] local.INFO: Processing buffer {"connection_id":162374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:29:44] local.INFO: Packet analysis {"connection_id":162374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a7e"} 
[2026-08-26 01:29:44] local.INFO: Extracted packet for processing {"connection_id":162374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a7e"} 
[2026-08-26 01:29:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647984128001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:29:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787687739000,"timestamp_ms":1787687739000,"timestamp_seconds":1787687739,"priority":1,"record_length":96,"hex_timestamp":"000001a03a7e1e78"} 
[2026-08-26 01: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-26 01:29: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-26 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:29:44] 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-26 01: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-26 01: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-26 01:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647984128001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647984128001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:29:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647984128001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":162374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:29:44] local.INFO: GPS data processed {"connection_id":162374,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:29:44] local.INFO: Acknowledgment sent {"connection_id":162374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:30:15] local.INFO: TCP Data received {"connection_id":162374,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:30:15] local.INFO: Processing buffer {"connection_id":162374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:30:15] local.INFO: Packet analysis {"connection_id":162374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a7e"} 
[2026-08-26 01:30:15] local.INFO: Extracted packet for processing {"connection_id":162374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a7e"} 
[2026-08-26 01:30:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647984128001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:30:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787687739000,"timestamp_ms":1787687739000,"timestamp_seconds":1787687739,"priority":1,"record_length":96,"hex_timestamp":"000001a03a7e1e78"} 
[2026-08-26 01: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-26 01: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-26 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:30: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-26 01: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-26 01: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-26 01:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647984128001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647984128001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:30:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647984128001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":162374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:30:16] local.INFO: GPS data processed {"connection_id":162374,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:30:16] local.INFO: Acknowledgment sent {"connection_id":162374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:30:38] local.INFO: TCP Data received {"connection_id":162131,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:30:38] local.INFO: Processing buffer {"connection_id":162131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:30:38] local.INFO: IMEI packet received {"connection_id":162131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":162131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:30:43] local.INFO: TCP Data received {"connection_id":162131,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:30:43] local.INFO: Processing buffer {"connection_id":162131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:30:43] local.INFO: IMEI packet received {"connection_id":162131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":162131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:30:44] local.INFO: TCP Data received {"connection_id":162131,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:30:44] local.INFO: Processing buffer {"connection_id":162131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:30:44] local.INFO: Packet analysis {"connection_id":162131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a7e"} 
[2026-08-26 01:30:44] local.INFO: Extracted packet for processing {"connection_id":162131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a7e"} 
[2026-08-26 01:30:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647984128001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:30:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787687739000,"timestamp_ms":1787687739000,"timestamp_seconds":1787687739,"priority":1,"record_length":96,"hex_timestamp":"000001a03a7e1e78"} 
[2026-08-26 01:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:30: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-26 01:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:30:44] 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-26 01:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647984128001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647984128001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:30:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647984128001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":162131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:30:44] local.INFO: GPS data processed {"connection_id":162131,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:30:44] local.INFO: Acknowledgment sent {"connection_id":162131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:31:04] local.INFO: TCP Data received {"connection_id":164743,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:31:04] local.INFO: Processing buffer {"connection_id":164743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:31:04] local.INFO: IMEI packet received {"connection_id":164743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 01:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":164743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:31:16] local.INFO: TCP Data received {"connection_id":162131,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:31:16] local.INFO: Processing buffer {"connection_id":162131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a7e1e78012d34c14006aa4818000700e62c..."} 
[2026-08-26 01:31:16] local.INFO: Packet analysis {"connection_id":162131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a7e"} 
[2026-08-26 01:31:16] local.INFO: Extracted packet for processing {"connection_id":162131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a7e"} 
[2026-08-26 01:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457647984128001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:31:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787687739000,"timestamp_ms":1787687739000,"timestamp_seconds":1787687739,"priority":1,"record_length":96,"hex_timestamp":"000001a03a7e1e78"} 
[2026-08-26 01:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:31: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-26 01:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:31:16] 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-26 01:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457647984128001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457647984128001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457647984128001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":162131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:31:16] local.INFO: GPS data processed {"connection_id":162131,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:31:16] local.INFO: Acknowledgment sent {"connection_id":162131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:31:44] local.INFO: TCP Data received {"connection_id":162132,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:31:44] local.INFO: Processing buffer {"connection_id":162132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:31:44] local.INFO: IMEI packet received {"connection_id":162132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":162132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:31:48] local.INFO: TCP Data received {"connection_id":162132,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:31:48] local.INFO: Processing buffer {"connection_id":162132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:31:48] local.INFO: IMEI packet received {"connection_id":162132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":162132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:31:49] local.INFO: TCP Data received {"connection_id":162132,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:31:49] local.INFO: Processing buffer {"connection_id":162132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:31:49] local.INFO: Packet analysis {"connection_id":162132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a82"} 
[2026-08-26 01:31:49] local.INFO: Extracted packet for processing {"connection_id":162132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a82"} 
[2026-08-26 01:31:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648061184001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:31:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787688040000,"timestamp_ms":1787688040000,"timestamp_seconds":1787688040,"priority":1,"record_length":96,"hex_timestamp":"000001a03a82b640"} 
[2026-08-26 01: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-26 01:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:31:49] 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-26 01:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01: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-26 01:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648061184001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648061184001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:31:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648061184001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":162132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:31:49] local.INFO: GPS data processed {"connection_id":162132,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:31:49] local.INFO: Acknowledgment sent {"connection_id":162132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:32:21] local.INFO: TCP Data received {"connection_id":162132,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:32:21] local.INFO: Processing buffer {"connection_id":162132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:32:21] local.INFO: Packet analysis {"connection_id":162132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a82"} 
[2026-08-26 01:32:21] local.INFO: Extracted packet for processing {"connection_id":162132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a82"} 
[2026-08-26 01:32:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648061184001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:32:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787688040000,"timestamp_ms":1787688040000,"timestamp_seconds":1787688040,"priority":1,"record_length":96,"hex_timestamp":"000001a03a82b640"} 
[2026-08-26 01: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-26 01:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:32:21] 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-26 01:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01: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-26 01:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648061184001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648061184001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:32:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648061184001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":162132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:32:21] local.INFO: GPS data processed {"connection_id":162132,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:32:21] local.INFO: Acknowledgment sent {"connection_id":162132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:32:38] local.INFO: TCP Data received {"connection_id":162375,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:32:38] local.INFO: Processing buffer {"connection_id":162375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:32:38] local.INFO: IMEI packet received {"connection_id":162375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":162375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:32:43] local.INFO: TCP Data received {"connection_id":162375,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:32:43] local.INFO: Processing buffer {"connection_id":162375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:32:43] local.INFO: IMEI packet received {"connection_id":162375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":162375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:32:44] local.INFO: TCP Data received {"connection_id":162375,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:32:44] local.INFO: Processing buffer {"connection_id":162375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:32:44] local.INFO: Packet analysis {"connection_id":162375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a82"} 
[2026-08-26 01:32:44] local.INFO: Extracted packet for processing {"connection_id":162375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a82"} 
[2026-08-26 01:32:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648061184001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:32:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787688040000,"timestamp_ms":1787688040000,"timestamp_seconds":1787688040,"priority":1,"record_length":96,"hex_timestamp":"000001a03a82b640"} 
[2026-08-26 01: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-26 01:32: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-26 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:32: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-26 01: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-26 01: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-26 01:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648061184001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648061184001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:32:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648061184001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":162375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:32:44] local.INFO: GPS data processed {"connection_id":162375,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:32:44] local.INFO: Acknowledgment sent {"connection_id":162375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:33:16] local.INFO: TCP Data received {"connection_id":162375,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:33:16] local.INFO: Processing buffer {"connection_id":162375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:33:16] local.INFO: Packet analysis {"connection_id":162375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a82"} 
[2026-08-26 01:33:16] local.INFO: Extracted packet for processing {"connection_id":162375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a82"} 
[2026-08-26 01:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648061184001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:33:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787688040000,"timestamp_ms":1787688040000,"timestamp_seconds":1787688040,"priority":1,"record_length":96,"hex_timestamp":"000001a03a82b640"} 
[2026-08-26 01: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-26 01:33: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-26 01: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:33: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-26 01: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-26 01: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-26 01:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648061184001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648061184001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648061184001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":162375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:33:16] local.INFO: GPS data processed {"connection_id":162375,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:33:16] local.INFO: Acknowledgment sent {"connection_id":162375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:33:38] local.INFO: TCP Data received {"connection_id":162376,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:33:38] local.INFO: Processing buffer {"connection_id":162376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:33:38] local.INFO: IMEI packet received {"connection_id":162376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":162376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:33:43] local.INFO: TCP Data received {"connection_id":162376,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:33:43] local.INFO: Processing buffer {"connection_id":162376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:33:43] local.INFO: IMEI packet received {"connection_id":162376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":162376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:33:44] local.INFO: TCP Data received {"connection_id":162376,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:33:44] local.INFO: Processing buffer {"connection_id":162376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:33:44] local.INFO: Packet analysis {"connection_id":162376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a82"} 
[2026-08-26 01:33:44] local.INFO: Extracted packet for processing {"connection_id":162376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a82"} 
[2026-08-26 01:33:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648061184001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:33:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787688040000,"timestamp_ms":1787688040000,"timestamp_seconds":1787688040,"priority":1,"record_length":96,"hex_timestamp":"000001a03a82b640"} 
[2026-08-26 01: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-26 01:33: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-26 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:33: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-26 01: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-26 01: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-26 01:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648061184001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648061184001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:33:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648061184001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":162376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:33:44] local.INFO: GPS data processed {"connection_id":162376,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:33:44] local.INFO: Acknowledgment sent {"connection_id":162376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:34:16] local.INFO: TCP Data received {"connection_id":162376,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:34:16] local.INFO: Processing buffer {"connection_id":162376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:34:16] local.INFO: Packet analysis {"connection_id":162376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a82"} 
[2026-08-26 01:34:16] local.INFO: Extracted packet for processing {"connection_id":162376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a82"} 
[2026-08-26 01:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648061184001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:34:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787688040000,"timestamp_ms":1787688040000,"timestamp_seconds":1787688040,"priority":1,"record_length":96,"hex_timestamp":"000001a03a82b640"} 
[2026-08-26 01:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:34: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-26 01:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:34: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-26 01:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648061184001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648061184001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:34:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648061184001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":162376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:34:16] local.INFO: GPS data processed {"connection_id":162376,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:34:16] local.INFO: Acknowledgment sent {"connection_id":162376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:34:38] local.INFO: TCP Data received {"connection_id":162133,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:34:38] local.INFO: Processing buffer {"connection_id":162133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:34:38] local.INFO: IMEI packet received {"connection_id":162133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":162133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:34:43] local.INFO: TCP Data received {"connection_id":162133,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:34:43] local.INFO: Processing buffer {"connection_id":162133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:34:43] local.INFO: IMEI packet received {"connection_id":162133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":162133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:34:44] local.INFO: TCP Data received {"connection_id":162133,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:34:44] local.INFO: Processing buffer {"connection_id":162133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:34:44] local.INFO: Packet analysis {"connection_id":162133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a82"} 
[2026-08-26 01:34:44] local.INFO: Extracted packet for processing {"connection_id":162133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a82"} 
[2026-08-26 01:34:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648061184001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:34:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787688040000,"timestamp_ms":1787688040000,"timestamp_seconds":1787688040,"priority":1,"record_length":96,"hex_timestamp":"000001a03a82b640"} 
[2026-08-26 01: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-26 01:34: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-26 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:34: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-26 01: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-26 01: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-26 01:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648061184001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648061184001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:34:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648061184001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":162133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:34:44] local.INFO: GPS data processed {"connection_id":162133,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:34:44] local.INFO: Acknowledgment sent {"connection_id":162133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:35:16] local.INFO: TCP Data received {"connection_id":162133,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:35:16] local.INFO: Processing buffer {"connection_id":162133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:35:16] local.INFO: Packet analysis {"connection_id":162133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a82"} 
[2026-08-26 01:35:16] local.INFO: Extracted packet for processing {"connection_id":162133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a82"} 
[2026-08-26 01:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648061184001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:35:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787688040000,"timestamp_ms":1787688040000,"timestamp_seconds":1787688040,"priority":1,"record_length":96,"hex_timestamp":"000001a03a82b640"} 
[2026-08-26 01:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:35: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-26 01:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:35: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-26 01:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648061184001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648061184001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:35:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648061184001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":162133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:35:16] local.INFO: GPS data processed {"connection_id":162133,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:35:16] local.INFO: Acknowledgment sent {"connection_id":162133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:35:45] local.INFO: TCP Data received {"connection_id":162377,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:35:45] local.INFO: Processing buffer {"connection_id":162377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:35:45] local.INFO: IMEI packet received {"connection_id":162377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":162377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:35:49] local.INFO: TCP Data received {"connection_id":162377,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:35:49] local.INFO: Processing buffer {"connection_id":162377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:35:49] local.INFO: IMEI packet received {"connection_id":162377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":162377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:35:51] local.INFO: TCP Data received {"connection_id":162377,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:35:51] local.INFO: Processing buffer {"connection_id":162377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:35:51] local.INFO: Packet analysis {"connection_id":162377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a82"} 
[2026-08-26 01:35:51] local.INFO: Extracted packet for processing {"connection_id":162377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a82"} 
[2026-08-26 01:35:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648061184001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:35:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787688040000,"timestamp_ms":1787688040000,"timestamp_seconds":1787688040,"priority":1,"record_length":96,"hex_timestamp":"000001a03a82b640"} 
[2026-08-26 01: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-26 01:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:35:51] 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-26 01: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-26 01: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-26 01:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648061184001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648061184001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:35:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648061184001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":162377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:35:51] local.INFO: GPS data processed {"connection_id":162377,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:35:51] local.INFO: Acknowledgment sent {"connection_id":162377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:35:54] local.INFO: TCP Data received {"connection_id":162377,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:35:54] local.INFO: Processing buffer {"connection_id":162377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a82b640012d34c14006aa4818000700e62d..."} 
[2026-08-26 01:35:54] local.INFO: Packet analysis {"connection_id":162377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a82"} 
[2026-08-26 01:35:54] local.INFO: Extracted packet for processing {"connection_id":162377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a82"} 
[2026-08-26 01:35:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648061184001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:35:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787688040000,"timestamp_ms":1787688040000,"timestamp_seconds":1787688040,"priority":1,"record_length":96,"hex_timestamp":"000001a03a82b640"} 
[2026-08-26 01: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-26 01:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 01: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-26 01: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-26 01:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648061184001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648061184001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:35:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648061184001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":162377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:35:54] local.INFO: GPS data processed {"connection_id":162377,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:35:54] local.INFO: Acknowledgment sent {"connection_id":162377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:36:38] local.INFO: TCP Data received {"connection_id":163365,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:36:38] local.INFO: Processing buffer {"connection_id":163365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:36:38] local.INFO: IMEI packet received {"connection_id":163365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":163365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:36:39] local.INFO: TCP Data received {"connection_id":164744,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:36:39] local.INFO: Processing buffer {"connection_id":164744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:36:39] local.INFO: IMEI packet received {"connection_id":164744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 01:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":164744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:36:43] local.INFO: TCP Data received {"connection_id":163365,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:36:43] local.INFO: Processing buffer {"connection_id":163365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:36:43] local.INFO: IMEI packet received {"connection_id":163365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":163365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:36:45] local.INFO: TCP Data received {"connection_id":163365,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:36:45] local.INFO: Processing buffer {"connection_id":163365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:36:45] local.INFO: Packet analysis {"connection_id":163365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a87"} 
[2026-08-26 01:36:45] local.INFO: Extracted packet for processing {"connection_id":163365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a87"} 
[2026-08-26 01:36:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648138240001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:36:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787688341000,"timestamp_ms":1787688341000,"timestamp_seconds":1787688341,"priority":1,"record_length":96,"hex_timestamp":"000001a03a874e08"} 
[2026-08-26 01: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-26 01: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-26 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 01:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 01: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-26 01: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-26 01:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648138240001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648138240001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:36:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648138240001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":163365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:36:45] local.INFO: GPS data processed {"connection_id":163365,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:36:45] local.INFO: Acknowledgment sent {"connection_id":163365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:37:17] local.INFO: TCP Data received {"connection_id":163365,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:37:17] local.INFO: Processing buffer {"connection_id":163365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:37:17] local.INFO: Packet analysis {"connection_id":163365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a87"} 
[2026-08-26 01:37:17] local.INFO: Extracted packet for processing {"connection_id":163365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a87"} 
[2026-08-26 01:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648138240001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:37:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787688341000,"timestamp_ms":1787688341000,"timestamp_seconds":1787688341,"priority":1,"record_length":96,"hex_timestamp":"000001a03a874e08"} 
[2026-08-26 01: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-26 01:37: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-26 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 01:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 01: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-26 01: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-26 01:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648138240001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648138240001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648138240001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":163365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:37:17] local.INFO: GPS data processed {"connection_id":163365,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:37:17] local.INFO: Acknowledgment sent {"connection_id":163365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:37:38] local.INFO: TCP Data received {"connection_id":162134,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:37:38] local.INFO: Processing buffer {"connection_id":162134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:37:38] local.INFO: IMEI packet received {"connection_id":162134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":162134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:37:43] local.INFO: TCP Data received {"connection_id":162134,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:37:43] local.INFO: Processing buffer {"connection_id":162134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:37:43] local.INFO: IMEI packet received {"connection_id":162134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":162134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:37:44] local.INFO: TCP Data received {"connection_id":162134,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:37:44] local.INFO: Processing buffer {"connection_id":162134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:37:44] local.INFO: Packet analysis {"connection_id":162134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a87"} 
[2026-08-26 01:37:44] local.INFO: Extracted packet for processing {"connection_id":162134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a87"} 
[2026-08-26 01:37:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648138240001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:37:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787688341000,"timestamp_ms":1787688341000,"timestamp_seconds":1787688341,"priority":1,"record_length":96,"hex_timestamp":"000001a03a874e08"} 
[2026-08-26 01:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:37: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-26 01:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 01:37: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-26 01:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648138240001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648138240001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:37:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648138240001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":162134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:37:44] local.INFO: GPS data processed {"connection_id":162134,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:37:44] local.INFO: Acknowledgment sent {"connection_id":162134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:38:16] local.INFO: TCP Data received {"connection_id":162134,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:38:16] local.INFO: Processing buffer {"connection_id":162134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:38:16] local.INFO: Packet analysis {"connection_id":162134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a87"} 
[2026-08-26 01:38:16] local.INFO: Extracted packet for processing {"connection_id":162134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a87"} 
[2026-08-26 01:38:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648138240001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:38:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787688341000,"timestamp_ms":1787688341000,"timestamp_seconds":1787688341,"priority":1,"record_length":96,"hex_timestamp":"000001a03a874e08"} 
[2026-08-26 01:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:38: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-26 01:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 01:38: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-26 01:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648138240001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648138240001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:38:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648138240001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":162134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:38:16] local.INFO: GPS data processed {"connection_id":162134,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:38:16] local.INFO: Acknowledgment sent {"connection_id":162134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:38:39] local.INFO: TCP Data received {"connection_id":164745,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:38:39] local.INFO: Processing buffer {"connection_id":164745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:38:39] local.INFO: IMEI packet received {"connection_id":164745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":164745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:38:43] local.INFO: TCP Data received {"connection_id":164745,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:38:43] local.INFO: Processing buffer {"connection_id":164745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:38:43] local.INFO: IMEI packet received {"connection_id":164745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":164745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:38:44] local.INFO: TCP Data received {"connection_id":164745,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:38:44] local.INFO: Processing buffer {"connection_id":164745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:38:44] local.INFO: Packet analysis {"connection_id":164745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a87"} 
[2026-08-26 01:38:44] local.INFO: Extracted packet for processing {"connection_id":164745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a87"} 
[2026-08-26 01:38:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648138240001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:38:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787688341000,"timestamp_ms":1787688341000,"timestamp_seconds":1787688341,"priority":1,"record_length":96,"hex_timestamp":"000001a03a874e08"} 
[2026-08-26 01: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-26 01:38: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-26 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 01:38: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-26 01: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-26 01: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-26 01:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648138240001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648138240001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:38:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648138240001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":164745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:38:44] local.INFO: GPS data processed {"connection_id":164745,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:38:44] local.INFO: Acknowledgment sent {"connection_id":164745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:39:16] local.INFO: TCP Data received {"connection_id":164745,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:39:16] local.INFO: Processing buffer {"connection_id":164745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:39:16] local.INFO: Packet analysis {"connection_id":164745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a87"} 
[2026-08-26 01:39:16] local.INFO: Extracted packet for processing {"connection_id":164745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a87"} 
[2026-08-26 01:39:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648138240001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:39:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787688341000,"timestamp_ms":1787688341000,"timestamp_seconds":1787688341,"priority":1,"record_length":96,"hex_timestamp":"000001a03a874e08"} 
[2026-08-26 01:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:39: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-26 01:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 01:39: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-26 01:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648138240001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648138240001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:39:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648138240001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":164745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:39:16] local.INFO: GPS data processed {"connection_id":164745,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:39:16] local.INFO: Acknowledgment sent {"connection_id":164745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:39:38] local.INFO: TCP Data received {"connection_id":162378,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:39:38] local.INFO: Processing buffer {"connection_id":162378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:39:38] local.INFO: IMEI packet received {"connection_id":162378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":162378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:39:45] local.INFO: TCP Data received {"connection_id":162378,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:39:45] local.INFO: Processing buffer {"connection_id":162378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:39:45] local.INFO: IMEI packet received {"connection_id":162378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":162378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:39:46] local.INFO: TCP Data received {"connection_id":162378,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:39:46] local.INFO: Processing buffer {"connection_id":162378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:39:46] local.INFO: Packet analysis {"connection_id":162378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a87"} 
[2026-08-26 01:39:46] local.INFO: Extracted packet for processing {"connection_id":162378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a87"} 
[2026-08-26 01:39:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648138240001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:39:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787688341000,"timestamp_ms":1787688341000,"timestamp_seconds":1787688341,"priority":1,"record_length":96,"hex_timestamp":"000001a03a874e08"} 
[2026-08-26 01: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-26 01:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 01:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 01: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-26 01: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-26 01:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648138240001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648138240001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:39:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648138240001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":162378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:39:46] local.INFO: GPS data processed {"connection_id":162378,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:39:46] local.INFO: Acknowledgment sent {"connection_id":162378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:40:17] local.INFO: TCP Data received {"connection_id":162378,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:40:17] local.INFO: Processing buffer {"connection_id":162378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:40:17] local.INFO: Packet analysis {"connection_id":162378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a87"} 
[2026-08-26 01:40:17] local.INFO: Extracted packet for processing {"connection_id":162378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a87"} 
[2026-08-26 01:40:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648138240001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:40:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787688341000,"timestamp_ms":1787688341000,"timestamp_seconds":1787688341,"priority":1,"record_length":96,"hex_timestamp":"000001a03a874e08"} 
[2026-08-26 01: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-26 01:40: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-26 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 01:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 01: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-26 01: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-26 01:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648138240001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648138240001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:40:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648138240001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":162378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:40:17] local.INFO: GPS data processed {"connection_id":162378,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:40:17] local.INFO: Acknowledgment sent {"connection_id":162378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:40:43] local.INFO: TCP Data received {"connection_id":162136,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:40:43] local.INFO: Processing buffer {"connection_id":162136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:40:43] local.INFO: IMEI packet received {"connection_id":162136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":162136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:40:48] local.INFO: TCP Data received {"connection_id":162136,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:40:48] local.INFO: Processing buffer {"connection_id":162136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:40:48] local.INFO: IMEI packet received {"connection_id":162136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":162136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:40:49] local.INFO: TCP Data received {"connection_id":162136,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:40:49] local.INFO: Processing buffer {"connection_id":162136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:40:49] local.INFO: Packet analysis {"connection_id":162136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a87"} 
[2026-08-26 01:40:49] local.INFO: Extracted packet for processing {"connection_id":162136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a87"} 
[2026-08-26 01:40:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648138240001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:40:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787688341000,"timestamp_ms":1787688341000,"timestamp_seconds":1787688341,"priority":1,"record_length":96,"hex_timestamp":"000001a03a874e08"} 
[2026-08-26 01:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 01:40: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-26 01:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648138240001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648138240001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:40:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648138240001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":162136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:40:49] local.INFO: GPS data processed {"connection_id":162136,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:40:49] local.INFO: Acknowledgment sent {"connection_id":162136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:40:54] local.INFO: TCP Data received {"connection_id":162136,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:40:54] local.INFO: Processing buffer {"connection_id":162136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a874e08012d34c14006aa4818000900e62d..."} 
[2026-08-26 01:40:54] local.INFO: Packet analysis {"connection_id":162136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a87"} 
[2026-08-26 01:40:54] local.INFO: Extracted packet for processing {"connection_id":162136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a87"} 
[2026-08-26 01:40:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648138240001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:40:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787688341000,"timestamp_ms":1787688341000,"timestamp_seconds":1787688341,"priority":1,"record_length":96,"hex_timestamp":"000001a03a874e08"} 
[2026-08-26 01:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 01:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 01:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648138240001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648138240001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:40:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648138240001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":162136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:40:54] local.INFO: GPS data processed {"connection_id":162136,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:40:54] local.INFO: Acknowledgment sent {"connection_id":162136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:41:38] local.INFO: TCP Data received {"connection_id":162379,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:41:38] local.INFO: Processing buffer {"connection_id":162379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:41:38] local.INFO: IMEI packet received {"connection_id":162379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":162379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:41:43] local.INFO: TCP Data received {"connection_id":162379,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:41:43] local.INFO: Processing buffer {"connection_id":162379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:41:43] local.INFO: IMEI packet received {"connection_id":162379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":162379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:41:44] local.INFO: TCP Data received {"connection_id":162379,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:41:44] local.INFO: Processing buffer {"connection_id":162379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:41:44] local.INFO: Packet analysis {"connection_id":162379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a8b"} 
[2026-08-26 01:41:44] local.INFO: Extracted packet for processing {"connection_id":162379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a8b"} 
[2026-08-26 01:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648215296001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:41:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787688642000,"timestamp_ms":1787688642000,"timestamp_seconds":1787688642,"priority":1,"record_length":96,"hex_timestamp":"000001a03a8be5d0"} 
[2026-08-26 01:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:41: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-26 01:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:41:44] 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-26 01:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648215296001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648215296001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:41:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648215296001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":162379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:41:44] local.INFO: GPS data processed {"connection_id":162379,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:41:44] local.INFO: Acknowledgment sent {"connection_id":162379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:42:14] local.INFO: TCP Data received {"connection_id":162135,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:42:14] local.INFO: Processing buffer {"connection_id":162135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:42:14] local.INFO: IMEI packet received {"connection_id":162135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 01:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":162135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:42:15] local.INFO: TCP Data received {"connection_id":162379,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:42:15] local.INFO: Processing buffer {"connection_id":162379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:42:15] local.INFO: Packet analysis {"connection_id":162379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a8b"} 
[2026-08-26 01:42:15] local.INFO: Extracted packet for processing {"connection_id":162379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a8b"} 
[2026-08-26 01:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 01:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648215296001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:42:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787688642000,"timestamp_ms":1787688642000,"timestamp_seconds":1787688642,"priority":1,"record_length":96,"hex_timestamp":"000001a03a8be5d0"} 
[2026-08-26 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-26 01: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-26 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01: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-26 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-26 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-26 01:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648215296001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648215296001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648215296001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":162379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:42:15] local.INFO: GPS data processed {"connection_id":162379,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:42:15] local.INFO: Acknowledgment sent {"connection_id":162379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:42:39] local.INFO: TCP Data received {"connection_id":163366,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:42:39] local.INFO: Processing buffer {"connection_id":163366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:42:39] local.INFO: IMEI packet received {"connection_id":163366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":163366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:42:43] local.INFO: TCP Data received {"connection_id":163366,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:42:44] local.INFO: Processing buffer {"connection_id":163366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:42:44] local.INFO: IMEI packet received {"connection_id":163366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":163366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:42:45] local.INFO: TCP Data received {"connection_id":163366,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:42:45] local.INFO: Processing buffer {"connection_id":163366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:42:45] local.INFO: Packet analysis {"connection_id":163366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a8b"} 
[2026-08-26 01:42:45] local.INFO: Extracted packet for processing {"connection_id":163366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a8b"} 
[2026-08-26 01:42:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648215296001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:42:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787688642000,"timestamp_ms":1787688642000,"timestamp_seconds":1787688642,"priority":1,"record_length":96,"hex_timestamp":"000001a03a8be5d0"} 
[2026-08-26 01:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:42: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-26 01:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:42:45] 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-26 01:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648215296001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648215296001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:42:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648215296001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":163366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:42:45] local.INFO: GPS data processed {"connection_id":163366,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:42:45] local.INFO: Acknowledgment sent {"connection_id":163366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:43:16] local.INFO: TCP Data received {"connection_id":163366,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:43:16] local.INFO: Processing buffer {"connection_id":163366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:43:16] local.INFO: Packet analysis {"connection_id":163366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a8b"} 
[2026-08-26 01:43:16] local.INFO: Extracted packet for processing {"connection_id":163366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a8b"} 
[2026-08-26 01:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648215296001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:43:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787688642000,"timestamp_ms":1787688642000,"timestamp_seconds":1787688642,"priority":1,"record_length":96,"hex_timestamp":"000001a03a8be5d0"} 
[2026-08-26 01: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-26 01:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:43:16] 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-26 01: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-26 01: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-26 01:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648215296001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648215296001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:43:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648215296001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":163366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:43:16] local.INFO: GPS data processed {"connection_id":163366,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:43:16] local.INFO: Acknowledgment sent {"connection_id":163366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:43:38] local.INFO: TCP Data received {"connection_id":164747,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:43:38] local.INFO: Processing buffer {"connection_id":164747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:43:38] local.INFO: IMEI packet received {"connection_id":164747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":164747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:43:43] local.INFO: TCP Data received {"connection_id":164747,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:43:43] local.INFO: Processing buffer {"connection_id":164747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:43:43] local.INFO: IMEI packet received {"connection_id":164747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":164747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:43:44] local.INFO: TCP Data received {"connection_id":164747,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:43:44] local.INFO: Processing buffer {"connection_id":164747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:43:44] local.INFO: Packet analysis {"connection_id":164747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a8b"} 
[2026-08-26 01:43:44] local.INFO: Extracted packet for processing {"connection_id":164747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a8b"} 
[2026-08-26 01:43:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648215296001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:43:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787688642000,"timestamp_ms":1787688642000,"timestamp_seconds":1787688642,"priority":1,"record_length":96,"hex_timestamp":"000001a03a8be5d0"} 
[2026-08-26 01: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-26 01:43: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-26 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:43:44] 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-26 01: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-26 01: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-26 01:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648215296001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648215296001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:43:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648215296001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":164747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:43:44] local.INFO: GPS data processed {"connection_id":164747,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:43:44] local.INFO: Acknowledgment sent {"connection_id":164747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:44:16] local.INFO: TCP Data received {"connection_id":164747,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:44:16] local.INFO: Processing buffer {"connection_id":164747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:44:16] local.INFO: Packet analysis {"connection_id":164747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a8b"} 
[2026-08-26 01:44:16] local.INFO: Extracted packet for processing {"connection_id":164747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a8b"} 
[2026-08-26 01:44:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648215296001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:44:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787688642000,"timestamp_ms":1787688642000,"timestamp_seconds":1787688642,"priority":1,"record_length":96,"hex_timestamp":"000001a03a8be5d0"} 
[2026-08-26 01: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-26 01:44: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-26 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:44:16] 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-26 01: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-26 01: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-26 01:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648215296001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648215296001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:44:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648215296001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":164747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:44:16] local.INFO: GPS data processed {"connection_id":164747,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:44:16] local.INFO: Acknowledgment sent {"connection_id":164747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:44:38] local.INFO: TCP Data received {"connection_id":162380,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:44:38] local.INFO: Processing buffer {"connection_id":162380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:44:38] local.INFO: IMEI packet received {"connection_id":162380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":162380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:44:43] local.INFO: TCP Data received {"connection_id":162380,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:44:43] local.INFO: Processing buffer {"connection_id":162380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:44:43] local.INFO: IMEI packet received {"connection_id":162380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":162380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:44:44] local.INFO: TCP Data received {"connection_id":162380,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:44:44] local.INFO: Processing buffer {"connection_id":162380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:44:44] local.INFO: Packet analysis {"connection_id":162380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a8b"} 
[2026-08-26 01:44:44] local.INFO: Extracted packet for processing {"connection_id":162380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a8b"} 
[2026-08-26 01:44:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648215296001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:44:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787688642000,"timestamp_ms":1787688642000,"timestamp_seconds":1787688642,"priority":1,"record_length":96,"hex_timestamp":"000001a03a8be5d0"} 
[2026-08-26 01: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-26 01:44: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-26 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:44:44] 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-26 01: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-26 01: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-26 01:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648215296001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648215296001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:44:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648215296001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":162380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:44:44] local.INFO: GPS data processed {"connection_id":162380,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:44:44] local.INFO: Acknowledgment sent {"connection_id":162380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:45:15] local.INFO: TCP Data received {"connection_id":162380,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:45:15] local.INFO: Processing buffer {"connection_id":162380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:45:15] local.INFO: Packet analysis {"connection_id":162380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a8b"} 
[2026-08-26 01:45:15] local.INFO: Extracted packet for processing {"connection_id":162380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a8b"} 
[2026-08-26 01:45:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648215296001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:45:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787688642000,"timestamp_ms":1787688642000,"timestamp_seconds":1787688642,"priority":1,"record_length":96,"hex_timestamp":"000001a03a8be5d0"} 
[2026-08-26 01:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:45: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-26 01:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:45: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-26 01:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648215296001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648215296001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:45:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648215296001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":162380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:45:15] local.INFO: GPS data processed {"connection_id":162380,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:45:15] local.INFO: Acknowledgment sent {"connection_id":162380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:45:43] local.INFO: TCP Data received {"connection_id":164748,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:45:43] local.INFO: Processing buffer {"connection_id":164748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:45:43] local.INFO: IMEI packet received {"connection_id":164748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":164748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:45:48] local.INFO: TCP Data received {"connection_id":164748,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:45:48] local.INFO: Processing buffer {"connection_id":164748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:45:48] local.INFO: IMEI packet received {"connection_id":164748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":164748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:45:49] local.INFO: TCP Data received {"connection_id":164748,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:45:49] local.INFO: Processing buffer {"connection_id":164748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:45:49] local.INFO: Packet analysis {"connection_id":164748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a8b"} 
[2026-08-26 01:45:49] local.INFO: Extracted packet for processing {"connection_id":164748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a8b"} 
[2026-08-26 01:45:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648215296001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:45:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787688642000,"timestamp_ms":1787688642000,"timestamp_seconds":1787688642,"priority":1,"record_length":96,"hex_timestamp":"000001a03a8be5d0"} 
[2026-08-26 01:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:45:49] 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-26 01:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648215296001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648215296001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:45:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648215296001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":164748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:45:49] local.INFO: GPS data processed {"connection_id":164748,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:45:49] local.INFO: Acknowledgment sent {"connection_id":164748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:45:54] local.INFO: TCP Data received {"connection_id":164748,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:45:54] local.INFO: Processing buffer {"connection_id":164748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a8be5d0012d34c14006aa4818000800e62f..."} 
[2026-08-26 01:45:54] local.INFO: Packet analysis {"connection_id":164748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a8b"} 
[2026-08-26 01:45:54] local.INFO: Extracted packet for processing {"connection_id":164748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a8b"} 
[2026-08-26 01:45:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648215296001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:45:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 01:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 01:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787688642000,"timestamp_ms":1787688642000,"timestamp_seconds":1787688642,"priority":1,"record_length":96,"hex_timestamp":"000001a03a8be5d0"} 
[2026-08-26 01:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 01:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648215296001,"66":25441,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 01:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648215296001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:45:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648215296001,"power":25441,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":164748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:45:54] local.INFO: GPS data processed {"connection_id":164748,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:45:54] local.INFO: Acknowledgment sent {"connection_id":164748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:46:38] local.INFO: TCP Data received {"connection_id":162381,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:46:38] local.INFO: Processing buffer {"connection_id":162381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:46:38] local.INFO: IMEI packet received {"connection_id":162381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":162381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:46:43] local.INFO: TCP Data received {"connection_id":162381,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:46:43] local.INFO: Processing buffer {"connection_id":162381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:46:43] local.INFO: IMEI packet received {"connection_id":162381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":162381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:46:45] local.INFO: TCP Data received {"connection_id":162381,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:46:45] local.INFO: Processing buffer {"connection_id":162381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:46:45] local.INFO: Packet analysis {"connection_id":162381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a90"} 
[2026-08-26 01:46:45] local.INFO: Extracted packet for processing {"connection_id":162381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a90"} 
[2026-08-26 01:46:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648292352001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:46: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-26 01:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787688943000,"timestamp_ms":1787688943000,"timestamp_seconds":1787688943,"priority":1,"record_length":96,"hex_timestamp":"000001a03a907d98"} 
[2026-08-26 01: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-26 01:46: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-26 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:46:45] 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-26 01: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-26 01: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-26 01:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648292352001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648292352001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:46:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:46:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648292352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":162381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:46:45] local.INFO: GPS data processed {"connection_id":162381,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:46:45] local.INFO: Acknowledgment sent {"connection_id":162381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:47:16] local.INFO: TCP Data received {"connection_id":162381,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:47:16] local.INFO: Processing buffer {"connection_id":162381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:47:16] local.INFO: Packet analysis {"connection_id":162381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a90"} 
[2026-08-26 01:47:16] local.INFO: Extracted packet for processing {"connection_id":162381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a90"} 
[2026-08-26 01:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648292352001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:47: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-26 01:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787688943000,"timestamp_ms":1787688943000,"timestamp_seconds":1787688943,"priority":1,"record_length":96,"hex_timestamp":"000001a03a907d98"} 
[2026-08-26 01:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:47: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-26 01:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:47:16] 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-26 01:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648292352001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648292352001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:47:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648292352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":162381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:47:16] local.INFO: GPS data processed {"connection_id":162381,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:47:16] local.INFO: Acknowledgment sent {"connection_id":162381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:47:39] local.INFO: TCP Data received {"connection_id":164749,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:47:39] local.INFO: Processing buffer {"connection_id":164749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:47:39] local.INFO: IMEI packet received {"connection_id":164749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":164749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:47:43] local.INFO: TCP Data received {"connection_id":164749,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:47:43] local.INFO: Processing buffer {"connection_id":164749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:47:43] local.INFO: IMEI packet received {"connection_id":164749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":164749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:47:44] local.INFO: TCP Data received {"connection_id":164749,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:47:44] local.INFO: Processing buffer {"connection_id":164749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:47:44] local.INFO: Packet analysis {"connection_id":164749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a90"} 
[2026-08-26 01:47:44] local.INFO: Extracted packet for processing {"connection_id":164749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a90"} 
[2026-08-26 01:47:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648292352001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:47: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-26 01:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787688943000,"timestamp_ms":1787688943000,"timestamp_seconds":1787688943,"priority":1,"record_length":96,"hex_timestamp":"000001a03a907d98"} 
[2026-08-26 01: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-26 01:47: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-26 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:47:44] 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-26 01: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-26 01: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-26 01:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648292352001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648292352001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:47:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:47:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648292352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":164749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:47:44] local.INFO: GPS data processed {"connection_id":164749,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:47:44] local.INFO: Acknowledgment sent {"connection_id":164749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:48:03] local.INFO: TCP Data received {"connection_id":163367,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:48:03] local.INFO: Processing buffer {"connection_id":163367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:48:03] local.INFO: IMEI packet received {"connection_id":163367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 01:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":163367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:48:16] local.INFO: TCP Data received {"connection_id":164749,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:48:16] local.INFO: Processing buffer {"connection_id":164749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:48:16] local.INFO: Packet analysis {"connection_id":164749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a90"} 
[2026-08-26 01:48:16] local.INFO: Extracted packet for processing {"connection_id":164749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a90"} 
[2026-08-26 01:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 01:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648292352001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 01:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787688943000,"timestamp_ms":1787688943000,"timestamp_seconds":1787688943,"priority":1,"record_length":96,"hex_timestamp":"000001a03a907d98"} 
[2026-08-26 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-26 01:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:48:16] 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-26 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-26 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-26 01:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648292352001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648292352001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:48:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:48:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648292352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":164749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:48:16] local.INFO: GPS data processed {"connection_id":164749,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:48:16] local.INFO: Acknowledgment sent {"connection_id":164749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:48:38] local.INFO: TCP Data received {"connection_id":163368,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:48:38] local.INFO: Processing buffer {"connection_id":163368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:48:38] local.INFO: IMEI packet received {"connection_id":163368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":163368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:48:43] local.INFO: TCP Data received {"connection_id":163368,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:48:43] local.INFO: Processing buffer {"connection_id":163368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:48:43] local.INFO: IMEI packet received {"connection_id":163368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":163368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:48:44] local.INFO: TCP Data received {"connection_id":163368,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:48:44] local.INFO: Processing buffer {"connection_id":163368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:48:44] local.INFO: Packet analysis {"connection_id":163368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a90"} 
[2026-08-26 01:48:44] local.INFO: Extracted packet for processing {"connection_id":163368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a90"} 
[2026-08-26 01:48:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648292352001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:48: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-26 01:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787688943000,"timestamp_ms":1787688943000,"timestamp_seconds":1787688943,"priority":1,"record_length":96,"hex_timestamp":"000001a03a907d98"} 
[2026-08-26 01: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-26 01: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-26 01: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:48:44] 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-26 01: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-26 01: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-26 01:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648292352001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648292352001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:48:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:48:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648292352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":163368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:48:44] local.INFO: GPS data processed {"connection_id":163368,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:48:44] local.INFO: Acknowledgment sent {"connection_id":163368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:49:16] local.INFO: TCP Data received {"connection_id":163368,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:49:16] local.INFO: Processing buffer {"connection_id":163368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:49:16] local.INFO: Packet analysis {"connection_id":163368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a90"} 
[2026-08-26 01:49:16] local.INFO: Extracted packet for processing {"connection_id":163368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a90"} 
[2026-08-26 01:49:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648292352001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:49: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-26 01:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787688943000,"timestamp_ms":1787688943000,"timestamp_seconds":1787688943,"priority":1,"record_length":96,"hex_timestamp":"000001a03a907d98"} 
[2026-08-26 01:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:49: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-26 01:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:49:16] 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-26 01:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648292352001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648292352001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:49:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:49:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648292352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":163368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:49:16] local.INFO: GPS data processed {"connection_id":163368,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:49:16] local.INFO: Acknowledgment sent {"connection_id":163368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:49:38] local.INFO: TCP Data received {"connection_id":163369,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:49:38] local.INFO: Processing buffer {"connection_id":163369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:49:38] local.INFO: IMEI packet received {"connection_id":163369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":163369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:49:44] local.INFO: TCP Data received {"connection_id":163369,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:49:44] local.INFO: Processing buffer {"connection_id":163369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:49:44] local.INFO: IMEI packet received {"connection_id":163369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":163369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:49:44] local.INFO: TCP Data received {"connection_id":163369,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:49:44] local.INFO: Processing buffer {"connection_id":163369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:49:44] local.INFO: Packet analysis {"connection_id":163369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a90"} 
[2026-08-26 01:49:44] local.INFO: Extracted packet for processing {"connection_id":163369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a90"} 
[2026-08-26 01:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648292352001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:49: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-26 01:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787688943000,"timestamp_ms":1787688943000,"timestamp_seconds":1787688943,"priority":1,"record_length":96,"hex_timestamp":"000001a03a907d98"} 
[2026-08-26 01: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-26 01:49: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-26 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:49:44] 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-26 01: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-26 01: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-26 01:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648292352001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648292352001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:49:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:49:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648292352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":163369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:49:44] local.INFO: GPS data processed {"connection_id":163369,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:49:44] local.INFO: Acknowledgment sent {"connection_id":163369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:50:16] local.INFO: TCP Data received {"connection_id":163369,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:50:16] local.INFO: Processing buffer {"connection_id":163369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:50:16] local.INFO: Packet analysis {"connection_id":163369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a90"} 
[2026-08-26 01:50:16] local.INFO: Extracted packet for processing {"connection_id":163369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a90"} 
[2026-08-26 01:50:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648292352001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:50: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-26 01:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787688943000,"timestamp_ms":1787688943000,"timestamp_seconds":1787688943,"priority":1,"record_length":96,"hex_timestamp":"000001a03a907d98"} 
[2026-08-26 01: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-26 01:50: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-26 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:50:16] 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-26 01: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-26 01: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-26 01:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648292352001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648292352001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:50:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:50:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648292352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":163369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:50:16] local.INFO: GPS data processed {"connection_id":163369,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:50:16] local.INFO: Acknowledgment sent {"connection_id":163369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:50:38] local.INFO: TCP Data received {"connection_id":162382,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:50:38] local.INFO: Processing buffer {"connection_id":162382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:50:38] local.INFO: IMEI packet received {"connection_id":162382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":162382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:50:43] local.INFO: TCP Data received {"connection_id":162382,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:50:43] local.INFO: Processing buffer {"connection_id":162382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:50:43] local.INFO: IMEI packet received {"connection_id":162382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":162382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:50:45] local.INFO: TCP Data received {"connection_id":162382,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:50:45] local.INFO: Processing buffer {"connection_id":162382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:50:45] local.INFO: Packet analysis {"connection_id":162382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a90"} 
[2026-08-26 01:50:45] local.INFO: Extracted packet for processing {"connection_id":162382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a90"} 
[2026-08-26 01:50:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648292352001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:50: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-26 01:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787688943000,"timestamp_ms":1787688943000,"timestamp_seconds":1787688943,"priority":1,"record_length":96,"hex_timestamp":"000001a03a907d98"} 
[2026-08-26 01: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-26 01:50: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-26 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:50:45] 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-26 01: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-26 01: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-26 01:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648292352001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648292352001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:50:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:50:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648292352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":162382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:50:45] local.INFO: GPS data processed {"connection_id":162382,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:50:45] local.INFO: Acknowledgment sent {"connection_id":162382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:51:16] local.INFO: TCP Data received {"connection_id":162382,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:51:16] local.INFO: Processing buffer {"connection_id":162382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a907d98012d34c14006aa4818000300e625..."} 
[2026-08-26 01:51:16] local.INFO: Packet analysis {"connection_id":162382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a90"} 
[2026-08-26 01:51:16] local.INFO: Extracted packet for processing {"connection_id":162382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a90"} 
[2026-08-26 01:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648292352001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:51: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-26 01:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787688943000,"timestamp_ms":1787688943000,"timestamp_seconds":1787688943,"priority":1,"record_length":96,"hex_timestamp":"000001a03a907d98"} 
[2026-08-26 01:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:51: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-26 01:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:51:16] 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-26 01:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648292352001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648292352001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:51:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:51:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648292352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":162382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:51:16] local.INFO: GPS data processed {"connection_id":162382,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:51:16] local.INFO: Acknowledgment sent {"connection_id":162382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:51:44] local.INFO: TCP Data received {"connection_id":164750,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:51:44] local.INFO: Processing buffer {"connection_id":164750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:51:44] local.INFO: IMEI packet received {"connection_id":164750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":164750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:51:48] local.INFO: TCP Data received {"connection_id":164750,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:51:48] local.INFO: Processing buffer {"connection_id":164750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:51:48] local.INFO: IMEI packet received {"connection_id":164750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":164750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:51:49] local.INFO: TCP Data received {"connection_id":164750,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:51:49] local.INFO: Processing buffer {"connection_id":164750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:51:49] local.INFO: Packet analysis {"connection_id":164750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a95"} 
[2026-08-26 01:51:49] local.INFO: Extracted packet for processing {"connection_id":164750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a95"} 
[2026-08-26 01:51:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648369408001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:51: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-26 01:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787689244000,"timestamp_ms":1787689244000,"timestamp_seconds":1787689244,"priority":1,"record_length":96,"hex_timestamp":"000001a03a951560"} 
[2026-08-26 01: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-26 01:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:51:49] 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-26 01: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-26 01: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-26 01:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648369408001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648369408001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:51:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:51:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648369408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":164750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:51:49] local.INFO: GPS data processed {"connection_id":164750,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:51:49] local.INFO: Acknowledgment sent {"connection_id":164750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:52:20] local.INFO: TCP Data received {"connection_id":164750,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:52:20] local.INFO: Processing buffer {"connection_id":164750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:52:20] local.INFO: Packet analysis {"connection_id":164750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a95"} 
[2026-08-26 01:52:20] local.INFO: Extracted packet for processing {"connection_id":164750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a95"} 
[2026-08-26 01:52:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648369408001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:52: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-26 01:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787689244000,"timestamp_ms":1787689244000,"timestamp_seconds":1787689244,"priority":1,"record_length":96,"hex_timestamp":"000001a03a951560"} 
[2026-08-26 01: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-26 01:52: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-26 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:52: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-26 01:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01: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-26 01:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648369408001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648369408001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:52:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:52:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648369408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":164750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:52:20] local.INFO: GPS data processed {"connection_id":164750,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:52:20] local.INFO: Acknowledgment sent {"connection_id":164750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:52:38] local.INFO: TCP Data received {"connection_id":164751,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:52:38] local.INFO: Processing buffer {"connection_id":164751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:52:38] local.INFO: IMEI packet received {"connection_id":164751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":164751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:52:43] local.INFO: TCP Data received {"connection_id":164751,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:52:43] local.INFO: Processing buffer {"connection_id":164751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:52:43] local.INFO: IMEI packet received {"connection_id":164751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":164751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:52:44] local.INFO: TCP Data received {"connection_id":164751,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:52:44] local.INFO: Processing buffer {"connection_id":164751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:52:44] local.INFO: Packet analysis {"connection_id":164751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a95"} 
[2026-08-26 01:52:44] local.INFO: Extracted packet for processing {"connection_id":164751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a95"} 
[2026-08-26 01:52:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648369408001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:52: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-26 01:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787689244000,"timestamp_ms":1787689244000,"timestamp_seconds":1787689244,"priority":1,"record_length":96,"hex_timestamp":"000001a03a951560"} 
[2026-08-26 01: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-26 01:52: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-26 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:52: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-26 01: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-26 01: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-26 01:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648369408001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648369408001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:52:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:52:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648369408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":164751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:52:44] local.INFO: GPS data processed {"connection_id":164751,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:52:44] local.INFO: Acknowledgment sent {"connection_id":164751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:53:16] local.INFO: TCP Data received {"connection_id":164751,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:53:16] local.INFO: Processing buffer {"connection_id":164751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:53:16] local.INFO: Packet analysis {"connection_id":164751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a95"} 
[2026-08-26 01:53:16] local.INFO: Extracted packet for processing {"connection_id":164751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a95"} 
[2026-08-26 01:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648369408001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01: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-26 01:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787689244000,"timestamp_ms":1787689244000,"timestamp_seconds":1787689244,"priority":1,"record_length":96,"hex_timestamp":"000001a03a951560"} 
[2026-08-26 01:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:53: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-26 01:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:53: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-26 01:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648369408001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648369408001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:53:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648369408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":164751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:53:16] local.INFO: GPS data processed {"connection_id":164751,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:53:16] local.INFO: Acknowledgment sent {"connection_id":164751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:53:38] local.INFO: TCP Data received {"connection_id":162384,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:53:38] local.INFO: Processing buffer {"connection_id":162384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:53:38] local.INFO: IMEI packet received {"connection_id":162384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":162384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:53:44] local.INFO: TCP Data received {"connection_id":162384,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:53:44] local.INFO: Processing buffer {"connection_id":162384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:53:44] local.INFO: IMEI packet received {"connection_id":162384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":162384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:53:45] local.INFO: TCP Data received {"connection_id":162384,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:53:45] local.INFO: Processing buffer {"connection_id":162384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:53:45] local.INFO: Packet analysis {"connection_id":162384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a95"} 
[2026-08-26 01:53:45] local.INFO: Extracted packet for processing {"connection_id":162384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a95"} 
[2026-08-26 01:53:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648369408001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:53: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-26 01:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787689244000,"timestamp_ms":1787689244000,"timestamp_seconds":1787689244,"priority":1,"record_length":96,"hex_timestamp":"000001a03a951560"} 
[2026-08-26 01:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:53: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-26 01:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:53:45] 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-26 01:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648369408001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648369408001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:53:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:53:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648369408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":162384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:53:45] local.INFO: GPS data processed {"connection_id":162384,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:53:45] local.INFO: Acknowledgment sent {"connection_id":162384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:53:58] local.INFO: TCP Data received {"connection_id":162383,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:53:58] local.INFO: Processing buffer {"connection_id":162383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:53:58] local.INFO: IMEI packet received {"connection_id":162383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 01:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":162383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:54:17] local.INFO: TCP Data received {"connection_id":162384,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:54:17] local.INFO: Processing buffer {"connection_id":162384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:54:17] local.INFO: Packet analysis {"connection_id":162384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a95"} 
[2026-08-26 01:54:17] local.INFO: Extracted packet for processing {"connection_id":162384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a95"} 
[2026-08-26 01:54:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648369408001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:54: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-26 01:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787689244000,"timestamp_ms":1787689244000,"timestamp_seconds":1787689244,"priority":1,"record_length":96,"hex_timestamp":"000001a03a951560"} 
[2026-08-26 01: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-26 01:54: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-26 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:54:17] 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-26 01: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-26 01: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-26 01:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648369408001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648369408001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:54:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:54:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648369408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":162384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:54:17] local.INFO: GPS data processed {"connection_id":162384,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:54:17] local.INFO: Acknowledgment sent {"connection_id":162384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:54:38] local.INFO: TCP Data received {"connection_id":162137,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:54:38] local.INFO: Processing buffer {"connection_id":162137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:54:38] local.INFO: IMEI packet received {"connection_id":162137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":162137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:54:43] local.INFO: TCP Data received {"connection_id":162137,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:54:43] local.INFO: Processing buffer {"connection_id":162137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:54:43] local.INFO: IMEI packet received {"connection_id":162137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":162137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:54:45] local.INFO: TCP Data received {"connection_id":162137,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:54:45] local.INFO: Processing buffer {"connection_id":162137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:54:45] local.INFO: Packet analysis {"connection_id":162137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a95"} 
[2026-08-26 01:54:45] local.INFO: Extracted packet for processing {"connection_id":162137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a95"} 
[2026-08-26 01:54:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648369408001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:54: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-26 01:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787689244000,"timestamp_ms":1787689244000,"timestamp_seconds":1787689244,"priority":1,"record_length":96,"hex_timestamp":"000001a03a951560"} 
[2026-08-26 01:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:54: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-26 01:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:54:45] 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-26 01:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648369408001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648369408001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:54:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:54:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648369408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":162137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:54:45] local.INFO: GPS data processed {"connection_id":162137,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:54:45] local.INFO: Acknowledgment sent {"connection_id":162137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:55:16] local.INFO: TCP Data received {"connection_id":162137,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:55:16] local.INFO: Processing buffer {"connection_id":162137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:55:16] local.INFO: Packet analysis {"connection_id":162137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a95"} 
[2026-08-26 01:55:16] local.INFO: Extracted packet for processing {"connection_id":162137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a95"} 
[2026-08-26 01:55:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648369408001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:55: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-26 01:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787689244000,"timestamp_ms":1787689244000,"timestamp_seconds":1787689244,"priority":1,"record_length":96,"hex_timestamp":"000001a03a951560"} 
[2026-08-26 01: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-26 01:55: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-26 01: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-26 01: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-26 01: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-26 01: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-26 01:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648369408001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648369408001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:55:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:55:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648369408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":162137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:55:16] local.INFO: GPS data processed {"connection_id":162137,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:55:16] local.INFO: Acknowledgment sent {"connection_id":162137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:55:43] local.INFO: TCP Data received {"connection_id":162385,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:55:43] local.INFO: Processing buffer {"connection_id":162385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:55:43] local.INFO: IMEI packet received {"connection_id":162385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":162385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:55:48] local.INFO: TCP Data received {"connection_id":162385,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:55:48] local.INFO: Processing buffer {"connection_id":162385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:55:48] local.INFO: IMEI packet received {"connection_id":162385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":162385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:55:49] local.INFO: TCP Data received {"connection_id":162385,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:55:49] local.INFO: Processing buffer {"connection_id":162385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:55:49] local.INFO: Packet analysis {"connection_id":162385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a95"} 
[2026-08-26 01:55:49] local.INFO: Extracted packet for processing {"connection_id":162385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a95"} 
[2026-08-26 01:55:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648369408001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:55: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-26 01:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787689244000,"timestamp_ms":1787689244000,"timestamp_seconds":1787689244,"priority":1,"record_length":96,"hex_timestamp":"000001a03a951560"} 
[2026-08-26 01: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-26 01:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:55:49] 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-26 01: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-26 01: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-26 01:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648369408001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648369408001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:55:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:55:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648369408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":162385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:55:49] local.INFO: GPS data processed {"connection_id":162385,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:55:49] local.INFO: Acknowledgment sent {"connection_id":162385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:55:55] local.INFO: TCP Data received {"connection_id":162385,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:55:55] local.INFO: Processing buffer {"connection_id":162385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a951560012d34c14006aa4818000800e62e..."} 
[2026-08-26 01:55:55] local.INFO: Packet analysis {"connection_id":162385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a95"} 
[2026-08-26 01:55:55] local.INFO: Extracted packet for processing {"connection_id":162385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a95"} 
[2026-08-26 01:55:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648369408001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:55: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-26 01:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787689244000,"timestamp_ms":1787689244000,"timestamp_seconds":1787689244,"priority":1,"record_length":96,"hex_timestamp":"000001a03a951560"} 
[2026-08-26 01: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-26 01:55: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-26 01:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 01:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 01: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-26 01: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-26 01:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":162385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":162385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":162385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648369408001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648369408001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:55:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:55:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648369408001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":162385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:55:55] local.INFO: GPS data processed {"connection_id":162385,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:55:55] local.INFO: Acknowledgment sent {"connection_id":162385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:56:38] local.INFO: TCP Data received {"connection_id":162386,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:56:38] local.INFO: Processing buffer {"connection_id":162386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:56:38] local.INFO: IMEI packet received {"connection_id":162386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":162386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:56:43] local.INFO: TCP Data received {"connection_id":162386,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:56:43] local.INFO: Processing buffer {"connection_id":162386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:56:43] local.INFO: IMEI packet received {"connection_id":162386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":162386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:56:44] local.INFO: TCP Data received {"connection_id":162386,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 01:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 01:56:44] local.INFO: Processing buffer {"connection_id":162386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 01:56:44] local.INFO: Packet analysis {"connection_id":162386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a99"} 
[2026-08-26 01:56:44] local.INFO: Extracted packet for processing {"connection_id":162386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a99"} 
[2026-08-26 01:56:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648446464001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:56: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-26 01:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787689545000,"timestamp_ms":1787689545000,"timestamp_seconds":1787689545,"priority":1,"record_length":96,"hex_timestamp":"000001a03a99ad28"} 
[2026-08-26 01:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:56: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-26 01:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:56:44] 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-26 01:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648446464001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648446464001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:56:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:56:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648446464001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":162386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:56:44] local.INFO: GPS data processed {"connection_id":162386,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:56:44] local.INFO: Acknowledgment sent {"connection_id":162386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:57:16] local.INFO: TCP Data received {"connection_id":162386,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 01:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 01:57:16] local.INFO: Processing buffer {"connection_id":162386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 01:57:16] local.INFO: Packet analysis {"connection_id":162386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a99"} 
[2026-08-26 01:57:16] local.INFO: Extracted packet for processing {"connection_id":162386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a99"} 
[2026-08-26 01:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 01:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648446464001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:57: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-26 01:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787689545000,"timestamp_ms":1787689545000,"timestamp_seconds":1787689545,"priority":1,"record_length":96,"hex_timestamp":"000001a03a99ad28"} 
[2026-08-26 01:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 01:57: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-26 01:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:57:16] 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-26 01:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 01:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648446464001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648446464001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:57:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:57:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648446464001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":162386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:57:16] local.INFO: GPS data processed {"connection_id":162386,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:57:16] local.INFO: Acknowledgment sent {"connection_id":162386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:57:39] local.INFO: TCP Data received {"connection_id":162138,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:57:39] local.INFO: Processing buffer {"connection_id":162138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:57:39] local.INFO: IMEI packet received {"connection_id":162138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":162138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:57:43] local.INFO: TCP Data received {"connection_id":162138,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:57:43] local.INFO: Processing buffer {"connection_id":162138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:57:43] local.INFO: IMEI packet received {"connection_id":162138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":162138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:57:45] local.INFO: TCP Data received {"connection_id":162138,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 01:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 01:57:45] local.INFO: Processing buffer {"connection_id":162138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 01:57:45] local.INFO: Packet analysis {"connection_id":162138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a99"} 
[2026-08-26 01:57:45] local.INFO: Extracted packet for processing {"connection_id":162138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a99"} 
[2026-08-26 01:57:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648446464001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:57: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-26 01:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787689545000,"timestamp_ms":1787689545000,"timestamp_seconds":1787689545,"priority":1,"record_length":96,"hex_timestamp":"000001a03a99ad28"} 
[2026-08-26 01: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-26 01:57: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-26 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:57:45] 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-26 01: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-26 01: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-26 01:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648446464001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648446464001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:57:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:57:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648446464001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":162138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:57:45] local.INFO: GPS data processed {"connection_id":162138,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:57:45] local.INFO: Acknowledgment sent {"connection_id":162138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:58:17] local.INFO: TCP Data received {"connection_id":162138,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 01:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 01:58:17] local.INFO: Processing buffer {"connection_id":162138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 01:58:17] local.INFO: Packet analysis {"connection_id":162138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a99"} 
[2026-08-26 01:58:17] local.INFO: Extracted packet for processing {"connection_id":162138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a99"} 
[2026-08-26 01:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648446464001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:58: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-26 01:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787689545000,"timestamp_ms":1787689545000,"timestamp_seconds":1787689545,"priority":1,"record_length":96,"hex_timestamp":"000001a03a99ad28"} 
[2026-08-26 01: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-26 01:58: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-26 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:58: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-26 01: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-26 01: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-26 01:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648446464001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648446464001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:58:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:58:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648446464001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":162138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:58:17] local.INFO: GPS data processed {"connection_id":162138,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:58:17] local.INFO: Acknowledgment sent {"connection_id":162138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:58:38] local.INFO: TCP Data received {"connection_id":164752,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:58:38] local.INFO: Processing buffer {"connection_id":164752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:58:38] local.INFO: IMEI packet received {"connection_id":164752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":164752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:58:43] local.INFO: TCP Data received {"connection_id":164752,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:58:43] local.INFO: Processing buffer {"connection_id":164752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:58:43] local.INFO: IMEI packet received {"connection_id":164752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":164752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:58:44] local.INFO: TCP Data received {"connection_id":164752,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 01:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 01:58:44] local.INFO: Processing buffer {"connection_id":164752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 01:58:44] local.INFO: Packet analysis {"connection_id":164752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a99"} 
[2026-08-26 01:58:44] local.INFO: Extracted packet for processing {"connection_id":164752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a99"} 
[2026-08-26 01:58:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648446464001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:58: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-26 01:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787689545000,"timestamp_ms":1787689545000,"timestamp_seconds":1787689545,"priority":1,"record_length":96,"hex_timestamp":"000001a03a99ad28"} 
[2026-08-26 01: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-26 01:58: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-26 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:58:44] 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-26 01: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-26 01: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-26 01:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648446464001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648446464001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:58:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:58:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648446464001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":164752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:58:44] local.INFO: GPS data processed {"connection_id":164752,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:58:44] local.INFO: Acknowledgment sent {"connection_id":164752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:59:16] local.INFO: TCP Data received {"connection_id":164752,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 01:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 01:59:16] local.INFO: Processing buffer {"connection_id":164752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 01:59:16] local.INFO: Packet analysis {"connection_id":164752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a99"} 
[2026-08-26 01:59:16] local.INFO: Extracted packet for processing {"connection_id":164752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a99"} 
[2026-08-26 01:59:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648446464001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:59: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-26 01:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787689545000,"timestamp_ms":1787689545000,"timestamp_seconds":1787689545,"priority":1,"record_length":96,"hex_timestamp":"000001a03a99ad28"} 
[2026-08-26 01: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-26 01:59: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-26 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:59:16] 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-26 01: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-26 01: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-26 01:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648446464001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648446464001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:59:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:59:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648446464001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":164752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:59:16] local.INFO: GPS data processed {"connection_id":164752,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:59:16] local.INFO: Acknowledgment sent {"connection_id":164752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 01:59:34] local.INFO: TCP Data received {"connection_id":162388,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:59:34] local.INFO: Processing buffer {"connection_id":162388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 01:59:34] local.INFO: IMEI packet received {"connection_id":162388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 01:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":162388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:59:38] local.INFO: TCP Data received {"connection_id":162389,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:59:38] local.INFO: Processing buffer {"connection_id":162389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:59:38] local.INFO: IMEI packet received {"connection_id":162389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 01:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":162389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 01:59:43] local.INFO: TCP Data received {"connection_id":162389,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:59:43] local.INFO: Processing buffer {"connection_id":162389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 01:59:43] local.INFO: IMEI packet received {"connection_id":162389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 01:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":162389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 01:59:45] local.INFO: TCP Data received {"connection_id":162389,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 01:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 01:59:45] local.INFO: Processing buffer {"connection_id":162389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 01:59:45] local.INFO: Packet analysis {"connection_id":162389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a99"} 
[2026-08-26 01:59:45] local.INFO: Extracted packet for processing {"connection_id":162389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a99"} 
[2026-08-26 01:59:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 01: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-26 01:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648446464001,"note":"Value kept but may cause issues"} 
[2026-08-26 01:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 01:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 01:59: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-26 01:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787689545000,"timestamp_ms":1787689545000,"timestamp_seconds":1787689545,"priority":1,"record_length":96,"hex_timestamp":"000001a03a99ad28"} 
[2026-08-26 01: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-26 01:59: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-26 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 01:59:45] 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-26 01:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 01: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-26 01:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 01:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 01:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 01:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 01:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 01:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 01:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648446464001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 01:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 01:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 01:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648446464001,"description":"Unknown IO ID 0"} 
[2026-08-26 01:59:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 01:59:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 01:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 01:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 01:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648446464001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 01:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":162389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 01:59:45] local.INFO: GPS data processed {"connection_id":162389,"processed":1,"errors":0,"total":1} 
[2026-08-26 01:59:45] local.INFO: Acknowledgment sent {"connection_id":162389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:00:17] local.INFO: TCP Data received {"connection_id":162389,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:00:17] local.INFO: Processing buffer {"connection_id":162389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:00:17] local.INFO: Packet analysis {"connection_id":162389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a99"} 
[2026-08-26 02:00:17] local.INFO: Extracted packet for processing {"connection_id":162389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a99"} 
[2026-08-26 02:00:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648446464001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:00: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-26 02:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787689545000,"timestamp_ms":1787689545000,"timestamp_seconds":1787689545,"priority":1,"record_length":96,"hex_timestamp":"000001a03a99ad28"} 
[2026-08-26 02:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:00: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-26 02:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 02:00: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-26 02:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648446464001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648446464001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:00:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:00:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648446464001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":162389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:00:17] local.INFO: GPS data processed {"connection_id":162389,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:00:17] local.INFO: Acknowledgment sent {"connection_id":162389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:00:38] local.INFO: TCP Data received {"connection_id":162139,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:00:38] local.INFO: Processing buffer {"connection_id":162139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:00:38] local.INFO: IMEI packet received {"connection_id":162139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":162139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:00:44] local.INFO: TCP Data received {"connection_id":162139,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:00:44] local.INFO: Processing buffer {"connection_id":162139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:00:44] local.INFO: IMEI packet received {"connection_id":162139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":162139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:00:45] local.INFO: TCP Data received {"connection_id":162139,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:00:45] local.INFO: Processing buffer {"connection_id":162139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:00:45] local.INFO: Packet analysis {"connection_id":162139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a99"} 
[2026-08-26 02:00:45] local.INFO: Extracted packet for processing {"connection_id":162139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a99"} 
[2026-08-26 02:00:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648446464001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:00: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-26 02:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787689545000,"timestamp_ms":1787689545000,"timestamp_seconds":1787689545,"priority":1,"record_length":96,"hex_timestamp":"000001a03a99ad28"} 
[2026-08-26 02: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-26 02:00: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-26 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 02:00:45] 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-26 02: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-26 02: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-26 02:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648446464001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648446464001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:00:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:00:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648446464001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":162139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:00:45] local.INFO: GPS data processed {"connection_id":162139,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:00:45] local.INFO: Acknowledgment sent {"connection_id":162139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:01:17] local.INFO: TCP Data received {"connection_id":162139,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:01:17] local.INFO: Processing buffer {"connection_id":162139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a99ad28012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:01:17] local.INFO: Packet analysis {"connection_id":162139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a99"} 
[2026-08-26 02:01:17] local.INFO: Extracted packet for processing {"connection_id":162139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a99"} 
[2026-08-26 02:01:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648446464001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:01: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-26 02:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787689545000,"timestamp_ms":1787689545000,"timestamp_seconds":1787689545,"priority":1,"record_length":96,"hex_timestamp":"000001a03a99ad28"} 
[2026-08-26 02: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-26 02:01: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-26 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 02:01: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-26 02: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-26 02: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-26 02:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648446464001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648446464001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:01:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:01:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648446464001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":162139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:01:17] local.INFO: GPS data processed {"connection_id":162139,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:01:17] local.INFO: Acknowledgment sent {"connection_id":162139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:01:43] local.INFO: TCP Data received {"connection_id":162390,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:01:43] local.INFO: Processing buffer {"connection_id":162390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:01:43] local.INFO: IMEI packet received {"connection_id":162390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":162390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:01:48] local.INFO: TCP Data received {"connection_id":162390,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:01:48] local.INFO: Processing buffer {"connection_id":162390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:01:48] local.INFO: IMEI packet received {"connection_id":162390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":162390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:01:49] local.INFO: TCP Data received {"connection_id":162390,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:01:49] local.INFO: Processing buffer {"connection_id":162390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:01:49] local.INFO: Packet analysis {"connection_id":162390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a9e"} 
[2026-08-26 02:01:49] local.INFO: Extracted packet for processing {"connection_id":162390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a9e"} 
[2026-08-26 02:01:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648523520001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:01: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-26 02:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787689846000,"timestamp_ms":1787689846000,"timestamp_seconds":1787689846,"priority":1,"record_length":96,"hex_timestamp":"000001a03a9e44f0"} 
[2026-08-26 02:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 02:01:49] 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-26 02:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648523520001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648523520001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:01:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:01:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648523520001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":162390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:01:49] local.INFO: GPS data processed {"connection_id":162390,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:01:49] local.INFO: Acknowledgment sent {"connection_id":162390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:01:54] local.INFO: TCP Data received {"connection_id":162390,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:01:54] local.INFO: Processing buffer {"connection_id":162390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:01:54] local.INFO: Packet analysis {"connection_id":162390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a9e"} 
[2026-08-26 02:01:54] local.INFO: Extracted packet for processing {"connection_id":162390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a9e"} 
[2026-08-26 02:01:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648523520001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 02:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787689846000,"timestamp_ms":1787689846000,"timestamp_seconds":1787689846,"priority":1,"record_length":96,"hex_timestamp":"000001a03a9e44f0"} 
[2026-08-26 02:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 02:01:54] 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-26 02:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648523520001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648523520001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:01:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:01:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648523520001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":162390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:01:54] local.INFO: GPS data processed {"connection_id":162390,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:01:54] local.INFO: Acknowledgment sent {"connection_id":162390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:02:38] local.INFO: TCP Data received {"connection_id":162140,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:02:38] local.INFO: Processing buffer {"connection_id":162140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:02:38] local.INFO: IMEI packet received {"connection_id":162140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":162140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:02:43] local.INFO: TCP Data received {"connection_id":162140,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:02:43] local.INFO: Processing buffer {"connection_id":162140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:02:43] local.INFO: IMEI packet received {"connection_id":162140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":162140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:02:44] local.INFO: TCP Data received {"connection_id":162140,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:02:44] local.INFO: Processing buffer {"connection_id":162140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:02:44] local.INFO: Packet analysis {"connection_id":162140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a9e"} 
[2026-08-26 02:02:44] local.INFO: Extracted packet for processing {"connection_id":162140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a9e"} 
[2026-08-26 02:02:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648523520001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:02: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-26 02:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787689846000,"timestamp_ms":1787689846000,"timestamp_seconds":1787689846,"priority":1,"record_length":96,"hex_timestamp":"000001a03a9e44f0"} 
[2026-08-26 02: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-26 02:02: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-26 02: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 02:02:44] 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-26 02:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02: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-26 02:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648523520001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648523520001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:02:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:02:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648523520001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":162140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:02:44] local.INFO: GPS data processed {"connection_id":162140,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:02:44] local.INFO: Acknowledgment sent {"connection_id":162140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:03:16] local.INFO: TCP Data received {"connection_id":162140,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:03:16] local.INFO: Processing buffer {"connection_id":162140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:03:16] local.INFO: Packet analysis {"connection_id":162140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a9e"} 
[2026-08-26 02:03:16] local.INFO: Extracted packet for processing {"connection_id":162140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a9e"} 
[2026-08-26 02:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 02:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648523520001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 02:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787689846000,"timestamp_ms":1787689846000,"timestamp_seconds":1787689846,"priority":1,"record_length":96,"hex_timestamp":"000001a03a9e44f0"} 
[2026-08-26 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-26 02:03: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-26 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 02:03: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-26 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-26 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-26 02:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648523520001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648523520001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:03:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648523520001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":162140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:03:16] local.INFO: GPS data processed {"connection_id":162140,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:03:16] local.INFO: Acknowledgment sent {"connection_id":162140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:03:38] local.INFO: TCP Data received {"connection_id":163370,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:03:38] local.INFO: Processing buffer {"connection_id":163370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:03:38] local.INFO: IMEI packet received {"connection_id":163370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":163370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:03:43] local.INFO: TCP Data received {"connection_id":163370,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:03:43] local.INFO: Processing buffer {"connection_id":163370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:03:43] local.INFO: IMEI packet received {"connection_id":163370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":163370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:03:44] local.INFO: TCP Data received {"connection_id":163370,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:03:44] local.INFO: Processing buffer {"connection_id":163370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:03:44] local.INFO: Packet analysis {"connection_id":163370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a9e"} 
[2026-08-26 02:03:44] local.INFO: Extracted packet for processing {"connection_id":163370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a9e"} 
[2026-08-26 02:03:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648523520001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:03: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-26 02:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787689846000,"timestamp_ms":1787689846000,"timestamp_seconds":1787689846,"priority":1,"record_length":96,"hex_timestamp":"000001a03a9e44f0"} 
[2026-08-26 02:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:03: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-26 02:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 02:03:44] 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-26 02:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648523520001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648523520001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:03:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:03:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648523520001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":163370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:03:44] local.INFO: GPS data processed {"connection_id":163370,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:03:44] local.INFO: Acknowledgment sent {"connection_id":163370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:04:16] local.INFO: TCP Data received {"connection_id":163370,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:04:16] local.INFO: Processing buffer {"connection_id":163370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:04:16] local.INFO: Packet analysis {"connection_id":163370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a9e"} 
[2026-08-26 02:04:16] local.INFO: Extracted packet for processing {"connection_id":163370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a9e"} 
[2026-08-26 02:04:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648523520001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:04: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-26 02:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787689846000,"timestamp_ms":1787689846000,"timestamp_seconds":1787689846,"priority":1,"record_length":96,"hex_timestamp":"000001a03a9e44f0"} 
[2026-08-26 02:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:04: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-26 02:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 02:04: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-26 02:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648523520001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648523520001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:04:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:04:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648523520001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":163370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:04:16] local.INFO: GPS data processed {"connection_id":163370,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:04:16] local.INFO: Acknowledgment sent {"connection_id":163370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:04:38] local.INFO: TCP Data received {"connection_id":163371,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:04:38] local.INFO: Processing buffer {"connection_id":163371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:04:38] local.INFO: IMEI packet received {"connection_id":163371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":163371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:04:43] local.INFO: TCP Data received {"connection_id":163371,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:04:43] local.INFO: Processing buffer {"connection_id":163371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:04:43] local.INFO: IMEI packet received {"connection_id":163371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":163371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:04:44] local.INFO: TCP Data received {"connection_id":163371,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:04:44] local.INFO: Processing buffer {"connection_id":163371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:04:44] local.INFO: Packet analysis {"connection_id":163371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a9e"} 
[2026-08-26 02:04:44] local.INFO: Extracted packet for processing {"connection_id":163371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a9e"} 
[2026-08-26 02:04:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648523520001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:04: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-26 02:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787689846000,"timestamp_ms":1787689846000,"timestamp_seconds":1787689846,"priority":1,"record_length":96,"hex_timestamp":"000001a03a9e44f0"} 
[2026-08-26 02: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-26 02:04: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-26 02: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 02:04:44] 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-26 02:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02: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-26 02:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648523520001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648523520001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:04:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:04:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648523520001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":163371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:04:44] local.INFO: GPS data processed {"connection_id":163371,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:04:44] local.INFO: Acknowledgment sent {"connection_id":163371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:05:09] local.INFO: TCP Data received {"connection_id":162141,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:05:09] local.INFO: Processing buffer {"connection_id":162141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:05:09] local.INFO: IMEI packet received {"connection_id":162141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 02:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":162141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:05:16] local.INFO: TCP Data received {"connection_id":163371,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:05:16] local.INFO: Processing buffer {"connection_id":163371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:05:16] local.INFO: Packet analysis {"connection_id":163371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a9e"} 
[2026-08-26 02:05:16] local.INFO: Extracted packet for processing {"connection_id":163371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a9e"} 
[2026-08-26 02:05:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648523520001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:05: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-26 02:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787689846000,"timestamp_ms":1787689846000,"timestamp_seconds":1787689846,"priority":1,"record_length":96,"hex_timestamp":"000001a03a9e44f0"} 
[2026-08-26 02:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:05: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-26 02:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 02:05: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-26 02:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648523520001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648523520001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:05:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:05:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648523520001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":163371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:05:16] local.INFO: GPS data processed {"connection_id":163371,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:05:16] local.INFO: Acknowledgment sent {"connection_id":163371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:05:43] local.INFO: TCP Data received {"connection_id":162391,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:05:43] local.INFO: Processing buffer {"connection_id":162391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:05:43] local.INFO: IMEI packet received {"connection_id":162391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":162391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:05:48] local.INFO: TCP Data received {"connection_id":162391,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:05:48] local.INFO: Processing buffer {"connection_id":162391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:05:48] local.INFO: IMEI packet received {"connection_id":162391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":162391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:05:50] local.INFO: TCP Data received {"connection_id":162391,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:05:50] local.INFO: Processing buffer {"connection_id":162391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:05:50] local.INFO: Packet analysis {"connection_id":162391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a9e"} 
[2026-08-26 02:05:50] local.INFO: Extracted packet for processing {"connection_id":162391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a9e"} 
[2026-08-26 02:05:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:05: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-26 02:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648523520001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 02:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787689846000,"timestamp_ms":1787689846000,"timestamp_seconds":1787689846,"priority":1,"record_length":96,"hex_timestamp":"000001a03a9e44f0"} 
[2026-08-26 02:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02:05: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 02:05:50] 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-26 02:05: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-26 02:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648523520001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648523520001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:05:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:05:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648523520001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":162391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:05:50] local.INFO: GPS data processed {"connection_id":162391,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:05:50] local.INFO: Acknowledgment sent {"connection_id":162391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:05:54] local.INFO: TCP Data received {"connection_id":162391,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:05:54] local.INFO: Processing buffer {"connection_id":162391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03a9e44f0012d34c14006aa4818000400e62d..."} 
[2026-08-26 02:05:54] local.INFO: Packet analysis {"connection_id":162391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03a9e"} 
[2026-08-26 02:05:54] local.INFO: Extracted packet for processing {"connection_id":162391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03a9e"} 
[2026-08-26 02:05:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648523520001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 02:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787689846000,"timestamp_ms":1787689846000,"timestamp_seconds":1787689846,"priority":1,"record_length":96,"hex_timestamp":"000001a03a9e44f0"} 
[2026-08-26 02:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 02:05:54] 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-26 02:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648523520001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648523520001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:05:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:05:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648523520001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":162391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:05:54] local.INFO: GPS data processed {"connection_id":162391,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:05:54] local.INFO: Acknowledgment sent {"connection_id":162391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:06:38] local.INFO: TCP Data received {"connection_id":164753,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:06:38] local.INFO: Processing buffer {"connection_id":164753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:06:38] local.INFO: IMEI packet received {"connection_id":164753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":164753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:06:43] local.INFO: TCP Data received {"connection_id":164753,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:06:43] local.INFO: Processing buffer {"connection_id":164753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:06:43] local.INFO: IMEI packet received {"connection_id":164753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":164753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:06:44] local.INFO: TCP Data received {"connection_id":164753,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:06:44] local.INFO: Processing buffer {"connection_id":164753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:06:44] local.INFO: Packet analysis {"connection_id":164753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aa2"} 
[2026-08-26 02:06:44] local.INFO: Extracted packet for processing {"connection_id":164753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aa2"} 
[2026-08-26 02:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648600576001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:06: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-26 02:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787690147000,"timestamp_ms":1787690147000,"timestamp_seconds":1787690147,"priority":1,"record_length":96,"hex_timestamp":"000001a03aa2dcb8"} 
[2026-08-26 02:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:06: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-26 02:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 02:06:44] 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-26 02:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648600576001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648600576001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:06:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:06:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648600576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":164753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:06:44] local.INFO: GPS data processed {"connection_id":164753,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:06:44] local.INFO: Acknowledgment sent {"connection_id":164753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:07:16] local.INFO: TCP Data received {"connection_id":164753,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:07:16] local.INFO: Processing buffer {"connection_id":164753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:07:16] local.INFO: Packet analysis {"connection_id":164753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aa2"} 
[2026-08-26 02:07:16] local.INFO: Extracted packet for processing {"connection_id":164753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aa2"} 
[2026-08-26 02:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648600576001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:07: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-26 02:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787690147000,"timestamp_ms":1787690147000,"timestamp_seconds":1787690147,"priority":1,"record_length":96,"hex_timestamp":"000001a03aa2dcb8"} 
[2026-08-26 02:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:07: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-26 02:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 02:07:16] 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-26 02:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648600576001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648600576001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:07:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:07:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648600576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":164753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:07:17] local.INFO: GPS data processed {"connection_id":164753,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:07:17] local.INFO: Acknowledgment sent {"connection_id":164753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:07:39] local.INFO: TCP Data received {"connection_id":163372,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:07:39] local.INFO: Processing buffer {"connection_id":163372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:07:39] local.INFO: IMEI packet received {"connection_id":163372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":163372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:07:43] local.INFO: TCP Data received {"connection_id":163372,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:07:43] local.INFO: Processing buffer {"connection_id":163372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:07:43] local.INFO: IMEI packet received {"connection_id":163372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":163372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:07:44] local.INFO: TCP Data received {"connection_id":163372,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:07:44] local.INFO: Processing buffer {"connection_id":163372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:07:44] local.INFO: Packet analysis {"connection_id":163372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aa2"} 
[2026-08-26 02:07:44] local.INFO: Extracted packet for processing {"connection_id":163372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aa2"} 
[2026-08-26 02:07:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648600576001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:07: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-26 02:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787690147000,"timestamp_ms":1787690147000,"timestamp_seconds":1787690147,"priority":1,"record_length":96,"hex_timestamp":"000001a03aa2dcb8"} 
[2026-08-26 02:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:07: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-26 02:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 02:07:44] 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-26 02:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648600576001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648600576001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:07:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:07:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648600576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":163372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:07:44] local.INFO: GPS data processed {"connection_id":163372,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:07:44] local.INFO: Acknowledgment sent {"connection_id":163372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:08:16] local.INFO: TCP Data received {"connection_id":163372,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:08:16] local.INFO: Processing buffer {"connection_id":163372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:08:16] local.INFO: Packet analysis {"connection_id":163372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aa2"} 
[2026-08-26 02:08:16] local.INFO: Extracted packet for processing {"connection_id":163372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aa2"} 
[2026-08-26 02:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648600576001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02: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-26 02:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787690147000,"timestamp_ms":1787690147000,"timestamp_seconds":1787690147,"priority":1,"record_length":96,"hex_timestamp":"000001a03aa2dcb8"} 
[2026-08-26 02: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-26 02:08: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-26 02: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 02:08:16] 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-26 02: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-26 02: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-26 02:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648600576001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648600576001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:08:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648600576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":163372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:08:16] local.INFO: GPS data processed {"connection_id":163372,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:08:16] local.INFO: Acknowledgment sent {"connection_id":163372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:08:38] local.INFO: TCP Data received {"connection_id":162142,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:08:38] local.INFO: Processing buffer {"connection_id":162142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:08:38] local.INFO: IMEI packet received {"connection_id":162142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":162142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:08:43] local.INFO: TCP Data received {"connection_id":162142,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:08:43] local.INFO: Processing buffer {"connection_id":162142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:08:43] local.INFO: IMEI packet received {"connection_id":162142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":162142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:08:44] local.INFO: TCP Data received {"connection_id":162142,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:08:44] local.INFO: Processing buffer {"connection_id":162142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:08:44] local.INFO: Packet analysis {"connection_id":162142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aa2"} 
[2026-08-26 02:08:44] local.INFO: Extracted packet for processing {"connection_id":162142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aa2"} 
[2026-08-26 02:08:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648600576001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:08: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-26 02:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787690147000,"timestamp_ms":1787690147000,"timestamp_seconds":1787690147,"priority":1,"record_length":96,"hex_timestamp":"000001a03aa2dcb8"} 
[2026-08-26 02: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-26 02:08: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-26 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 02:08:44] 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-26 02: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-26 02: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-26 02:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648600576001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648600576001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:08:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:08:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648600576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":162142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:08:44] local.INFO: GPS data processed {"connection_id":162142,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:08:44] local.INFO: Acknowledgment sent {"connection_id":162142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:09:16] local.INFO: TCP Data received {"connection_id":162142,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:09:16] local.INFO: Processing buffer {"connection_id":162142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:09:16] local.INFO: Packet analysis {"connection_id":162142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aa2"} 
[2026-08-26 02:09:16] local.INFO: Extracted packet for processing {"connection_id":162142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aa2"} 
[2026-08-26 02:09:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648600576001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:09: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-26 02:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787690147000,"timestamp_ms":1787690147000,"timestamp_seconds":1787690147,"priority":1,"record_length":96,"hex_timestamp":"000001a03aa2dcb8"} 
[2026-08-26 02:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:09: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-26 02:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 02:09:16] 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-26 02:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648600576001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648600576001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:09:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:09:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648600576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":162142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:09:16] local.INFO: GPS data processed {"connection_id":162142,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:09:16] local.INFO: Acknowledgment sent {"connection_id":162142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:09:38] local.INFO: TCP Data received {"connection_id":163374,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:09:38] local.INFO: Processing buffer {"connection_id":163374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:09:38] local.INFO: IMEI packet received {"connection_id":163374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":163374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:09:44] local.INFO: TCP Data received {"connection_id":163374,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:09:44] local.INFO: Processing buffer {"connection_id":163374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:09:44] local.INFO: IMEI packet received {"connection_id":163374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":163374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:09:45] local.INFO: TCP Data received {"connection_id":163374,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:09:45] local.INFO: Processing buffer {"connection_id":163374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:09:45] local.INFO: Packet analysis {"connection_id":163374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aa2"} 
[2026-08-26 02:09:45] local.INFO: Extracted packet for processing {"connection_id":163374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aa2"} 
[2026-08-26 02:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648600576001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:09: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-26 02:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787690147000,"timestamp_ms":1787690147000,"timestamp_seconds":1787690147,"priority":1,"record_length":96,"hex_timestamp":"000001a03aa2dcb8"} 
[2026-08-26 02: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-26 02:09: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-26 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 02:09:45] 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-26 02: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-26 02: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-26 02:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648600576001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648600576001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:09:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:09:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648600576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":163374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:09:45] local.INFO: GPS data processed {"connection_id":163374,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:09:45] local.INFO: Acknowledgment sent {"connection_id":163374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:10:16] local.INFO: TCP Data received {"connection_id":163374,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:10:16] local.INFO: Processing buffer {"connection_id":163374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:10:16] local.INFO: Packet analysis {"connection_id":163374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aa2"} 
[2026-08-26 02:10:16] local.INFO: Extracted packet for processing {"connection_id":163374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aa2"} 
[2026-08-26 02:10:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648600576001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02: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-26 02:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787690147000,"timestamp_ms":1787690147000,"timestamp_seconds":1787690147,"priority":1,"record_length":96,"hex_timestamp":"000001a03aa2dcb8"} 
[2026-08-26 02: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-26 02:10: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-26 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 02:10:16] 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-26 02: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-26 02: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-26 02:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648600576001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648600576001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:10:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:10:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648600576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":163374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:10:16] local.INFO: GPS data processed {"connection_id":163374,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:10:16] local.INFO: Acknowledgment sent {"connection_id":163374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:10:38] local.INFO: TCP Data received {"connection_id":164754,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:10:38] local.INFO: Processing buffer {"connection_id":164754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:10:38] local.INFO: IMEI packet received {"connection_id":164754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":164754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:10:41] local.INFO: TCP Data received {"connection_id":163373,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163373,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:10:41] local.INFO: Processing buffer {"connection_id":163373,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:10:41] local.INFO: IMEI packet received {"connection_id":163373,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 02:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":163373,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:10:43] local.INFO: TCP Data received {"connection_id":164754,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:10:43] local.INFO: Processing buffer {"connection_id":164754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:10:43] local.INFO: IMEI packet received {"connection_id":164754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":164754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:10:45] local.INFO: TCP Data received {"connection_id":164754,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:10:45] local.INFO: Processing buffer {"connection_id":164754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:10:45] local.INFO: Packet analysis {"connection_id":164754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aa2"} 
[2026-08-26 02:10:45] local.INFO: Extracted packet for processing {"connection_id":164754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aa2"} 
[2026-08-26 02:10:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648600576001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:10: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-26 02:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787690147000,"timestamp_ms":1787690147000,"timestamp_seconds":1787690147,"priority":1,"record_length":96,"hex_timestamp":"000001a03aa2dcb8"} 
[2026-08-26 02: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-26 02:10: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-26 02: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 02:10:45] 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-26 02: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-26 02: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-26 02:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648600576001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648600576001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:10:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:10:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648600576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":164754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:10:45] local.INFO: GPS data processed {"connection_id":164754,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:10:45] local.INFO: Acknowledgment sent {"connection_id":164754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:11:16] local.INFO: TCP Data received {"connection_id":164754,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:11:16] local.INFO: Processing buffer {"connection_id":164754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aa2dcb8012d34c14006aa4818000600e62d..."} 
[2026-08-26 02:11:16] local.INFO: Packet analysis {"connection_id":164754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aa2"} 
[2026-08-26 02:11:16] local.INFO: Extracted packet for processing {"connection_id":164754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aa2"} 
[2026-08-26 02:11:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648600576001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:11: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-26 02:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787690147000,"timestamp_ms":1787690147000,"timestamp_seconds":1787690147,"priority":1,"record_length":96,"hex_timestamp":"000001a03aa2dcb8"} 
[2026-08-26 02:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:11: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-26 02:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 02:11:16] 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-26 02:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648600576001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648600576001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:11:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:11:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648600576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":164754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:11:16] local.INFO: GPS data processed {"connection_id":164754,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:11:16] local.INFO: Acknowledgment sent {"connection_id":164754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:11:44] local.INFO: TCP Data received {"connection_id":162392,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:11:44] local.INFO: Processing buffer {"connection_id":162392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:11:44] local.INFO: IMEI packet received {"connection_id":162392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":162392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:11:49] local.INFO: TCP Data received {"connection_id":162392,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:11:49] local.INFO: Processing buffer {"connection_id":162392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:11:49] local.INFO: IMEI packet received {"connection_id":162392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":162392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:11:49] local.INFO: TCP Data received {"connection_id":162392,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:11:49] local.INFO: Processing buffer {"connection_id":162392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:11:49] local.INFO: Packet analysis {"connection_id":162392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aa7"} 
[2026-08-26 02:11:49] local.INFO: Extracted packet for processing {"connection_id":162392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aa7"} 
[2026-08-26 02:11:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:11: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-26 02:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648677632001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:11: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-26 02:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787690448000,"timestamp_ms":1787690448000,"timestamp_seconds":1787690448,"priority":1,"record_length":96,"hex_timestamp":"000001a03aa77480"} 
[2026-08-26 02:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02:11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 02:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 02:11: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-26 02:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648677632001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648677632001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:11:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:11:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648677632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":162392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:11:49] local.INFO: GPS data processed {"connection_id":162392,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:11:49] local.INFO: Acknowledgment sent {"connection_id":162392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:11:54] local.INFO: TCP Data received {"connection_id":162392,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:11:54] local.INFO: Processing buffer {"connection_id":162392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:11:54] local.INFO: Packet analysis {"connection_id":162392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aa7"} 
[2026-08-26 02:11:54] local.INFO: Extracted packet for processing {"connection_id":162392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aa7"} 
[2026-08-26 02:11:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648677632001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 02:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787690448000,"timestamp_ms":1787690448000,"timestamp_seconds":1787690448,"priority":1,"record_length":96,"hex_timestamp":"000001a03aa77480"} 
[2026-08-26 02: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-26 02:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 02:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 02: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-26 02: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-26 02:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648677632001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648677632001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:11:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:11:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648677632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":162392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:11:54] local.INFO: GPS data processed {"connection_id":162392,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:11:54] local.INFO: Acknowledgment sent {"connection_id":162392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:12:38] local.INFO: TCP Data received {"connection_id":162143,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:12:38] local.INFO: Processing buffer {"connection_id":162143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:12:38] local.INFO: IMEI packet received {"connection_id":162143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":162143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:12:43] local.INFO: TCP Data received {"connection_id":162143,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:12:43] local.INFO: Processing buffer {"connection_id":162143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:12:43] local.INFO: IMEI packet received {"connection_id":162143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":162143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:12:44] local.INFO: TCP Data received {"connection_id":162143,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:12:44] local.INFO: Processing buffer {"connection_id":162143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:12:44] local.INFO: Packet analysis {"connection_id":162143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aa7"} 
[2026-08-26 02:12:44] local.INFO: Extracted packet for processing {"connection_id":162143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aa7"} 
[2026-08-26 02:12:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648677632001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:12: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-26 02:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787690448000,"timestamp_ms":1787690448000,"timestamp_seconds":1787690448,"priority":1,"record_length":96,"hex_timestamp":"000001a03aa77480"} 
[2026-08-26 02: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-26 02:12: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-26 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 02:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 02: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-26 02: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-26 02:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648677632001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648677632001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:12:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:12:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648677632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":162143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:12:44] local.INFO: GPS data processed {"connection_id":162143,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:12:44] local.INFO: Acknowledgment sent {"connection_id":162143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:13:16] local.INFO: TCP Data received {"connection_id":162143,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:13:16] local.INFO: Processing buffer {"connection_id":162143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:13:16] local.INFO: Packet analysis {"connection_id":162143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aa7"} 
[2026-08-26 02:13:16] local.INFO: Extracted packet for processing {"connection_id":162143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aa7"} 
[2026-08-26 02:13:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648677632001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02: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-26 02:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787690448000,"timestamp_ms":1787690448000,"timestamp_seconds":1787690448,"priority":1,"record_length":96,"hex_timestamp":"000001a03aa77480"} 
[2026-08-26 02:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:13: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-26 02:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 02:13: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-26 02:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648677632001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648677632001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:13:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:13:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648677632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":162143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:13:16] local.INFO: GPS data processed {"connection_id":162143,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:13:16] local.INFO: Acknowledgment sent {"connection_id":162143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:13:38] local.INFO: TCP Data received {"connection_id":163375,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:13:38] local.INFO: Processing buffer {"connection_id":163375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:13:38] local.INFO: IMEI packet received {"connection_id":163375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":163375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:13:44] local.INFO: TCP Data received {"connection_id":163375,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:13:44] local.INFO: Processing buffer {"connection_id":163375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:13:44] local.INFO: IMEI packet received {"connection_id":163375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":163375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:13:45] local.INFO: TCP Data received {"connection_id":163375,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:13:45] local.INFO: Processing buffer {"connection_id":163375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:13:45] local.INFO: Packet analysis {"connection_id":163375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aa7"} 
[2026-08-26 02:13:45] local.INFO: Extracted packet for processing {"connection_id":163375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aa7"} 
[2026-08-26 02:13:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648677632001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:13: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-26 02:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787690448000,"timestamp_ms":1787690448000,"timestamp_seconds":1787690448,"priority":1,"record_length":96,"hex_timestamp":"000001a03aa77480"} 
[2026-08-26 02: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-26 02:13: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-26 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 02:13: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-26 02: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-26 02: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-26 02:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648677632001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648677632001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:13:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:13:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648677632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":163375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:13:45] local.INFO: GPS data processed {"connection_id":163375,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:13:45] local.INFO: Acknowledgment sent {"connection_id":163375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:14:16] local.INFO: TCP Data received {"connection_id":163375,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:14:16] local.INFO: Processing buffer {"connection_id":163375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:14:16] local.INFO: Packet analysis {"connection_id":163375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aa7"} 
[2026-08-26 02:14:16] local.INFO: Extracted packet for processing {"connection_id":163375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aa7"} 
[2026-08-26 02:14:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648677632001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:14: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-26 02:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787690448000,"timestamp_ms":1787690448000,"timestamp_seconds":1787690448,"priority":1,"record_length":96,"hex_timestamp":"000001a03aa77480"} 
[2026-08-26 02: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-26 02:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 02:14: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-26 02: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-26 02: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-26 02:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648677632001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648677632001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:14:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:14:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648677632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":163375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:14:16] local.INFO: GPS data processed {"connection_id":163375,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:14:16] local.INFO: Acknowledgment sent {"connection_id":163375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:14:38] local.INFO: TCP Data received {"connection_id":163376,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:14:38] local.INFO: Processing buffer {"connection_id":163376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:14:38] local.INFO: IMEI packet received {"connection_id":163376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":163376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:14:43] local.INFO: TCP Data received {"connection_id":163376,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:14:43] local.INFO: Processing buffer {"connection_id":163376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:14:43] local.INFO: IMEI packet received {"connection_id":163376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":163376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:14:44] local.INFO: TCP Data received {"connection_id":163376,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:14:44] local.INFO: Processing buffer {"connection_id":163376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:14:44] local.INFO: Packet analysis {"connection_id":163376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aa7"} 
[2026-08-26 02:14:44] local.INFO: Extracted packet for processing {"connection_id":163376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aa7"} 
[2026-08-26 02:14:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648677632001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02: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-26 02:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787690448000,"timestamp_ms":1787690448000,"timestamp_seconds":1787690448,"priority":1,"record_length":96,"hex_timestamp":"000001a03aa77480"} 
[2026-08-26 02: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-26 02:14: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-26 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 02:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 02: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-26 02: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-26 02:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648677632001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648677632001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:14:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:14:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648677632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":163376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:14:44] local.INFO: GPS data processed {"connection_id":163376,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:14:44] local.INFO: Acknowledgment sent {"connection_id":163376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:15:16] local.INFO: TCP Data received {"connection_id":163376,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:15:16] local.INFO: Processing buffer {"connection_id":163376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:15:16] local.INFO: Packet analysis {"connection_id":163376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aa7"} 
[2026-08-26 02:15:16] local.INFO: Extracted packet for processing {"connection_id":163376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aa7"} 
[2026-08-26 02:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648677632001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:15: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-26 02:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787690448000,"timestamp_ms":1787690448000,"timestamp_seconds":1787690448,"priority":1,"record_length":96,"hex_timestamp":"000001a03aa77480"} 
[2026-08-26 02: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-26 02: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-26 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 02:15: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-26 02: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-26 02: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-26 02:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648677632001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648677632001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:15:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648677632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":163376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:15:16] local.INFO: GPS data processed {"connection_id":163376,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:15:16] local.INFO: Acknowledgment sent {"connection_id":163376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:15:43] local.INFO: TCP Data received {"connection_id":162393,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:15:43] local.INFO: Processing buffer {"connection_id":162393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:15:43] local.INFO: IMEI packet received {"connection_id":162393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":162393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:15:48] local.INFO: TCP Data received {"connection_id":162393,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:15:48] local.INFO: Processing buffer {"connection_id":162393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:15:48] local.INFO: IMEI packet received {"connection_id":162393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":162393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:15:49] local.INFO: TCP Data received {"connection_id":162393,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:15:49] local.INFO: Processing buffer {"connection_id":162393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:15:49] local.INFO: Packet analysis {"connection_id":162393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aa7"} 
[2026-08-26 02:15:49] local.INFO: Extracted packet for processing {"connection_id":162393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aa7"} 
[2026-08-26 02:15:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648677632001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:15: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-26 02:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787690448000,"timestamp_ms":1787690448000,"timestamp_seconds":1787690448,"priority":1,"record_length":96,"hex_timestamp":"000001a03aa77480"} 
[2026-08-26 02: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-26 02:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 02:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 02: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-26 02: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-26 02:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648677632001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648677632001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:15:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:15:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648677632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":162393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:15:49] local.INFO: GPS data processed {"connection_id":162393,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:15:49] local.INFO: Acknowledgment sent {"connection_id":162393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:15:54] local.INFO: TCP Data received {"connection_id":162393,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:15:54] local.INFO: Processing buffer {"connection_id":162393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aa77480012d34c14006aa4818000300e62b..."} 
[2026-08-26 02:15:54] local.INFO: Packet analysis {"connection_id":162393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aa7"} 
[2026-08-26 02:15:54] local.INFO: Extracted packet for processing {"connection_id":162393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aa7"} 
[2026-08-26 02:15:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648677632001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 02:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787690448000,"timestamp_ms":1787690448000,"timestamp_seconds":1787690448,"priority":1,"record_length":96,"hex_timestamp":"000001a03aa77480"} 
[2026-08-26 02:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 02:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 02:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648677632001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648677632001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:15:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:15:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648677632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":162393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:15:54] local.INFO: GPS data processed {"connection_id":162393,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:15:54] local.INFO: Acknowledgment sent {"connection_id":162393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:16:13] local.INFO: TCP Data received {"connection_id":164755,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:16:14] local.INFO: Processing buffer {"connection_id":164755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:16:14] local.INFO: IMEI packet received {"connection_id":164755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 02:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":164755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:16:38] local.INFO: TCP Data received {"connection_id":163377,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:16:38] local.INFO: Processing buffer {"connection_id":163377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:16:38] local.INFO: IMEI packet received {"connection_id":163377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":163377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:16:43] local.INFO: TCP Data received {"connection_id":163377,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:16:43] local.INFO: Processing buffer {"connection_id":163377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:16:43] local.INFO: IMEI packet received {"connection_id":163377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":163377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:16:45] local.INFO: TCP Data received {"connection_id":163377,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:16:45] local.INFO: Processing buffer {"connection_id":163377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:16:45] local.INFO: Packet analysis {"connection_id":163377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aac"} 
[2026-08-26 02:16:45] local.INFO: Extracted packet for processing {"connection_id":163377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aac"} 
[2026-08-26 02:16:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648754688001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02: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-26 02:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787690749000,"timestamp_ms":1787690749000,"timestamp_seconds":1787690749,"priority":1,"record_length":96,"hex_timestamp":"000001a03aac0c48"} 
[2026-08-26 02: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-26 02:16: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-26 02: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-26 02: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-26 02: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-26 02: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-26 02:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648754688001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648754688001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:16:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:16:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648754688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":163377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:16:45] local.INFO: GPS data processed {"connection_id":163377,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:16:45] local.INFO: Acknowledgment sent {"connection_id":163377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:17:16] local.INFO: TCP Data received {"connection_id":163377,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:17:16] local.INFO: Processing buffer {"connection_id":163377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:17:16] local.INFO: Packet analysis {"connection_id":163377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aac"} 
[2026-08-26 02:17:16] local.INFO: Extracted packet for processing {"connection_id":163377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aac"} 
[2026-08-26 02:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648754688001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:17: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-26 02:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787690749000,"timestamp_ms":1787690749000,"timestamp_seconds":1787690749,"priority":1,"record_length":96,"hex_timestamp":"000001a03aac0c48"} 
[2026-08-26 02:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:17: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-26 02:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 02:17: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-26 02:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648754688001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648754688001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:17:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:17:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648754688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":163377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:17:16] local.INFO: GPS data processed {"connection_id":163377,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:17:16] local.INFO: Acknowledgment sent {"connection_id":163377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:17:38] local.INFO: TCP Data received {"connection_id":162144,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:17:38] local.INFO: Processing buffer {"connection_id":162144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:17:38] local.INFO: IMEI packet received {"connection_id":162144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":162144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:17:43] local.INFO: TCP Data received {"connection_id":162144,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:17:43] local.INFO: Processing buffer {"connection_id":162144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:17:43] local.INFO: IMEI packet received {"connection_id":162144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":162144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:17:44] local.INFO: TCP Data received {"connection_id":162144,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:17:44] local.INFO: Processing buffer {"connection_id":162144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:17:44] local.INFO: Packet analysis {"connection_id":162144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aac"} 
[2026-08-26 02:17:44] local.INFO: Extracted packet for processing {"connection_id":162144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aac"} 
[2026-08-26 02:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648754688001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:17: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-26 02:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787690749000,"timestamp_ms":1787690749000,"timestamp_seconds":1787690749,"priority":1,"record_length":96,"hex_timestamp":"000001a03aac0c48"} 
[2026-08-26 02:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:17: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-26 02:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 02:17: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-26 02:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648754688001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648754688001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:17:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648754688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":162144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:17:44] local.INFO: GPS data processed {"connection_id":162144,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:17:44] local.INFO: Acknowledgment sent {"connection_id":162144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:18:16] local.INFO: TCP Data received {"connection_id":162144,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:18:16] local.INFO: Processing buffer {"connection_id":162144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:18:16] local.INFO: Packet analysis {"connection_id":162144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aac"} 
[2026-08-26 02:18:16] local.INFO: Extracted packet for processing {"connection_id":162144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aac"} 
[2026-08-26 02:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 02:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648754688001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 02:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787690749000,"timestamp_ms":1787690749000,"timestamp_seconds":1787690749,"priority":1,"record_length":96,"hex_timestamp":"000001a03aac0c48"} 
[2026-08-26 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-26 02:18: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-26 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-26 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-26 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-26 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-26 02:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648754688001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648754688001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:18:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648754688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":162144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:18:16] local.INFO: GPS data processed {"connection_id":162144,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:18:16] local.INFO: Acknowledgment sent {"connection_id":162144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:18:38] local.INFO: TCP Data received {"connection_id":164756,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:18:38] local.INFO: Processing buffer {"connection_id":164756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:18:38] local.INFO: IMEI packet received {"connection_id":164756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":164756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:18:43] local.INFO: TCP Data received {"connection_id":164756,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:18:43] local.INFO: Processing buffer {"connection_id":164756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:18:43] local.INFO: IMEI packet received {"connection_id":164756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":164756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:18:44] local.INFO: TCP Data received {"connection_id":164756,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:18:44] local.INFO: Processing buffer {"connection_id":164756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:18:44] local.INFO: Packet analysis {"connection_id":164756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aac"} 
[2026-08-26 02:18:44] local.INFO: Extracted packet for processing {"connection_id":164756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aac"} 
[2026-08-26 02:18:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648754688001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:18: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-26 02:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787690749000,"timestamp_ms":1787690749000,"timestamp_seconds":1787690749,"priority":1,"record_length":96,"hex_timestamp":"000001a03aac0c48"} 
[2026-08-26 02: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-26 02:18: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-26 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 02:18: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-26 02: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-26 02: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-26 02:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648754688001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648754688001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:18:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:18:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648754688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":164756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:18:44] local.INFO: GPS data processed {"connection_id":164756,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:18:44] local.INFO: Acknowledgment sent {"connection_id":164756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:19:16] local.INFO: TCP Data received {"connection_id":164756,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:19:16] local.INFO: Processing buffer {"connection_id":164756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:19:16] local.INFO: Packet analysis {"connection_id":164756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aac"} 
[2026-08-26 02:19:16] local.INFO: Extracted packet for processing {"connection_id":164756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aac"} 
[2026-08-26 02:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648754688001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02: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-26 02:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787690749000,"timestamp_ms":1787690749000,"timestamp_seconds":1787690749,"priority":1,"record_length":96,"hex_timestamp":"000001a03aac0c48"} 
[2026-08-26 02:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 02:19: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-26 02:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648754688001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648754688001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:19:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:19:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648754688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":164756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:19:16] local.INFO: GPS data processed {"connection_id":164756,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:19:16] local.INFO: Acknowledgment sent {"connection_id":164756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:19:38] local.INFO: TCP Data received {"connection_id":162145,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:19:38] local.INFO: Processing buffer {"connection_id":162145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:19:38] local.INFO: IMEI packet received {"connection_id":162145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":162145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:19:44] local.INFO: TCP Data received {"connection_id":162145,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:19:44] local.INFO: Processing buffer {"connection_id":162145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:19:44] local.INFO: IMEI packet received {"connection_id":162145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":162145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:19:45] local.INFO: TCP Data received {"connection_id":162145,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:19:45] local.INFO: Processing buffer {"connection_id":162145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:19:45] local.INFO: Packet analysis {"connection_id":162145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aac"} 
[2026-08-26 02:19:45] local.INFO: Extracted packet for processing {"connection_id":162145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aac"} 
[2026-08-26 02:19:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648754688001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:19: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-26 02:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787690749000,"timestamp_ms":1787690749000,"timestamp_seconds":1787690749,"priority":1,"record_length":96,"hex_timestamp":"000001a03aac0c48"} 
[2026-08-26 02: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-26 02:19: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-26 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 02:19: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-26 02: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-26 02: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-26 02:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648754688001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648754688001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:19:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:19:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648754688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":162145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:19:45] local.INFO: GPS data processed {"connection_id":162145,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:19:45] local.INFO: Acknowledgment sent {"connection_id":162145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:20:16] local.INFO: TCP Data received {"connection_id":162145,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:20:16] local.INFO: Processing buffer {"connection_id":162145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:20:16] local.INFO: Packet analysis {"connection_id":162145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aac"} 
[2026-08-26 02:20:16] local.INFO: Extracted packet for processing {"connection_id":162145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aac"} 
[2026-08-26 02:20:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648754688001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:20: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-26 02:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787690749000,"timestamp_ms":1787690749000,"timestamp_seconds":1787690749,"priority":1,"record_length":96,"hex_timestamp":"000001a03aac0c48"} 
[2026-08-26 02:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:20: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-26 02:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 02:20: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-26 02:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648754688001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648754688001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:20:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:20:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648754688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":162145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:20:16] local.INFO: GPS data processed {"connection_id":162145,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:20:16] local.INFO: Acknowledgment sent {"connection_id":162145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:20:43] local.INFO: TCP Data received {"connection_id":164757,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:20:43] local.INFO: Processing buffer {"connection_id":164757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:20:43] local.INFO: IMEI packet received {"connection_id":164757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":164757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:20:48] local.INFO: TCP Data received {"connection_id":164757,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:20:48] local.INFO: Processing buffer {"connection_id":164757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:20:48] local.INFO: IMEI packet received {"connection_id":164757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":164757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:20:49] local.INFO: TCP Data received {"connection_id":164757,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:20:49] local.INFO: Processing buffer {"connection_id":164757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:20:49] local.INFO: Packet analysis {"connection_id":164757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aac"} 
[2026-08-26 02:20:49] local.INFO: Extracted packet for processing {"connection_id":164757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aac"} 
[2026-08-26 02:20:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648754688001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:20: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-26 02:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787690749000,"timestamp_ms":1787690749000,"timestamp_seconds":1787690749,"priority":1,"record_length":96,"hex_timestamp":"000001a03aac0c48"} 
[2026-08-26 02: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-26 02:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 02:20: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-26 02:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02: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-26 02:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648754688001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648754688001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:20:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:20:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648754688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":164757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:20:49] local.INFO: GPS data processed {"connection_id":164757,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:20:49] local.INFO: Acknowledgment sent {"connection_id":164757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:20:54] local.INFO: TCP Data received {"connection_id":164757,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:20:54] local.INFO: Processing buffer {"connection_id":164757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aac0c48012d34c14006aa4818000200e62d..."} 
[2026-08-26 02:20:54] local.INFO: Packet analysis {"connection_id":164757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aac"} 
[2026-08-26 02:20:54] local.INFO: Extracted packet for processing {"connection_id":164757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aac"} 
[2026-08-26 02:20:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648754688001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 02:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787690749000,"timestamp_ms":1787690749000,"timestamp_seconds":1787690749,"priority":1,"record_length":96,"hex_timestamp":"000001a03aac0c48"} 
[2026-08-26 02:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 02:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 02:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648754688001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648754688001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:20:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:20:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648754688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":164757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:20:54] local.INFO: GPS data processed {"connection_id":164757,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:20:54] local.INFO: Acknowledgment sent {"connection_id":164757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:21:38] local.INFO: TCP Data received {"connection_id":163379,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:21:38] local.INFO: Processing buffer {"connection_id":163379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:21:38] local.INFO: IMEI packet received {"connection_id":163379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":163379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:21:43] local.INFO: TCP Data received {"connection_id":163379,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:21:43] local.INFO: Processing buffer {"connection_id":163379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:21:43] local.INFO: IMEI packet received {"connection_id":163379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":163379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:21:44] local.INFO: TCP Data received {"connection_id":163379,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:21:44] local.INFO: Processing buffer {"connection_id":163379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:21:44] local.INFO: Packet analysis {"connection_id":163379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab0"} 
[2026-08-26 02:21:44] local.INFO: Extracted packet for processing {"connection_id":163379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab0"} 
[2026-08-26 02:21:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648831744001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:21: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-26 02:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787691050000,"timestamp_ms":1787691050000,"timestamp_seconds":1787691050,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab0a410"} 
[2026-08-26 02:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:21: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-26 02:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:21: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-26 02:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648831744001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648831744001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:21:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:21:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648831744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":163379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:21:44] local.INFO: GPS data processed {"connection_id":163379,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:21:44] local.INFO: Acknowledgment sent {"connection_id":163379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:21:49] local.INFO: TCP Data received {"connection_id":163378,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:21:49] local.INFO: Processing buffer {"connection_id":163378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:21:49] local.INFO: IMEI packet received {"connection_id":163378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 02:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":163378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:22:15] local.INFO: TCP Data received {"connection_id":163379,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:22:15] local.INFO: Processing buffer {"connection_id":163379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:22:15] local.INFO: Packet analysis {"connection_id":163379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab0"} 
[2026-08-26 02:22:15] local.INFO: Extracted packet for processing {"connection_id":163379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab0"} 
[2026-08-26 02:22:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648831744001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02: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-26 02:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787691050000,"timestamp_ms":1787691050000,"timestamp_seconds":1787691050,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab0a410"} 
[2026-08-26 02: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-26 02:22: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-26 02: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:22: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-26 02: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-26 02: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-26 02:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648831744001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648831744001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:22:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:22:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648831744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":163379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:22:15] local.INFO: GPS data processed {"connection_id":163379,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:22:15] local.INFO: Acknowledgment sent {"connection_id":163379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:22:39] local.INFO: TCP Data received {"connection_id":162394,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:22:39] local.INFO: Processing buffer {"connection_id":162394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:22:39] local.INFO: IMEI packet received {"connection_id":162394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":162394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:22:43] local.INFO: TCP Data received {"connection_id":162394,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:22:43] local.INFO: Processing buffer {"connection_id":162394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:22:43] local.INFO: IMEI packet received {"connection_id":162394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":162394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:22:44] local.INFO: TCP Data received {"connection_id":162394,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:22:44] local.INFO: Processing buffer {"connection_id":162394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:22:44] local.INFO: Packet analysis {"connection_id":162394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab0"} 
[2026-08-26 02:22:44] local.INFO: Extracted packet for processing {"connection_id":162394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab0"} 
[2026-08-26 02:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648831744001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:22: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-26 02:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787691050000,"timestamp_ms":1787691050000,"timestamp_seconds":1787691050,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab0a410"} 
[2026-08-26 02: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-26 02:22: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-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:22: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-26 02: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-26 02: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-26 02:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648831744001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648831744001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:22:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648831744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":162394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:22:44] local.INFO: GPS data processed {"connection_id":162394,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:22:44] local.INFO: Acknowledgment sent {"connection_id":162394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:23:16] local.INFO: TCP Data received {"connection_id":162394,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:23:16] local.INFO: Processing buffer {"connection_id":162394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:23:16] local.INFO: Packet analysis {"connection_id":162394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab0"} 
[2026-08-26 02:23:16] local.INFO: Extracted packet for processing {"connection_id":162394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab0"} 
[2026-08-26 02:23:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 02:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648831744001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 02:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787691050000,"timestamp_ms":1787691050000,"timestamp_seconds":1787691050,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab0a410"} 
[2026-08-26 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-26 02:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:23: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-26 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-26 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-26 02:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648831744001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648831744001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:23:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:23:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648831744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":162394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:23:16] local.INFO: GPS data processed {"connection_id":162394,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:23:16] local.INFO: Acknowledgment sent {"connection_id":162394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:23:38] local.INFO: TCP Data received {"connection_id":162146,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:23:38] local.INFO: Processing buffer {"connection_id":162146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:23:38] local.INFO: IMEI packet received {"connection_id":162146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":162146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:23:43] local.INFO: TCP Data received {"connection_id":162146,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:23:43] local.INFO: Processing buffer {"connection_id":162146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:23:43] local.INFO: IMEI packet received {"connection_id":162146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":162146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:23:44] local.INFO: TCP Data received {"connection_id":162146,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:23:44] local.INFO: Processing buffer {"connection_id":162146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:23:44] local.INFO: Packet analysis {"connection_id":162146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab0"} 
[2026-08-26 02:23:44] local.INFO: Extracted packet for processing {"connection_id":162146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab0"} 
[2026-08-26 02:23:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648831744001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:23: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-26 02:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787691050000,"timestamp_ms":1787691050000,"timestamp_seconds":1787691050,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab0a410"} 
[2026-08-26 02: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-26 02:23: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-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:23: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-26 02: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-26 02: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-26 02:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648831744001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648831744001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:23:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:23:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648831744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":162146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:23:44] local.INFO: GPS data processed {"connection_id":162146,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:23:44] local.INFO: Acknowledgment sent {"connection_id":162146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:24:16] local.INFO: TCP Data received {"connection_id":162146,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:24:16] local.INFO: Processing buffer {"connection_id":162146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:24:16] local.INFO: Packet analysis {"connection_id":162146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab0"} 
[2026-08-26 02:24:16] local.INFO: Extracted packet for processing {"connection_id":162146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab0"} 
[2026-08-26 02:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648831744001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:24: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-26 02:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787691050000,"timestamp_ms":1787691050000,"timestamp_seconds":1787691050,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab0a410"} 
[2026-08-26 02:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:24: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-26 02:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648831744001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648831744001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:24:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:24:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648831744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":162146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:24:16] local.INFO: GPS data processed {"connection_id":162146,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:24:16] local.INFO: Acknowledgment sent {"connection_id":162146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:24:43] local.INFO: TCP Data received {"connection_id":162395,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:24:43] local.INFO: Processing buffer {"connection_id":162395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:24:43] local.INFO: IMEI packet received {"connection_id":162395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":162395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:24:49] local.INFO: TCP Data received {"connection_id":162395,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:24:49] local.INFO: Processing buffer {"connection_id":162395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:24:49] local.INFO: IMEI packet received {"connection_id":162395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":162395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:24:51] local.INFO: TCP Data received {"connection_id":162395,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:24:51] local.INFO: Processing buffer {"connection_id":162395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:24:51] local.INFO: Packet analysis {"connection_id":162395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab0"} 
[2026-08-26 02:24:51] local.INFO: Extracted packet for processing {"connection_id":162395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab0"} 
[2026-08-26 02:24:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648831744001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 02:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787691050000,"timestamp_ms":1787691050000,"timestamp_seconds":1787691050,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab0a410"} 
[2026-08-26 02: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-26 02:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:24:51] 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-26 02: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-26 02: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-26 02:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648831744001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648831744001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:24:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:24:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648831744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":162395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:24:51] local.INFO: GPS data processed {"connection_id":162395,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:24:51] local.INFO: Acknowledgment sent {"connection_id":162395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:24:54] local.INFO: TCP Data received {"connection_id":162395,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:24:54] local.INFO: Processing buffer {"connection_id":162395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:24:54] local.INFO: Packet analysis {"connection_id":162395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab0"} 
[2026-08-26 02:24:54] local.INFO: Extracted packet for processing {"connection_id":162395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab0"} 
[2026-08-26 02:24:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648831744001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 02:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787691050000,"timestamp_ms":1787691050000,"timestamp_seconds":1787691050,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab0a410"} 
[2026-08-26 02: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-26 02:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 02: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-26 02: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-26 02:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648831744001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648831744001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:24:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:24:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648831744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":162395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:24:54] local.INFO: GPS data processed {"connection_id":162395,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:24:54] local.INFO: Acknowledgment sent {"connection_id":162395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:25:38] local.INFO: TCP Data received {"connection_id":162147,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:25:38] local.INFO: Processing buffer {"connection_id":162147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:25:38] local.INFO: IMEI packet received {"connection_id":162147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":162147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:25:43] local.INFO: TCP Data received {"connection_id":162147,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:25:43] local.INFO: Processing buffer {"connection_id":162147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:25:43] local.INFO: IMEI packet received {"connection_id":162147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":162147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:25:44] local.INFO: TCP Data received {"connection_id":162147,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:25:44] local.INFO: Processing buffer {"connection_id":162147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:25:44] local.INFO: Packet analysis {"connection_id":162147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab0"} 
[2026-08-26 02:25:44] local.INFO: Extracted packet for processing {"connection_id":162147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab0"} 
[2026-08-26 02:25:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 02:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648831744001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 02:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787691050000,"timestamp_ms":1787691050000,"timestamp_seconds":1787691050,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab0a410"} 
[2026-08-26 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-26 02:25: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-26 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":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:25: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-26 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-26 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-26 02:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648831744001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648831744001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:25:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:25:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648831744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":162147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:25:44] local.INFO: GPS data processed {"connection_id":162147,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:25:44] local.INFO: Acknowledgment sent {"connection_id":162147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:26:15] local.INFO: TCP Data received {"connection_id":162147,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:26:15] local.INFO: Processing buffer {"connection_id":162147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab0a410012d34c14006aa4818000600e62e..."} 
[2026-08-26 02:26:15] local.INFO: Packet analysis {"connection_id":162147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab0"} 
[2026-08-26 02:26:15] local.INFO: Extracted packet for processing {"connection_id":162147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab0"} 
[2026-08-26 02:26:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648831744001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02: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-26 02:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787691050000,"timestamp_ms":1787691050000,"timestamp_seconds":1787691050,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab0a410"} 
[2026-08-26 02: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-26 02: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-26 02: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:26: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-26 02: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-26 02: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-26 02:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648831744001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648831744001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:26:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:26:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648831744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":162147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:26:15] local.INFO: GPS data processed {"connection_id":162147,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:26:15] local.INFO: Acknowledgment sent {"connection_id":162147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:26:38] local.INFO: TCP Data received {"connection_id":162396,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:26:38] local.INFO: Processing buffer {"connection_id":162396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:26:38] local.INFO: IMEI packet received {"connection_id":162396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":162396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:26:44] local.INFO: TCP Data received {"connection_id":162396,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:26:44] local.INFO: Processing buffer {"connection_id":162396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:26:44] local.INFO: IMEI packet received {"connection_id":162396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":162396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:26:44] local.INFO: TCP Data received {"connection_id":162396,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:26:45] local.INFO: Processing buffer {"connection_id":162396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:26:45] local.INFO: Packet analysis {"connection_id":162396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab5"} 
[2026-08-26 02:26:45] local.INFO: Extracted packet for processing {"connection_id":162396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab5"} 
[2026-08-26 02:26:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648908800001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:26: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-26 02:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787691351000,"timestamp_ms":1787691351000,"timestamp_seconds":1787691351,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab53bd8"} 
[2026-08-26 02: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-26 02:26: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-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:26:45] 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-26 02: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-26 02: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-26 02:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648908800001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648908800001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:26:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:26:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648908800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":162396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:26:45] local.INFO: GPS data processed {"connection_id":162396,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:26:45] local.INFO: Acknowledgment sent {"connection_id":162396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:27:17] local.INFO: TCP Data received {"connection_id":162396,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:27:17] local.INFO: Processing buffer {"connection_id":162396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:27:17] local.INFO: Packet analysis {"connection_id":162396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab5"} 
[2026-08-26 02:27:17] local.INFO: Extracted packet for processing {"connection_id":162396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab5"} 
[2026-08-26 02:27:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648908800001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:27: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-26 02:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787691351000,"timestamp_ms":1787691351000,"timestamp_seconds":1787691351,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab53bd8"} 
[2026-08-26 02: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-26 02:27: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-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:27:17] 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-26 02: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-26 02: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-26 02:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648908800001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648908800001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:27:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:27:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648908800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":162396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:27:17] local.INFO: GPS data processed {"connection_id":162396,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:27:17] local.INFO: Acknowledgment sent {"connection_id":162396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:27:24] local.INFO: TCP Data received {"connection_id":164758,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:27:24] local.INFO: Processing buffer {"connection_id":164758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:27:24] local.INFO: IMEI packet received {"connection_id":164758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 02:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":164758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:27:38] local.INFO: TCP Data received {"connection_id":163380,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:27:38] local.INFO: Processing buffer {"connection_id":163380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:27:38] local.INFO: IMEI packet received {"connection_id":163380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":163380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:27:43] local.INFO: TCP Data received {"connection_id":163380,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:27:43] local.INFO: Processing buffer {"connection_id":163380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:27:43] local.INFO: IMEI packet received {"connection_id":163380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":163380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:27:44] local.INFO: TCP Data received {"connection_id":163380,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:27:44] local.INFO: Processing buffer {"connection_id":163380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:27:44] local.INFO: Packet analysis {"connection_id":163380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab5"} 
[2026-08-26 02:27:44] local.INFO: Extracted packet for processing {"connection_id":163380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab5"} 
[2026-08-26 02:27:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648908800001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:27: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-26 02:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787691351000,"timestamp_ms":1787691351000,"timestamp_seconds":1787691351,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab53bd8"} 
[2026-08-26 02: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-26 02:27: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-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:27: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-26 02: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-26 02: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-26 02:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648908800001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648908800001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:27:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:27:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648908800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":163380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:27:44] local.INFO: GPS data processed {"connection_id":163380,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:27:44] local.INFO: Acknowledgment sent {"connection_id":163380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:28:03] local.INFO: TCP Data received {"connection_id":164759,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:28:03] local.INFO: Processing buffer {"connection_id":164759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:28:03] local.INFO: IMEI packet received {"connection_id":164759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 02:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":164759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:28:16] local.INFO: TCP Data received {"connection_id":163380,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:28:16] local.INFO: Processing buffer {"connection_id":163380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:28:16] local.INFO: Packet analysis {"connection_id":163380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab5"} 
[2026-08-26 02:28:16] local.INFO: Extracted packet for processing {"connection_id":163380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab5"} 
[2026-08-26 02:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 02:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648908800001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 02:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787691351000,"timestamp_ms":1787691351000,"timestamp_seconds":1787691351,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab53bd8"} 
[2026-08-26 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-26 02:28: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-26 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:28: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-26 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-26 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-26 02:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648908800001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 02:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648908800001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:28:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648908800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":163380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:28:16] local.INFO: GPS data processed {"connection_id":163380,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:28:16] local.INFO: Acknowledgment sent {"connection_id":163380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:28:38] local.INFO: TCP Data received {"connection_id":163382,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:28:38] local.INFO: Processing buffer {"connection_id":163382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:28:38] local.INFO: IMEI packet received {"connection_id":163382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":163382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:29:13] local.INFO: TCP Data received {"connection_id":162148,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:29:13] local.INFO: Processing buffer {"connection_id":162148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:29:13] local.INFO: IMEI packet received {"connection_id":162148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":162148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:29:18] local.INFO: TCP Data received {"connection_id":162148,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:29:18] local.INFO: Processing buffer {"connection_id":162148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:29:18] local.INFO: IMEI packet received {"connection_id":162148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":162148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:29:20] local.INFO: TCP Data received {"connection_id":162148,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:29:20] local.INFO: Processing buffer {"connection_id":162148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:29:20] local.INFO: Packet analysis {"connection_id":162148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab5"} 
[2026-08-26 02:29:20] local.INFO: Extracted packet for processing {"connection_id":162148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab5"} 
[2026-08-26 02:29:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648908800001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:29: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-26 02:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787691351000,"timestamp_ms":1787691351000,"timestamp_seconds":1787691351,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab53bd8"} 
[2026-08-26 02: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-26 02:29: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-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:29: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-26 02: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-26 02: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-26 02:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:29:20] 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-26 02:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648908800001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648908800001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:29:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:29:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648908800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":162148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:29:20] local.INFO: GPS data processed {"connection_id":162148,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:29:20] local.INFO: Acknowledgment sent {"connection_id":162148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:29:43] local.INFO: TCP Data received {"connection_id":163383,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:29:43] local.INFO: Processing buffer {"connection_id":163383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:29:43] local.INFO: IMEI packet received {"connection_id":163383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":163383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:29:48] local.INFO: TCP Data received {"connection_id":163383,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:29:48] local.INFO: Processing buffer {"connection_id":163383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:29:48] local.INFO: IMEI packet received {"connection_id":163383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":163383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:29:49] local.INFO: TCP Data received {"connection_id":163383,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:29:49] local.INFO: Processing buffer {"connection_id":163383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:29:49] local.INFO: Packet analysis {"connection_id":163383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab5"} 
[2026-08-26 02:29:49] local.INFO: Extracted packet for processing {"connection_id":163383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab5"} 
[2026-08-26 02:29:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:29: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-26 02:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648908800001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:29: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-26 02:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787691351000,"timestamp_ms":1787691351000,"timestamp_seconds":1787691351,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab53bd8"} 
[2026-08-26 02:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02:29: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:29:49] 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-26 02:29: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-26 02:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648908800001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648908800001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:29:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:29:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648908800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":163383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:29:49] local.INFO: GPS data processed {"connection_id":163383,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:29:49] local.INFO: Acknowledgment sent {"connection_id":163383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:30:21] local.INFO: TCP Data received {"connection_id":163383,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:30:21] local.INFO: Processing buffer {"connection_id":163383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:30:21] local.INFO: Packet analysis {"connection_id":163383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab5"} 
[2026-08-26 02:30:21] local.INFO: Extracted packet for processing {"connection_id":163383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab5"} 
[2026-08-26 02:30:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648908800001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:30: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-26 02:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787691351000,"timestamp_ms":1787691351000,"timestamp_seconds":1787691351,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab53bd8"} 
[2026-08-26 02: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-26 02:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:30:21] 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-26 02: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-26 02: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-26 02:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648908800001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648908800001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:30:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:30:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648908800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":163383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:30:21] local.INFO: GPS data processed {"connection_id":163383,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:30:21] local.INFO: Acknowledgment sent {"connection_id":163383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:30:38] local.INFO: TCP Data received {"connection_id":162149,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:30:38] local.INFO: Processing buffer {"connection_id":162149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:30:38] local.INFO: IMEI packet received {"connection_id":162149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":162149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:30:43] local.INFO: TCP Data received {"connection_id":162149,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:30:43] local.INFO: Processing buffer {"connection_id":162149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:30:43] local.INFO: IMEI packet received {"connection_id":162149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":162149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:30:44] local.INFO: TCP Data received {"connection_id":162149,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:30:44] local.INFO: Processing buffer {"connection_id":162149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:30:44] local.INFO: Packet analysis {"connection_id":162149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab5"} 
[2026-08-26 02:30:44] local.INFO: Extracted packet for processing {"connection_id":162149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab5"} 
[2026-08-26 02:30:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648908800001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:30: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-26 02:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787691351000,"timestamp_ms":1787691351000,"timestamp_seconds":1787691351,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab53bd8"} 
[2026-08-26 02: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-26 02:30: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-26 02: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-26 02: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-26 02: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-26 02: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-26 02:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:30: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-26 02:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648908800001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648908800001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:30:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:30:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648908800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":162149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:30:44] local.INFO: GPS data processed {"connection_id":162149,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:30:44] local.INFO: Acknowledgment sent {"connection_id":162149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:31:15] local.INFO: TCP Data received {"connection_id":162149,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:31:15] local.INFO: Processing buffer {"connection_id":162149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab53bd8012d34c14006aa4818000300e62e..."} 
[2026-08-26 02:31:15] local.INFO: Packet analysis {"connection_id":162149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab5"} 
[2026-08-26 02:31:15] local.INFO: Extracted packet for processing {"connection_id":162149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab5"} 
[2026-08-26 02:31:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648908800001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02: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-26 02:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787691351000,"timestamp_ms":1787691351000,"timestamp_seconds":1787691351,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab53bd8"} 
[2026-08-26 02: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-26 02:31: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-26 02: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:31: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-26 02: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-26 02: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-26 02:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:31: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-26 02:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648908800001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648908800001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:31:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:31:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648908800001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":162149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:31:15] local.INFO: GPS data processed {"connection_id":162149,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:31:15] local.INFO: Acknowledgment sent {"connection_id":162149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:31:38] local.INFO: TCP Data received {"connection_id":163384,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:31:38] local.INFO: Processing buffer {"connection_id":163384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:31:38] local.INFO: IMEI packet received {"connection_id":163384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":163384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:31:43] local.INFO: TCP Data received {"connection_id":163384,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:31:43] local.INFO: Processing buffer {"connection_id":163384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:31:43] local.INFO: IMEI packet received {"connection_id":163384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":163384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:31:44] local.INFO: TCP Data received {"connection_id":163384,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:31:44] local.INFO: Processing buffer {"connection_id":163384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:31:44] local.INFO: Packet analysis {"connection_id":163384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab9"} 
[2026-08-26 02:31:44] local.INFO: Extracted packet for processing {"connection_id":163384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab9"} 
[2026-08-26 02:31:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648985856001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:31: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-26 02:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787691652000,"timestamp_ms":1787691652000,"timestamp_seconds":1787691652,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab9d3a0"} 
[2026-08-26 02: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-26 02:31: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-26 02: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 02:31: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-26 02: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-26 02: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-26 02:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:31: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-26 02:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648985856001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648985856001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:31:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:31:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648985856001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":163384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:31:44] local.INFO: GPS data processed {"connection_id":163384,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:31:44] local.INFO: Acknowledgment sent {"connection_id":163384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:32:15] local.INFO: TCP Data received {"connection_id":163384,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:32:15] local.INFO: Processing buffer {"connection_id":163384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:32:15] local.INFO: Packet analysis {"connection_id":163384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab9"} 
[2026-08-26 02:32:15] local.INFO: Extracted packet for processing {"connection_id":163384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab9"} 
[2026-08-26 02:32:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648985856001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02: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-26 02:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787691652000,"timestamp_ms":1787691652000,"timestamp_seconds":1787691652,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab9d3a0"} 
[2026-08-26 02: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-26 02:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02: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-26 02: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-26 02: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-26 02:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:32: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-26 02:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648985856001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648985856001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:32:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:32:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648985856001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":163384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:32:15] local.INFO: GPS data processed {"connection_id":163384,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:32:15] local.INFO: Acknowledgment sent {"connection_id":163384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:32:38] local.INFO: TCP Data received {"connection_id":164760,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:32:38] local.INFO: Processing buffer {"connection_id":164760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:32:38] local.INFO: IMEI packet received {"connection_id":164760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":164760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:32:43] local.INFO: TCP Data received {"connection_id":164760,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:32:43] local.INFO: Processing buffer {"connection_id":164760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:32:43] local.INFO: IMEI packet received {"connection_id":164760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":164760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:32:44] local.INFO: TCP Data received {"connection_id":164760,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:32:44] local.INFO: Processing buffer {"connection_id":164760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:32:44] local.INFO: Packet analysis {"connection_id":164760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab9"} 
[2026-08-26 02:32:44] local.INFO: Extracted packet for processing {"connection_id":164760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab9"} 
[2026-08-26 02:32:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648985856001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:32: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-26 02:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787691652000,"timestamp_ms":1787691652000,"timestamp_seconds":1787691652,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab9d3a0"} 
[2026-08-26 02: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-26 02:32: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-26 02: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 02:32: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-26 02: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-26 02: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-26 02:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:32:44] 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-26 02:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648985856001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648985856001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:32:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:32:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648985856001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":164760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:32:44] local.INFO: GPS data processed {"connection_id":164760,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:32:44] local.INFO: Acknowledgment sent {"connection_id":164760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:33:16] local.INFO: TCP Data received {"connection_id":164760,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:33:16] local.INFO: Processing buffer {"connection_id":164760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:33:16] local.INFO: Packet analysis {"connection_id":164760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab9"} 
[2026-08-26 02:33:16] local.INFO: Extracted packet for processing {"connection_id":164760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab9"} 
[2026-08-26 02:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648985856001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02: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-26 02:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787691652000,"timestamp_ms":1787691652000,"timestamp_seconds":1787691652,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab9d3a0"} 
[2026-08-26 02:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:33: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-26 02:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 02:33: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-26 02:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:33: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-26 02:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648985856001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648985856001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:33:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648985856001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":164760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:33:16] local.INFO: GPS data processed {"connection_id":164760,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:33:16] local.INFO: Acknowledgment sent {"connection_id":164760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:33:34] local.INFO: TCP Data received {"connection_id":164761,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:33:34] local.INFO: Processing buffer {"connection_id":164761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:33:34] local.INFO: IMEI packet received {"connection_id":164761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 02:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":164761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:33:43] local.INFO: TCP Data received {"connection_id":163385,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:33:43] local.INFO: Processing buffer {"connection_id":163385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:33:43] local.INFO: IMEI packet received {"connection_id":163385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":163385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:33:48] local.INFO: TCP Data received {"connection_id":163385,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:33:48] local.INFO: Processing buffer {"connection_id":163385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:33:48] local.INFO: IMEI packet received {"connection_id":163385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":163385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:33:49] local.INFO: TCP Data received {"connection_id":163385,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:33:49] local.INFO: Processing buffer {"connection_id":163385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:33:49] local.INFO: Packet analysis {"connection_id":163385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab9"} 
[2026-08-26 02:33:49] local.INFO: Extracted packet for processing {"connection_id":163385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab9"} 
[2026-08-26 02:33:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648985856001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:33: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-26 02:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787691652000,"timestamp_ms":1787691652000,"timestamp_seconds":1787691652,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab9d3a0"} 
[2026-08-26 02: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-26 02:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 02:33: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-26 02: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-26 02: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-26 02:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:33:49] 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-26 02:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648985856001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648985856001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:33:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:33:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648985856001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":163385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:33:49] local.INFO: GPS data processed {"connection_id":163385,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:33:49] local.INFO: Acknowledgment sent {"connection_id":163385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:33:54] local.INFO: TCP Data received {"connection_id":163385,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:33:54] local.INFO: Processing buffer {"connection_id":163385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:33:54] local.INFO: Packet analysis {"connection_id":163385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab9"} 
[2026-08-26 02:33:54] local.INFO: Extracted packet for processing {"connection_id":163385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab9"} 
[2026-08-26 02:33:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648985856001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 02:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787691652000,"timestamp_ms":1787691652000,"timestamp_seconds":1787691652,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab9d3a0"} 
[2026-08-26 02: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-26 02:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 02:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 02: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-26 02: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-26 02:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:33:54] 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-26 02:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648985856001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648985856001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:33:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:33:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648985856001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":163385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:33:54] local.INFO: GPS data processed {"connection_id":163385,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:33:54] local.INFO: Acknowledgment sent {"connection_id":163385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:34:38] local.INFO: TCP Data received {"connection_id":162150,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:34:38] local.INFO: Processing buffer {"connection_id":162150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:34:38] local.INFO: IMEI packet received {"connection_id":162150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":162150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:34:43] local.INFO: TCP Data received {"connection_id":162150,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:34:43] local.INFO: Processing buffer {"connection_id":162150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:34:43] local.INFO: IMEI packet received {"connection_id":162150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":162150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:34:44] local.INFO: TCP Data received {"connection_id":162150,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:34:44] local.INFO: Processing buffer {"connection_id":162150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:34:44] local.INFO: Packet analysis {"connection_id":162150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab9"} 
[2026-08-26 02:34:44] local.INFO: Extracted packet for processing {"connection_id":162150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab9"} 
[2026-08-26 02:34:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648985856001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:34: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-26 02:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787691652000,"timestamp_ms":1787691652000,"timestamp_seconds":1787691652,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab9d3a0"} 
[2026-08-26 02: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-26 02:34: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-26 02: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 02:34: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-26 02: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-26 02: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-26 02:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:34:44] 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-26 02:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648985856001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648985856001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:34:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:34:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648985856001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":162150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:34:44] local.INFO: GPS data processed {"connection_id":162150,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:34:44] local.INFO: Acknowledgment sent {"connection_id":162150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:35:15] local.INFO: TCP Data received {"connection_id":162150,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:35:15] local.INFO: Processing buffer {"connection_id":162150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:35:15] local.INFO: Packet analysis {"connection_id":162150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab9"} 
[2026-08-26 02:35:15] local.INFO: Extracted packet for processing {"connection_id":162150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab9"} 
[2026-08-26 02:35:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648985856001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:35: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-26 02:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787691652000,"timestamp_ms":1787691652000,"timestamp_seconds":1787691652,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab9d3a0"} 
[2026-08-26 02: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-26 02:35: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-26 02: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 02:35: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-26 02: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-26 02: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-26 02:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:35: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-26 02:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648985856001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648985856001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:35:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:35:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648985856001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":162150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:35:15] local.INFO: GPS data processed {"connection_id":162150,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:35:15] local.INFO: Acknowledgment sent {"connection_id":162150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:35:38] local.INFO: TCP Data received {"connection_id":162397,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:35:38] local.INFO: Processing buffer {"connection_id":162397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:35:38] local.INFO: IMEI packet received {"connection_id":162397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":162397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:35:43] local.INFO: TCP Data received {"connection_id":162397,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:35:43] local.INFO: Processing buffer {"connection_id":162397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:35:43] local.INFO: IMEI packet received {"connection_id":162397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":162397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:35:44] local.INFO: TCP Data received {"connection_id":162397,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:35:44] local.INFO: Processing buffer {"connection_id":162397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:35:44] local.INFO: Packet analysis {"connection_id":162397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab9"} 
[2026-08-26 02:35:44] local.INFO: Extracted packet for processing {"connection_id":162397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab9"} 
[2026-08-26 02:35:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648985856001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:35: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-26 02:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787691652000,"timestamp_ms":1787691652000,"timestamp_seconds":1787691652,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab9d3a0"} 
[2026-08-26 02: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-26 02:35: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-26 02: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 02:35: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-26 02: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-26 02: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-26 02:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648985856001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648985856001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:35:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:35:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648985856001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":162397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:35:44] local.INFO: GPS data processed {"connection_id":162397,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:35:44] local.INFO: Acknowledgment sent {"connection_id":162397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:36:16] local.INFO: TCP Data received {"connection_id":162397,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:36:16] local.INFO: Processing buffer {"connection_id":162397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ab9d3a0012d34c14006aa4818000400e62e..."} 
[2026-08-26 02:36:16] local.INFO: Packet analysis {"connection_id":162397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ab9"} 
[2026-08-26 02:36:16] local.INFO: Extracted packet for processing {"connection_id":162397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ab9"} 
[2026-08-26 02:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457648985856001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02: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-26 02:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787691652000,"timestamp_ms":1787691652000,"timestamp_seconds":1787691652,"priority":1,"record_length":96,"hex_timestamp":"000001a03ab9d3a0"} 
[2026-08-26 02: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-26 02:36: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-26 02: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 02:36: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-26 02: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-26 02: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-26 02:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:36: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-26 02:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457648985856001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457648985856001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:36:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457648985856001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":162397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:36:16] local.INFO: GPS data processed {"connection_id":162397,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:36:16] local.INFO: Acknowledgment sent {"connection_id":162397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:36:38] local.INFO: TCP Data received {"connection_id":164762,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:36:38] local.INFO: Processing buffer {"connection_id":164762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:36:38] local.INFO: IMEI packet received {"connection_id":164762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":164762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:36:43] local.INFO: TCP Data received {"connection_id":164762,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:36:43] local.INFO: Processing buffer {"connection_id":164762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:36:43] local.INFO: IMEI packet received {"connection_id":164762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":164762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:36:45] local.INFO: TCP Data received {"connection_id":164762,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:36:45] local.INFO: Processing buffer {"connection_id":164762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:36:45] local.INFO: Packet analysis {"connection_id":164762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03abe"} 
[2026-08-26 02:36:45] local.INFO: Extracted packet for processing {"connection_id":164762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03abe"} 
[2026-08-26 02:36:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649062912001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:36: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-26 02:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787691953000,"timestamp_ms":1787691953000,"timestamp_seconds":1787691953,"priority":1,"record_length":96,"hex_timestamp":"000001a03abe6b68"} 
[2026-08-26 02: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-26 02: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-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:36:45] 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-26 02: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-26 02: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-26 02:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649062912001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649062912001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:36:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:36:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649062912001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":164762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:36:45] local.INFO: GPS data processed {"connection_id":164762,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:36:45] local.INFO: Acknowledgment sent {"connection_id":164762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:37:17] local.INFO: TCP Data received {"connection_id":164762,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:37:17] local.INFO: Processing buffer {"connection_id":164762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:37:17] local.INFO: Packet analysis {"connection_id":164762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03abe"} 
[2026-08-26 02:37:17] local.INFO: Extracted packet for processing {"connection_id":164762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03abe"} 
[2026-08-26 02:37:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649062912001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:37: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-26 02:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787691953000,"timestamp_ms":1787691953000,"timestamp_seconds":1787691953,"priority":1,"record_length":96,"hex_timestamp":"000001a03abe6b68"} 
[2026-08-26 02: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-26 02:37: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-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:37:17] 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-26 02: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-26 02: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-26 02:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649062912001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649062912001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:37:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:37:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649062912001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":164762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:37:17] local.INFO: GPS data processed {"connection_id":164762,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:37:17] local.INFO: Acknowledgment sent {"connection_id":164762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:37:38] local.INFO: TCP Data received {"connection_id":162151,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:37:38] local.INFO: Processing buffer {"connection_id":162151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:37:38] local.INFO: IMEI packet received {"connection_id":162151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":162151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:37:43] local.INFO: TCP Data received {"connection_id":162151,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:37:43] local.INFO: Processing buffer {"connection_id":162151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:37:43] local.INFO: IMEI packet received {"connection_id":162151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":162151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:37:44] local.INFO: TCP Data received {"connection_id":162151,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:37:44] local.INFO: Processing buffer {"connection_id":162151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:37:44] local.INFO: Packet analysis {"connection_id":162151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03abe"} 
[2026-08-26 02:37:44] local.INFO: Extracted packet for processing {"connection_id":162151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03abe"} 
[2026-08-26 02:37:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649062912001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:37: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-26 02:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787691953000,"timestamp_ms":1787691953000,"timestamp_seconds":1787691953,"priority":1,"record_length":96,"hex_timestamp":"000001a03abe6b68"} 
[2026-08-26 02: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-26 02:37: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-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:37: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-26 02: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-26 02: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-26 02:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:37:44] 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-26 02:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649062912001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649062912001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:37:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:37:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649062912001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":162151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:37:44] local.INFO: GPS data processed {"connection_id":162151,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:37:44] local.INFO: Acknowledgment sent {"connection_id":162151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:38:15] local.INFO: TCP Data received {"connection_id":162151,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:38:15] local.INFO: Processing buffer {"connection_id":162151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:38:15] local.INFO: Packet analysis {"connection_id":162151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03abe"} 
[2026-08-26 02:38:15] local.INFO: Extracted packet for processing {"connection_id":162151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03abe"} 
[2026-08-26 02:38:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649062912001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:38: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-26 02:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787691953000,"timestamp_ms":1787691953000,"timestamp_seconds":1787691953,"priority":1,"record_length":96,"hex_timestamp":"000001a03abe6b68"} 
[2026-08-26 02:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:38: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-26 02:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:38: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-26 02:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:38: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-26 02:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649062912001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649062912001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:38:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:38:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649062912001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":162151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:38:15] local.INFO: GPS data processed {"connection_id":162151,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:38:15] local.INFO: Acknowledgment sent {"connection_id":162151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:38:43] local.INFO: TCP Data received {"connection_id":162398,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:38:43] local.INFO: Processing buffer {"connection_id":162398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:38:43] local.INFO: IMEI packet received {"connection_id":162398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":162398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:38:48] local.INFO: TCP Data received {"connection_id":162398,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:38:48] local.INFO: Processing buffer {"connection_id":162398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:38:48] local.INFO: IMEI packet received {"connection_id":162398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":162398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:38:50] local.INFO: TCP Data received {"connection_id":162398,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:38:50] local.INFO: Processing buffer {"connection_id":162398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:38:50] local.INFO: Packet analysis {"connection_id":162398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03abe"} 
[2026-08-26 02:38:50] local.INFO: Extracted packet for processing {"connection_id":162398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03abe"} 
[2026-08-26 02:38:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649062912001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 02:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787691953000,"timestamp_ms":1787691953000,"timestamp_seconds":1787691953,"priority":1,"record_length":96,"hex_timestamp":"000001a03abe6b68"} 
[2026-08-26 02: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-26 02:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:38:50] 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-26 02: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-26 02: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-26 02:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:38:50] 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-26 02:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649062912001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649062912001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:38:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:38:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649062912001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":162398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:38:50] local.INFO: GPS data processed {"connection_id":162398,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:38:50] local.INFO: Acknowledgment sent {"connection_id":162398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:38:54] local.INFO: TCP Data received {"connection_id":162398,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:38:54] local.INFO: Processing buffer {"connection_id":162398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:38:54] local.INFO: Packet analysis {"connection_id":162398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03abe"} 
[2026-08-26 02:38:54] local.INFO: Extracted packet for processing {"connection_id":162398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03abe"} 
[2026-08-26 02:38:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649062912001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 02:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787691953000,"timestamp_ms":1787691953000,"timestamp_seconds":1787691953,"priority":1,"record_length":96,"hex_timestamp":"000001a03abe6b68"} 
[2026-08-26 02: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-26 02:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 02: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-26 02: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-26 02:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:38:54] 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-26 02:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649062912001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649062912001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:38:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:38:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649062912001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":162398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:38:54] local.INFO: GPS data processed {"connection_id":162398,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:38:54] local.INFO: Acknowledgment sent {"connection_id":162398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:39:08] local.INFO: TCP Data received {"connection_id":164763,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:39:09] local.INFO: Processing buffer {"connection_id":164763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:39:09] local.INFO: IMEI packet received {"connection_id":164763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 02:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":164763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:39:38] local.INFO: TCP Data received {"connection_id":162152,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:39:38] local.INFO: Processing buffer {"connection_id":162152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:39:38] local.INFO: IMEI packet received {"connection_id":162152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":162152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:39:43] local.INFO: TCP Data received {"connection_id":162152,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:39:43] local.INFO: Processing buffer {"connection_id":162152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:39:43] local.INFO: IMEI packet received {"connection_id":162152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":162152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:39:45] local.INFO: TCP Data received {"connection_id":162152,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:39:45] local.INFO: Processing buffer {"connection_id":162152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:39:45] local.INFO: Packet analysis {"connection_id":162152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03abe"} 
[2026-08-26 02:39:45] local.INFO: Extracted packet for processing {"connection_id":162152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03abe"} 
[2026-08-26 02:39:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649062912001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:39: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-26 02:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787691953000,"timestamp_ms":1787691953000,"timestamp_seconds":1787691953,"priority":1,"record_length":96,"hex_timestamp":"000001a03abe6b68"} 
[2026-08-26 02:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:39: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-26 02:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:39:45] 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-26 02:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:39:45] 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-26 02:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649062912001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649062912001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:39:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:39:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649062912001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":162152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:39:45] local.INFO: GPS data processed {"connection_id":162152,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:39:45] local.INFO: Acknowledgment sent {"connection_id":162152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:40:16] local.INFO: TCP Data received {"connection_id":162152,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:40:16] local.INFO: Processing buffer {"connection_id":162152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:40:16] local.INFO: Packet analysis {"connection_id":162152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03abe"} 
[2026-08-26 02:40:16] local.INFO: Extracted packet for processing {"connection_id":162152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03abe"} 
[2026-08-26 02:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649062912001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:40: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-26 02:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787691953000,"timestamp_ms":1787691953000,"timestamp_seconds":1787691953,"priority":1,"record_length":96,"hex_timestamp":"000001a03abe6b68"} 
[2026-08-26 02:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:40: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-26 02:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:40: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-26 02:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:40:16] 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-26 02:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649062912001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649062912001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:40:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:40:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649062912001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":162152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:40:16] local.INFO: GPS data processed {"connection_id":162152,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:40:16] local.INFO: Acknowledgment sent {"connection_id":162152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:40:39] local.INFO: TCP Data received {"connection_id":164764,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:40:39] local.INFO: Processing buffer {"connection_id":164764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:40:39] local.INFO: IMEI packet received {"connection_id":164764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":164764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:40:43] local.INFO: TCP Data received {"connection_id":164764,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:40:43] local.INFO: Processing buffer {"connection_id":164764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:40:43] local.INFO: IMEI packet received {"connection_id":164764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":164764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:40:44] local.INFO: TCP Data received {"connection_id":164764,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:40:44] local.INFO: Processing buffer {"connection_id":164764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:40:44] local.INFO: Packet analysis {"connection_id":164764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03abe"} 
[2026-08-26 02:40:44] local.INFO: Extracted packet for processing {"connection_id":164764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03abe"} 
[2026-08-26 02:40:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649062912001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:40: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-26 02:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787691953000,"timestamp_ms":1787691953000,"timestamp_seconds":1787691953,"priority":1,"record_length":96,"hex_timestamp":"000001a03abe6b68"} 
[2026-08-26 02: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-26 02:40: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-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:40: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-26 02:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02: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-26 02:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649062912001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649062912001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:40:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:40:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649062912001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":164764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:40:44] local.INFO: GPS data processed {"connection_id":164764,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:40:44] local.INFO: Acknowledgment sent {"connection_id":164764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:41:15] local.INFO: TCP Data received {"connection_id":164764,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:41:15] local.INFO: Processing buffer {"connection_id":164764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03abe6b68012d34c14006aa4818000600e62c..."} 
[2026-08-26 02:41:15] local.INFO: Packet analysis {"connection_id":164764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03abe"} 
[2026-08-26 02:41:15] local.INFO: Extracted packet for processing {"connection_id":164764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03abe"} 
[2026-08-26 02:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649062912001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:41: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-26 02:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787691953000,"timestamp_ms":1787691953000,"timestamp_seconds":1787691953,"priority":1,"record_length":96,"hex_timestamp":"000001a03abe6b68"} 
[2026-08-26 02: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-26 02:41: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-26 02: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:41: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-26 02: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-26 02: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-26 02:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:41: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-26 02:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649062912001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649062912001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:41:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649062912001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":164764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:41:15] local.INFO: GPS data processed {"connection_id":164764,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:41:15] local.INFO: Acknowledgment sent {"connection_id":164764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:41:38] local.INFO: TCP Data received {"connection_id":162153,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:41:38] local.INFO: Processing buffer {"connection_id":162153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:41:38] local.INFO: IMEI packet received {"connection_id":162153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":162153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:41:43] local.INFO: TCP Data received {"connection_id":162153,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:41:43] local.INFO: Processing buffer {"connection_id":162153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:41:43] local.INFO: IMEI packet received {"connection_id":162153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":162153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:41:44] local.INFO: TCP Data received {"connection_id":162153,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:41:44] local.INFO: Processing buffer {"connection_id":162153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:41:44] local.INFO: Packet analysis {"connection_id":162153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ac3"} 
[2026-08-26 02:41:44] local.INFO: Extracted packet for processing {"connection_id":162153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ac3"} 
[2026-08-26 02:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649139968001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:41: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-26 02:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787692254000,"timestamp_ms":1787692254000,"timestamp_seconds":1787692254,"priority":1,"record_length":96,"hex_timestamp":"000001a03ac30330"} 
[2026-08-26 02:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:41: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-26 02:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 02:41:44] 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-26 02:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:41:44] 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-26 02:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649139968001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649139968001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:41:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:41:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649139968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":162153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:41:44] local.INFO: GPS data processed {"connection_id":162153,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:41:44] local.INFO: Acknowledgment sent {"connection_id":162153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:42:16] local.INFO: TCP Data received {"connection_id":162153,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:42:16] local.INFO: Processing buffer {"connection_id":162153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:42:16] local.INFO: Packet analysis {"connection_id":162153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ac3"} 
[2026-08-26 02:42:16] local.INFO: Extracted packet for processing {"connection_id":162153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ac3"} 
[2026-08-26 02:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649139968001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02: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-26 02:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787692254000,"timestamp_ms":1787692254000,"timestamp_seconds":1787692254,"priority":1,"record_length":96,"hex_timestamp":"000001a03ac30330"} 
[2026-08-26 02: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-26 02:42: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-26 02: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":75,"data_length":795,"current_offset":136} 
[2026-08-26 02:42: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-26 02: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-26 02: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-26 02:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:42: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-26 02:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649139968001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649139968001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:42:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:42:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649139968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":162153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:42:16] local.INFO: GPS data processed {"connection_id":162153,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:42:16] local.INFO: Acknowledgment sent {"connection_id":162153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:42:43] local.INFO: TCP Data received {"connection_id":162399,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:42:43] local.INFO: Processing buffer {"connection_id":162399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:42:43] local.INFO: IMEI packet received {"connection_id":162399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":162399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:42:49] local.INFO: TCP Data received {"connection_id":162399,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:42:49] local.INFO: Processing buffer {"connection_id":162399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:42:49] local.INFO: IMEI packet received {"connection_id":162399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":162399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:42:50] local.INFO: TCP Data received {"connection_id":162399,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:42:50] local.INFO: Processing buffer {"connection_id":162399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:42:50] local.INFO: Packet analysis {"connection_id":162399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ac3"} 
[2026-08-26 02:42:50] local.INFO: Extracted packet for processing {"connection_id":162399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ac3"} 
[2026-08-26 02:42:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:42: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-26 02:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649139968001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 02:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787692254000,"timestamp_ms":1787692254000,"timestamp_seconds":1787692254,"priority":1,"record_length":96,"hex_timestamp":"000001a03ac30330"} 
[2026-08-26 02:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 02:42:50] 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-26 02:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:42:50] 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-26 02:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649139968001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649139968001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:42:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:42:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649139968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":162399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:42:50] local.INFO: GPS data processed {"connection_id":162399,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:42:50] local.INFO: Acknowledgment sent {"connection_id":162399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:42:54] local.INFO: TCP Data received {"connection_id":162399,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:42:54] local.INFO: Processing buffer {"connection_id":162399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:42:54] local.INFO: Packet analysis {"connection_id":162399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ac3"} 
[2026-08-26 02:42:54] local.INFO: Extracted packet for processing {"connection_id":162399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ac3"} 
[2026-08-26 02:42:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649139968001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 02:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787692254000,"timestamp_ms":1787692254000,"timestamp_seconds":1787692254,"priority":1,"record_length":96,"hex_timestamp":"000001a03ac30330"} 
[2026-08-26 02:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 02:42:54] 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-26 02:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649139968001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649139968001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:42:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:42:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649139968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":162399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:42:54] local.INFO: GPS data processed {"connection_id":162399,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:42:54] local.INFO: Acknowledgment sent {"connection_id":162399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:43:38] local.INFO: TCP Data received {"connection_id":164766,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:43:38] local.INFO: Processing buffer {"connection_id":164766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:43:38] local.INFO: IMEI packet received {"connection_id":164766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":164766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:43:43] local.INFO: TCP Data received {"connection_id":164766,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:43:43] local.INFO: Processing buffer {"connection_id":164766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:43:43] local.INFO: IMEI packet received {"connection_id":164766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":164766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:43:44] local.INFO: TCP Data received {"connection_id":164766,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:43:44] local.INFO: Processing buffer {"connection_id":164766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:43:44] local.INFO: Packet analysis {"connection_id":164766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ac3"} 
[2026-08-26 02:43:44] local.INFO: Extracted packet for processing {"connection_id":164766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ac3"} 
[2026-08-26 02:43:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649139968001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:43: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-26 02:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787692254000,"timestamp_ms":1787692254000,"timestamp_seconds":1787692254,"priority":1,"record_length":96,"hex_timestamp":"000001a03ac30330"} 
[2026-08-26 02: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-26 02:43: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-26 02: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 02:43:44] 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-26 02: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-26 02: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-26 02:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:43:44] 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-26 02:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649139968001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649139968001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:43:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:43:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649139968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":164766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:43:44] local.INFO: GPS data processed {"connection_id":164766,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:43:44] local.INFO: Acknowledgment sent {"connection_id":164766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:44:16] local.INFO: TCP Data received {"connection_id":164766,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:44:16] local.INFO: Processing buffer {"connection_id":164766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:44:16] local.INFO: Packet analysis {"connection_id":164766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ac3"} 
[2026-08-26 02:44:16] local.INFO: Extracted packet for processing {"connection_id":164766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ac3"} 
[2026-08-26 02:44:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649139968001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02: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-26 02:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787692254000,"timestamp_ms":1787692254000,"timestamp_seconds":1787692254,"priority":1,"record_length":96,"hex_timestamp":"000001a03ac30330"} 
[2026-08-26 02: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-26 02:44: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-26 02: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 02:44: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-26 02: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-26 02: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-26 02:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:44:16] 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-26 02:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649139968001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649139968001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:44:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:44:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649139968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":164766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:44:16] local.INFO: GPS data processed {"connection_id":164766,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:44:16] local.INFO: Acknowledgment sent {"connection_id":164766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:44:38] local.INFO: TCP Data received {"connection_id":162154,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:44:38] local.INFO: Processing buffer {"connection_id":162154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:44:38] local.INFO: IMEI packet received {"connection_id":162154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":162154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:44:43] local.INFO: TCP Data received {"connection_id":162154,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:44:43] local.INFO: Processing buffer {"connection_id":162154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:44:43] local.INFO: IMEI packet received {"connection_id":162154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":162154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:44:43] local.INFO: TCP Data received {"connection_id":164765,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:44:43] local.INFO: Processing buffer {"connection_id":164765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:44:43] local.INFO: IMEI packet received {"connection_id":164765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 02:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":164765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:44:44] local.INFO: TCP Data received {"connection_id":162154,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:44:44] local.INFO: Processing buffer {"connection_id":162154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:44:44] local.INFO: Packet analysis {"connection_id":162154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ac3"} 
[2026-08-26 02:44:44] local.INFO: Extracted packet for processing {"connection_id":162154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ac3"} 
[2026-08-26 02:44:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649139968001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:44: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-26 02:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787692254000,"timestamp_ms":1787692254000,"timestamp_seconds":1787692254,"priority":1,"record_length":96,"hex_timestamp":"000001a03ac30330"} 
[2026-08-26 02: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-26 02:44: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-26 02: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 02:44:44] 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-26 02: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-26 02: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-26 02:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:44:44] 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-26 02:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649139968001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649139968001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:44:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:44:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649139968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":162154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:44:44] local.INFO: GPS data processed {"connection_id":162154,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:44:44] local.INFO: Acknowledgment sent {"connection_id":162154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:45:16] local.INFO: TCP Data received {"connection_id":162154,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:45:16] local.INFO: Processing buffer {"connection_id":162154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:45:16] local.INFO: Packet analysis {"connection_id":162154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ac3"} 
[2026-08-26 02:45:16] local.INFO: Extracted packet for processing {"connection_id":162154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ac3"} 
[2026-08-26 02:45:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649139968001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02: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-26 02:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787692254000,"timestamp_ms":1787692254000,"timestamp_seconds":1787692254,"priority":1,"record_length":96,"hex_timestamp":"000001a03ac30330"} 
[2026-08-26 02: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-26 02:45: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-26 02: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":75,"data_length":795,"current_offset":136} 
[2026-08-26 02:45: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-26 02: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-26 02: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-26 02:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:45:16] 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-26 02:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649139968001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649139968001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:45:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:45:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649139968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":162154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:45:16] local.INFO: GPS data processed {"connection_id":162154,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:45:16] local.INFO: Acknowledgment sent {"connection_id":162154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:45:38] local.INFO: TCP Data received {"connection_id":163386,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:45:38] local.INFO: Processing buffer {"connection_id":163386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:45:38] local.INFO: IMEI packet received {"connection_id":163386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":163386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:45:43] local.INFO: TCP Data received {"connection_id":163386,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:45:43] local.INFO: Processing buffer {"connection_id":163386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:45:43] local.INFO: IMEI packet received {"connection_id":163386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":163386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:45:44] local.INFO: TCP Data received {"connection_id":163386,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:45:44] local.INFO: Processing buffer {"connection_id":163386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:45:44] local.INFO: Packet analysis {"connection_id":163386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ac3"} 
[2026-08-26 02:45:44] local.INFO: Extracted packet for processing {"connection_id":163386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ac3"} 
[2026-08-26 02:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649139968001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:45: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-26 02:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787692254000,"timestamp_ms":1787692254000,"timestamp_seconds":1787692254,"priority":1,"record_length":96,"hex_timestamp":"000001a03ac30330"} 
[2026-08-26 02:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:45: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-26 02:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 02:45:44] 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-26 02:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:45: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-26 02:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649139968001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649139968001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:45:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649139968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":163386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:45:44] local.INFO: GPS data processed {"connection_id":163386,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:45:44] local.INFO: Acknowledgment sent {"connection_id":163386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:46:16] local.INFO: TCP Data received {"connection_id":163386,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:46:16] local.INFO: Processing buffer {"connection_id":163386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ac30330012d34c14006aa4818000800e62c..."} 
[2026-08-26 02:46:16] local.INFO: Packet analysis {"connection_id":163386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ac3"} 
[2026-08-26 02:46:16] local.INFO: Extracted packet for processing {"connection_id":163386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ac3"} 
[2026-08-26 02:46:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649139968001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:46: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-26 02:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787692254000,"timestamp_ms":1787692254000,"timestamp_seconds":1787692254,"priority":1,"record_length":96,"hex_timestamp":"000001a03ac30330"} 
[2026-08-26 02: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-26 02:46: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-26 02: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 02:46: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-26 02:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02: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-26 02:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:46:16] 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-26 02:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649139968001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649139968001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:46:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:46:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649139968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":163386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:46:16] local.INFO: GPS data processed {"connection_id":163386,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:46:16] local.INFO: Acknowledgment sent {"connection_id":163386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:46:38] local.INFO: TCP Data received {"connection_id":163387,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:46:38] local.INFO: Processing buffer {"connection_id":163387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:46:38] local.INFO: IMEI packet received {"connection_id":163387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":163387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:46:43] local.INFO: TCP Data received {"connection_id":163387,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:46:43] local.INFO: Processing buffer {"connection_id":163387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:46:43] local.INFO: IMEI packet received {"connection_id":163387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":163387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:46:45] local.INFO: TCP Data received {"connection_id":163387,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:46:45] local.INFO: Processing buffer {"connection_id":163387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:46:45] local.INFO: Packet analysis {"connection_id":163387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ac7"} 
[2026-08-26 02:46:45] local.INFO: Extracted packet for processing {"connection_id":163387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ac7"} 
[2026-08-26 02:46:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649217024001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:46: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-26 02:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787692555000,"timestamp_ms":1787692555000,"timestamp_seconds":1787692555,"priority":1,"record_length":96,"hex_timestamp":"000001a03ac79af8"} 
[2026-08-26 02: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-26 02:46: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-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:46:45] 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-26 02: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-26 02: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-26 02:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:46:45] 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-26 02:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649217024001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649217024001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:46:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:46:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649217024001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":163387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:46:45] local.INFO: GPS data processed {"connection_id":163387,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:46:45] local.INFO: Acknowledgment sent {"connection_id":163387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:47:16] local.INFO: TCP Data received {"connection_id":163387,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:47:16] local.INFO: Processing buffer {"connection_id":163387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:47:16] local.INFO: Packet analysis {"connection_id":163387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ac7"} 
[2026-08-26 02:47:16] local.INFO: Extracted packet for processing {"connection_id":163387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ac7"} 
[2026-08-26 02:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649217024001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:47: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-26 02:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787692555000,"timestamp_ms":1787692555000,"timestamp_seconds":1787692555,"priority":1,"record_length":96,"hex_timestamp":"000001a03ac79af8"} 
[2026-08-26 02:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:47: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-26 02:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:47: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-26 02:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:47:16] 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-26 02:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649217024001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649217024001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:47:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649217024001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":163387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:47:16] local.INFO: GPS data processed {"connection_id":163387,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:47:16] local.INFO: Acknowledgment sent {"connection_id":163387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:47:39] local.INFO: TCP Data received {"connection_id":163388,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:47:39] local.INFO: Processing buffer {"connection_id":163388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:47:39] local.INFO: IMEI packet received {"connection_id":163388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":163388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:47:43] local.INFO: TCP Data received {"connection_id":163388,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:47:43] local.INFO: Processing buffer {"connection_id":163388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:47:43] local.INFO: IMEI packet received {"connection_id":163388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":163388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:47:45] local.INFO: TCP Data received {"connection_id":163388,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:47:45] local.INFO: Processing buffer {"connection_id":163388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:47:45] local.INFO: Packet analysis {"connection_id":163388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ac7"} 
[2026-08-26 02:47:45] local.INFO: Extracted packet for processing {"connection_id":163388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ac7"} 
[2026-08-26 02:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649217024001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:47: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-26 02:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787692555000,"timestamp_ms":1787692555000,"timestamp_seconds":1787692555,"priority":1,"record_length":96,"hex_timestamp":"000001a03ac79af8"} 
[2026-08-26 02:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:47: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-26 02:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:47:45] 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-26 02:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649217024001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649217024001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:47:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:47:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649217024001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":163388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:47:45] local.INFO: GPS data processed {"connection_id":163388,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:47:45] local.INFO: Acknowledgment sent {"connection_id":163388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:48:16] local.INFO: TCP Data received {"connection_id":163388,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:48:16] local.INFO: Processing buffer {"connection_id":163388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:48:16] local.INFO: Packet analysis {"connection_id":163388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ac7"} 
[2026-08-26 02:48:16] local.INFO: Extracted packet for processing {"connection_id":163388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ac7"} 
[2026-08-26 02:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649217024001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02: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-26 02:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787692555000,"timestamp_ms":1787692555000,"timestamp_seconds":1787692555,"priority":1,"record_length":96,"hex_timestamp":"000001a03ac79af8"} 
[2026-08-26 02: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-26 02:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:48: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-26 02: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-26 02: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-26 02:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:48: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-26 02:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649217024001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649217024001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:48:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:48:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649217024001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":163388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:48:16] local.INFO: GPS data processed {"connection_id":163388,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:48:16] local.INFO: Acknowledgment sent {"connection_id":163388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:48:38] local.INFO: TCP Data received {"connection_id":162156,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:48:38] local.INFO: Processing buffer {"connection_id":162156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:48:38] local.INFO: IMEI packet received {"connection_id":162156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":162156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:48:43] local.INFO: TCP Data received {"connection_id":162156,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:48:43] local.INFO: Processing buffer {"connection_id":162156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:48:43] local.INFO: IMEI packet received {"connection_id":162156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":162156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:48:44] local.INFO: TCP Data received {"connection_id":162156,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:48:44] local.INFO: Processing buffer {"connection_id":162156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:48:44] local.INFO: Packet analysis {"connection_id":162156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ac7"} 
[2026-08-26 02:48:44] local.INFO: Extracted packet for processing {"connection_id":162156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ac7"} 
[2026-08-26 02:48:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649217024001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:48: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-26 02:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787692555000,"timestamp_ms":1787692555000,"timestamp_seconds":1787692555,"priority":1,"record_length":96,"hex_timestamp":"000001a03ac79af8"} 
[2026-08-26 02: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-26 02: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-26 02: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:48: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-26 02: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-26 02: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-26 02:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:48:44] 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-26 02:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649217024001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649217024001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:48:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:48:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649217024001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":162156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:48:44] local.INFO: GPS data processed {"connection_id":162156,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:48:44] local.INFO: Acknowledgment sent {"connection_id":162156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:49:15] local.INFO: TCP Data received {"connection_id":162156,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:49:15] local.INFO: Processing buffer {"connection_id":162156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:49:15] local.INFO: Packet analysis {"connection_id":162156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ac7"} 
[2026-08-26 02:49:15] local.INFO: Extracted packet for processing {"connection_id":162156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ac7"} 
[2026-08-26 02:49:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649217024001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02: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-26 02:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787692555000,"timestamp_ms":1787692555000,"timestamp_seconds":1787692555,"priority":1,"record_length":96,"hex_timestamp":"000001a03ac79af8"} 
[2026-08-26 02: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-26 02:49: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-26 02: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:49: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-26 02: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-26 02: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-26 02:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649217024001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649217024001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:49:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:49:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649217024001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":162156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:49:15] local.INFO: GPS data processed {"connection_id":162156,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:49:15] local.INFO: Acknowledgment sent {"connection_id":162156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:49:38] local.INFO: TCP Data received {"connection_id":163389,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:49:38] local.INFO: Processing buffer {"connection_id":163389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:49:38] local.INFO: IMEI packet received {"connection_id":163389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":163389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:49:43] local.INFO: TCP Data received {"connection_id":163389,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:49:43] local.INFO: Processing buffer {"connection_id":163389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:49:43] local.INFO: IMEI packet received {"connection_id":163389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":163389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:49:44] local.INFO: TCP Data received {"connection_id":163389,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:49:44] local.INFO: Processing buffer {"connection_id":163389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:49:44] local.INFO: Packet analysis {"connection_id":163389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ac7"} 
[2026-08-26 02:49:44] local.INFO: Extracted packet for processing {"connection_id":163389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ac7"} 
[2026-08-26 02:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649217024001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:49: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-26 02:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787692555000,"timestamp_ms":1787692555000,"timestamp_seconds":1787692555,"priority":1,"record_length":96,"hex_timestamp":"000001a03ac79af8"} 
[2026-08-26 02: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-26 02:49: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-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:49: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-26 02: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-26 02: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-26 02:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:49:44] 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-26 02:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649217024001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649217024001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:49:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:49:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649217024001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":163389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:49:44] local.INFO: GPS data processed {"connection_id":163389,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:49:44] local.INFO: Acknowledgment sent {"connection_id":163389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:50:15] local.INFO: TCP Data received {"connection_id":163389,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:50:15] local.INFO: Processing buffer {"connection_id":163389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:50:15] local.INFO: Packet analysis {"connection_id":163389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ac7"} 
[2026-08-26 02:50:15] local.INFO: Extracted packet for processing {"connection_id":163389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ac7"} 
[2026-08-26 02:50:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649217024001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:50: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-26 02:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787692555000,"timestamp_ms":1787692555000,"timestamp_seconds":1787692555,"priority":1,"record_length":96,"hex_timestamp":"000001a03ac79af8"} 
[2026-08-26 02:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:50: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-26 02:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:50: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-26 02:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:50: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-26 02:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649217024001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649217024001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:50:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:50:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649217024001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":163389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:50:15] local.INFO: GPS data processed {"connection_id":163389,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:50:15] local.INFO: Acknowledgment sent {"connection_id":163389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:50:19] local.INFO: TCP Data received {"connection_id":162155,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162155,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:50:19] local.INFO: Processing buffer {"connection_id":162155,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:50:19] local.INFO: IMEI packet received {"connection_id":162155,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 02:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":162155,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:50:38] local.INFO: TCP Data received {"connection_id":162400,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:50:38] local.INFO: Processing buffer {"connection_id":162400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:50:38] local.INFO: IMEI packet received {"connection_id":162400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":162400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:50:43] local.INFO: TCP Data received {"connection_id":162400,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:50:43] local.INFO: Processing buffer {"connection_id":162400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:50:43] local.INFO: IMEI packet received {"connection_id":162400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":162400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:50:44] local.INFO: TCP Data received {"connection_id":162400,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:50:44] local.INFO: Processing buffer {"connection_id":162400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:50:44] local.INFO: Packet analysis {"connection_id":162400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ac7"} 
[2026-08-26 02:50:44] local.INFO: Extracted packet for processing {"connection_id":162400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ac7"} 
[2026-08-26 02:50:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649217024001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:50: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-26 02:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787692555000,"timestamp_ms":1787692555000,"timestamp_seconds":1787692555,"priority":1,"record_length":96,"hex_timestamp":"000001a03ac79af8"} 
[2026-08-26 02:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:50: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-26 02:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:50: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-26 02:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649217024001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649217024001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:50:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:50:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649217024001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":162400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:50:44] local.INFO: GPS data processed {"connection_id":162400,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:50:44] local.INFO: Acknowledgment sent {"connection_id":162400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:51:15] local.INFO: TCP Data received {"connection_id":162400,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:51:15] local.INFO: Processing buffer {"connection_id":162400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ac79af8012d34c14006aa4818000700e628..."} 
[2026-08-26 02:51:15] local.INFO: Packet analysis {"connection_id":162400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ac7"} 
[2026-08-26 02:51:15] local.INFO: Extracted packet for processing {"connection_id":162400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ac7"} 
[2026-08-26 02:51:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649217024001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02: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-26 02:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787692555000,"timestamp_ms":1787692555000,"timestamp_seconds":1787692555,"priority":1,"record_length":96,"hex_timestamp":"000001a03ac79af8"} 
[2026-08-26 02: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-26 02:51: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-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:51: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-26 02: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-26 02: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-26 02:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:51: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-26 02:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649217024001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649217024001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:51:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:51:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649217024001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":162400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:51:15] local.INFO: GPS data processed {"connection_id":162400,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:51:15] local.INFO: Acknowledgment sent {"connection_id":162400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:51:43] local.INFO: TCP Data received {"connection_id":163390,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:51:43] local.INFO: Processing buffer {"connection_id":163390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:51:43] local.INFO: IMEI packet received {"connection_id":163390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":163390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:51:48] local.INFO: TCP Data received {"connection_id":163390,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:51:48] local.INFO: Processing buffer {"connection_id":163390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:51:48] local.INFO: IMEI packet received {"connection_id":163390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":163390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:51:49] local.INFO: TCP Data received {"connection_id":163390,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:51:49] local.INFO: Processing buffer {"connection_id":163390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:51:49] local.INFO: Packet analysis {"connection_id":163390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03acc"} 
[2026-08-26 02:51:49] local.INFO: Extracted packet for processing {"connection_id":163390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03acc"} 
[2026-08-26 02:51:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649294080001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:51: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-26 02:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787692856000,"timestamp_ms":1787692856000,"timestamp_seconds":1787692856,"priority":1,"record_length":96,"hex_timestamp":"000001a03acc32c0"} 
[2026-08-26 02: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-26 02:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:51:49] 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-26 02: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-26 02: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-26 02:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:51:49] 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-26 02:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649294080001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649294080001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:51:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:51:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649294080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":163390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:51:49] local.INFO: GPS data processed {"connection_id":163390,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:51:49] local.INFO: Acknowledgment sent {"connection_id":163390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:51:54] local.INFO: TCP Data received {"connection_id":163390,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:51:54] local.INFO: Processing buffer {"connection_id":163390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:51:54] local.INFO: Packet analysis {"connection_id":163390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03acc"} 
[2026-08-26 02:51:54] local.INFO: Extracted packet for processing {"connection_id":163390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03acc"} 
[2026-08-26 02:51:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649294080001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 02:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787692856000,"timestamp_ms":1787692856000,"timestamp_seconds":1787692856,"priority":1,"record_length":96,"hex_timestamp":"000001a03acc32c0"} 
[2026-08-26 02:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 02:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649294080001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649294080001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:51:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:51:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649294080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":163390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:51:54] local.INFO: GPS data processed {"connection_id":163390,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:51:54] local.INFO: Acknowledgment sent {"connection_id":163390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:52:38] local.INFO: TCP Data received {"connection_id":164767,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:52:38] local.INFO: Processing buffer {"connection_id":164767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:52:38] local.INFO: IMEI packet received {"connection_id":164767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":164767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:52:43] local.INFO: TCP Data received {"connection_id":164767,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:52:43] local.INFO: Processing buffer {"connection_id":164767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:52:43] local.INFO: IMEI packet received {"connection_id":164767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":164767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:52:44] local.INFO: TCP Data received {"connection_id":164767,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:52:44] local.INFO: Processing buffer {"connection_id":164767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:52:44] local.INFO: Packet analysis {"connection_id":164767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03acc"} 
[2026-08-26 02:52:44] local.INFO: Extracted packet for processing {"connection_id":164767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03acc"} 
[2026-08-26 02:52:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649294080001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:52: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-26 02:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787692856000,"timestamp_ms":1787692856000,"timestamp_seconds":1787692856,"priority":1,"record_length":96,"hex_timestamp":"000001a03acc32c0"} 
[2026-08-26 02: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-26 02:52: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-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:52: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-26 02: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-26 02: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-26 02:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:52:44] 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-26 02:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649294080001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649294080001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:52:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:52:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649294080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":164767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:52:44] local.INFO: GPS data processed {"connection_id":164767,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:52:44] local.INFO: Acknowledgment sent {"connection_id":164767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:53:15] local.INFO: TCP Data received {"connection_id":164767,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:53:15] local.INFO: Processing buffer {"connection_id":164767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:53:15] local.INFO: Packet analysis {"connection_id":164767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03acc"} 
[2026-08-26 02:53:15] local.INFO: Extracted packet for processing {"connection_id":164767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03acc"} 
[2026-08-26 02:53:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649294080001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02: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-26 02:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787692856000,"timestamp_ms":1787692856000,"timestamp_seconds":1787692856,"priority":1,"record_length":96,"hex_timestamp":"000001a03acc32c0"} 
[2026-08-26 02: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-26 02:53: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-26 02: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:53: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-26 02: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-26 02: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-26 02:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:53: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-26 02:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649294080001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649294080001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:53:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:53:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649294080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":164767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:53:15] local.INFO: GPS data processed {"connection_id":164767,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:53:15] local.INFO: Acknowledgment sent {"connection_id":164767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:53:38] local.INFO: TCP Data received {"connection_id":162157,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:53:38] local.INFO: Processing buffer {"connection_id":162157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:53:38] local.INFO: IMEI packet received {"connection_id":162157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":162157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:53:43] local.INFO: TCP Data received {"connection_id":162157,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:53:43] local.INFO: Processing buffer {"connection_id":162157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:53:43] local.INFO: IMEI packet received {"connection_id":162157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":162157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:53:44] local.INFO: TCP Data received {"connection_id":162157,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:53:44] local.INFO: Processing buffer {"connection_id":162157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:53:44] local.INFO: Packet analysis {"connection_id":162157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03acc"} 
[2026-08-26 02:53:44] local.INFO: Extracted packet for processing {"connection_id":162157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03acc"} 
[2026-08-26 02:53:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649294080001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:53: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-26 02:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787692856000,"timestamp_ms":1787692856000,"timestamp_seconds":1787692856,"priority":1,"record_length":96,"hex_timestamp":"000001a03acc32c0"} 
[2026-08-26 02: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-26 02:53: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-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:53: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-26 02: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-26 02: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-26 02:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:53:44] 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-26 02:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649294080001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649294080001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:53:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:53:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649294080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":162157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:53:44] local.INFO: GPS data processed {"connection_id":162157,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:53:44] local.INFO: Acknowledgment sent {"connection_id":162157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:54:16] local.INFO: TCP Data received {"connection_id":162157,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:54:16] local.INFO: Processing buffer {"connection_id":162157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:54:16] local.INFO: Packet analysis {"connection_id":162157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03acc"} 
[2026-08-26 02:54:16] local.INFO: Extracted packet for processing {"connection_id":162157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03acc"} 
[2026-08-26 02:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649294080001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:54: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-26 02:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787692856000,"timestamp_ms":1787692856000,"timestamp_seconds":1787692856,"priority":1,"record_length":96,"hex_timestamp":"000001a03acc32c0"} 
[2026-08-26 02: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-26 02:54: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-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:54: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-26 02:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02: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-26 02:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:54: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-26 02:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649294080001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649294080001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:54:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:54:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649294080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":162157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:54:16] local.INFO: GPS data processed {"connection_id":162157,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:54:16] local.INFO: Acknowledgment sent {"connection_id":162157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:54:38] local.INFO: TCP Data received {"connection_id":162401,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:54:38] local.INFO: Processing buffer {"connection_id":162401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:54:38] local.INFO: IMEI packet received {"connection_id":162401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":162401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:54:43] local.INFO: TCP Data received {"connection_id":162401,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:54:43] local.INFO: Processing buffer {"connection_id":162401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:54:43] local.INFO: IMEI packet received {"connection_id":162401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":162401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:54:44] local.INFO: TCP Data received {"connection_id":162401,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:54:44] local.INFO: Processing buffer {"connection_id":162401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:54:44] local.INFO: Packet analysis {"connection_id":162401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03acc"} 
[2026-08-26 02:54:44] local.INFO: Extracted packet for processing {"connection_id":162401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03acc"} 
[2026-08-26 02:54:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649294080001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:54: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-26 02:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787692856000,"timestamp_ms":1787692856000,"timestamp_seconds":1787692856,"priority":1,"record_length":96,"hex_timestamp":"000001a03acc32c0"} 
[2026-08-26 02: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-26 02:54: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-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:54: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-26 02: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-26 02: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-26 02:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:54:44] 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-26 02:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649294080001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649294080001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:54:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:54:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649294080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":162401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:54:44] local.INFO: GPS data processed {"connection_id":162401,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:54:44] local.INFO: Acknowledgment sent {"connection_id":162401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:55:15] local.INFO: TCP Data received {"connection_id":162401,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:55:15] local.INFO: Processing buffer {"connection_id":162401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:55:15] local.INFO: Packet analysis {"connection_id":162401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03acc"} 
[2026-08-26 02:55:15] local.INFO: Extracted packet for processing {"connection_id":162401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03acc"} 
[2026-08-26 02:55:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649294080001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:55: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-26 02:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787692856000,"timestamp_ms":1787692856000,"timestamp_seconds":1787692856,"priority":1,"record_length":96,"hex_timestamp":"000001a03acc32c0"} 
[2026-08-26 02: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-26 02:55: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-26 02: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-26 02: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-26 02: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-26 02: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-26 02:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:55: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-26 02:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649294080001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649294080001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:55:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:55:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649294080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":162401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:55:15] local.INFO: GPS data processed {"connection_id":162401,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:55:15] local.INFO: Acknowledgment sent {"connection_id":162401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:55:43] local.INFO: TCP Data received {"connection_id":162402,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:55:43] local.INFO: Processing buffer {"connection_id":162402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:55:43] local.INFO: IMEI packet received {"connection_id":162402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":162402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:55:48] local.INFO: TCP Data received {"connection_id":162402,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:55:48] local.INFO: Processing buffer {"connection_id":162402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:55:48] local.INFO: IMEI packet received {"connection_id":162402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":162402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:55:49] local.INFO: TCP Data received {"connection_id":162402,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:55:49] local.INFO: Processing buffer {"connection_id":162402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:55:49] local.INFO: Packet analysis {"connection_id":162402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03acc"} 
[2026-08-26 02:55:49] local.INFO: Extracted packet for processing {"connection_id":162402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03acc"} 
[2026-08-26 02:55:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649294080001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:55: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-26 02:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787692856000,"timestamp_ms":1787692856000,"timestamp_seconds":1787692856,"priority":1,"record_length":96,"hex_timestamp":"000001a03acc32c0"} 
[2026-08-26 02: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-26 02:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:55:49] 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-26 02: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-26 02: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-26 02:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:55:49] 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-26 02:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649294080001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649294080001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:55:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:55:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649294080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":162402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:55:49] local.INFO: GPS data processed {"connection_id":162402,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:55:49] local.INFO: Acknowledgment sent {"connection_id":162402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:55:50] local.INFO: TCP Data received {"connection_id":163391,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:55:50] local.INFO: Processing buffer {"connection_id":163391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 02:55:50] local.INFO: IMEI packet received {"connection_id":163391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 02:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":163391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:55:54] local.INFO: TCP Data received {"connection_id":162402,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:55:54] local.INFO: Processing buffer {"connection_id":162402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03acc32c0012d34c14006aa4818000000e62b..."} 
[2026-08-26 02:55:54] local.INFO: Packet analysis {"connection_id":162402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03acc"} 
[2026-08-26 02:55:54] local.INFO: Extracted packet for processing {"connection_id":162402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03acc"} 
[2026-08-26 02:55:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649294080001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 02:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787692856000,"timestamp_ms":1787692856000,"timestamp_seconds":1787692856,"priority":1,"record_length":96,"hex_timestamp":"000001a03acc32c0"} 
[2026-08-26 02:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 02:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 02:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649294080001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649294080001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:55:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:55:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649294080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":162402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:55:54] local.INFO: GPS data processed {"connection_id":162402,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:55:54] local.INFO: Acknowledgment sent {"connection_id":162402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:56:35] local.INFO: TCP Data received {"connection_id":164768,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:56:35] local.INFO: Processing buffer {"connection_id":164768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:56:35] local.INFO: IMEI packet received {"connection_id":164768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":164768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:56:38] local.INFO: TCP Data received {"connection_id":164768,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:56:38] local.INFO: Processing buffer {"connection_id":164768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:56:38] local.INFO: IMEI packet received {"connection_id":164768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":164768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:56:43] local.INFO: TCP Data received {"connection_id":164768,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:56:43] local.INFO: Processing buffer {"connection_id":164768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:56:43] local.INFO: IMEI packet received {"connection_id":164768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":164768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:56:44] local.INFO: TCP Data received {"connection_id":164768,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 02:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 02:56:44] local.INFO: Processing buffer {"connection_id":164768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 02:56:44] local.INFO: Packet analysis {"connection_id":164768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad0"} 
[2026-08-26 02:56:44] local.INFO: Extracted packet for processing {"connection_id":164768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad0"} 
[2026-08-26 02:56:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649371136001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:56: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-26 02:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787693157000,"timestamp_ms":1787693157000,"timestamp_seconds":1787693157,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad0ca88"} 
[2026-08-26 02:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:56: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-26 02:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:56: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-26 02:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 02:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649371136001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649371136001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:56:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:56:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649371136001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":164768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:56:44] local.INFO: GPS data processed {"connection_id":164768,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:56:44] local.INFO: Acknowledgment sent {"connection_id":164768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:57:16] local.INFO: TCP Data received {"connection_id":164768,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 02:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 02:57:16] local.INFO: Processing buffer {"connection_id":164768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 02:57:16] local.INFO: Packet analysis {"connection_id":164768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad0"} 
[2026-08-26 02:57:16] local.INFO: Extracted packet for processing {"connection_id":164768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad0"} 
[2026-08-26 02:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649371136001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:57: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-26 02:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787693157000,"timestamp_ms":1787693157000,"timestamp_seconds":1787693157,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad0ca88"} 
[2026-08-26 02:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:57: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-26 02:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:57: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-26 02:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:57:16] 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-26 02:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649371136001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649371136001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:57:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:57:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649371136001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":164768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:57:16] local.INFO: GPS data processed {"connection_id":164768,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:57:16] local.INFO: Acknowledgment sent {"connection_id":164768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:57:38] local.INFO: TCP Data received {"connection_id":164769,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:57:38] local.INFO: Processing buffer {"connection_id":164769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:57:38] local.INFO: IMEI packet received {"connection_id":164769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":164769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:57:43] local.INFO: TCP Data received {"connection_id":164769,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:57:44] local.INFO: Processing buffer {"connection_id":164769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:57:44] local.INFO: IMEI packet received {"connection_id":164769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":164769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:57:44] local.INFO: TCP Data received {"connection_id":164769,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 02:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 02:57:44] local.INFO: Processing buffer {"connection_id":164769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 02:57:44] local.INFO: Packet analysis {"connection_id":164769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad0"} 
[2026-08-26 02:57:44] local.INFO: Extracted packet for processing {"connection_id":164769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad0"} 
[2026-08-26 02:57:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649371136001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:57: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-26 02:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787693157000,"timestamp_ms":1787693157000,"timestamp_seconds":1787693157,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad0ca88"} 
[2026-08-26 02:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:57: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-26 02:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:57: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-26 02:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:57:44] 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-26 02:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649371136001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649371136001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:57:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:57:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649371136001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":164769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:57:44] local.INFO: GPS data processed {"connection_id":164769,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:57:44] local.INFO: Acknowledgment sent {"connection_id":164769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:58:16] local.INFO: TCP Data received {"connection_id":164769,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 02:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 02:58:16] local.INFO: Processing buffer {"connection_id":164769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 02:58:16] local.INFO: Packet analysis {"connection_id":164769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad0"} 
[2026-08-26 02:58:16] local.INFO: Extracted packet for processing {"connection_id":164769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad0"} 
[2026-08-26 02:58:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649371136001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02: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-26 02:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787693157000,"timestamp_ms":1787693157000,"timestamp_seconds":1787693157,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad0ca88"} 
[2026-08-26 02: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-26 02:58: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-26 02: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:58: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-26 02: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-26 02: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-26 02:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:58: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-26 02:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649371136001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649371136001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:58:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:58:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649371136001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":164769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:58:16] local.INFO: GPS data processed {"connection_id":164769,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:58:16] local.INFO: Acknowledgment sent {"connection_id":164769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:58:38] local.INFO: TCP Data received {"connection_id":162159,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:58:38] local.INFO: Processing buffer {"connection_id":162159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:58:38] local.INFO: IMEI packet received {"connection_id":162159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":162159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:58:43] local.INFO: TCP Data received {"connection_id":162159,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:58:43] local.INFO: Processing buffer {"connection_id":162159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:58:43] local.INFO: IMEI packet received {"connection_id":162159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":162159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:58:45] local.INFO: TCP Data received {"connection_id":162159,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 02:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 02:58:45] local.INFO: Processing buffer {"connection_id":162159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 02:58:45] local.INFO: Packet analysis {"connection_id":162159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad0"} 
[2026-08-26 02:58:45] local.INFO: Extracted packet for processing {"connection_id":162159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad0"} 
[2026-08-26 02:58:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 02:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649371136001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:58: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-26 02:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787693157000,"timestamp_ms":1787693157000,"timestamp_seconds":1787693157,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad0ca88"} 
[2026-08-26 02:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 02:58: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-26 02:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:58:45] 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-26 02:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 02:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:58:45] 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-26 02:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649371136001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649371136001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:58:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:58:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649371136001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":162159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:58:45] local.INFO: GPS data processed {"connection_id":162159,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:58:45] local.INFO: Acknowledgment sent {"connection_id":162159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:59:16] local.INFO: TCP Data received {"connection_id":162159,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 02:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 02:59:16] local.INFO: Processing buffer {"connection_id":162159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 02:59:16] local.INFO: Packet analysis {"connection_id":162159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad0"} 
[2026-08-26 02:59:16] local.INFO: Extracted packet for processing {"connection_id":162159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad0"} 
[2026-08-26 02:59:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649371136001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:59: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-26 02:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787693157000,"timestamp_ms":1787693157000,"timestamp_seconds":1787693157,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad0ca88"} 
[2026-08-26 02: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-26 02:59: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-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:59: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-26 02: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-26 02: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-26 02:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:59: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-26 02:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649371136001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649371136001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:59:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:59:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649371136001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":162159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:59:16] local.INFO: GPS data processed {"connection_id":162159,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:59:16] local.INFO: Acknowledgment sent {"connection_id":162159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 02:59:38] local.INFO: TCP Data received {"connection_id":163392,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:59:38] local.INFO: Processing buffer {"connection_id":163392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:59:38] local.INFO: IMEI packet received {"connection_id":163392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 02:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":163392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 02:59:43] local.INFO: TCP Data received {"connection_id":163392,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:59:43] local.INFO: Processing buffer {"connection_id":163392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 02:59:43] local.INFO: IMEI packet received {"connection_id":163392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 02:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":163392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 02:59:45] local.INFO: TCP Data received {"connection_id":163392,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 02:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 02:59:45] local.INFO: Processing buffer {"connection_id":163392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 02:59:45] local.INFO: Packet analysis {"connection_id":163392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad0"} 
[2026-08-26 02:59:45] local.INFO: Extracted packet for processing {"connection_id":163392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad0"} 
[2026-08-26 02:59:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 02: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-26 02:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649371136001,"note":"Value kept but may cause issues"} 
[2026-08-26 02:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 02:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 02:59: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-26 02:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787693157000,"timestamp_ms":1787693157000,"timestamp_seconds":1787693157,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad0ca88"} 
[2026-08-26 02: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-26 02:59: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-26 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 02:59:45] 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-26 02:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 02: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-26 02:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 02:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 02:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 02:59:45] 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-26 02:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 02:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 02:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649371136001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 02:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 02:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 02:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649371136001,"description":"Unknown IO ID 0"} 
[2026-08-26 02:59:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 02:59:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 02:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 02:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 02:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649371136001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 02:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":163392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 02:59:45] local.INFO: GPS data processed {"connection_id":163392,"processed":1,"errors":0,"total":1} 
[2026-08-26 02:59:45] local.INFO: Acknowledgment sent {"connection_id":163392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:00:16] local.INFO: TCP Data received {"connection_id":163392,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 03:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 03:00:16] local.INFO: Processing buffer {"connection_id":163392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 03:00:16] local.INFO: Packet analysis {"connection_id":163392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad0"} 
[2026-08-26 03:00:16] local.INFO: Extracted packet for processing {"connection_id":163392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad0"} 
[2026-08-26 03:00:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649371136001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03: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-26 03:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787693157000,"timestamp_ms":1787693157000,"timestamp_seconds":1787693157,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad0ca88"} 
[2026-08-26 03: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-26 03:00: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-26 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 03:00: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-26 03: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-26 03: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-26 03:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:00: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-26 03:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649371136001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649371136001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:00:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:00:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649371136001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":163392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:00:16] local.INFO: GPS data processed {"connection_id":163392,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:00:16] local.INFO: Acknowledgment sent {"connection_id":163392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:00:43] local.INFO: TCP Data received {"connection_id":164770,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:00:43] local.INFO: Processing buffer {"connection_id":164770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:00:43] local.INFO: IMEI packet received {"connection_id":164770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":164770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:00:48] local.INFO: TCP Data received {"connection_id":164770,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:00:48] local.INFO: Processing buffer {"connection_id":164770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:00:48] local.INFO: IMEI packet received {"connection_id":164770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":164770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:00:49] local.INFO: TCP Data received {"connection_id":164770,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 03:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 03:00:49] local.INFO: Processing buffer {"connection_id":164770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 03:00:49] local.INFO: Packet analysis {"connection_id":164770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad0"} 
[2026-08-26 03:00:49] local.INFO: Extracted packet for processing {"connection_id":164770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad0"} 
[2026-08-26 03:00:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649371136001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:00: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-26 03:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787693157000,"timestamp_ms":1787693157000,"timestamp_seconds":1787693157,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad0ca88"} 
[2026-08-26 03: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-26 03:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 03:00:49] 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-26 03: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-26 03: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-26 03:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:00:49] 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-26 03:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649371136001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649371136001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:00:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:00:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649371136001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":164770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:00:49] local.INFO: GPS data processed {"connection_id":164770,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:00:49] local.INFO: Acknowledgment sent {"connection_id":164770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:00:54] local.INFO: TCP Data received {"connection_id":164770,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 03:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 03:00:54] local.INFO: Processing buffer {"connection_id":164770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad0ca88012d34c14006aa4818000600e628..."} 
[2026-08-26 03:00:54] local.INFO: Packet analysis {"connection_id":164770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad0"} 
[2026-08-26 03:00:54] local.INFO: Extracted packet for processing {"connection_id":164770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad0"} 
[2026-08-26 03:00:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649371136001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 03:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787693157000,"timestamp_ms":1787693157000,"timestamp_seconds":1787693157,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad0ca88"} 
[2026-08-26 03:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 03:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 03:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649371136001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649371136001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:00:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:00:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649371136001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":164770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:00:54] local.INFO: GPS data processed {"connection_id":164770,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:00:54] local.INFO: Acknowledgment sent {"connection_id":164770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:01:24] local.INFO: TCP Data received {"connection_id":162158,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:01:24] local.INFO: Processing buffer {"connection_id":162158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:01:24] local.INFO: IMEI packet received {"connection_id":162158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 03:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":162158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:01:36] local.INFO: TCP Data received {"connection_id":163393,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:01:36] local.INFO: Processing buffer {"connection_id":163393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:01:36] local.INFO: IMEI packet received {"connection_id":163393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":163393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:01:38] local.INFO: TCP Data received {"connection_id":163393,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:01:38] local.INFO: Processing buffer {"connection_id":163393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:01:38] local.INFO: IMEI packet received {"connection_id":163393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":163393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:01:43] local.INFO: TCP Data received {"connection_id":163393,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:01:43] local.INFO: Processing buffer {"connection_id":163393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:01:43] local.INFO: IMEI packet received {"connection_id":163393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":163393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:01:44] local.INFO: TCP Data received {"connection_id":163393,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:01:44] local.INFO: Processing buffer {"connection_id":163393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:01:44] local.INFO: Packet analysis {"connection_id":163393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad5"} 
[2026-08-26 03:01:44] local.INFO: Extracted packet for processing {"connection_id":163393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad5"} 
[2026-08-26 03:01:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649448192001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:01: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-26 03:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787693458000,"timestamp_ms":1787693458000,"timestamp_seconds":1787693458,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad56250"} 
[2026-08-26 03: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-26 03:01: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-26 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 03: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-26 03: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-26 03:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:01:44] 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-26 03:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649448192001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649448192001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:01:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:01:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649448192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":163393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:01:44] local.INFO: GPS data processed {"connection_id":163393,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:01:44] local.INFO: Acknowledgment sent {"connection_id":163393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:02:16] local.INFO: TCP Data received {"connection_id":163393,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:02:16] local.INFO: Processing buffer {"connection_id":163393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:02:16] local.INFO: Packet analysis {"connection_id":163393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad5"} 
[2026-08-26 03:02:16] local.INFO: Extracted packet for processing {"connection_id":163393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad5"} 
[2026-08-26 03:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649448192001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:02: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-26 03:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787693458000,"timestamp_ms":1787693458000,"timestamp_seconds":1787693458,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad56250"} 
[2026-08-26 03:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:02: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-26 03:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:02: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-26 03:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:02: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-26 03:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649448192001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649448192001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:02:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:02:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649448192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":163393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:02:16] local.INFO: GPS data processed {"connection_id":163393,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:02:16] local.INFO: Acknowledgment sent {"connection_id":163393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:02:38] local.INFO: TCP Data received {"connection_id":164771,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:02:38] local.INFO: Processing buffer {"connection_id":164771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:02:38] local.INFO: IMEI packet received {"connection_id":164771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":164771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:02:43] local.INFO: TCP Data received {"connection_id":164771,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:02:43] local.INFO: Processing buffer {"connection_id":164771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:02:43] local.INFO: IMEI packet received {"connection_id":164771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":164771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:02:44] local.INFO: TCP Data received {"connection_id":164771,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:02:44] local.INFO: Processing buffer {"connection_id":164771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:02:44] local.INFO: Packet analysis {"connection_id":164771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad5"} 
[2026-08-26 03:02:44] local.INFO: Extracted packet for processing {"connection_id":164771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad5"} 
[2026-08-26 03:02:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649448192001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:02: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-26 03:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787693458000,"timestamp_ms":1787693458000,"timestamp_seconds":1787693458,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad56250"} 
[2026-08-26 03: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-26 03:02: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-26 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 03:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03: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-26 03:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:02:44] local.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-26 03:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649448192001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649448192001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:02:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:02:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649448192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":164771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:02:44] local.INFO: GPS data processed {"connection_id":164771,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:02:44] local.INFO: Acknowledgment sent {"connection_id":164771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:03:15] local.INFO: TCP Data received {"connection_id":164771,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:03:15] local.INFO: Processing buffer {"connection_id":164771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:03:15] local.INFO: Packet analysis {"connection_id":164771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad5"} 
[2026-08-26 03:03:15] local.INFO: Extracted packet for processing {"connection_id":164771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad5"} 
[2026-08-26 03:03:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649448192001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:03: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-26 03:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787693458000,"timestamp_ms":1787693458000,"timestamp_seconds":1787693458,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad56250"} 
[2026-08-26 03:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:03: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-26 03:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:03: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-26 03:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:03: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-26 03:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649448192001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649448192001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:03:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:03:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649448192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":164771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:03:15] local.INFO: GPS data processed {"connection_id":164771,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:03:15] local.INFO: Acknowledgment sent {"connection_id":164771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:03:38] local.INFO: TCP Data received {"connection_id":164772,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:03:38] local.INFO: Processing buffer {"connection_id":164772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:03:38] local.INFO: IMEI packet received {"connection_id":164772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":164772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:03:43] local.INFO: TCP Data received {"connection_id":164772,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:03:43] local.INFO: Processing buffer {"connection_id":164772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:03:43] local.INFO: IMEI packet received {"connection_id":164772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":164772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:03:45] local.INFO: TCP Data received {"connection_id":164772,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:03:45] local.INFO: Processing buffer {"connection_id":164772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:03:45] local.INFO: Packet analysis {"connection_id":164772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad5"} 
[2026-08-26 03:03:45] local.INFO: Extracted packet for processing {"connection_id":164772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad5"} 
[2026-08-26 03:03:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649448192001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:03: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-26 03:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787693458000,"timestamp_ms":1787693458000,"timestamp_seconds":1787693458,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad56250"} 
[2026-08-26 03:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:03: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-26 03:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 03:03:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:03:45] 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-26 03:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649448192001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649448192001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:03:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:03:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649448192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":164772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:03:45] local.INFO: GPS data processed {"connection_id":164772,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:03:45] local.INFO: Acknowledgment sent {"connection_id":164772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:04:17] local.INFO: TCP Data received {"connection_id":164772,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:04:17] local.INFO: Processing buffer {"connection_id":164772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:04:17] local.INFO: Packet analysis {"connection_id":164772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad5"} 
[2026-08-26 03:04:17] local.INFO: Extracted packet for processing {"connection_id":164772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad5"} 
[2026-08-26 03:04:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649448192001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:04: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-26 03:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787693458000,"timestamp_ms":1787693458000,"timestamp_seconds":1787693458,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad56250"} 
[2026-08-26 03:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:04: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-26 03:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 03:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:04:17] 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-26 03:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649448192001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649448192001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:04:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:04:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649448192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":164772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:04:17] local.INFO: GPS data processed {"connection_id":164772,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:04:17] local.INFO: Acknowledgment sent {"connection_id":164772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:04:43] local.INFO: TCP Data received {"connection_id":162403,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:04:43] local.INFO: Processing buffer {"connection_id":162403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:04:43] local.INFO: IMEI packet received {"connection_id":162403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":162403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:04:48] local.INFO: TCP Data received {"connection_id":162403,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:04:48] local.INFO: Processing buffer {"connection_id":162403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:04:48] local.INFO: IMEI packet received {"connection_id":162403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":162403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:04:50] local.INFO: TCP Data received {"connection_id":162403,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:04:50] local.INFO: Processing buffer {"connection_id":162403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:04:50] local.INFO: Packet analysis {"connection_id":162403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad5"} 
[2026-08-26 03:04:50] local.INFO: Extracted packet for processing {"connection_id":162403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad5"} 
[2026-08-26 03:04:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649448192001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 03:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787693458000,"timestamp_ms":1787693458000,"timestamp_seconds":1787693458,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad56250"} 
[2026-08-26 03: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-26 03:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 03: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-26 03: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-26 03:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:04:50] 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-26 03:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649448192001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649448192001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:04:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:04:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649448192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":162403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:04:50] local.INFO: GPS data processed {"connection_id":162403,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:04:50] local.INFO: Acknowledgment sent {"connection_id":162403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:04:54] local.INFO: TCP Data received {"connection_id":162403,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:04:54] local.INFO: Processing buffer {"connection_id":162403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:04:54] local.INFO: Packet analysis {"connection_id":162403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad5"} 
[2026-08-26 03:04:54] local.INFO: Extracted packet for processing {"connection_id":162403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad5"} 
[2026-08-26 03:04:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649448192001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 03:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787693458000,"timestamp_ms":1787693458000,"timestamp_seconds":1787693458,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad56250"} 
[2026-08-26 03:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 03:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649448192001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649448192001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:04:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:04:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649448192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":162403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:04:54] local.INFO: GPS data processed {"connection_id":162403,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:04:54] local.INFO: Acknowledgment sent {"connection_id":162403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:05:38] local.INFO: TCP Data received {"connection_id":162161,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:05:38] local.INFO: Processing buffer {"connection_id":162161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:05:38] local.INFO: IMEI packet received {"connection_id":162161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":162161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:05:43] local.INFO: TCP Data received {"connection_id":162161,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:05:43] local.INFO: Processing buffer {"connection_id":162161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:05:43] local.INFO: IMEI packet received {"connection_id":162161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":162161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:05:45] local.INFO: TCP Data received {"connection_id":162161,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:05:45] local.INFO: Processing buffer {"connection_id":162161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:05:45] local.INFO: Packet analysis {"connection_id":162161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad5"} 
[2026-08-26 03:05:45] local.INFO: Extracted packet for processing {"connection_id":162161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad5"} 
[2026-08-26 03:05:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649448192001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:05: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-26 03:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787693458000,"timestamp_ms":1787693458000,"timestamp_seconds":1787693458,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad56250"} 
[2026-08-26 03:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:05: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-26 03:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 03:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:05:45] 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-26 03:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649448192001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649448192001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:05:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:05:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649448192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":162161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:05:45] local.INFO: GPS data processed {"connection_id":162161,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:05:45] local.INFO: Acknowledgment sent {"connection_id":162161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:06:17] local.INFO: TCP Data received {"connection_id":162161,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:06:17] local.INFO: Processing buffer {"connection_id":162161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad56250012d34c14006aa4818000900e62b..."} 
[2026-08-26 03:06:17] local.INFO: Packet analysis {"connection_id":162161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad5"} 
[2026-08-26 03:06:17] local.INFO: Extracted packet for processing {"connection_id":162161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad5"} 
[2026-08-26 03:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649448192001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:06: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-26 03:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787693458000,"timestamp_ms":1787693458000,"timestamp_seconds":1787693458,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad56250"} 
[2026-08-26 03: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-26 03:06: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-26 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 03: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-26 03: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-26 03:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:06: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-26 03:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649448192001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649448192001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:06:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:06:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649448192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":162161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:06:17] local.INFO: GPS data processed {"connection_id":162161,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:06:17] local.INFO: Acknowledgment sent {"connection_id":162161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:06:37] local.INFO: TCP Data received {"connection_id":163394,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:06:37] local.INFO: Processing buffer {"connection_id":163394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:06:37] local.INFO: IMEI packet received {"connection_id":163394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":163394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:06:38] local.INFO: TCP Data received {"connection_id":163394,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:06:38] local.INFO: Processing buffer {"connection_id":163394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:06:38] local.INFO: IMEI packet received {"connection_id":163394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":163394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:06:43] local.INFO: TCP Data received {"connection_id":163394,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:06:43] local.INFO: Processing buffer {"connection_id":163394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:06:43] local.INFO: IMEI packet received {"connection_id":163394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":163394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:06:44] local.INFO: TCP Data received {"connection_id":163394,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:06:44] local.INFO: Processing buffer {"connection_id":163394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:06:44] local.INFO: Packet analysis {"connection_id":163394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad9"} 
[2026-08-26 03:06:44] local.INFO: Extracted packet for processing {"connection_id":163394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad9"} 
[2026-08-26 03:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649525248001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:06: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-26 03:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787693759000,"timestamp_ms":1787693759000,"timestamp_seconds":1787693759,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad9fa18"} 
[2026-08-26 03:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:06: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-26 03:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 03:06: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-26 03:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:06:44] 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-26 03:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649525248001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649525248001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:06:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:06:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649525248001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":163394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:06:44] local.INFO: GPS data processed {"connection_id":163394,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:06:44] local.INFO: Acknowledgment sent {"connection_id":163394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:06:58] local.INFO: TCP Data received {"connection_id":162160,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162160,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:06:58] local.INFO: Processing buffer {"connection_id":162160,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:06:58] local.INFO: IMEI packet received {"connection_id":162160,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 03:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":162160,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:07:16] local.INFO: TCP Data received {"connection_id":163394,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:07:16] local.INFO: Processing buffer {"connection_id":163394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:07:16] local.INFO: Packet analysis {"connection_id":163394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad9"} 
[2026-08-26 03:07:16] local.INFO: Extracted packet for processing {"connection_id":163394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad9"} 
[2026-08-26 03:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649525248001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:07: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-26 03:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787693759000,"timestamp_ms":1787693759000,"timestamp_seconds":1787693759,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad9fa18"} 
[2026-08-26 03:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:07: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-26 03:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 03:07: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-26 03:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649525248001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649525248001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:07:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:07:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649525248001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":163394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:07:16] local.INFO: GPS data processed {"connection_id":163394,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:07:16] local.INFO: Acknowledgment sent {"connection_id":163394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:07:38] local.INFO: TCP Data received {"connection_id":163395,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:07:38] local.INFO: Processing buffer {"connection_id":163395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:07:38] local.INFO: IMEI packet received {"connection_id":163395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":163395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:07:43] local.INFO: TCP Data received {"connection_id":163395,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:07:43] local.INFO: Processing buffer {"connection_id":163395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:07:43] local.INFO: IMEI packet received {"connection_id":163395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":163395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:07:44] local.INFO: TCP Data received {"connection_id":163395,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:07:44] local.INFO: Processing buffer {"connection_id":163395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:07:44] local.INFO: Packet analysis {"connection_id":163395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad9"} 
[2026-08-26 03:07:44] local.INFO: Extracted packet for processing {"connection_id":163395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad9"} 
[2026-08-26 03:07:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649525248001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:07: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-26 03:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787693759000,"timestamp_ms":1787693759000,"timestamp_seconds":1787693759,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad9fa18"} 
[2026-08-26 03:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:07: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-26 03:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 03:07: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-26 03:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:07:44] 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-26 03:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649525248001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649525248001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:07:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:07:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649525248001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":163395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:07:44] local.INFO: GPS data processed {"connection_id":163395,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:07:44] local.INFO: Acknowledgment sent {"connection_id":163395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:08:16] local.INFO: TCP Data received {"connection_id":163395,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:08:16] local.INFO: Processing buffer {"connection_id":163395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:08:16] local.INFO: Packet analysis {"connection_id":163395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad9"} 
[2026-08-26 03:08:16] local.INFO: Extracted packet for processing {"connection_id":163395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad9"} 
[2026-08-26 03:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649525248001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03: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-26 03:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787693759000,"timestamp_ms":1787693759000,"timestamp_seconds":1787693759,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad9fa18"} 
[2026-08-26 03: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-26 03:08: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-26 03: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 03:08: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-26 03: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-26 03: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-26 03:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:08: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-26 03:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649525248001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649525248001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:08:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649525248001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":163395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:08:16] local.INFO: GPS data processed {"connection_id":163395,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:08:16] local.INFO: Acknowledgment sent {"connection_id":163395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:08:38] local.INFO: TCP Data received {"connection_id":164773,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:08:38] local.INFO: Processing buffer {"connection_id":164773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:08:38] local.INFO: IMEI packet received {"connection_id":164773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":164773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:08:43] local.INFO: TCP Data received {"connection_id":164773,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:08:43] local.INFO: Processing buffer {"connection_id":164773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:08:43] local.INFO: IMEI packet received {"connection_id":164773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":164773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:08:44] local.INFO: TCP Data received {"connection_id":164773,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:08:44] local.INFO: Processing buffer {"connection_id":164773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:08:44] local.INFO: Packet analysis {"connection_id":164773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad9"} 
[2026-08-26 03:08:44] local.INFO: Extracted packet for processing {"connection_id":164773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad9"} 
[2026-08-26 03:08:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649525248001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:08: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-26 03:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787693759000,"timestamp_ms":1787693759000,"timestamp_seconds":1787693759,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad9fa18"} 
[2026-08-26 03: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-26 03:08: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-26 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 03:08: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-26 03: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-26 03: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-26 03:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:08:44] 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-26 03:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649525248001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649525248001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:08:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:08:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649525248001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":164773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:08:44] local.INFO: GPS data processed {"connection_id":164773,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:08:44] local.INFO: Acknowledgment sent {"connection_id":164773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:09:15] local.INFO: TCP Data received {"connection_id":164773,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:09:15] local.INFO: Processing buffer {"connection_id":164773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:09:15] local.INFO: Packet analysis {"connection_id":164773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad9"} 
[2026-08-26 03:09:15] local.INFO: Extracted packet for processing {"connection_id":164773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad9"} 
[2026-08-26 03:09:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649525248001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:09: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-26 03:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787693759000,"timestamp_ms":1787693759000,"timestamp_seconds":1787693759,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad9fa18"} 
[2026-08-26 03:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:09: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-26 03:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 03:09: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-26 03:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:09: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-26 03:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649525248001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649525248001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:09:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:09:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649525248001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":164773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:09:15] local.INFO: GPS data processed {"connection_id":164773,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:09:15] local.INFO: Acknowledgment sent {"connection_id":164773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:09:38] local.INFO: TCP Data received {"connection_id":162404,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:09:38] local.INFO: Processing buffer {"connection_id":162404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:09:38] local.INFO: IMEI packet received {"connection_id":162404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":162404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:09:43] local.INFO: TCP Data received {"connection_id":162404,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:09:43] local.INFO: Processing buffer {"connection_id":162404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:09:43] local.INFO: IMEI packet received {"connection_id":162404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":162404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:09:44] local.INFO: TCP Data received {"connection_id":162404,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:09:44] local.INFO: Processing buffer {"connection_id":162404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:09:44] local.INFO: Packet analysis {"connection_id":162404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad9"} 
[2026-08-26 03:09:44] local.INFO: Extracted packet for processing {"connection_id":162404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad9"} 
[2026-08-26 03:09:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649525248001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:09: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-26 03:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787693759000,"timestamp_ms":1787693759000,"timestamp_seconds":1787693759,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad9fa18"} 
[2026-08-26 03: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-26 03:09: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-26 03: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 03:09: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-26 03: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-26 03: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-26 03:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:09:44] 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-26 03:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649525248001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649525248001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:09:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:09:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649525248001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":162404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:09:44] local.INFO: GPS data processed {"connection_id":162404,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:09:44] local.INFO: Acknowledgment sent {"connection_id":162404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:10:16] local.INFO: TCP Data received {"connection_id":162404,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:10:16] local.INFO: Processing buffer {"connection_id":162404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:10:16] local.INFO: Packet analysis {"connection_id":162404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad9"} 
[2026-08-26 03:10:16] local.INFO: Extracted packet for processing {"connection_id":162404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad9"} 
[2026-08-26 03:10:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649525248001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03: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-26 03:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787693759000,"timestamp_ms":1787693759000,"timestamp_seconds":1787693759,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad9fa18"} 
[2026-08-26 03: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-26 03:10: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-26 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 03:10: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-26 03: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-26 03: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-26 03:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:10:16] 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-26 03:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649525248001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649525248001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:10:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:10:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649525248001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":162404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:10:16] local.INFO: GPS data processed {"connection_id":162404,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:10:16] local.INFO: Acknowledgment sent {"connection_id":162404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:10:43] local.INFO: TCP Data received {"connection_id":164774,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:10:43] local.INFO: Processing buffer {"connection_id":164774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:10:43] local.INFO: IMEI packet received {"connection_id":164774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":164774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:10:48] local.INFO: TCP Data received {"connection_id":164774,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:10:48] local.INFO: Processing buffer {"connection_id":164774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:10:48] local.INFO: IMEI packet received {"connection_id":164774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":164774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:10:49] local.INFO: TCP Data received {"connection_id":164774,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:10:49] local.INFO: Processing buffer {"connection_id":164774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:10:49] local.INFO: Packet analysis {"connection_id":164774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad9"} 
[2026-08-26 03:10:49] local.INFO: Extracted packet for processing {"connection_id":164774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad9"} 
[2026-08-26 03:10:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649525248001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:10: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-26 03:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787693759000,"timestamp_ms":1787693759000,"timestamp_seconds":1787693759,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad9fa18"} 
[2026-08-26 03: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-26 03:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 03:10:49] 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-26 03: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-26 03: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-26 03:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:10:49] 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-26 03:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649525248001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649525248001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:10:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:10:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649525248001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":164774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:10:49] local.INFO: GPS data processed {"connection_id":164774,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:10:49] local.INFO: Acknowledgment sent {"connection_id":164774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:10:54] local.INFO: TCP Data received {"connection_id":164774,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:10:54] local.INFO: Processing buffer {"connection_id":164774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ad9fa18012d34c14006aa4818000500e62b..."} 
[2026-08-26 03:10:54] local.INFO: Packet analysis {"connection_id":164774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ad9"} 
[2026-08-26 03:10:54] local.INFO: Extracted packet for processing {"connection_id":164774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ad9"} 
[2026-08-26 03:10:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649525248001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 03:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787693759000,"timestamp_ms":1787693759000,"timestamp_seconds":1787693759,"priority":1,"record_length":96,"hex_timestamp":"000001a03ad9fa18"} 
[2026-08-26 03: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-26 03:10:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 03:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 03: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-26 03: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-26 03:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:10:54] 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-26 03:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649525248001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649525248001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:10:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:10:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649525248001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":164774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:10:54] local.INFO: GPS data processed {"connection_id":164774,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:10:54] local.INFO: Acknowledgment sent {"connection_id":164774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:11:38] local.INFO: TCP Data received {"connection_id":162405,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:11:38] local.INFO: Processing buffer {"connection_id":162405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:11:38] local.INFO: IMEI packet received {"connection_id":162405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":162405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:11:39] local.INFO: TCP Data received {"connection_id":162405,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:11:39] local.INFO: Processing buffer {"connection_id":162405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:11:39] local.INFO: IMEI packet received {"connection_id":162405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":162405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:11:43] local.INFO: TCP Data received {"connection_id":162405,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:11:43] local.INFO: Processing buffer {"connection_id":162405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:11:43] local.INFO: IMEI packet received {"connection_id":162405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":162405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:11:45] local.INFO: TCP Data received {"connection_id":162405,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:11:45] local.INFO: Processing buffer {"connection_id":162405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:11:45] local.INFO: Packet analysis {"connection_id":162405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ade"} 
[2026-08-26 03:11:45] local.INFO: Extracted packet for processing {"connection_id":162405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ade"} 
[2026-08-26 03:11:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649602304001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:11: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-26 03:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787694060000,"timestamp_ms":1787694060000,"timestamp_seconds":1787694060,"priority":1,"record_length":96,"hex_timestamp":"000001a03ade91e0"} 
[2026-08-26 03: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-26 03:11: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-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:11: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-26 03: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-26 03: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-26 03:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:11: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-26 03:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649602304001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649602304001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:11:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:11:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649602304001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":162405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:11:45] local.INFO: GPS data processed {"connection_id":162405,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:11:45] local.INFO: Acknowledgment sent {"connection_id":162405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:12:16] local.INFO: TCP Data received {"connection_id":162405,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:12:16] local.INFO: Processing buffer {"connection_id":162405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:12:16] local.INFO: Packet analysis {"connection_id":162405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ade"} 
[2026-08-26 03:12:16] local.INFO: Extracted packet for processing {"connection_id":162405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ade"} 
[2026-08-26 03:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649602304001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03: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-26 03:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787694060000,"timestamp_ms":1787694060000,"timestamp_seconds":1787694060,"priority":1,"record_length":96,"hex_timestamp":"000001a03ade91e0"} 
[2026-08-26 03: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-26 03:12: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-26 03: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-26 03: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-26 03: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-26 03: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-26 03:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:12: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-26 03:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649602304001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649602304001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:12:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:12:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649602304001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":162405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:12:16] local.INFO: GPS data processed {"connection_id":162405,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:12:16] local.INFO: Acknowledgment sent {"connection_id":162405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:12:34] local.INFO: TCP Data received {"connection_id":163396,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:12:34] local.INFO: Processing buffer {"connection_id":163396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:12:34] local.INFO: IMEI packet received {"connection_id":163396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 03:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":163396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:12:38] local.INFO: TCP Data received {"connection_id":162406,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:12:38] local.INFO: Processing buffer {"connection_id":162406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:12:38] local.INFO: IMEI packet received {"connection_id":162406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":162406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:12:43] local.INFO: TCP Data received {"connection_id":162406,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:12:43] local.INFO: Processing buffer {"connection_id":162406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:12:43] local.INFO: IMEI packet received {"connection_id":162406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":162406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:12:44] local.INFO: TCP Data received {"connection_id":162406,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:12:44] local.INFO: Processing buffer {"connection_id":162406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:12:44] local.INFO: Packet analysis {"connection_id":162406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ade"} 
[2026-08-26 03:12:44] local.INFO: Extracted packet for processing {"connection_id":162406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ade"} 
[2026-08-26 03:12:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649602304001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:12: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-26 03:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787694060000,"timestamp_ms":1787694060000,"timestamp_seconds":1787694060,"priority":1,"record_length":96,"hex_timestamp":"000001a03ade91e0"} 
[2026-08-26 03: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-26 03:12: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-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:12: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-26 03: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-26 03: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-26 03:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649602304001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649602304001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:12:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:12:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649602304001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":162406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:12:44] local.INFO: GPS data processed {"connection_id":162406,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:12:44] local.INFO: Acknowledgment sent {"connection_id":162406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:13:03] local.INFO: TCP Data received {"connection_id":163397,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:13:03] local.INFO: Processing buffer {"connection_id":163397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:13:03] local.INFO: IMEI packet received {"connection_id":163397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 03:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":163397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:13:15] local.INFO: TCP Data received {"connection_id":162406,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:13:15] local.INFO: Processing buffer {"connection_id":162406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:13:15] local.INFO: Packet analysis {"connection_id":162406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ade"} 
[2026-08-26 03:13:15] local.INFO: Extracted packet for processing {"connection_id":162406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ade"} 
[2026-08-26 03:13:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649602304001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:13: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-26 03:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787694060000,"timestamp_ms":1787694060000,"timestamp_seconds":1787694060,"priority":1,"record_length":96,"hex_timestamp":"000001a03ade91e0"} 
[2026-08-26 03:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:13: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-26 03:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:13: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-26 03:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649602304001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649602304001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:13:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:13:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649602304001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":162406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:13:15] local.INFO: GPS data processed {"connection_id":162406,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:13:15] local.INFO: Acknowledgment sent {"connection_id":162406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:13:38] local.INFO: TCP Data received {"connection_id":164775,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:13:38] local.INFO: Processing buffer {"connection_id":164775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:13:38] local.INFO: IMEI packet received {"connection_id":164775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":164775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:13:43] local.INFO: TCP Data received {"connection_id":164775,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:13:43] local.INFO: Processing buffer {"connection_id":164775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:13:43] local.INFO: IMEI packet received {"connection_id":164775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":164775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:13:44] local.INFO: TCP Data received {"connection_id":164775,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:13:44] local.INFO: Processing buffer {"connection_id":164775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:13:44] local.INFO: Packet analysis {"connection_id":164775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ade"} 
[2026-08-26 03:13:44] local.INFO: Extracted packet for processing {"connection_id":164775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ade"} 
[2026-08-26 03:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649602304001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03: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-26 03:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787694060000,"timestamp_ms":1787694060000,"timestamp_seconds":1787694060,"priority":1,"record_length":96,"hex_timestamp":"000001a03ade91e0"} 
[2026-08-26 03: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-26 03:13: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-26 03: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-26 03: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-26 03: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-26 03: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-26 03:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:13:44] 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-26 03:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649602304001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649602304001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:13:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:13:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649602304001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":164775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:13:44] local.INFO: GPS data processed {"connection_id":164775,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:13:44] local.INFO: Acknowledgment sent {"connection_id":164775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:14:16] local.INFO: TCP Data received {"connection_id":164775,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:14:16] local.INFO: Processing buffer {"connection_id":164775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:14:16] local.INFO: Packet analysis {"connection_id":164775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ade"} 
[2026-08-26 03:14:16] local.INFO: Extracted packet for processing {"connection_id":164775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ade"} 
[2026-08-26 03:14:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649602304001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:14: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-26 03:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787694060000,"timestamp_ms":1787694060000,"timestamp_seconds":1787694060,"priority":1,"record_length":96,"hex_timestamp":"000001a03ade91e0"} 
[2026-08-26 03: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-26 03:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:14: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-26 03: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-26 03: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-26 03:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:14: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-26 03:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649602304001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649602304001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:14:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:14:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649602304001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":164775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:14:16] local.INFO: GPS data processed {"connection_id":164775,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:14:16] local.INFO: Acknowledgment sent {"connection_id":164775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:14:38] local.INFO: TCP Data received {"connection_id":164776,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:14:38] local.INFO: Processing buffer {"connection_id":164776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:14:38] local.INFO: IMEI packet received {"connection_id":164776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":164776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:14:43] local.INFO: TCP Data received {"connection_id":164776,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:14:43] local.INFO: Processing buffer {"connection_id":164776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:14:43] local.INFO: IMEI packet received {"connection_id":164776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":164776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:14:44] local.INFO: TCP Data received {"connection_id":164776,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:14:44] local.INFO: Processing buffer {"connection_id":164776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:14:44] local.INFO: Packet analysis {"connection_id":164776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ade"} 
[2026-08-26 03:14:44] local.INFO: Extracted packet for processing {"connection_id":164776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ade"} 
[2026-08-26 03:14:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649602304001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03: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-26 03:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787694060000,"timestamp_ms":1787694060000,"timestamp_seconds":1787694060,"priority":1,"record_length":96,"hex_timestamp":"000001a03ade91e0"} 
[2026-08-26 03: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-26 03:14: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-26 03: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:14: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-26 03: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-26 03: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-26 03:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649602304001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649602304001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:14:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:14:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649602304001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":164776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:14:44] local.INFO: GPS data processed {"connection_id":164776,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:14:44] local.INFO: Acknowledgment sent {"connection_id":164776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:15:15] local.INFO: TCP Data received {"connection_id":164776,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:15:15] local.INFO: Processing buffer {"connection_id":164776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:15:15] local.INFO: Packet analysis {"connection_id":164776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ade"} 
[2026-08-26 03:15:15] local.INFO: Extracted packet for processing {"connection_id":164776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ade"} 
[2026-08-26 03:15:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649602304001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:15: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-26 03:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787694060000,"timestamp_ms":1787694060000,"timestamp_seconds":1787694060,"priority":1,"record_length":96,"hex_timestamp":"000001a03ade91e0"} 
[2026-08-26 03: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-26 03:15: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-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:15: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-26 03: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-26 03: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-26 03:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:15: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-26 03:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649602304001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649602304001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:15:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:15:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649602304001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":164776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:15:15] local.INFO: GPS data processed {"connection_id":164776,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:15:15] local.INFO: Acknowledgment sent {"connection_id":164776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:15:43] local.INFO: TCP Data received {"connection_id":162162,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:15:43] local.INFO: Processing buffer {"connection_id":162162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:15:43] local.INFO: IMEI packet received {"connection_id":162162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":162162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:15:48] local.INFO: TCP Data received {"connection_id":162162,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:15:48] local.INFO: Processing buffer {"connection_id":162162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:15:48] local.INFO: IMEI packet received {"connection_id":162162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":162162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:15:49] local.INFO: TCP Data received {"connection_id":162162,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:15:49] local.INFO: Processing buffer {"connection_id":162162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:15:49] local.INFO: Packet analysis {"connection_id":162162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ade"} 
[2026-08-26 03:15:49] local.INFO: Extracted packet for processing {"connection_id":162162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ade"} 
[2026-08-26 03:15:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649602304001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:15: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-26 03:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787694060000,"timestamp_ms":1787694060000,"timestamp_seconds":1787694060,"priority":1,"record_length":96,"hex_timestamp":"000001a03ade91e0"} 
[2026-08-26 03: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-26 03:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:15: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-26 03: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-26 03: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-26 03:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:15:49] 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-26 03:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649602304001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649602304001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:15:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:15:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649602304001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":162162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:15:49] local.INFO: GPS data processed {"connection_id":162162,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:15:49] local.INFO: Acknowledgment sent {"connection_id":162162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:15:54] local.INFO: TCP Data received {"connection_id":162162,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:15:54] local.INFO: Processing buffer {"connection_id":162162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ade91e0012d34c14006aa4818000800e62b..."} 
[2026-08-26 03:15:54] local.INFO: Packet analysis {"connection_id":162162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ade"} 
[2026-08-26 03:15:54] local.INFO: Extracted packet for processing {"connection_id":162162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ade"} 
[2026-08-26 03:15:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649602304001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 03:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787694060000,"timestamp_ms":1787694060000,"timestamp_seconds":1787694060,"priority":1,"record_length":96,"hex_timestamp":"000001a03ade91e0"} 
[2026-08-26 03:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 03:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649602304001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649602304001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:15:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:15:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649602304001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":162162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:15:54] local.INFO: GPS data processed {"connection_id":162162,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:15:54] local.INFO: Acknowledgment sent {"connection_id":162162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:16:38] local.INFO: TCP Data received {"connection_id":164777,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:16:38] local.INFO: Processing buffer {"connection_id":164777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:16:38] local.INFO: IMEI packet received {"connection_id":164777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":164777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:16:39] local.INFO: TCP Data received {"connection_id":164777,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:16:39] local.INFO: Processing buffer {"connection_id":164777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:16:39] local.INFO: IMEI packet received {"connection_id":164777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":164777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:16:43] local.INFO: TCP Data received {"connection_id":164777,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:16:43] local.INFO: Processing buffer {"connection_id":164777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:16:43] local.INFO: IMEI packet received {"connection_id":164777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":164777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:16:44] local.INFO: TCP Data received {"connection_id":164777,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:16:44] local.INFO: Processing buffer {"connection_id":164777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:16:44] local.INFO: Packet analysis {"connection_id":164777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ae3"} 
[2026-08-26 03:16:44] local.INFO: Extracted packet for processing {"connection_id":164777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ae3"} 
[2026-08-26 03:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649679360001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:16: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-26 03:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787694361000,"timestamp_ms":1787694361000,"timestamp_seconds":1787694361,"priority":1,"record_length":96,"hex_timestamp":"000001a03ae329a8"} 
[2026-08-26 03:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:16: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-26 03:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 03:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 03:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649679360001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649679360001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:16:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:16:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649679360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":164777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:16:44] local.INFO: GPS data processed {"connection_id":164777,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:16:44] local.INFO: Acknowledgment sent {"connection_id":164777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:17:16] local.INFO: TCP Data received {"connection_id":164777,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:17:16] local.INFO: Processing buffer {"connection_id":164777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:17:16] local.INFO: Packet analysis {"connection_id":164777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ae3"} 
[2026-08-26 03:17:16] local.INFO: Extracted packet for processing {"connection_id":164777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ae3"} 
[2026-08-26 03:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649679360001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:17: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-26 03:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787694361000,"timestamp_ms":1787694361000,"timestamp_seconds":1787694361,"priority":1,"record_length":96,"hex_timestamp":"000001a03ae329a8"} 
[2026-08-26 03:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:17: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-26 03:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 03:17: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-26 03:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:17: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-26 03:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649679360001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649679360001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:17:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:17:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649679360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":164777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:17:16] local.INFO: GPS data processed {"connection_id":164777,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:17:16] local.INFO: Acknowledgment sent {"connection_id":164777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:17:38] local.INFO: TCP Data received {"connection_id":163398,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:17:38] local.INFO: Processing buffer {"connection_id":163398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:17:38] local.INFO: IMEI packet received {"connection_id":163398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":163398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:17:43] local.INFO: TCP Data received {"connection_id":163398,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:17:43] local.INFO: Processing buffer {"connection_id":163398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:17:43] local.INFO: IMEI packet received {"connection_id":163398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":163398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:17:45] local.INFO: TCP Data received {"connection_id":163398,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:17:45] local.INFO: Processing buffer {"connection_id":163398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:17:45] local.INFO: Packet analysis {"connection_id":163398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ae3"} 
[2026-08-26 03:17:45] local.INFO: Extracted packet for processing {"connection_id":163398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ae3"} 
[2026-08-26 03:17:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649679360001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:17: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-26 03:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787694361000,"timestamp_ms":1787694361000,"timestamp_seconds":1787694361,"priority":1,"record_length":96,"hex_timestamp":"000001a03ae329a8"} 
[2026-08-26 03: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-26 03:17: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-26 03: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 03:17: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-26 03: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-26 03: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-26 03:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:17:45] 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-26 03:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649679360001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649679360001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:17:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:17:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649679360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":163398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:17:45] local.INFO: GPS data processed {"connection_id":163398,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:17:45] local.INFO: Acknowledgment sent {"connection_id":163398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:18:16] local.INFO: TCP Data received {"connection_id":163398,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:18:16] local.INFO: Processing buffer {"connection_id":163398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:18:16] local.INFO: Packet analysis {"connection_id":163398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ae3"} 
[2026-08-26 03:18:16] local.INFO: Extracted packet for processing {"connection_id":163398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ae3"} 
[2026-08-26 03:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649679360001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03: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-26 03:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787694361000,"timestamp_ms":1787694361000,"timestamp_seconds":1787694361,"priority":1,"record_length":96,"hex_timestamp":"000001a03ae329a8"} 
[2026-08-26 03: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-26 03:18: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-26 03: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 03:18: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-26 03: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-26 03: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-26 03:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:18:16] 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-26 03:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649679360001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649679360001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:18:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649679360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":163398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:18:16] local.INFO: GPS data processed {"connection_id":163398,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:18:16] local.INFO: Acknowledgment sent {"connection_id":163398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:18:34] local.INFO: TCP Data received {"connection_id":162408,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:18:34] local.INFO: Processing buffer {"connection_id":162408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:18:34] local.INFO: IMEI packet received {"connection_id":162408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 03:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":162408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:18:38] local.INFO: TCP Data received {"connection_id":164778,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:18:38] local.INFO: Processing buffer {"connection_id":164778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:18:38] local.INFO: IMEI packet received {"connection_id":164778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":164778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:18:43] local.INFO: TCP Data received {"connection_id":164778,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:18:43] local.INFO: Processing buffer {"connection_id":164778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:18:43] local.INFO: IMEI packet received {"connection_id":164778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":164778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:18:44] local.INFO: TCP Data received {"connection_id":164778,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:18:44] local.INFO: Processing buffer {"connection_id":164778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:18:44] local.INFO: Packet analysis {"connection_id":164778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ae3"} 
[2026-08-26 03:18:44] local.INFO: Extracted packet for processing {"connection_id":164778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ae3"} 
[2026-08-26 03:18:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649679360001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:18: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-26 03:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787694361000,"timestamp_ms":1787694361000,"timestamp_seconds":1787694361,"priority":1,"record_length":96,"hex_timestamp":"000001a03ae329a8"} 
[2026-08-26 03: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-26 03:18: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-26 03: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 03:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 03: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-26 03: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-26 03:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649679360001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649679360001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:18:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:18:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649679360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":164778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:18:44] local.INFO: GPS data processed {"connection_id":164778,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:18:44] local.INFO: Acknowledgment sent {"connection_id":164778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:19:16] local.INFO: TCP Data received {"connection_id":164778,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:19:16] local.INFO: Processing buffer {"connection_id":164778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:19:16] local.INFO: Packet analysis {"connection_id":164778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ae3"} 
[2026-08-26 03:19:16] local.INFO: Extracted packet for processing {"connection_id":164778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ae3"} 
[2026-08-26 03:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 03:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649679360001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 03:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787694361000,"timestamp_ms":1787694361000,"timestamp_seconds":1787694361,"priority":1,"record_length":96,"hex_timestamp":"000001a03ae329a8"} 
[2026-08-26 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-26 03:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 03:19: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-26 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-26 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-26 03:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:19: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-26 03:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649679360001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649679360001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:19:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:19:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649679360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":164778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:19:16] local.INFO: GPS data processed {"connection_id":164778,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:19:16] local.INFO: Acknowledgment sent {"connection_id":164778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:19:38] local.INFO: TCP Data received {"connection_id":162163,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:19:38] local.INFO: Processing buffer {"connection_id":162163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:19:38] local.INFO: IMEI packet received {"connection_id":162163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":162163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:19:43] local.INFO: TCP Data received {"connection_id":162163,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:19:43] local.INFO: Processing buffer {"connection_id":162163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:19:43] local.INFO: IMEI packet received {"connection_id":162163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":162163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:19:44] local.INFO: TCP Data received {"connection_id":162163,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:19:44] local.INFO: Processing buffer {"connection_id":162163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:19:44] local.INFO: Packet analysis {"connection_id":162163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ae3"} 
[2026-08-26 03:19:44] local.INFO: Extracted packet for processing {"connection_id":162163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ae3"} 
[2026-08-26 03:19:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649679360001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:19: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-26 03:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787694361000,"timestamp_ms":1787694361000,"timestamp_seconds":1787694361,"priority":1,"record_length":96,"hex_timestamp":"000001a03ae329a8"} 
[2026-08-26 03: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-26 03:19: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-26 03: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 03:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 03: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-26 03: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-26 03:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:19: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-26 03:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649679360001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649679360001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:19:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:19:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649679360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":162163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:19:44] local.INFO: GPS data processed {"connection_id":162163,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:19:44] local.INFO: Acknowledgment sent {"connection_id":162163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:20:15] local.INFO: TCP Data received {"connection_id":162163,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:20:15] local.INFO: Processing buffer {"connection_id":162163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:20:15] local.INFO: Packet analysis {"connection_id":162163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ae3"} 
[2026-08-26 03:20:15] local.INFO: Extracted packet for processing {"connection_id":162163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ae3"} 
[2026-08-26 03:20:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649679360001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:20: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-26 03:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787694361000,"timestamp_ms":1787694361000,"timestamp_seconds":1787694361,"priority":1,"record_length":96,"hex_timestamp":"000001a03ae329a8"} 
[2026-08-26 03: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-26 03: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-26 03: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 03:20: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-26 03: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-26 03: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-26 03:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649679360001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649679360001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:20:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:20:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649679360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":162163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:20:15] local.INFO: GPS data processed {"connection_id":162163,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:20:15] local.INFO: Acknowledgment sent {"connection_id":162163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:20:43] local.INFO: TCP Data received {"connection_id":163399,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:20:43] local.INFO: Processing buffer {"connection_id":163399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:20:43] local.INFO: IMEI packet received {"connection_id":163399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":163399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:20:48] local.INFO: TCP Data received {"connection_id":163399,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:20:48] local.INFO: Processing buffer {"connection_id":163399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:20:48] local.INFO: IMEI packet received {"connection_id":163399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":163399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:20:49] local.INFO: TCP Data received {"connection_id":163399,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:20:49] local.INFO: Processing buffer {"connection_id":163399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:20:49] local.INFO: Packet analysis {"connection_id":163399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ae3"} 
[2026-08-26 03:20:49] local.INFO: Extracted packet for processing {"connection_id":163399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ae3"} 
[2026-08-26 03:20:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649679360001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:20: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-26 03:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787694361000,"timestamp_ms":1787694361000,"timestamp_seconds":1787694361,"priority":1,"record_length":96,"hex_timestamp":"000001a03ae329a8"} 
[2026-08-26 03: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-26 03:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 03:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 03:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03: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-26 03:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649679360001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649679360001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:20:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:20:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649679360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":163399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:20:49] local.INFO: GPS data processed {"connection_id":163399,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:20:49] local.INFO: Acknowledgment sent {"connection_id":163399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:20:54] local.INFO: TCP Data received {"connection_id":163399,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:20:54] local.INFO: Processing buffer {"connection_id":163399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ae329a8012d34c14006aa4818000500e62e..."} 
[2026-08-26 03:20:54] local.INFO: Packet analysis {"connection_id":163399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ae3"} 
[2026-08-26 03:20:54] local.INFO: Extracted packet for processing {"connection_id":163399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ae3"} 
[2026-08-26 03:20:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649679360001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 03:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787694361000,"timestamp_ms":1787694361000,"timestamp_seconds":1787694361,"priority":1,"record_length":96,"hex_timestamp":"000001a03ae329a8"} 
[2026-08-26 03:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 03:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 03:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649679360001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649679360001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:20:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:20:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649679360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":163399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:20:54] local.INFO: GPS data processed {"connection_id":163399,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:20:54] local.INFO: Acknowledgment sent {"connection_id":163399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:21:38] local.INFO: TCP Data received {"connection_id":162409,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:21:38] local.INFO: Processing buffer {"connection_id":162409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:21:38] local.INFO: IMEI packet received {"connection_id":162409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":162409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:21:40] local.INFO: TCP Data received {"connection_id":162409,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:21:40] local.INFO: Processing buffer {"connection_id":162409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:21:40] local.INFO: IMEI packet received {"connection_id":162409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":162409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:21:41] local.INFO: TCP Data received {"connection_id":162409,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:21:41] local.INFO: Processing buffer {"connection_id":162409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:21:41] local.INFO: Packet analysis {"connection_id":162409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ae7"} 
[2026-08-26 03:21:41] local.INFO: Extracted packet for processing {"connection_id":162409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ae7"} 
[2026-08-26 03:21:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649756416001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:21: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-26 03:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787694662000,"timestamp_ms":1787694662000,"timestamp_seconds":1787694662,"priority":1,"record_length":96,"hex_timestamp":"000001a03ae7c170"} 
[2026-08-26 03: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-26 03: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-26 03: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-26 03: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-26 03: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-26 03: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-26 03:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03: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-26 03:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649756416001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649756416001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:21:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:21:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649756416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":162409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:21:41] local.INFO: GPS data processed {"connection_id":162409,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:21:41] local.INFO: Acknowledgment sent {"connection_id":162409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:22:12] local.INFO: TCP Data received {"connection_id":162409,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:22:12] local.INFO: Processing buffer {"connection_id":162409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:22:12] local.INFO: Packet analysis {"connection_id":162409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ae7"} 
[2026-08-26 03:22:12] local.INFO: Extracted packet for processing {"connection_id":162409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ae7"} 
[2026-08-26 03:22:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649756416001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:22: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-26 03:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787694662000,"timestamp_ms":1787694662000,"timestamp_seconds":1787694662,"priority":1,"record_length":96,"hex_timestamp":"000001a03ae7c170"} 
[2026-08-26 03:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:22: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-26 03:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:22: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-26 03:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:22: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-26 03:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649756416001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649756416001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:22:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:22:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649756416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":162409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:22:12] local.INFO: GPS data processed {"connection_id":162409,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:22:12] local.INFO: Acknowledgment sent {"connection_id":162409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:22:38] local.INFO: TCP Data received {"connection_id":164779,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:22:38] local.INFO: Processing buffer {"connection_id":164779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:22:38] local.INFO: IMEI packet received {"connection_id":164779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":164779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:22:43] local.INFO: TCP Data received {"connection_id":164779,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:22:43] local.INFO: Processing buffer {"connection_id":164779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:22:43] local.INFO: IMEI packet received {"connection_id":164779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":164779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:22:44] local.INFO: TCP Data received {"connection_id":164779,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:22:44] local.INFO: Processing buffer {"connection_id":164779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:22:44] local.INFO: Packet analysis {"connection_id":164779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ae7"} 
[2026-08-26 03:22:44] local.INFO: Extracted packet for processing {"connection_id":164779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ae7"} 
[2026-08-26 03:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649756416001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:22: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-26 03:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787694662000,"timestamp_ms":1787694662000,"timestamp_seconds":1787694662,"priority":1,"record_length":96,"hex_timestamp":"000001a03ae7c170"} 
[2026-08-26 03: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-26 03:22: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-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:22: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-26 03: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-26 03: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-26 03:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649756416001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649756416001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:22:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649756416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":164779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:22:44] local.INFO: GPS data processed {"connection_id":164779,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:22:44] local.INFO: Acknowledgment sent {"connection_id":164779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:23:15] local.INFO: TCP Data received {"connection_id":164779,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:23:15] local.INFO: Processing buffer {"connection_id":164779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:23:15] local.INFO: Packet analysis {"connection_id":164779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ae7"} 
[2026-08-26 03:23:15] local.INFO: Extracted packet for processing {"connection_id":164779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ae7"} 
[2026-08-26 03:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649756416001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03: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-26 03:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787694662000,"timestamp_ms":1787694662000,"timestamp_seconds":1787694662,"priority":1,"record_length":96,"hex_timestamp":"000001a03ae7c170"} 
[2026-08-26 03: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-26 03:23: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-26 03: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-26 03: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-26 03: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-26 03: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-26 03:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:23: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-26 03:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649756416001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649756416001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649756416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":164779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:23:15] local.INFO: GPS data processed {"connection_id":164779,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:23:15] local.INFO: Acknowledgment sent {"connection_id":164779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:23:38] local.INFO: TCP Data received {"connection_id":162410,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:23:38] local.INFO: Processing buffer {"connection_id":162410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:23:38] local.INFO: IMEI packet received {"connection_id":162410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":162410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:23:43] local.INFO: TCP Data received {"connection_id":162410,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:23:43] local.INFO: Processing buffer {"connection_id":162410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:23:43] local.INFO: IMEI packet received {"connection_id":162410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":162410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:23:44] local.INFO: TCP Data received {"connection_id":162410,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:23:44] local.INFO: Processing buffer {"connection_id":162410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:23:44] local.INFO: Packet analysis {"connection_id":162410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ae7"} 
[2026-08-26 03:23:44] local.INFO: Extracted packet for processing {"connection_id":162410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ae7"} 
[2026-08-26 03:23:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649756416001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:23: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-26 03:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787694662000,"timestamp_ms":1787694662000,"timestamp_seconds":1787694662,"priority":1,"record_length":96,"hex_timestamp":"000001a03ae7c170"} 
[2026-08-26 03: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-26 03:23: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-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:23: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-26 03: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-26 03: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-26 03:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:23:44] 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-26 03:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649756416001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649756416001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:23:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:23:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649756416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":162410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:23:44] local.INFO: GPS data processed {"connection_id":162410,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:23:44] local.INFO: Acknowledgment sent {"connection_id":162410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:24:08] local.INFO: TCP Data received {"connection_id":163400,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163400,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:24:08] local.INFO: Processing buffer {"connection_id":163400,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:24:08] local.INFO: IMEI packet received {"connection_id":163400,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 03:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":163400,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:24:16] local.INFO: TCP Data received {"connection_id":162410,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:24:16] local.INFO: Processing buffer {"connection_id":162410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:24:16] local.INFO: Packet analysis {"connection_id":162410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ae7"} 
[2026-08-26 03:24:16] local.INFO: Extracted packet for processing {"connection_id":162410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ae7"} 
[2026-08-26 03:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649756416001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:24: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-26 03:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787694662000,"timestamp_ms":1787694662000,"timestamp_seconds":1787694662,"priority":1,"record_length":96,"hex_timestamp":"000001a03ae7c170"} 
[2026-08-26 03:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:24: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-26 03:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:24: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-26 03:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649756416001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649756416001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:24:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:24:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649756416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":162410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:24:16] local.INFO: GPS data processed {"connection_id":162410,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:24:16] local.INFO: Acknowledgment sent {"connection_id":162410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:24:38] local.INFO: TCP Data received {"connection_id":163401,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:24:38] local.INFO: Processing buffer {"connection_id":163401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:24:38] local.INFO: IMEI packet received {"connection_id":163401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":163401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:24:43] local.INFO: TCP Data received {"connection_id":163401,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:24:43] local.INFO: Processing buffer {"connection_id":163401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:24:43] local.INFO: IMEI packet received {"connection_id":163401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":163401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:24:44] local.INFO: TCP Data received {"connection_id":163401,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:24:44] local.INFO: Processing buffer {"connection_id":163401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:24:44] local.INFO: Packet analysis {"connection_id":163401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ae7"} 
[2026-08-26 03:24:44] local.INFO: Extracted packet for processing {"connection_id":163401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ae7"} 
[2026-08-26 03:24:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649756416001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:24: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-26 03:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787694662000,"timestamp_ms":1787694662000,"timestamp_seconds":1787694662,"priority":1,"record_length":96,"hex_timestamp":"000001a03ae7c170"} 
[2026-08-26 03: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-26 03:24: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-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:24: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-26 03: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-26 03: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-26 03:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:24:44] 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-26 03:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649756416001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649756416001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:24:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:24:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649756416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":163401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:24:44] local.INFO: GPS data processed {"connection_id":163401,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:24:44] local.INFO: Acknowledgment sent {"connection_id":163401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:25:16] local.INFO: TCP Data received {"connection_id":163401,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:25:16] local.INFO: Processing buffer {"connection_id":163401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:25:16] local.INFO: Packet analysis {"connection_id":163401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ae7"} 
[2026-08-26 03:25:16] local.INFO: Extracted packet for processing {"connection_id":163401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ae7"} 
[2026-08-26 03:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 03:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649756416001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 03:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787694662000,"timestamp_ms":1787694662000,"timestamp_seconds":1787694662,"priority":1,"record_length":96,"hex_timestamp":"000001a03ae7c170"} 
[2026-08-26 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-26 03:25: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-26 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-26 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-26 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-26 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-26 03:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:25:16] 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-26 03:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649756416001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649756416001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:25:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649756416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":163401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:25:16] local.INFO: GPS data processed {"connection_id":163401,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:25:16] local.INFO: Acknowledgment sent {"connection_id":163401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:25:38] local.INFO: TCP Data received {"connection_id":163402,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:25:38] local.INFO: Processing buffer {"connection_id":163402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:25:38] local.INFO: IMEI packet received {"connection_id":163402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":163402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:25:43] local.INFO: TCP Data received {"connection_id":163402,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:25:43] local.INFO: Processing buffer {"connection_id":163402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:25:43] local.INFO: IMEI packet received {"connection_id":163402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":163402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:25:44] local.INFO: TCP Data received {"connection_id":163402,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:25:44] local.INFO: Processing buffer {"connection_id":163402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:25:44] local.INFO: Packet analysis {"connection_id":163402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ae7"} 
[2026-08-26 03:25:44] local.INFO: Extracted packet for processing {"connection_id":163402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ae7"} 
[2026-08-26 03:25:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649756416001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03: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-26 03:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787694662000,"timestamp_ms":1787694662000,"timestamp_seconds":1787694662,"priority":1,"record_length":96,"hex_timestamp":"000001a03ae7c170"} 
[2026-08-26 03: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-26 03:25: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-26 03: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:25: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-26 03: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-26 03: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-26 03:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:25:44] local.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-26 03:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649756416001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649756416001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:25:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:25:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649756416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":163402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:25:44] local.INFO: GPS data processed {"connection_id":163402,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:25:44] local.INFO: Acknowledgment sent {"connection_id":163402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:26:15] local.INFO: TCP Data received {"connection_id":163402,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:26:15] local.INFO: Processing buffer {"connection_id":163402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ae7c170012d34c14006aa4818000400e62d..."} 
[2026-08-26 03:26:15] local.INFO: Packet analysis {"connection_id":163402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ae7"} 
[2026-08-26 03:26:15] local.INFO: Extracted packet for processing {"connection_id":163402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ae7"} 
[2026-08-26 03:26:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649756416001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03: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-26 03:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787694662000,"timestamp_ms":1787694662000,"timestamp_seconds":1787694662,"priority":1,"record_length":96,"hex_timestamp":"000001a03ae7c170"} 
[2026-08-26 03: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-26 03: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-26 03: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:26: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-26 03: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-26 03: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-26 03:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:26: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-26 03:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649756416001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649756416001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:26:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:26:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649756416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":163402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:26:15] local.INFO: GPS data processed {"connection_id":163402,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:26:15] local.INFO: Acknowledgment sent {"connection_id":163402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:26:38] local.INFO: TCP Data received {"connection_id":163403,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:26:38] local.INFO: Processing buffer {"connection_id":163403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:26:38] local.INFO: IMEI packet received {"connection_id":163403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":163403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:26:41] local.INFO: TCP Data received {"connection_id":163403,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:26:41] local.INFO: Processing buffer {"connection_id":163403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:26:41] local.INFO: IMEI packet received {"connection_id":163403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":163403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:26:42] local.INFO: TCP Data received {"connection_id":163403,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:26:42] local.INFO: Processing buffer {"connection_id":163403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:26:42] local.INFO: Packet analysis {"connection_id":163403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aec"} 
[2026-08-26 03:26:42] local.INFO: Extracted packet for processing {"connection_id":163403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aec"} 
[2026-08-26 03:26:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649833472001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:26: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-26 03:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787694963000,"timestamp_ms":1787694963000,"timestamp_seconds":1787694963,"priority":1,"record_length":96,"hex_timestamp":"000001a03aec5938"} 
[2026-08-26 03:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:26: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-26 03:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:26: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-26 03:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:26:42] 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-26 03:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649833472001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649833472001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:26:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:26:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649833472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":163403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:26:42] local.INFO: GPS data processed {"connection_id":163403,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:26:42] local.INFO: Acknowledgment sent {"connection_id":163403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:27:14] local.INFO: TCP Data received {"connection_id":163403,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:27:14] local.INFO: Processing buffer {"connection_id":163403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:27:14] local.INFO: Packet analysis {"connection_id":163403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aec"} 
[2026-08-26 03:27:14] local.INFO: Extracted packet for processing {"connection_id":163403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aec"} 
[2026-08-26 03:27:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649833472001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:27: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-26 03:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787694963000,"timestamp_ms":1787694963000,"timestamp_seconds":1787694963,"priority":1,"record_length":96,"hex_timestamp":"000001a03aec5938"} 
[2026-08-26 03: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-26 03:27: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-26 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:27: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-26 03: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-26 03: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-26 03:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:27: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-26 03:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649833472001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649833472001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:27:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:27:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649833472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":163403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:27:14] local.INFO: GPS data processed {"connection_id":163403,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:27:14] local.INFO: Acknowledgment sent {"connection_id":163403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:27:43] local.INFO: TCP Data received {"connection_id":164780,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:27:43] local.INFO: Processing buffer {"connection_id":164780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:27:43] local.INFO: IMEI packet received {"connection_id":164780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":164780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:27:48] local.INFO: TCP Data received {"connection_id":164780,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:27:48] local.INFO: Processing buffer {"connection_id":164780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:27:48] local.INFO: IMEI packet received {"connection_id":164780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":164780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:27:49] local.INFO: TCP Data received {"connection_id":164780,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:27:49] local.INFO: Processing buffer {"connection_id":164780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:27:49] local.INFO: Packet analysis {"connection_id":164780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aec"} 
[2026-08-26 03:27:49] local.INFO: Extracted packet for processing {"connection_id":164780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aec"} 
[2026-08-26 03:27:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649833472001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:27: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-26 03:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787694963000,"timestamp_ms":1787694963000,"timestamp_seconds":1787694963,"priority":1,"record_length":96,"hex_timestamp":"000001a03aec5938"} 
[2026-08-26 03:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 03:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:27: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-26 03:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649833472001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649833472001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:27:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:27:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649833472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":164780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:27:49] local.INFO: GPS data processed {"connection_id":164780,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:27:49] local.INFO: Acknowledgment sent {"connection_id":164780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:27:54] local.INFO: TCP Data received {"connection_id":164780,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:27:54] local.INFO: Processing buffer {"connection_id":164780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:27:54] local.INFO: Packet analysis {"connection_id":164780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aec"} 
[2026-08-26 03:27:54] local.INFO: Extracted packet for processing {"connection_id":164780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aec"} 
[2026-08-26 03:27:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649833472001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 03:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787694963000,"timestamp_ms":1787694963000,"timestamp_seconds":1787694963,"priority":1,"record_length":96,"hex_timestamp":"000001a03aec5938"} 
[2026-08-26 03:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 03:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649833472001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649833472001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:27:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:27:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649833472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":164780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:27:54] local.INFO: GPS data processed {"connection_id":164780,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:27:54] local.INFO: Acknowledgment sent {"connection_id":164780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:28:38] local.INFO: TCP Data received {"connection_id":163404,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:28:38] local.INFO: Processing buffer {"connection_id":163404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:28:38] local.INFO: IMEI packet received {"connection_id":163404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":163404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:28:43] local.INFO: TCP Data received {"connection_id":163404,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:28:43] local.INFO: Processing buffer {"connection_id":163404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:28:43] local.INFO: IMEI packet received {"connection_id":163404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":163404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:28:44] local.INFO: TCP Data received {"connection_id":163404,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:28:44] local.INFO: Processing buffer {"connection_id":163404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:28:44] local.INFO: Packet analysis {"connection_id":163404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aec"} 
[2026-08-26 03:28:44] local.INFO: Extracted packet for processing {"connection_id":163404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aec"} 
[2026-08-26 03:28:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649833472001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:28: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-26 03:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787694963000,"timestamp_ms":1787694963000,"timestamp_seconds":1787694963,"priority":1,"record_length":96,"hex_timestamp":"000001a03aec5938"} 
[2026-08-26 03: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-26 03:28: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-26 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 03: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-26 03: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-26 03:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:28:44] 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-26 03:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649833472001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649833472001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:28:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:28:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649833472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":163404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:28:44] local.INFO: GPS data processed {"connection_id":163404,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:28:44] local.INFO: Acknowledgment sent {"connection_id":163404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:29:15] local.INFO: TCP Data received {"connection_id":163404,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:29:15] local.INFO: Processing buffer {"connection_id":163404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:29:15] local.INFO: Packet analysis {"connection_id":163404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aec"} 
[2026-08-26 03:29:15] local.INFO: Extracted packet for processing {"connection_id":163404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aec"} 
[2026-08-26 03:29:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649833472001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03: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-26 03:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787694963000,"timestamp_ms":1787694963000,"timestamp_seconds":1787694963,"priority":1,"record_length":96,"hex_timestamp":"000001a03aec5938"} 
[2026-08-26 03: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-26 03:29: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-26 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:29: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-26 03: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-26 03: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-26 03:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:29: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-26 03:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649833472001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649833472001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:29:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:29:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649833472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":163404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:29:15] local.INFO: GPS data processed {"connection_id":163404,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:29:15] local.INFO: Acknowledgment sent {"connection_id":163404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:29:38] local.INFO: TCP Data received {"connection_id":164781,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:29:38] local.INFO: Processing buffer {"connection_id":164781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:29:38] local.INFO: IMEI packet received {"connection_id":164781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":164781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:29:43] local.INFO: TCP Data received {"connection_id":162164,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162164,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:29:43] local.INFO: Processing buffer {"connection_id":162164,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:29:43] local.INFO: IMEI packet received {"connection_id":162164,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 03:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":162164,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:29:43] local.INFO: TCP Data received {"connection_id":164781,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:29:43] local.INFO: Processing buffer {"connection_id":164781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:29:43] local.INFO: IMEI packet received {"connection_id":164781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":164781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:29:45] local.INFO: TCP Data received {"connection_id":164781,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:29:45] local.INFO: Processing buffer {"connection_id":164781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:29:45] local.INFO: Packet analysis {"connection_id":164781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aec"} 
[2026-08-26 03:29:45] local.INFO: Extracted packet for processing {"connection_id":164781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aec"} 
[2026-08-26 03:29:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649833472001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:29: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-26 03:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787694963000,"timestamp_ms":1787694963000,"timestamp_seconds":1787694963,"priority":1,"record_length":96,"hex_timestamp":"000001a03aec5938"} 
[2026-08-26 03: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-26 03:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 03: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-26 03: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-26 03:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:29:45] 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-26 03:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649833472001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649833472001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:29:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:29:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649833472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":164781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:29:45] local.INFO: GPS data processed {"connection_id":164781,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:29:45] local.INFO: Acknowledgment sent {"connection_id":164781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:30:17] local.INFO: TCP Data received {"connection_id":164781,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:30:17] local.INFO: Processing buffer {"connection_id":164781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:30:17] local.INFO: Packet analysis {"connection_id":164781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aec"} 
[2026-08-26 03:30:17] local.INFO: Extracted packet for processing {"connection_id":164781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aec"} 
[2026-08-26 03:30:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649833472001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:30: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-26 03:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787694963000,"timestamp_ms":1787694963000,"timestamp_seconds":1787694963,"priority":1,"record_length":96,"hex_timestamp":"000001a03aec5938"} 
[2026-08-26 03: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-26 03:30: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-26 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 03: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-26 03: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-26 03:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:30:17] 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-26 03:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649833472001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649833472001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:30:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:30:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649833472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":164781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:30:17] local.INFO: GPS data processed {"connection_id":164781,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:30:17] local.INFO: Acknowledgment sent {"connection_id":164781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:30:38] local.INFO: TCP Data received {"connection_id":162165,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:30:38] local.INFO: Processing buffer {"connection_id":162165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:30:38] local.INFO: IMEI packet received {"connection_id":162165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":162165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:30:43] local.INFO: TCP Data received {"connection_id":162165,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:30:43] local.INFO: Processing buffer {"connection_id":162165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:30:43] local.INFO: IMEI packet received {"connection_id":162165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":162165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:30:44] local.INFO: TCP Data received {"connection_id":162165,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:30:44] local.INFO: Processing buffer {"connection_id":162165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:30:44] local.INFO: Packet analysis {"connection_id":162165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aec"} 
[2026-08-26 03:30:44] local.INFO: Extracted packet for processing {"connection_id":162165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aec"} 
[2026-08-26 03:30:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649833472001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:30: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-26 03:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787694963000,"timestamp_ms":1787694963000,"timestamp_seconds":1787694963,"priority":1,"record_length":96,"hex_timestamp":"000001a03aec5938"} 
[2026-08-26 03: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-26 03:30: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-26 03:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 03: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-26 03: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-26 03:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649833472001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649833472001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:30:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:30:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649833472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":162165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:30:44] local.INFO: GPS data processed {"connection_id":162165,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:30:44] local.INFO: Acknowledgment sent {"connection_id":162165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:31:16] local.INFO: TCP Data received {"connection_id":162165,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:31:16] local.INFO: Processing buffer {"connection_id":162165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03aec5938012d34c14006aa4818000300e62b..."} 
[2026-08-26 03:31:16] local.INFO: Packet analysis {"connection_id":162165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03aec"} 
[2026-08-26 03:31:16] local.INFO: Extracted packet for processing {"connection_id":162165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03aec"} 
[2026-08-26 03:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649833472001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:31: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-26 03:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787694963000,"timestamp_ms":1787694963000,"timestamp_seconds":1787694963,"priority":1,"record_length":96,"hex_timestamp":"000001a03aec5938"} 
[2026-08-26 03:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:31: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-26 03:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:31: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-26 03:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:31:16] 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-26 03:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649833472001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649833472001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:31:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649833472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":162165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:31:16] local.INFO: GPS data processed {"connection_id":162165,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:31:16] local.INFO: Acknowledgment sent {"connection_id":162165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:31:38] local.INFO: TCP Data received {"connection_id":163405,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:31:38] local.INFO: Processing buffer {"connection_id":163405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:31:38] local.INFO: IMEI packet received {"connection_id":163405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":163405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:31:42] local.INFO: TCP Data received {"connection_id":163405,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:31:42] local.INFO: Processing buffer {"connection_id":163405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:31:42] local.INFO: IMEI packet received {"connection_id":163405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":163405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:31:43] local.INFO: TCP Data received {"connection_id":163405,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:31:43] local.INFO: Processing buffer {"connection_id":163405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:31:43] local.INFO: Packet analysis {"connection_id":163405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03af0"} 
[2026-08-26 03:31:43] local.INFO: Extracted packet for processing {"connection_id":163405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03af0"} 
[2026-08-26 03:31:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649910528001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:31: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-26 03:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787695264000,"timestamp_ms":1787695264000,"timestamp_seconds":1787695264,"priority":1,"record_length":96,"hex_timestamp":"000001a03af0f100"} 
[2026-08-26 03: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-26 03:31: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-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:31: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-26 03: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-26 03: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-26 03:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:31:43] 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-26 03:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649910528001,"66":25180,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649910528001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:31:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:31:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649910528001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":163405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:31:43] local.INFO: GPS data processed {"connection_id":163405,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:31:43] local.INFO: Acknowledgment sent {"connection_id":163405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:32:14] local.INFO: TCP Data received {"connection_id":163405,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:32:14] local.INFO: Processing buffer {"connection_id":163405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:32:14] local.INFO: Packet analysis {"connection_id":163405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03af0"} 
[2026-08-26 03:32:14] local.INFO: Extracted packet for processing {"connection_id":163405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03af0"} 
[2026-08-26 03:32:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649910528001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:32: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-26 03:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787695264000,"timestamp_ms":1787695264000,"timestamp_seconds":1787695264,"priority":1,"record_length":96,"hex_timestamp":"000001a03af0f100"} 
[2026-08-26 03: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-26 03: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-26 03: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:32: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-26 03: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-26 03: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-26 03:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:32:14] 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-26 03:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649910528001,"66":25180,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649910528001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:32:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:32:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649910528001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":163405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:32:14] local.INFO: GPS data processed {"connection_id":163405,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:32:14] local.INFO: Acknowledgment sent {"connection_id":163405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:32:43] local.INFO: TCP Data received {"connection_id":163406,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:32:43] local.INFO: Processing buffer {"connection_id":163406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:32:43] local.INFO: IMEI packet received {"connection_id":163406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":163406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:32:48] local.INFO: TCP Data received {"connection_id":163406,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:32:48] local.INFO: Processing buffer {"connection_id":163406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:32:48] local.INFO: IMEI packet received {"connection_id":163406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":163406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:32:49] local.INFO: TCP Data received {"connection_id":163406,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:32:49] local.INFO: Processing buffer {"connection_id":163406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:32:49] local.INFO: Packet analysis {"connection_id":163406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03af0"} 
[2026-08-26 03:32:49] local.INFO: Extracted packet for processing {"connection_id":163406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03af0"} 
[2026-08-26 03:32:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649910528001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:32: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-26 03:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787695264000,"timestamp_ms":1787695264000,"timestamp_seconds":1787695264,"priority":1,"record_length":96,"hex_timestamp":"000001a03af0f100"} 
[2026-08-26 03:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:32: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-26 03:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:32:49] 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-26 03:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649910528001,"66":25180,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649910528001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:32:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:32:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649910528001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":163406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:32:49] local.INFO: GPS data processed {"connection_id":163406,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:32:49] local.INFO: Acknowledgment sent {"connection_id":163406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:32:54] local.INFO: TCP Data received {"connection_id":163406,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:32:54] local.INFO: Processing buffer {"connection_id":163406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:32:54] local.INFO: Packet analysis {"connection_id":163406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03af0"} 
[2026-08-26 03:32:54] local.INFO: Extracted packet for processing {"connection_id":163406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03af0"} 
[2026-08-26 03:32:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649910528001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 03:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787695264000,"timestamp_ms":1787695264000,"timestamp_seconds":1787695264,"priority":1,"record_length":96,"hex_timestamp":"000001a03af0f100"} 
[2026-08-26 03:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 03:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649910528001,"66":25180,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649910528001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:32:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:32:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649910528001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":163406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:32:54] local.INFO: GPS data processed {"connection_id":163406,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:32:54] local.INFO: Acknowledgment sent {"connection_id":163406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:33:38] local.INFO: TCP Data received {"connection_id":162166,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:33:38] local.INFO: Processing buffer {"connection_id":162166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:33:38] local.INFO: IMEI packet received {"connection_id":162166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":162166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:33:43] local.INFO: TCP Data received {"connection_id":162166,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:33:43] local.INFO: Processing buffer {"connection_id":162166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:33:43] local.INFO: IMEI packet received {"connection_id":162166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":162166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:33:45] local.INFO: TCP Data received {"connection_id":162166,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:33:45] local.INFO: Processing buffer {"connection_id":162166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:33:45] local.INFO: Packet analysis {"connection_id":162166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03af0"} 
[2026-08-26 03:33:45] local.INFO: Extracted packet for processing {"connection_id":162166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03af0"} 
[2026-08-26 03:33:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649910528001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:33: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-26 03:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787695264000,"timestamp_ms":1787695264000,"timestamp_seconds":1787695264,"priority":1,"record_length":96,"hex_timestamp":"000001a03af0f100"} 
[2026-08-26 03: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-26 03:33: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-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:33: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-26 03: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-26 03: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-26 03:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:33:45] 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-26 03:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649910528001,"66":25180,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649910528001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:33:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:33:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649910528001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":162166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:33:45] local.INFO: GPS data processed {"connection_id":162166,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:33:45] local.INFO: Acknowledgment sent {"connection_id":162166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:34:16] local.INFO: TCP Data received {"connection_id":162166,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:34:16] local.INFO: Processing buffer {"connection_id":162166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:34:16] local.INFO: Packet analysis {"connection_id":162166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03af0"} 
[2026-08-26 03:34:16] local.INFO: Extracted packet for processing {"connection_id":162166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03af0"} 
[2026-08-26 03:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649910528001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:34: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-26 03:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787695264000,"timestamp_ms":1787695264000,"timestamp_seconds":1787695264,"priority":1,"record_length":96,"hex_timestamp":"000001a03af0f100"} 
[2026-08-26 03:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:34: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-26 03:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:34: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-26 03:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:34: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-26 03:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649910528001,"66":25180,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649910528001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:34:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:34:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649910528001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":162166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:34:16] local.INFO: GPS data processed {"connection_id":162166,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:34:16] local.INFO: Acknowledgment sent {"connection_id":162166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:34:38] local.INFO: TCP Data received {"connection_id":164783,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:34:38] local.INFO: Processing buffer {"connection_id":164783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:34:38] local.INFO: IMEI packet received {"connection_id":164783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":164783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:34:43] local.INFO: TCP Data received {"connection_id":164783,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:34:43] local.INFO: Processing buffer {"connection_id":164783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:34:43] local.INFO: IMEI packet received {"connection_id":164783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":164783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:34:44] local.INFO: TCP Data received {"connection_id":164783,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:34:44] local.INFO: Processing buffer {"connection_id":164783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:34:44] local.INFO: Packet analysis {"connection_id":164783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03af0"} 
[2026-08-26 03:34:44] local.INFO: Extracted packet for processing {"connection_id":164783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03af0"} 
[2026-08-26 03:34:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649910528001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:34: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-26 03:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787695264000,"timestamp_ms":1787695264000,"timestamp_seconds":1787695264,"priority":1,"record_length":96,"hex_timestamp":"000001a03af0f100"} 
[2026-08-26 03: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-26 03:34: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-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:34: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-26 03: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-26 03: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-26 03:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:34:44] 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-26 03:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649910528001,"66":25180,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649910528001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:34:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:34:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649910528001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":164783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:34:44] local.INFO: GPS data processed {"connection_id":164783,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:34:44] local.INFO: Acknowledgment sent {"connection_id":164783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:35:16] local.INFO: TCP Data received {"connection_id":164783,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:35:16] local.INFO: Processing buffer {"connection_id":164783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:35:16] local.INFO: Packet analysis {"connection_id":164783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03af0"} 
[2026-08-26 03:35:16] local.INFO: Extracted packet for processing {"connection_id":164783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03af0"} 
[2026-08-26 03:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649910528001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:35: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-26 03:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787695264000,"timestamp_ms":1787695264000,"timestamp_seconds":1787695264,"priority":1,"record_length":96,"hex_timestamp":"000001a03af0f100"} 
[2026-08-26 03:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:35: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-26 03:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:35: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-26 03:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649910528001,"66":25180,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649910528001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:35:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:35:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649910528001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":164783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:35:16] local.INFO: GPS data processed {"connection_id":164783,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:35:16] local.INFO: Acknowledgment sent {"connection_id":164783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:35:18] local.INFO: TCP Data received {"connection_id":164782,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:35:18] local.INFO: Processing buffer {"connection_id":164782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:35:18] local.INFO: IMEI packet received {"connection_id":164782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 03:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":164782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:35:38] local.INFO: TCP Data received {"connection_id":164784,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:35:38] local.INFO: Processing buffer {"connection_id":164784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:35:38] local.INFO: IMEI packet received {"connection_id":164784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":164784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:35:43] local.INFO: TCP Data received {"connection_id":164784,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:35:43] local.INFO: Processing buffer {"connection_id":164784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:35:43] local.INFO: IMEI packet received {"connection_id":164784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":164784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:35:44] local.INFO: TCP Data received {"connection_id":164784,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:35:44] local.INFO: Processing buffer {"connection_id":164784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:35:44] local.INFO: Packet analysis {"connection_id":164784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03af0"} 
[2026-08-26 03:35:44] local.INFO: Extracted packet for processing {"connection_id":164784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03af0"} 
[2026-08-26 03:35:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649910528001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:35: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-26 03:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787695264000,"timestamp_ms":1787695264000,"timestamp_seconds":1787695264,"priority":1,"record_length":96,"hex_timestamp":"000001a03af0f100"} 
[2026-08-26 03: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-26 03:35: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-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:35: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-26 03: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-26 03: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-26 03:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:35:44] 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-26 03:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649910528001,"66":25180,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649910528001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:35:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:35:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649910528001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":164784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:35:44] local.INFO: GPS data processed {"connection_id":164784,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:35:44] local.INFO: Acknowledgment sent {"connection_id":164784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:36:16] local.INFO: TCP Data received {"connection_id":164784,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:36:16] local.INFO: Processing buffer {"connection_id":164784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03af0f100012d34c14006aa4818000900e630..."} 
[2026-08-26 03:36:16] local.INFO: Packet analysis {"connection_id":164784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03af0"} 
[2026-08-26 03:36:16] local.INFO: Extracted packet for processing {"connection_id":164784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03af0"} 
[2026-08-26 03:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649910528001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03: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-26 03:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787695264000,"timestamp_ms":1787695264000,"timestamp_seconds":1787695264,"priority":1,"record_length":96,"hex_timestamp":"000001a03af0f100"} 
[2026-08-26 03: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-26 03:36: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-26 03: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-26 03: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-26 03: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-26 03: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-26 03:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:36:16] 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-26 03:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649910528001,"66":25180,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649910528001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:36:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649910528001,"power":25180,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":164784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:36:16] local.INFO: GPS data processed {"connection_id":164784,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:36:16] local.INFO: Acknowledgment sent {"connection_id":164784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:36:38] local.INFO: TCP Data received {"connection_id":162167,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:36:38] local.INFO: Processing buffer {"connection_id":162167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:36:38] local.INFO: IMEI packet received {"connection_id":162167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":162167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:36:43] local.INFO: TCP Data received {"connection_id":162167,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:36:43] local.INFO: Processing buffer {"connection_id":162167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:36:43] local.INFO: IMEI packet received {"connection_id":162167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":162167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:36:44] local.INFO: TCP Data received {"connection_id":162167,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:36:44] local.INFO: Processing buffer {"connection_id":162167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:36:44] local.INFO: Packet analysis {"connection_id":162167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03af5"} 
[2026-08-26 03:36:44] local.INFO: Extracted packet for processing {"connection_id":162167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03af5"} 
[2026-08-26 03:36:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649987584001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:36: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-26 03:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787695565000,"timestamp_ms":1787695565000,"timestamp_seconds":1787695565,"priority":1,"record_length":96,"hex_timestamp":"000001a03af588c8"} 
[2026-08-26 03:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:36: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-26 03:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-26 03:36:44] 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-26 03:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:36:44] local.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-26 03:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649987584001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649987584001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:36:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:36:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649987584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":162167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:36:44] local.INFO: GPS data processed {"connection_id":162167,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:36:44] local.INFO: Acknowledgment sent {"connection_id":162167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:37:16] local.INFO: TCP Data received {"connection_id":162167,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:37:16] local.INFO: Processing buffer {"connection_id":162167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:37:16] local.INFO: Packet analysis {"connection_id":162167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03af5"} 
[2026-08-26 03:37:16] local.INFO: Extracted packet for processing {"connection_id":162167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03af5"} 
[2026-08-26 03:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649987584001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03: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-26 03:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787695565000,"timestamp_ms":1787695565000,"timestamp_seconds":1787695565,"priority":1,"record_length":96,"hex_timestamp":"000001a03af588c8"} 
[2026-08-26 03: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-26 03:37: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-26 03: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-26 03:37:16] 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-26 03: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-26 03: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-26 03:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:37: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-26 03:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649987584001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649987584001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:37:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:37:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649987584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":162167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:37:16] local.INFO: GPS data processed {"connection_id":162167,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:37:16] local.INFO: Acknowledgment sent {"connection_id":162167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:37:43] local.INFO: TCP Data received {"connection_id":164785,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:37:43] local.INFO: Processing buffer {"connection_id":164785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:37:43] local.INFO: IMEI packet received {"connection_id":164785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":164785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:37:48] local.INFO: TCP Data received {"connection_id":164785,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:37:48] local.INFO: Processing buffer {"connection_id":164785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:37:48] local.INFO: IMEI packet received {"connection_id":164785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":164785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:37:49] local.INFO: TCP Data received {"connection_id":164785,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:37:49] local.INFO: Processing buffer {"connection_id":164785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:37:49] local.INFO: Packet analysis {"connection_id":164785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03af5"} 
[2026-08-26 03:37:49] local.INFO: Extracted packet for processing {"connection_id":164785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03af5"} 
[2026-08-26 03:37:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649987584001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:37: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-26 03:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787695565000,"timestamp_ms":1787695565000,"timestamp_seconds":1787695565,"priority":1,"record_length":96,"hex_timestamp":"000001a03af588c8"} 
[2026-08-26 03:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-26 03:37:49] 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-26 03:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649987584001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649987584001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:37:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:37:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649987584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":164785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:37:49] local.INFO: GPS data processed {"connection_id":164785,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:37:49] local.INFO: Acknowledgment sent {"connection_id":164785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:38:20] local.INFO: TCP Data received {"connection_id":164785,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:38:20] local.INFO: Processing buffer {"connection_id":164785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:38:20] local.INFO: Packet analysis {"connection_id":164785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03af5"} 
[2026-08-26 03:38:20] local.INFO: Extracted packet for processing {"connection_id":164785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03af5"} 
[2026-08-26 03:38:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649987584001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:38: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-26 03:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787695565000,"timestamp_ms":1787695565000,"timestamp_seconds":1787695565,"priority":1,"record_length":96,"hex_timestamp":"000001a03af588c8"} 
[2026-08-26 03: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-26 03:38: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-26 03: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-26 03:38:20] 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-26 03: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-26 03: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-26 03:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649987584001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649987584001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:38:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:38:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649987584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":164785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:38:20] local.INFO: GPS data processed {"connection_id":164785,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:38:20] local.INFO: Acknowledgment sent {"connection_id":164785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:38:38] local.INFO: TCP Data received {"connection_id":162412,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:38:38] local.INFO: Processing buffer {"connection_id":162412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:38:38] local.INFO: IMEI packet received {"connection_id":162412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":162412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:38:43] local.INFO: TCP Data received {"connection_id":162412,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:38:43] local.INFO: Processing buffer {"connection_id":162412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:38:43] local.INFO: IMEI packet received {"connection_id":162412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":162412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:38:44] local.INFO: TCP Data received {"connection_id":162412,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:38:44] local.INFO: Processing buffer {"connection_id":162412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:38:44] local.INFO: Packet analysis {"connection_id":162412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03af5"} 
[2026-08-26 03:38:44] local.INFO: Extracted packet for processing {"connection_id":162412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03af5"} 
[2026-08-26 03:38:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649987584001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:38: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-26 03:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787695565000,"timestamp_ms":1787695565000,"timestamp_seconds":1787695565,"priority":1,"record_length":96,"hex_timestamp":"000001a03af588c8"} 
[2026-08-26 03: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-26 03:38: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-26 03: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":92,"data_length":795,"current_offset":136} 
[2026-08-26 03:38:44] 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-26 03: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-26 03: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-26 03:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649987584001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649987584001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:38:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:38:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649987584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":162412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:38:44] local.INFO: GPS data processed {"connection_id":162412,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:38:44] local.INFO: Acknowledgment sent {"connection_id":162412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:39:15] local.INFO: TCP Data received {"connection_id":162412,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:39:15] local.INFO: Processing buffer {"connection_id":162412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:39:15] local.INFO: Packet analysis {"connection_id":162412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03af5"} 
[2026-08-26 03:39:15] local.INFO: Extracted packet for processing {"connection_id":162412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03af5"} 
[2026-08-26 03:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649987584001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:39: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-26 03:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787695565000,"timestamp_ms":1787695565000,"timestamp_seconds":1787695565,"priority":1,"record_length":96,"hex_timestamp":"000001a03af588c8"} 
[2026-08-26 03: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-26 03: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-26 03: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":92,"data_length":795,"current_offset":136} 
[2026-08-26 03:39: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-26 03: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-26 03: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-26 03:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:39: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-26 03:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649987584001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649987584001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649987584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":162412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:39:15] local.INFO: GPS data processed {"connection_id":162412,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:39:15] local.INFO: Acknowledgment sent {"connection_id":162412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:39:38] local.INFO: TCP Data received {"connection_id":162168,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:39:38] local.INFO: Processing buffer {"connection_id":162168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:39:38] local.INFO: IMEI packet received {"connection_id":162168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":162168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:39:43] local.INFO: TCP Data received {"connection_id":162168,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:39:43] local.INFO: Processing buffer {"connection_id":162168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:39:43] local.INFO: IMEI packet received {"connection_id":162168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":162168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:39:44] local.INFO: TCP Data received {"connection_id":162168,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:39:44] local.INFO: Processing buffer {"connection_id":162168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:39:44] local.INFO: Packet analysis {"connection_id":162168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03af5"} 
[2026-08-26 03:39:44] local.INFO: Extracted packet for processing {"connection_id":162168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03af5"} 
[2026-08-26 03:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649987584001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:39: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-26 03:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787695565000,"timestamp_ms":1787695565000,"timestamp_seconds":1787695565,"priority":1,"record_length":96,"hex_timestamp":"000001a03af588c8"} 
[2026-08-26 03:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:39: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-26 03:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-26 03:39:44] 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-26 03:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649987584001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649987584001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:39:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:39:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649987584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":162168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:39:44] local.INFO: GPS data processed {"connection_id":162168,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:39:44] local.INFO: Acknowledgment sent {"connection_id":162168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:40:15] local.INFO: TCP Data received {"connection_id":162168,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:40:15] local.INFO: Processing buffer {"connection_id":162168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:40:15] local.INFO: Packet analysis {"connection_id":162168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03af5"} 
[2026-08-26 03:40:15] local.INFO: Extracted packet for processing {"connection_id":162168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03af5"} 
[2026-08-26 03:40:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 03:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649987584001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 03:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787695565000,"timestamp_ms":1787695565000,"timestamp_seconds":1787695565,"priority":1,"record_length":96,"hex_timestamp":"000001a03af588c8"} 
[2026-08-26 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-26 03:40: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-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-26 03:40: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-26 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-26 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-26 03:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 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-26 03:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649987584001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649987584001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:40:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:40:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649987584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":162168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:40:15] local.INFO: GPS data processed {"connection_id":162168,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:40:15] local.INFO: Acknowledgment sent {"connection_id":162168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:40:38] local.INFO: TCP Data received {"connection_id":163407,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:40:38] local.INFO: Processing buffer {"connection_id":163407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:40:38] local.INFO: IMEI packet received {"connection_id":163407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":163407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:40:43] local.INFO: TCP Data received {"connection_id":163407,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:40:43] local.INFO: Processing buffer {"connection_id":163407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:40:43] local.INFO: IMEI packet received {"connection_id":163407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":163407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:40:44] local.INFO: TCP Data received {"connection_id":163407,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:40:44] local.INFO: Processing buffer {"connection_id":163407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:40:44] local.INFO: Packet analysis {"connection_id":163407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03af5"} 
[2026-08-26 03:40:44] local.INFO: Extracted packet for processing {"connection_id":163407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03af5"} 
[2026-08-26 03:40:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649987584001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:40: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-26 03:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787695565000,"timestamp_ms":1787695565000,"timestamp_seconds":1787695565,"priority":1,"record_length":96,"hex_timestamp":"000001a03af588c8"} 
[2026-08-26 03: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-26 03:40: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-26 03: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-26 03:40:44] 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-26 03:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03: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-26 03:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649987584001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649987584001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:40:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:40:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649987584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":163407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:40:44] local.INFO: GPS data processed {"connection_id":163407,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:40:44] local.INFO: Acknowledgment sent {"connection_id":163407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:40:53] local.INFO: TCP Data received {"connection_id":162411,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:40:53] local.INFO: Processing buffer {"connection_id":162411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:40:53] local.INFO: IMEI packet received {"connection_id":162411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 03:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":162411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:41:15] local.INFO: TCP Data received {"connection_id":163407,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:41:15] local.INFO: Processing buffer {"connection_id":163407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03af588c8012d34c14006aa4818000600e62f..."} 
[2026-08-26 03:41:15] local.INFO: Packet analysis {"connection_id":163407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03af5"} 
[2026-08-26 03:41:15] local.INFO: Extracted packet for processing {"connection_id":163407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03af5"} 
[2026-08-26 03:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457649987584001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:41: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-26 03:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787695565000,"timestamp_ms":1787695565000,"timestamp_seconds":1787695565,"priority":1,"record_length":96,"hex_timestamp":"000001a03af588c8"} 
[2026-08-26 03: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-26 03:41: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-26 03: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-26 03:41: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-26 03: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-26 03: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-26 03:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:41: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-26 03:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457649987584001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457649987584001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:41:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457649987584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":163407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:41:15] local.INFO: GPS data processed {"connection_id":163407,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:41:15] local.INFO: Acknowledgment sent {"connection_id":163407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:41:38] local.INFO: TCP Data received {"connection_id":162413,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:41:38] local.INFO: Processing buffer {"connection_id":162413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:41:38] local.INFO: IMEI packet received {"connection_id":162413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":162413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:41:43] local.INFO: TCP Data received {"connection_id":162413,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:41:43] local.INFO: Processing buffer {"connection_id":162413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:41:43] local.INFO: IMEI packet received {"connection_id":162413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":162413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:41:44] local.INFO: TCP Data received {"connection_id":162413,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:41:44] local.INFO: Processing buffer {"connection_id":162413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:41:44] local.INFO: Packet analysis {"connection_id":162413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03afa"} 
[2026-08-26 03:41:44] local.INFO: Extracted packet for processing {"connection_id":162413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03afa"} 
[2026-08-26 03:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650064640001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:41: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-26 03:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787695866000,"timestamp_ms":1787695866000,"timestamp_seconds":1787695866,"priority":1,"record_length":96,"hex_timestamp":"000001a03afa2090"} 
[2026-08-26 03:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:41: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-26 03:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:41: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-26 03:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:41:44] 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-26 03:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650064640001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650064640001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:41:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:41:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650064640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":162413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:41:44] local.INFO: GPS data processed {"connection_id":162413,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:41:44] local.INFO: Acknowledgment sent {"connection_id":162413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:42:16] local.INFO: TCP Data received {"connection_id":162413,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:42:16] local.INFO: Processing buffer {"connection_id":162413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:42:16] local.INFO: Packet analysis {"connection_id":162413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03afa"} 
[2026-08-26 03:42:16] local.INFO: Extracted packet for processing {"connection_id":162413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03afa"} 
[2026-08-26 03:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650064640001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03: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-26 03:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787695866000,"timestamp_ms":1787695866000,"timestamp_seconds":1787695866,"priority":1,"record_length":96,"hex_timestamp":"000001a03afa2090"} 
[2026-08-26 03: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-26 03:42: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-26 03: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:42: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-26 03: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-26 03: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-26 03:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:42: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-26 03:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650064640001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650064640001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:42:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:42:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650064640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":162413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:42:16] local.INFO: GPS data processed {"connection_id":162413,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:42:16] local.INFO: Acknowledgment sent {"connection_id":162413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:42:38] local.INFO: TCP Data received {"connection_id":162169,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:42:38] local.INFO: Processing buffer {"connection_id":162169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:42:38] local.INFO: IMEI packet received {"connection_id":162169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":162169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:42:43] local.INFO: TCP Data received {"connection_id":162169,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:42:43] local.INFO: Processing buffer {"connection_id":162169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:42:43] local.INFO: IMEI packet received {"connection_id":162169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":162169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:42:44] local.INFO: TCP Data received {"connection_id":162169,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:42:44] local.INFO: Processing buffer {"connection_id":162169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:42:44] local.INFO: Packet analysis {"connection_id":162169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03afa"} 
[2026-08-26 03:42:44] local.INFO: Extracted packet for processing {"connection_id":162169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03afa"} 
[2026-08-26 03:42:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650064640001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:42: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-26 03:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787695866000,"timestamp_ms":1787695866000,"timestamp_seconds":1787695866,"priority":1,"record_length":96,"hex_timestamp":"000001a03afa2090"} 
[2026-08-26 03: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-26 03:42: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-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:42: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-26 03: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-26 03: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-26 03:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:42: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-26 03:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650064640001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650064640001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:42:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:42:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650064640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":162169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:42:44] local.INFO: GPS data processed {"connection_id":162169,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:42:44] local.INFO: Acknowledgment sent {"connection_id":162169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:43:15] local.INFO: TCP Data received {"connection_id":162169,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:43:15] local.INFO: Processing buffer {"connection_id":162169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:43:15] local.INFO: Packet analysis {"connection_id":162169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03afa"} 
[2026-08-26 03:43:15] local.INFO: Extracted packet for processing {"connection_id":162169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03afa"} 
[2026-08-26 03:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650064640001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:43: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-26 03:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787695866000,"timestamp_ms":1787695866000,"timestamp_seconds":1787695866,"priority":1,"record_length":96,"hex_timestamp":"000001a03afa2090"} 
[2026-08-26 03:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:43: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-26 03:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:43: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-26 03:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:43: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-26 03:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650064640001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650064640001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:43:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650064640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":162169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:43:15] local.INFO: GPS data processed {"connection_id":162169,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:43:15] local.INFO: Acknowledgment sent {"connection_id":162169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:43:43] local.INFO: TCP Data received {"connection_id":164787,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:43:43] local.INFO: Processing buffer {"connection_id":164787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:43:43] local.INFO: IMEI packet received {"connection_id":164787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":164787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:43:48] local.INFO: TCP Data received {"connection_id":164787,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:43:48] local.INFO: Processing buffer {"connection_id":164787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:43:48] local.INFO: IMEI packet received {"connection_id":164787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":164787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:43:49] local.INFO: TCP Data received {"connection_id":164787,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:43:49] local.INFO: Processing buffer {"connection_id":164787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:43:49] local.INFO: Packet analysis {"connection_id":164787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03afa"} 
[2026-08-26 03:43:49] local.INFO: Extracted packet for processing {"connection_id":164787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03afa"} 
[2026-08-26 03:43:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650064640001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03: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-26 03:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787695866000,"timestamp_ms":1787695866000,"timestamp_seconds":1787695866,"priority":1,"record_length":96,"hex_timestamp":"000001a03afa2090"} 
[2026-08-26 03: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-26 03:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:43: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-26 03: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-26 03: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-26 03:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:43:49] 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-26 03:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650064640001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650064640001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:43:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:43:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650064640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":164787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:43:49] local.INFO: GPS data processed {"connection_id":164787,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:43:49] local.INFO: Acknowledgment sent {"connection_id":164787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:43:54] local.INFO: TCP Data received {"connection_id":164787,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:43:54] local.INFO: Processing buffer {"connection_id":164787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:43:54] local.INFO: Packet analysis {"connection_id":164787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03afa"} 
[2026-08-26 03:43:54] local.INFO: Extracted packet for processing {"connection_id":164787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03afa"} 
[2026-08-26 03:43:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650064640001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 03:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787695866000,"timestamp_ms":1787695866000,"timestamp_seconds":1787695866,"priority":1,"record_length":96,"hex_timestamp":"000001a03afa2090"} 
[2026-08-26 03:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 03:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650064640001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650064640001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:43:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:43:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650064640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":164787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:43:54] local.INFO: GPS data processed {"connection_id":164787,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:43:54] local.INFO: Acknowledgment sent {"connection_id":164787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:44:38] local.INFO: TCP Data received {"connection_id":162414,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:44:38] local.INFO: Processing buffer {"connection_id":162414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:44:38] local.INFO: IMEI packet received {"connection_id":162414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":162414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:44:43] local.INFO: TCP Data received {"connection_id":162414,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:44:43] local.INFO: Processing buffer {"connection_id":162414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:44:43] local.INFO: IMEI packet received {"connection_id":162414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":162414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:44:44] local.INFO: TCP Data received {"connection_id":162414,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:44:44] local.INFO: Processing buffer {"connection_id":162414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:44:44] local.INFO: Packet analysis {"connection_id":162414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03afa"} 
[2026-08-26 03:44:44] local.INFO: Extracted packet for processing {"connection_id":162414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03afa"} 
[2026-08-26 03:44:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650064640001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:44: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-26 03:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787695866000,"timestamp_ms":1787695866000,"timestamp_seconds":1787695866,"priority":1,"record_length":96,"hex_timestamp":"000001a03afa2090"} 
[2026-08-26 03: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-26 03:44: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-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:44: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-26 03: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-26 03: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-26 03:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650064640001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650064640001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:44:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:44:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650064640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":162414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:44:44] local.INFO: GPS data processed {"connection_id":162414,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:44:44] local.INFO: Acknowledgment sent {"connection_id":162414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:45:15] local.INFO: TCP Data received {"connection_id":162414,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:45:15] local.INFO: Processing buffer {"connection_id":162414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:45:15] local.INFO: Packet analysis {"connection_id":162414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03afa"} 
[2026-08-26 03:45:15] local.INFO: Extracted packet for processing {"connection_id":162414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03afa"} 
[2026-08-26 03:45:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650064640001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:45: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-26 03:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787695866000,"timestamp_ms":1787695866000,"timestamp_seconds":1787695866,"priority":1,"record_length":96,"hex_timestamp":"000001a03afa2090"} 
[2026-08-26 03:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:45: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-26 03:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:45: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-26 03:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:45: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-26 03:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650064640001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650064640001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:45:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:45:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650064640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":162414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:45:15] local.INFO: GPS data processed {"connection_id":162414,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:45:15] local.INFO: Acknowledgment sent {"connection_id":162414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:45:38] local.INFO: TCP Data received {"connection_id":164788,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:45:38] local.INFO: Processing buffer {"connection_id":164788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:45:38] local.INFO: IMEI packet received {"connection_id":164788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":164788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:45:43] local.INFO: TCP Data received {"connection_id":164788,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:45:43] local.INFO: Processing buffer {"connection_id":164788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:45:43] local.INFO: IMEI packet received {"connection_id":164788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":164788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:45:45] local.INFO: TCP Data received {"connection_id":164788,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:45:45] local.INFO: Processing buffer {"connection_id":164788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:45:45] local.INFO: Packet analysis {"connection_id":164788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03afa"} 
[2026-08-26 03:45:45] local.INFO: Extracted packet for processing {"connection_id":164788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03afa"} 
[2026-08-26 03:45:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650064640001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:45: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-26 03:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787695866000,"timestamp_ms":1787695866000,"timestamp_seconds":1787695866,"priority":1,"record_length":96,"hex_timestamp":"000001a03afa2090"} 
[2026-08-26 03:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:45: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-26 03:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:45: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-26 03:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:45:45] 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-26 03:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650064640001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650064640001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:45:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:45:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650064640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":164788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:45:45] local.INFO: GPS data processed {"connection_id":164788,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:45:45] local.INFO: Acknowledgment sent {"connection_id":164788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:46:17] local.INFO: TCP Data received {"connection_id":164788,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:46:17] local.INFO: Processing buffer {"connection_id":164788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:46:17] local.INFO: Packet analysis {"connection_id":164788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03afa"} 
[2026-08-26 03:46:17] local.INFO: Extracted packet for processing {"connection_id":164788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03afa"} 
[2026-08-26 03:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650064640001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:46: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-26 03:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787695866000,"timestamp_ms":1787695866000,"timestamp_seconds":1787695866,"priority":1,"record_length":96,"hex_timestamp":"000001a03afa2090"} 
[2026-08-26 03: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-26 03:46: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-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:46: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-26 03: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-26 03: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-26 03:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:46:17] 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-26 03:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650064640001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650064640001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:46:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:46:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650064640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":164788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:46:17] local.INFO: GPS data processed {"connection_id":164788,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:46:17] local.INFO: Acknowledgment sent {"connection_id":164788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:46:28] local.INFO: TCP Data received {"connection_id":164786,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:46:28] local.INFO: Processing buffer {"connection_id":164786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:46:28] local.INFO: IMEI packet received {"connection_id":164786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 03:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":164786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:46:38] local.INFO: TCP Data received {"connection_id":163408,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:46:38] local.INFO: Processing buffer {"connection_id":163408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:46:38] local.INFO: IMEI packet received {"connection_id":163408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":163408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:46:43] local.INFO: TCP Data received {"connection_id":163408,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:46:43] local.INFO: Processing buffer {"connection_id":163408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:46:43] local.INFO: IMEI packet received {"connection_id":163408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":163408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:46:44] local.INFO: TCP Data received {"connection_id":163408,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:46:44] local.INFO: Processing buffer {"connection_id":163408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03afa2090012d34c14006aa4818000800e62f..."} 
[2026-08-26 03:46:44] local.INFO: Packet analysis {"connection_id":163408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03afa"} 
[2026-08-26 03:46:44] local.INFO: Extracted packet for processing {"connection_id":163408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03afa"} 
[2026-08-26 03:46:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650064640001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:46: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-26 03:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787695866000,"timestamp_ms":1787695866000,"timestamp_seconds":1787695866,"priority":1,"record_length":96,"hex_timestamp":"000001a03afa2090"} 
[2026-08-26 03: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-26 03:46: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-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:46: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-26 03: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-26 03: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-26 03:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:46:44] 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-26 03:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650064640001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650064640001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:46:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:46:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650064640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":163408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:46:44] local.INFO: GPS data processed {"connection_id":163408,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:46:44] local.INFO: Acknowledgment sent {"connection_id":163408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:47:15] local.INFO: TCP Data received {"connection_id":163408,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:47:15] local.INFO: Processing buffer {"connection_id":163408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:47:15] local.INFO: Packet analysis {"connection_id":163408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03afe"} 
[2026-08-26 03:47:15] local.INFO: Extracted packet for processing {"connection_id":163408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03afe"} 
[2026-08-26 03:47:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650141696001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03: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-26 03:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787696167000,"timestamp_ms":1787696167000,"timestamp_seconds":1787696167,"priority":1,"record_length":96,"hex_timestamp":"000001a03afeb858"} 
[2026-08-26 03: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-26 03:47: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-26 03: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-26 03: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-26 03: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-26 03: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-26 03:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:47: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-26 03:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650141696001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650141696001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:47:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:47:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650141696001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":163408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:47:15] local.INFO: GPS data processed {"connection_id":163408,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:47:15] local.INFO: Acknowledgment sent {"connection_id":163408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:47:38] local.INFO: TCP Data received {"connection_id":162415,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:47:38] local.INFO: Processing buffer {"connection_id":162415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:47:38] local.INFO: IMEI packet received {"connection_id":162415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":162415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:47:43] local.INFO: TCP Data received {"connection_id":162415,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:47:43] local.INFO: Processing buffer {"connection_id":162415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:47:43] local.INFO: IMEI packet received {"connection_id":162415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":162415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:47:44] local.INFO: TCP Data received {"connection_id":162415,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:47:44] local.INFO: Processing buffer {"connection_id":162415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:47:44] local.INFO: Packet analysis {"connection_id":162415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03afe"} 
[2026-08-26 03:47:44] local.INFO: Extracted packet for processing {"connection_id":162415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03afe"} 
[2026-08-26 03:47:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650141696001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:47: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-26 03:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787696167000,"timestamp_ms":1787696167000,"timestamp_seconds":1787696167,"priority":1,"record_length":96,"hex_timestamp":"000001a03afeb858"} 
[2026-08-26 03: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-26 03:47: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-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:47: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-26 03: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-26 03: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-26 03:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:47:44] 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-26 03:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650141696001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650141696001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:47:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:47:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650141696001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":162415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:47:44] local.INFO: GPS data processed {"connection_id":162415,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:47:44] local.INFO: Acknowledgment sent {"connection_id":162415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:48:16] local.INFO: TCP Data received {"connection_id":162415,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:48:16] local.INFO: Processing buffer {"connection_id":162415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:48:16] local.INFO: Packet analysis {"connection_id":162415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03afe"} 
[2026-08-26 03:48:16] local.INFO: Extracted packet for processing {"connection_id":162415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03afe"} 
[2026-08-26 03:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650141696001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03: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-26 03:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787696167000,"timestamp_ms":1787696167000,"timestamp_seconds":1787696167,"priority":1,"record_length":96,"hex_timestamp":"000001a03afeb858"} 
[2026-08-26 03: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-26 03:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:48: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-26 03: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-26 03: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-26 03:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:48: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-26 03:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650141696001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650141696001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:48:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:48:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650141696001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":162415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:48:16] local.INFO: GPS data processed {"connection_id":162415,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:48:16] local.INFO: Acknowledgment sent {"connection_id":162415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:48:43] local.INFO: TCP Data received {"connection_id":164790,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:48:43] local.INFO: Processing buffer {"connection_id":164790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:48:43] local.INFO: IMEI packet received {"connection_id":164790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":164790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:48:48] local.INFO: TCP Data received {"connection_id":164790,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:48:48] local.INFO: Processing buffer {"connection_id":164790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:48:48] local.INFO: IMEI packet received {"connection_id":164790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":164790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:48:49] local.INFO: TCP Data received {"connection_id":164790,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:48:49] local.INFO: Processing buffer {"connection_id":164790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:48:49] local.INFO: Packet analysis {"connection_id":164790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03afe"} 
[2026-08-26 03:48:49] local.INFO: Extracted packet for processing {"connection_id":164790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03afe"} 
[2026-08-26 03:48:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650141696001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:48: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-26 03:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787696167000,"timestamp_ms":1787696167000,"timestamp_seconds":1787696167,"priority":1,"record_length":96,"hex_timestamp":"000001a03afeb858"} 
[2026-08-26 03: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-26 03:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:48: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-26 03: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-26 03: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-26 03:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:48:49] 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-26 03:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650141696001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650141696001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:48:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:48:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650141696001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":164790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:48:49] local.INFO: GPS data processed {"connection_id":164790,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:48:49] local.INFO: Acknowledgment sent {"connection_id":164790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:49:20] local.INFO: TCP Data received {"connection_id":164790,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:49:20] local.INFO: Processing buffer {"connection_id":164790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:49:20] local.INFO: Packet analysis {"connection_id":164790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03afe"} 
[2026-08-26 03:49:20] local.INFO: Extracted packet for processing {"connection_id":164790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03afe"} 
[2026-08-26 03:49:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650141696001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:49: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-26 03:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787696167000,"timestamp_ms":1787696167000,"timestamp_seconds":1787696167,"priority":1,"record_length":96,"hex_timestamp":"000001a03afeb858"} 
[2026-08-26 03: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-26 03:49: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-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 03: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-26 03: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-26 03:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650141696001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650141696001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:49:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:49:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650141696001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":164790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:49:20] local.INFO: GPS data processed {"connection_id":164790,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:49:20] local.INFO: Acknowledgment sent {"connection_id":164790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:49:38] local.INFO: TCP Data received {"connection_id":162170,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:49:38] local.INFO: Processing buffer {"connection_id":162170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:49:38] local.INFO: IMEI packet received {"connection_id":162170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":162170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:49:43] local.INFO: TCP Data received {"connection_id":162170,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:49:43] local.INFO: Processing buffer {"connection_id":162170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:49:43] local.INFO: IMEI packet received {"connection_id":162170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":162170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:49:44] local.INFO: TCP Data received {"connection_id":162170,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:49:44] local.INFO: Processing buffer {"connection_id":162170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:49:44] local.INFO: Packet analysis {"connection_id":162170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03afe"} 
[2026-08-26 03:49:44] local.INFO: Extracted packet for processing {"connection_id":162170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03afe"} 
[2026-08-26 03:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650141696001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:49: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-26 03:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787696167000,"timestamp_ms":1787696167000,"timestamp_seconds":1787696167,"priority":1,"record_length":96,"hex_timestamp":"000001a03afeb858"} 
[2026-08-26 03: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-26 03:49: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-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:49: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-26 03: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-26 03: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-26 03:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:49:44] 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-26 03:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650141696001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650141696001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:49:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:49:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650141696001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":162170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:49:44] local.INFO: GPS data processed {"connection_id":162170,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:49:44] local.INFO: Acknowledgment sent {"connection_id":162170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:50:16] local.INFO: TCP Data received {"connection_id":162170,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:50:16] local.INFO: Processing buffer {"connection_id":162170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:50:16] local.INFO: Packet analysis {"connection_id":162170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03afe"} 
[2026-08-26 03:50:16] local.INFO: Extracted packet for processing {"connection_id":162170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03afe"} 
[2026-08-26 03:50:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650141696001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:50: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-26 03:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787696167000,"timestamp_ms":1787696167000,"timestamp_seconds":1787696167,"priority":1,"record_length":96,"hex_timestamp":"000001a03afeb858"} 
[2026-08-26 03:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:50: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-26 03:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:50: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-26 03:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:50: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-26 03:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650141696001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650141696001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:50:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:50:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650141696001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":162170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:50:16] local.INFO: GPS data processed {"connection_id":162170,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:50:16] local.INFO: Acknowledgment sent {"connection_id":162170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:50:38] local.INFO: TCP Data received {"connection_id":163409,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:50:38] local.INFO: Processing buffer {"connection_id":163409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:50:38] local.INFO: IMEI packet received {"connection_id":163409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":163409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:50:43] local.INFO: TCP Data received {"connection_id":163409,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:50:43] local.INFO: Processing buffer {"connection_id":163409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:50:43] local.INFO: IMEI packet received {"connection_id":163409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":163409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:50:44] local.INFO: TCP Data received {"connection_id":163409,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:50:44] local.INFO: Processing buffer {"connection_id":163409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:50:44] local.INFO: Packet analysis {"connection_id":163409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03afe"} 
[2026-08-26 03:50:44] local.INFO: Extracted packet for processing {"connection_id":163409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03afe"} 
[2026-08-26 03:50:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650141696001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:50: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-26 03:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787696167000,"timestamp_ms":1787696167000,"timestamp_seconds":1787696167,"priority":1,"record_length":96,"hex_timestamp":"000001a03afeb858"} 
[2026-08-26 03:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:50: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-26 03:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:50: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-26 03:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650141696001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650141696001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:50:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:50:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650141696001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":163409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:50:44] local.INFO: GPS data processed {"connection_id":163409,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:50:44] local.INFO: Acknowledgment sent {"connection_id":163409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:51:15] local.INFO: TCP Data received {"connection_id":163409,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:51:15] local.INFO: Processing buffer {"connection_id":163409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:51:15] local.INFO: Packet analysis {"connection_id":163409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03afe"} 
[2026-08-26 03:51:15] local.INFO: Extracted packet for processing {"connection_id":163409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03afe"} 
[2026-08-26 03:51:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650141696001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03: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-26 03:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787696167000,"timestamp_ms":1787696167000,"timestamp_seconds":1787696167,"priority":1,"record_length":96,"hex_timestamp":"000001a03afeb858"} 
[2026-08-26 03: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-26 03:51: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-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:51: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-26 03: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-26 03: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-26 03:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03: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-26 03:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650141696001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650141696001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:51:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:51:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650141696001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":163409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:51:15] local.INFO: GPS data processed {"connection_id":163409,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:51:15] local.INFO: Acknowledgment sent {"connection_id":163409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:51:38] local.INFO: TCP Data received {"connection_id":164791,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:51:38] local.INFO: Processing buffer {"connection_id":164791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:51:38] local.INFO: IMEI packet received {"connection_id":164791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":164791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:51:43] local.INFO: TCP Data received {"connection_id":164791,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:51:43] local.INFO: Processing buffer {"connection_id":164791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:51:43] local.INFO: IMEI packet received {"connection_id":164791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":164791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:51:44] local.INFO: TCP Data received {"connection_id":164791,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:51:44] local.INFO: Processing buffer {"connection_id":164791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03afeb858012d34c14006aa4818000800e629..."} 
[2026-08-26 03:51:44] local.INFO: Packet analysis {"connection_id":164791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03afe"} 
[2026-08-26 03:51:44] local.INFO: Extracted packet for processing {"connection_id":164791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03afe"} 
[2026-08-26 03:51:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650141696001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 03:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787696167000,"timestamp_ms":1787696167000,"timestamp_seconds":1787696167,"priority":1,"record_length":96,"hex_timestamp":"000001a03afeb858"} 
[2026-08-26 03: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-26 03:51: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-26 03:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:51: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-26 03: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-26 03: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-26 03:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650141696001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650141696001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:51:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:51:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650141696001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":164791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:51:44] local.INFO: GPS data processed {"connection_id":164791,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:51:44] local.INFO: Acknowledgment sent {"connection_id":164791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:52:04] local.INFO: TCP Data received {"connection_id":164789,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164789,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:52:04] local.INFO: Processing buffer {"connection_id":164789,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:52:04] local.INFO: IMEI packet received {"connection_id":164789,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 03:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":164789,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:52:16] local.INFO: TCP Data received {"connection_id":164791,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:52:16] local.INFO: Processing buffer {"connection_id":164791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:52:16] local.INFO: Packet analysis {"connection_id":164791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b03"} 
[2026-08-26 03:52:16] local.INFO: Extracted packet for processing {"connection_id":164791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b03"} 
[2026-08-26 03:52:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650218752001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03: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-26 03:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787696468000,"timestamp_ms":1787696468000,"timestamp_seconds":1787696468,"priority":1,"record_length":96,"hex_timestamp":"000001a03b035020"} 
[2026-08-26 03: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-26 03:52: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-26 03: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":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:52: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-26 03: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-26 03: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-26 03:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:52: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-26 03:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650218752001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650218752001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:52:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:52:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650218752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":164791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:52:16] local.INFO: GPS data processed {"connection_id":164791,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:52:16] local.INFO: Acknowledgment sent {"connection_id":164791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:52:43] local.INFO: TCP Data received {"connection_id":162171,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:52:43] local.INFO: Processing buffer {"connection_id":162171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:52:43] local.INFO: IMEI packet received {"connection_id":162171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":162171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:52:48] local.INFO: TCP Data received {"connection_id":162171,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:52:48] local.INFO: Processing buffer {"connection_id":162171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:52:48] local.INFO: IMEI packet received {"connection_id":162171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":162171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:52:49] local.INFO: TCP Data received {"connection_id":162171,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:52:49] local.INFO: Processing buffer {"connection_id":162171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:52:49] local.INFO: Packet analysis {"connection_id":162171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b03"} 
[2026-08-26 03:52:49] local.INFO: Extracted packet for processing {"connection_id":162171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b03"} 
[2026-08-26 03:52:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:52: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-26 03:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650218752001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:52: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-26 03:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787696468000,"timestamp_ms":1787696468000,"timestamp_seconds":1787696468,"priority":1,"record_length":96,"hex_timestamp":"000001a03b035020"} 
[2026-08-26 03:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03:52: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 03:52: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-26 03:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650218752001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650218752001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:52:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:52:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650218752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":162171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:52:49] local.INFO: GPS data processed {"connection_id":162171,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:52:49] local.INFO: Acknowledgment sent {"connection_id":162171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:52:53] local.INFO: TCP Data received {"connection_id":162171,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:52:53] local.INFO: Processing buffer {"connection_id":162171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:52:53] local.INFO: Packet analysis {"connection_id":162171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b03"} 
[2026-08-26 03:52:53] local.INFO: Extracted packet for processing {"connection_id":162171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b03"} 
[2026-08-26 03:52:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650218752001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 03:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787696468000,"timestamp_ms":1787696468000,"timestamp_seconds":1787696468,"priority":1,"record_length":96,"hex_timestamp":"000001a03b035020"} 
[2026-08-26 03: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-26 03:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:52:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 03: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-26 03: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-26 03:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650218752001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650218752001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:52:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:52:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650218752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":162171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:52:53] local.INFO: GPS data processed {"connection_id":162171,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:52:53] local.INFO: Acknowledgment sent {"connection_id":162171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:53:38] local.INFO: TCP Data received {"connection_id":162416,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:53:38] local.INFO: Processing buffer {"connection_id":162416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:53:38] local.INFO: IMEI packet received {"connection_id":162416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":162416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:53:43] local.INFO: TCP Data received {"connection_id":162416,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:53:43] local.INFO: Processing buffer {"connection_id":162416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:53:43] local.INFO: IMEI packet received {"connection_id":162416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":162416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:53:44] local.INFO: TCP Data received {"connection_id":162416,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:53:44] local.INFO: Processing buffer {"connection_id":162416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:53:44] local.INFO: Packet analysis {"connection_id":162416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b03"} 
[2026-08-26 03:53:44] local.INFO: Extracted packet for processing {"connection_id":162416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b03"} 
[2026-08-26 03:53:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650218752001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:53: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-26 03:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787696468000,"timestamp_ms":1787696468000,"timestamp_seconds":1787696468,"priority":1,"record_length":96,"hex_timestamp":"000001a03b035020"} 
[2026-08-26 03: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-26 03:53: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-26 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 03: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-26 03: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-26 03:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:53:44] 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-26 03:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650218752001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650218752001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:53:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:53:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650218752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":162416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:53:44] local.INFO: GPS data processed {"connection_id":162416,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:53:44] local.INFO: Acknowledgment sent {"connection_id":162416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:54:16] local.INFO: TCP Data received {"connection_id":162416,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:54:16] local.INFO: Processing buffer {"connection_id":162416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:54:16] local.INFO: Packet analysis {"connection_id":162416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b03"} 
[2026-08-26 03:54:16] local.INFO: Extracted packet for processing {"connection_id":162416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b03"} 
[2026-08-26 03:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650218752001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:54: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-26 03:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787696468000,"timestamp_ms":1787696468000,"timestamp_seconds":1787696468,"priority":1,"record_length":96,"hex_timestamp":"000001a03b035020"} 
[2026-08-26 03: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-26 03:54: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-26 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:54: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-26 03:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03: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-26 03:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:54: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-26 03:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650218752001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650218752001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:54:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:54:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650218752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":162416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:54:16] local.INFO: GPS data processed {"connection_id":162416,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:54:16] local.INFO: Acknowledgment sent {"connection_id":162416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:54:38] local.INFO: TCP Data received {"connection_id":162173,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:54:38] local.INFO: Processing buffer {"connection_id":162173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:54:38] local.INFO: IMEI packet received {"connection_id":162173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":162173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:54:43] local.INFO: TCP Data received {"connection_id":162173,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:54:43] local.INFO: Processing buffer {"connection_id":162173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:54:43] local.INFO: IMEI packet received {"connection_id":162173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":162173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:54:44] local.INFO: TCP Data received {"connection_id":162173,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:54:44] local.INFO: Processing buffer {"connection_id":162173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:54:44] local.INFO: Packet analysis {"connection_id":162173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b03"} 
[2026-08-26 03:54:44] local.INFO: Extracted packet for processing {"connection_id":162173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b03"} 
[2026-08-26 03:54:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650218752001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:54: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-26 03:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787696468000,"timestamp_ms":1787696468000,"timestamp_seconds":1787696468,"priority":1,"record_length":96,"hex_timestamp":"000001a03b035020"} 
[2026-08-26 03: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-26 03:54: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-26 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:54:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 03: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-26 03: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-26 03:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:54:44] 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-26 03:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650218752001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650218752001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:54:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:54:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650218752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":162173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:54:44] local.INFO: GPS data processed {"connection_id":162173,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:54:44] local.INFO: Acknowledgment sent {"connection_id":162173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:55:15] local.INFO: TCP Data received {"connection_id":162173,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:55:15] local.INFO: Processing buffer {"connection_id":162173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:55:15] local.INFO: Packet analysis {"connection_id":162173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b03"} 
[2026-08-26 03:55:15] local.INFO: Extracted packet for processing {"connection_id":162173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b03"} 
[2026-08-26 03:55:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650218752001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:55: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-26 03:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787696468000,"timestamp_ms":1787696468000,"timestamp_seconds":1787696468,"priority":1,"record_length":96,"hex_timestamp":"000001a03b035020"} 
[2026-08-26 03: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-26 03:55: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-26 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:55: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-26 03: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-26 03: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-26 03:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650218752001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650218752001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:55:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:55:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650218752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":162173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:55:15] local.INFO: GPS data processed {"connection_id":162173,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:55:15] local.INFO: Acknowledgment sent {"connection_id":162173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:55:38] local.INFO: TCP Data received {"connection_id":162174,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:55:38] local.INFO: Processing buffer {"connection_id":162174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:55:38] local.INFO: IMEI packet received {"connection_id":162174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":162174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:55:43] local.INFO: TCP Data received {"connection_id":162174,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:55:43] local.INFO: Processing buffer {"connection_id":162174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:55:43] local.INFO: IMEI packet received {"connection_id":162174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":162174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:55:44] local.INFO: TCP Data received {"connection_id":162174,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:55:44] local.INFO: Processing buffer {"connection_id":162174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:55:44] local.INFO: Packet analysis {"connection_id":162174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b03"} 
[2026-08-26 03:55:44] local.INFO: Extracted packet for processing {"connection_id":162174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b03"} 
[2026-08-26 03:55:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650218752001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:55: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-26 03:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787696468000,"timestamp_ms":1787696468000,"timestamp_seconds":1787696468,"priority":1,"record_length":96,"hex_timestamp":"000001a03b035020"} 
[2026-08-26 03:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:55: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-26 03:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 03:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650218752001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650218752001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:55:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:55:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650218752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":162174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:55:44] local.INFO: GPS data processed {"connection_id":162174,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:55:44] local.INFO: Acknowledgment sent {"connection_id":162174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:56:15] local.INFO: TCP Data received {"connection_id":162174,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:56:15] local.INFO: Processing buffer {"connection_id":162174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:56:15] local.INFO: Packet analysis {"connection_id":162174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b03"} 
[2026-08-26 03:56:15] local.INFO: Extracted packet for processing {"connection_id":162174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b03"} 
[2026-08-26 03:56:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650218752001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:56: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-26 03:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787696468000,"timestamp_ms":1787696468000,"timestamp_seconds":1787696468,"priority":1,"record_length":96,"hex_timestamp":"000001a03b035020"} 
[2026-08-26 03: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-26 03: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-26 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:56: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-26 03: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-26 03: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-26 03:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:56: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-26 03:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650218752001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650218752001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:56:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:56:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650218752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":162174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:56:15] local.INFO: GPS data processed {"connection_id":162174,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:56:15] local.INFO: Acknowledgment sent {"connection_id":162174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:56:38] local.INFO: TCP Data received {"connection_id":162175,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:56:38] local.INFO: Processing buffer {"connection_id":162175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:56:38] local.INFO: IMEI packet received {"connection_id":162175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":162175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:56:43] local.INFO: TCP Data received {"connection_id":162175,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:56:43] local.INFO: Processing buffer {"connection_id":162175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:56:43] local.INFO: IMEI packet received {"connection_id":162175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":162175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:56:44] local.INFO: TCP Data received {"connection_id":162175,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:56:44] local.INFO: Processing buffer {"connection_id":162175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b035020012d34c14006aa4818000800e62e..."} 
[2026-08-26 03:56:44] local.INFO: Packet analysis {"connection_id":162175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b03"} 
[2026-08-26 03:56:44] local.INFO: Extracted packet for processing {"connection_id":162175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b03"} 
[2026-08-26 03:56:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 03:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650218752001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:56: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-26 03:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787696468000,"timestamp_ms":1787696468000,"timestamp_seconds":1787696468,"priority":1,"record_length":96,"hex_timestamp":"000001a03b035020"} 
[2026-08-26 03:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 03:56: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-26 03:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 03:56:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 03:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 03:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 03:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650218752001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650218752001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:56:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:56:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650218752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":162175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:56:44] local.INFO: GPS data processed {"connection_id":162175,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:56:44] local.INFO: Acknowledgment sent {"connection_id":162175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:57:15] local.INFO: TCP Data received {"connection_id":162175,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 03:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 03:57:15] local.INFO: Processing buffer {"connection_id":162175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 03:57:15] local.INFO: Packet analysis {"connection_id":162175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b07"} 
[2026-08-26 03:57:15] local.INFO: Extracted packet for processing {"connection_id":162175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b07"} 
[2026-08-26 03:57:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650295808001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03: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-26 03:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787696769000,"timestamp_ms":1787696769000,"timestamp_seconds":1787696769,"priority":1,"record_length":96,"hex_timestamp":"000001a03b07e7e8"} 
[2026-08-26 03: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-26 03:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:57: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-26 03: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-26 03: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-26 03:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:57: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-26 03:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650295808001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650295808001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:57:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:57:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650295808001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":162175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:57:15] local.INFO: GPS data processed {"connection_id":162175,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:57:15] local.INFO: Acknowledgment sent {"connection_id":162175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:57:39] local.INFO: TCP Data received {"connection_id":162172,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:57:39] local.INFO: Processing buffer {"connection_id":162172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:57:39] local.INFO: IMEI packet received {"connection_id":162172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 03:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":162172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:57:43] local.INFO: TCP Data received {"connection_id":163410,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:57:43] local.INFO: Processing buffer {"connection_id":163410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:57:43] local.INFO: IMEI packet received {"connection_id":163410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":163410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:57:48] local.INFO: TCP Data received {"connection_id":163410,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:57:48] local.INFO: Processing buffer {"connection_id":163410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:57:48] local.INFO: IMEI packet received {"connection_id":163410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":163410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:57:49] local.INFO: TCP Data received {"connection_id":163410,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 03:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 03:57:49] local.INFO: Processing buffer {"connection_id":163410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 03:57:49] local.INFO: Packet analysis {"connection_id":163410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b07"} 
[2026-08-26 03:57:49] local.INFO: Extracted packet for processing {"connection_id":163410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b07"} 
[2026-08-26 03:57:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650295808001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:57: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-26 03:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787696769000,"timestamp_ms":1787696769000,"timestamp_seconds":1787696769,"priority":1,"record_length":96,"hex_timestamp":"000001a03b07e7e8"} 
[2026-08-26 03: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-26 03:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:57: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-26 03: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-26 03: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-26 03:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 03:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650295808001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650295808001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:57:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:57:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650295808001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":163410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:57:49] local.INFO: GPS data processed {"connection_id":163410,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:57:49] local.INFO: Acknowledgment sent {"connection_id":163410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:57:53] local.INFO: TCP Data received {"connection_id":163410,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 03:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 03:57:53] local.INFO: Processing buffer {"connection_id":163410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 03:57:53] local.INFO: Packet analysis {"connection_id":163410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b07"} 
[2026-08-26 03:57:53] local.INFO: Extracted packet for processing {"connection_id":163410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b07"} 
[2026-08-26 03:57:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650295808001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 03:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787696769000,"timestamp_ms":1787696769000,"timestamp_seconds":1787696769,"priority":1,"record_length":96,"hex_timestamp":"000001a03b07e7e8"} 
[2026-08-26 03: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-26 03:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 03: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-26 03: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-26 03:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:57:53] local.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-26 03:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650295808001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650295808001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:57:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:57:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650295808001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":163410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:57:53] local.INFO: GPS data processed {"connection_id":163410,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:57:53] local.INFO: Acknowledgment sent {"connection_id":163410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:58:03] local.INFO: TCP Data received {"connection_id":164792,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:58:03] local.INFO: Processing buffer {"connection_id":164792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 03:58:03] local.INFO: IMEI packet received {"connection_id":164792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 03:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":164792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:58:38] local.INFO: TCP Data received {"connection_id":162177,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:58:38] local.INFO: Processing buffer {"connection_id":162177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:58:38] local.INFO: IMEI packet received {"connection_id":162177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":162177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:58:43] local.INFO: TCP Data received {"connection_id":162177,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:58:43] local.INFO: Processing buffer {"connection_id":162177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:58:43] local.INFO: IMEI packet received {"connection_id":162177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":162177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:58:44] local.INFO: TCP Data received {"connection_id":162177,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 03:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 03:58:44] local.INFO: Processing buffer {"connection_id":162177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 03:58:44] local.INFO: Packet analysis {"connection_id":162177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b07"} 
[2026-08-26 03:58:44] local.INFO: Extracted packet for processing {"connection_id":162177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b07"} 
[2026-08-26 03:58:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650295808001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:58: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-26 03:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787696769000,"timestamp_ms":1787696769000,"timestamp_seconds":1787696769,"priority":1,"record_length":96,"hex_timestamp":"000001a03b07e7e8"} 
[2026-08-26 03: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-26 03:58: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-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:58: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-26 03: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-26 03: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-26 03:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:58:44] 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-26 03:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650295808001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650295808001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:58:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:58:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650295808001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":162177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:58:44] local.INFO: GPS data processed {"connection_id":162177,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:58:44] local.INFO: Acknowledgment sent {"connection_id":162177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:59:16] local.INFO: TCP Data received {"connection_id":162177,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 03:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 03:59:16] local.INFO: Processing buffer {"connection_id":162177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 03:59:16] local.INFO: Packet analysis {"connection_id":162177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b07"} 
[2026-08-26 03:59:16] local.INFO: Extracted packet for processing {"connection_id":162177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b07"} 
[2026-08-26 03:59:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650295808001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:59: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-26 03:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787696769000,"timestamp_ms":1787696769000,"timestamp_seconds":1787696769,"priority":1,"record_length":96,"hex_timestamp":"000001a03b07e7e8"} 
[2026-08-26 03: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-26 03:59: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-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:59: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-26 03: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-26 03: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-26 03:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:59: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-26 03:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650295808001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650295808001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:59:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:59:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650295808001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":162177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:59:16] local.INFO: GPS data processed {"connection_id":162177,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:59:16] local.INFO: Acknowledgment sent {"connection_id":162177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 03:59:38] local.INFO: TCP Data received {"connection_id":164793,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:59:38] local.INFO: Processing buffer {"connection_id":164793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:59:38] local.INFO: IMEI packet received {"connection_id":164793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 03:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":164793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 03:59:43] local.INFO: TCP Data received {"connection_id":164793,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:59:43] local.INFO: Processing buffer {"connection_id":164793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 03:59:43] local.INFO: IMEI packet received {"connection_id":164793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 03:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":164793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 03:59:44] local.INFO: TCP Data received {"connection_id":164793,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 03:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 03:59:44] local.INFO: Processing buffer {"connection_id":164793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 03:59:44] local.INFO: Packet analysis {"connection_id":164793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b07"} 
[2026-08-26 03:59:44] local.INFO: Extracted packet for processing {"connection_id":164793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b07"} 
[2026-08-26 03:59:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 03: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-26 03:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650295808001,"note":"Value kept but may cause issues"} 
[2026-08-26 03:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 03:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 03:59: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-26 03:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787696769000,"timestamp_ms":1787696769000,"timestamp_seconds":1787696769,"priority":1,"record_length":96,"hex_timestamp":"000001a03b07e7e8"} 
[2026-08-26 03: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-26 03:59: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-26 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 03:59: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-26 03: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-26 03: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-26 03:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 03:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 03:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 03:59: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-26 03:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 03:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 03:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650295808001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 03:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 03:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 03:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650295808001,"description":"Unknown IO ID 0"} 
[2026-08-26 03:59:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 03:59:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 03:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 03:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 03:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650295808001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 03:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":164793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 03:59:44] local.INFO: GPS data processed {"connection_id":164793,"processed":1,"errors":0,"total":1} 
[2026-08-26 03:59:44] local.INFO: Acknowledgment sent {"connection_id":164793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:00:17] local.INFO: TCP Data received {"connection_id":164793,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 04:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 04:00:17] local.INFO: Processing buffer {"connection_id":164793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 04:00:17] local.INFO: Packet analysis {"connection_id":164793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b07"} 
[2026-08-26 04:00:17] local.INFO: Extracted packet for processing {"connection_id":164793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b07"} 
[2026-08-26 04:00:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650295808001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:00: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-26 04:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787696769000,"timestamp_ms":1787696769000,"timestamp_seconds":1787696769,"priority":1,"record_length":96,"hex_timestamp":"000001a03b07e7e8"} 
[2026-08-26 04:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:00: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-26 04:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:00: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-26 04:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:00:17] 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-26 04:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650295808001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650295808001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:00:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:00:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650295808001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":164793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:00:17] local.INFO: GPS data processed {"connection_id":164793,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:00:17] local.INFO: Acknowledgment sent {"connection_id":164793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:00:38] local.INFO: TCP Data received {"connection_id":162178,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:00:38] local.INFO: Processing buffer {"connection_id":162178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:00:38] local.INFO: IMEI packet received {"connection_id":162178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":162178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:00:43] local.INFO: TCP Data received {"connection_id":162178,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:00:43] local.INFO: Processing buffer {"connection_id":162178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:00:43] local.INFO: IMEI packet received {"connection_id":162178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":162178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:00:45] local.INFO: TCP Data received {"connection_id":162178,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 04:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 04:00:45] local.INFO: Processing buffer {"connection_id":162178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 04:00:45] local.INFO: Packet analysis {"connection_id":162178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b07"} 
[2026-08-26 04:00:45] local.INFO: Extracted packet for processing {"connection_id":162178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b07"} 
[2026-08-26 04:00:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650295808001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:00: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-26 04:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787696769000,"timestamp_ms":1787696769000,"timestamp_seconds":1787696769,"priority":1,"record_length":96,"hex_timestamp":"000001a03b07e7e8"} 
[2026-08-26 04: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-26 04:00: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-26 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:00: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-26 04: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-26 04: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-26 04:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:00:45] 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-26 04:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650295808001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650295808001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:00:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:00:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650295808001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":162178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:00:45] local.INFO: GPS data processed {"connection_id":162178,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:00:45] local.INFO: Acknowledgment sent {"connection_id":162178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:01:16] local.INFO: TCP Data received {"connection_id":162178,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 04:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 04:01:16] local.INFO: Processing buffer {"connection_id":162178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 04:01:16] local.INFO: Packet analysis {"connection_id":162178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b07"} 
[2026-08-26 04:01:16] local.INFO: Extracted packet for processing {"connection_id":162178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b07"} 
[2026-08-26 04:01:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650295808001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:01: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-26 04:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787696769000,"timestamp_ms":1787696769000,"timestamp_seconds":1787696769,"priority":1,"record_length":96,"hex_timestamp":"000001a03b07e7e8"} 
[2026-08-26 04: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-26 04:01: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-26 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:01: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-26 04: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-26 04: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-26 04:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:01: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-26 04:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650295808001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650295808001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:01:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:01:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650295808001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":162178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:01:16] local.INFO: GPS data processed {"connection_id":162178,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:01:16] local.INFO: Acknowledgment sent {"connection_id":162178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:01:38] local.INFO: TCP Data received {"connection_id":163411,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:01:38] local.INFO: Processing buffer {"connection_id":163411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:01:38] local.INFO: IMEI packet received {"connection_id":163411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":163411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:01:43] local.INFO: TCP Data received {"connection_id":163411,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:01:43] local.INFO: Processing buffer {"connection_id":163411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:01:43] local.INFO: IMEI packet received {"connection_id":163411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":163411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:01:44] local.INFO: TCP Data received {"connection_id":163411,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 04:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 04:01:44] local.INFO: Processing buffer {"connection_id":163411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b07e7e8012d34c14006aa4818000800e631..."} 
[2026-08-26 04:01:44] local.INFO: Packet analysis {"connection_id":163411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b07"} 
[2026-08-26 04:01:44] local.INFO: Extracted packet for processing {"connection_id":163411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b07"} 
[2026-08-26 04:01:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650295808001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:01: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-26 04:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787696769000,"timestamp_ms":1787696769000,"timestamp_seconds":1787696769,"priority":1,"record_length":96,"hex_timestamp":"000001a03b07e7e8"} 
[2026-08-26 04: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-26 04:01: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-26 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:01: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-26 04: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-26 04: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-26 04:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:01:44] 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-26 04:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650295808001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650295808001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:01:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:01:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650295808001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":163411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:01:44] local.INFO: GPS data processed {"connection_id":163411,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:01:44] local.INFO: Acknowledgment sent {"connection_id":163411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:02:15] local.INFO: TCP Data received {"connection_id":163411,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:02:15] local.INFO: Processing buffer {"connection_id":163411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:02:15] local.INFO: Packet analysis {"connection_id":163411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b0c"} 
[2026-08-26 04:02:15] local.INFO: Extracted packet for processing {"connection_id":163411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b0c"} 
[2026-08-26 04:02:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650372864001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04: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-26 04:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787697070000,"timestamp_ms":1787697070000,"timestamp_seconds":1787697070,"priority":1,"record_length":96,"hex_timestamp":"000001a03b0c7fb0"} 
[2026-08-26 04: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-26 04: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-26 04: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-26 04: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-26 04: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-26 04: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-26 04:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650372864001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650372864001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:02:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:02:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650372864001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":163411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:02:15] local.INFO: GPS data processed {"connection_id":163411,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:02:15] local.INFO: Acknowledgment sent {"connection_id":163411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:02:38] local.INFO: TCP Data received {"connection_id":164794,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:02:38] local.INFO: Processing buffer {"connection_id":164794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:02:38] local.INFO: IMEI packet received {"connection_id":164794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":164794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:02:43] local.INFO: TCP Data received {"connection_id":164794,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:02:43] local.INFO: Processing buffer {"connection_id":164794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:02:43] local.INFO: IMEI packet received {"connection_id":164794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":164794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:02:44] local.INFO: TCP Data received {"connection_id":164794,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:02:44] local.INFO: Processing buffer {"connection_id":164794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:02:44] local.INFO: Packet analysis {"connection_id":164794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b0c"} 
[2026-08-26 04:02:44] local.INFO: Extracted packet for processing {"connection_id":164794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b0c"} 
[2026-08-26 04:02:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650372864001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:02: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-26 04:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787697070000,"timestamp_ms":1787697070000,"timestamp_seconds":1787697070,"priority":1,"record_length":96,"hex_timestamp":"000001a03b0c7fb0"} 
[2026-08-26 04: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-26 04:02: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-26 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:02: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-26 04:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04: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-26 04:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:02:44] 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-26 04:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650372864001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650372864001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:02:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:02:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650372864001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":164794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:02:44] local.INFO: GPS data processed {"connection_id":164794,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:02:44] local.INFO: Acknowledgment sent {"connection_id":164794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:03:15] local.INFO: TCP Data received {"connection_id":164794,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:03:15] local.INFO: Processing buffer {"connection_id":164794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:03:15] local.INFO: Packet analysis {"connection_id":164794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b0c"} 
[2026-08-26 04:03:15] local.INFO: Extracted packet for processing {"connection_id":164794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b0c"} 
[2026-08-26 04:03:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650372864001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:03: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-26 04:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787697070000,"timestamp_ms":1787697070000,"timestamp_seconds":1787697070,"priority":1,"record_length":96,"hex_timestamp":"000001a03b0c7fb0"} 
[2026-08-26 04:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:03: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-26 04:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:03: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-26 04:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:03: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-26 04:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650372864001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650372864001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:03:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:03:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650372864001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":164794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:03:15] local.INFO: GPS data processed {"connection_id":164794,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:03:15] local.INFO: Acknowledgment sent {"connection_id":164794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:03:18] local.INFO: TCP Data received {"connection_id":162179,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:03:18] local.INFO: Processing buffer {"connection_id":162179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:03:18] local.INFO: IMEI packet received {"connection_id":162179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 04:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":162179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:03:38] local.INFO: TCP Data received {"connection_id":163412,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:03:38] local.INFO: Processing buffer {"connection_id":163412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:03:38] local.INFO: IMEI packet received {"connection_id":163412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":163412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:03:43] local.INFO: TCP Data received {"connection_id":163412,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:03:43] local.INFO: Processing buffer {"connection_id":163412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:03:43] local.INFO: IMEI packet received {"connection_id":163412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":163412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:03:44] local.INFO: TCP Data received {"connection_id":163412,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:03:44] local.INFO: Processing buffer {"connection_id":163412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:03:44] local.INFO: Packet analysis {"connection_id":163412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b0c"} 
[2026-08-26 04:03:44] local.INFO: Extracted packet for processing {"connection_id":163412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b0c"} 
[2026-08-26 04:03:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650372864001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:03: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-26 04:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787697070000,"timestamp_ms":1787697070000,"timestamp_seconds":1787697070,"priority":1,"record_length":96,"hex_timestamp":"000001a03b0c7fb0"} 
[2026-08-26 04:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:03: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-26 04:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:03: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-26 04:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:03:44] 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-26 04:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650372864001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650372864001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:03:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:03:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650372864001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":163412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:03:44] local.INFO: GPS data processed {"connection_id":163412,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:03:44] local.INFO: Acknowledgment sent {"connection_id":163412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:04:16] local.INFO: TCP Data received {"connection_id":163412,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:04:16] local.INFO: Processing buffer {"connection_id":163412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:04:16] local.INFO: Packet analysis {"connection_id":163412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b0c"} 
[2026-08-26 04:04:16] local.INFO: Extracted packet for processing {"connection_id":163412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b0c"} 
[2026-08-26 04:04:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650372864001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:04: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-26 04:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787697070000,"timestamp_ms":1787697070000,"timestamp_seconds":1787697070,"priority":1,"record_length":96,"hex_timestamp":"000001a03b0c7fb0"} 
[2026-08-26 04:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:04: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-26 04:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:04: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-26 04:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650372864001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650372864001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:04:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:04:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650372864001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":163412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:04:16] local.INFO: GPS data processed {"connection_id":163412,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:04:16] local.INFO: Acknowledgment sent {"connection_id":163412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:04:38] local.INFO: TCP Data received {"connection_id":162417,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:04:38] local.INFO: Processing buffer {"connection_id":162417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:04:38] local.INFO: IMEI packet received {"connection_id":162417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":162417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:04:43] local.INFO: TCP Data received {"connection_id":162417,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:04:43] local.INFO: Processing buffer {"connection_id":162417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:04:43] local.INFO: IMEI packet received {"connection_id":162417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":162417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:04:44] local.INFO: TCP Data received {"connection_id":162417,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:04:44] local.INFO: Processing buffer {"connection_id":162417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:04:44] local.INFO: Packet analysis {"connection_id":162417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b0c"} 
[2026-08-26 04:04:44] local.INFO: Extracted packet for processing {"connection_id":162417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b0c"} 
[2026-08-26 04:04:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650372864001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:04: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-26 04:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787697070000,"timestamp_ms":1787697070000,"timestamp_seconds":1787697070,"priority":1,"record_length":96,"hex_timestamp":"000001a03b0c7fb0"} 
[2026-08-26 04: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-26 04:04: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-26 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:04: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-26 04:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04: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-26 04:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:04:44] 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-26 04:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650372864001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650372864001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:04:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:04:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650372864001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":162417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:04:44] local.INFO: GPS data processed {"connection_id":162417,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:04:44] local.INFO: Acknowledgment sent {"connection_id":162417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:05:16] local.INFO: TCP Data received {"connection_id":162417,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:05:16] local.INFO: Processing buffer {"connection_id":162417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:05:16] local.INFO: Packet analysis {"connection_id":162417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b0c"} 
[2026-08-26 04:05:16] local.INFO: Extracted packet for processing {"connection_id":162417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b0c"} 
[2026-08-26 04:05:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650372864001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:05: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-26 04:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787697070000,"timestamp_ms":1787697070000,"timestamp_seconds":1787697070,"priority":1,"record_length":96,"hex_timestamp":"000001a03b0c7fb0"} 
[2026-08-26 04:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:05: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-26 04:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:05: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-26 04:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:05: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-26 04:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650372864001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650372864001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:05:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:05:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650372864001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":162417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:05:16] local.INFO: GPS data processed {"connection_id":162417,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:05:16] local.INFO: Acknowledgment sent {"connection_id":162417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:05:38] local.INFO: TCP Data received {"connection_id":164795,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:05:38] local.INFO: Processing buffer {"connection_id":164795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:05:38] local.INFO: IMEI packet received {"connection_id":164795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":164795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:05:43] local.INFO: TCP Data received {"connection_id":164795,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:05:43] local.INFO: Processing buffer {"connection_id":164795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:05:43] local.INFO: IMEI packet received {"connection_id":164795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":164795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:05:44] local.INFO: TCP Data received {"connection_id":164795,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:05:44] local.INFO: Processing buffer {"connection_id":164795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:05:44] local.INFO: Packet analysis {"connection_id":164795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b0c"} 
[2026-08-26 04:05:44] local.INFO: Extracted packet for processing {"connection_id":164795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b0c"} 
[2026-08-26 04:05:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650372864001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:05: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-26 04:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787697070000,"timestamp_ms":1787697070000,"timestamp_seconds":1787697070,"priority":1,"record_length":96,"hex_timestamp":"000001a03b0c7fb0"} 
[2026-08-26 04: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-26 04:05: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-26 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:05: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-26 04: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-26 04: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-26 04:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:05:44] 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-26 04:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650372864001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650372864001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:05:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:05:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650372864001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":164795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:05:44] local.INFO: GPS data processed {"connection_id":164795,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:05:44] local.INFO: Acknowledgment sent {"connection_id":164795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:06:15] local.INFO: TCP Data received {"connection_id":164795,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:06:15] local.INFO: Processing buffer {"connection_id":164795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:06:15] local.INFO: Packet analysis {"connection_id":164795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b0c"} 
[2026-08-26 04:06:15] local.INFO: Extracted packet for processing {"connection_id":164795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b0c"} 
[2026-08-26 04:06:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650372864001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:06: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-26 04:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787697070000,"timestamp_ms":1787697070000,"timestamp_seconds":1787697070,"priority":1,"record_length":96,"hex_timestamp":"000001a03b0c7fb0"} 
[2026-08-26 04:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 04:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:06: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-26 04:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650372864001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650372864001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:06:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:06:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650372864001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":164795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:06:15] local.INFO: GPS data processed {"connection_id":164795,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:06:15] local.INFO: Acknowledgment sent {"connection_id":164795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:06:38] local.INFO: TCP Data received {"connection_id":162180,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:06:38] local.INFO: Processing buffer {"connection_id":162180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:06:38] local.INFO: IMEI packet received {"connection_id":162180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":162180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:06:43] local.INFO: TCP Data received {"connection_id":162180,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:06:43] local.INFO: Processing buffer {"connection_id":162180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:06:43] local.INFO: IMEI packet received {"connection_id":162180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":162180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:06:44] local.INFO: TCP Data received {"connection_id":162180,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:06:44] local.INFO: Processing buffer {"connection_id":162180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b0c7fb0012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:06:44] local.INFO: Packet analysis {"connection_id":162180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b0c"} 
[2026-08-26 04:06:44] local.INFO: Extracted packet for processing {"connection_id":162180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b0c"} 
[2026-08-26 04:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650372864001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:06: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-26 04:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787697070000,"timestamp_ms":1787697070000,"timestamp_seconds":1787697070,"priority":1,"record_length":96,"hex_timestamp":"000001a03b0c7fb0"} 
[2026-08-26 04:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:06: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-26 04:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:06: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-26 04:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:06: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-26 04:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650372864001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650372864001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:06:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:06:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650372864001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":162180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:06:44] local.INFO: GPS data processed {"connection_id":162180,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:06:44] local.INFO: Acknowledgment sent {"connection_id":162180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:07:15] local.INFO: TCP Data received {"connection_id":162180,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:07:15] local.INFO: Processing buffer {"connection_id":162180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:07:15] local.INFO: Packet analysis {"connection_id":162180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b11"} 
[2026-08-26 04:07:15] local.INFO: Extracted packet for processing {"connection_id":162180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b11"} 
[2026-08-26 04:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650449920001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04: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-26 04:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787697371000,"timestamp_ms":1787697371000,"timestamp_seconds":1787697371,"priority":1,"record_length":96,"hex_timestamp":"000001a03b111778"} 
[2026-08-26 04: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-26 04:07: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-26 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 04:07: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-26 04: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-26 04: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-26 04:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:07: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-26 04:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650449920001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650449920001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:07:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650449920001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":162180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:07:15] local.INFO: GPS data processed {"connection_id":162180,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:07:15] local.INFO: Acknowledgment sent {"connection_id":162180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:07:38] local.INFO: TCP Data received {"connection_id":164796,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:07:38] local.INFO: Processing buffer {"connection_id":164796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:07:38] local.INFO: IMEI packet received {"connection_id":164796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":164796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:07:43] local.INFO: TCP Data received {"connection_id":164796,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:07:43] local.INFO: Processing buffer {"connection_id":164796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:07:43] local.INFO: IMEI packet received {"connection_id":164796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":164796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:07:44] local.INFO: TCP Data received {"connection_id":164796,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:07:44] local.INFO: Processing buffer {"connection_id":164796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:07:44] local.INFO: Packet analysis {"connection_id":164796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b11"} 
[2026-08-26 04:07:44] local.INFO: Extracted packet for processing {"connection_id":164796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b11"} 
[2026-08-26 04:07:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650449920001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:07: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-26 04:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787697371000,"timestamp_ms":1787697371000,"timestamp_seconds":1787697371,"priority":1,"record_length":96,"hex_timestamp":"000001a03b111778"} 
[2026-08-26 04:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:07: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-26 04:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 04:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 04:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650449920001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650449920001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:07:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:07:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650449920001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":164796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:07:44] local.INFO: GPS data processed {"connection_id":164796,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:07:44] local.INFO: Acknowledgment sent {"connection_id":164796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:08:16] local.INFO: TCP Data received {"connection_id":164796,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:08:16] local.INFO: Processing buffer {"connection_id":164796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:08:16] local.INFO: Packet analysis {"connection_id":164796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b11"} 
[2026-08-26 04:08:16] local.INFO: Extracted packet for processing {"connection_id":164796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b11"} 
[2026-08-26 04:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 04:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650449920001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 04:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787697371000,"timestamp_ms":1787697371000,"timestamp_seconds":1787697371,"priority":1,"record_length":96,"hex_timestamp":"000001a03b111778"} 
[2026-08-26 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-26 04:08: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-26 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":255,"data_length":795,"current_offset":136} 
[2026-08-26 04:08: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-26 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-26 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-26 04:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:08: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-26 04:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650449920001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650449920001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:08:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650449920001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":164796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:08:16] local.INFO: GPS data processed {"connection_id":164796,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:08:16] local.INFO: Acknowledgment sent {"connection_id":164796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:08:38] local.INFO: TCP Data received {"connection_id":162182,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:08:38] local.INFO: Processing buffer {"connection_id":162182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:08:38] local.INFO: IMEI packet received {"connection_id":162182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":162182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:08:43] local.INFO: TCP Data received {"connection_id":162182,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:08:43] local.INFO: Processing buffer {"connection_id":162182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:08:43] local.INFO: IMEI packet received {"connection_id":162182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":162182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:08:44] local.INFO: TCP Data received {"connection_id":162182,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:08:44] local.INFO: Processing buffer {"connection_id":162182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:08:44] local.INFO: Packet analysis {"connection_id":162182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b11"} 
[2026-08-26 04:08:44] local.INFO: Extracted packet for processing {"connection_id":162182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b11"} 
[2026-08-26 04:08:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650449920001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:08: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-26 04:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787697371000,"timestamp_ms":1787697371000,"timestamp_seconds":1787697371,"priority":1,"record_length":96,"hex_timestamp":"000001a03b111778"} 
[2026-08-26 04: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-26 04:08: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-26 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 04:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 04: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-26 04: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-26 04:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:08:44] 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-26 04:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650449920001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650449920001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:08:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:08:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650449920001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":162182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:08:44] local.INFO: GPS data processed {"connection_id":162182,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:08:44] local.INFO: Acknowledgment sent {"connection_id":162182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:08:53] local.INFO: TCP Data received {"connection_id":162181,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162181,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:08:53] local.INFO: Processing buffer {"connection_id":162181,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:08:53] local.INFO: IMEI packet received {"connection_id":162181,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 04:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":162181,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:09:15] local.INFO: TCP Data received {"connection_id":162182,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:09:15] local.INFO: Processing buffer {"connection_id":162182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:09:15] local.INFO: Packet analysis {"connection_id":162182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b11"} 
[2026-08-26 04:09:15] local.INFO: Extracted packet for processing {"connection_id":162182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b11"} 
[2026-08-26 04:09:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650449920001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:09: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-26 04:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787697371000,"timestamp_ms":1787697371000,"timestamp_seconds":1787697371,"priority":1,"record_length":96,"hex_timestamp":"000001a03b111778"} 
[2026-08-26 04:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:09: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-26 04:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 04:09: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-26 04:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:09: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-26 04:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650449920001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650449920001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:09:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:09:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650449920001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":162182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:09:15] local.INFO: GPS data processed {"connection_id":162182,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:09:15] local.INFO: Acknowledgment sent {"connection_id":162182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:09:38] local.INFO: TCP Data received {"connection_id":163413,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:09:38] local.INFO: Processing buffer {"connection_id":163413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:09:38] local.INFO: IMEI packet received {"connection_id":163413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":163413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:09:43] local.INFO: TCP Data received {"connection_id":163413,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:09:43] local.INFO: Processing buffer {"connection_id":163413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:09:43] local.INFO: IMEI packet received {"connection_id":163413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":163413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:09:44] local.INFO: TCP Data received {"connection_id":163413,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:09:44] local.INFO: Processing buffer {"connection_id":163413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:09:44] local.INFO: Packet analysis {"connection_id":163413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b11"} 
[2026-08-26 04:09:44] local.INFO: Extracted packet for processing {"connection_id":163413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b11"} 
[2026-08-26 04:09:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650449920001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:09: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-26 04:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787697371000,"timestamp_ms":1787697371000,"timestamp_seconds":1787697371,"priority":1,"record_length":96,"hex_timestamp":"000001a03b111778"} 
[2026-08-26 04: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-26 04:09: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-26 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 04:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 04: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-26 04: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-26 04:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:09: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-26 04:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650449920001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650449920001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:09:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:09:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650449920001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":163413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:09:44] local.INFO: GPS data processed {"connection_id":163413,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:09:44] local.INFO: Acknowledgment sent {"connection_id":163413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:10:15] local.INFO: TCP Data received {"connection_id":163413,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:10:15] local.INFO: Processing buffer {"connection_id":163413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:10:15] local.INFO: Packet analysis {"connection_id":163413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b11"} 
[2026-08-26 04:10:15] local.INFO: Extracted packet for processing {"connection_id":163413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b11"} 
[2026-08-26 04:10:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650449920001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:10: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-26 04:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787697371000,"timestamp_ms":1787697371000,"timestamp_seconds":1787697371,"priority":1,"record_length":96,"hex_timestamp":"000001a03b111778"} 
[2026-08-26 04:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:10: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-26 04:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 04:10: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-26 04:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:10: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-26 04:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650449920001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650449920001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:10:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:10:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650449920001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":163413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:10:15] local.INFO: GPS data processed {"connection_id":163413,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:10:15] local.INFO: Acknowledgment sent {"connection_id":163413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:10:38] local.INFO: TCP Data received {"connection_id":162418,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:10:38] local.INFO: Processing buffer {"connection_id":162418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:10:38] local.INFO: IMEI packet received {"connection_id":162418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":162418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:10:43] local.INFO: TCP Data received {"connection_id":162418,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:10:43] local.INFO: Processing buffer {"connection_id":162418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:10:43] local.INFO: IMEI packet received {"connection_id":162418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":162418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:10:44] local.INFO: TCP Data received {"connection_id":162418,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:10:44] local.INFO: Processing buffer {"connection_id":162418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:10:44] local.INFO: Packet analysis {"connection_id":162418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b11"} 
[2026-08-26 04:10:44] local.INFO: Extracted packet for processing {"connection_id":162418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b11"} 
[2026-08-26 04:10:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650449920001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:10: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-26 04:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787697371000,"timestamp_ms":1787697371000,"timestamp_seconds":1787697371,"priority":1,"record_length":96,"hex_timestamp":"000001a03b111778"} 
[2026-08-26 04: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-26 04:10: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-26 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 04:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 04: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-26 04: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-26 04:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:10:44] 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-26 04:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650449920001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650449920001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:10:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:10:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650449920001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":162418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:10:44] local.INFO: GPS data processed {"connection_id":162418,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:10:44] local.INFO: Acknowledgment sent {"connection_id":162418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:11:15] local.INFO: TCP Data received {"connection_id":162418,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:11:15] local.INFO: Processing buffer {"connection_id":162418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:11:15] local.INFO: Packet analysis {"connection_id":162418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b11"} 
[2026-08-26 04:11:15] local.INFO: Extracted packet for processing {"connection_id":162418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b11"} 
[2026-08-26 04:11:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650449920001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:11: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-26 04:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787697371000,"timestamp_ms":1787697371000,"timestamp_seconds":1787697371,"priority":1,"record_length":96,"hex_timestamp":"000001a03b111778"} 
[2026-08-26 04: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-26 04:11: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-26 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 04:11: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-26 04: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-26 04: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-26 04:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:11:15] 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-26 04:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650449920001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650449920001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:11:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:11:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650449920001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":162418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:11:15] local.INFO: GPS data processed {"connection_id":162418,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:11:15] local.INFO: Acknowledgment sent {"connection_id":162418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:11:38] local.INFO: TCP Data received {"connection_id":163414,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:11:38] local.INFO: Processing buffer {"connection_id":163414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:11:38] local.INFO: IMEI packet received {"connection_id":163414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":163414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:11:43] local.INFO: TCP Data received {"connection_id":163414,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:11:43] local.INFO: Processing buffer {"connection_id":163414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:11:43] local.INFO: IMEI packet received {"connection_id":163414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":163414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:11:44] local.INFO: TCP Data received {"connection_id":163414,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:11:44] local.INFO: Processing buffer {"connection_id":163414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b111778012d34c14006aa4818000600e62d..."} 
[2026-08-26 04:11:44] local.INFO: Packet analysis {"connection_id":163414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b11"} 
[2026-08-26 04:11:44] local.INFO: Extracted packet for processing {"connection_id":163414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b11"} 
[2026-08-26 04:11:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650449920001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:11: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-26 04:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787697371000,"timestamp_ms":1787697371000,"timestamp_seconds":1787697371,"priority":1,"record_length":96,"hex_timestamp":"000001a03b111778"} 
[2026-08-26 04: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-26 04:11: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-26 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 04:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 04: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-26 04: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-26 04:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650449920001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650449920001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:11:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:11:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650449920001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":163414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:11:44] local.INFO: GPS data processed {"connection_id":163414,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:11:44] local.INFO: Acknowledgment sent {"connection_id":163414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:12:15] local.INFO: TCP Data received {"connection_id":163414,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:12:15] local.INFO: Processing buffer {"connection_id":163414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:12:15] local.INFO: Packet analysis {"connection_id":163414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b15"} 
[2026-08-26 04:12:15] local.INFO: Extracted packet for processing {"connection_id":163414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b15"} 
[2026-08-26 04:12:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650526976001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04: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-26 04:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787697672000,"timestamp_ms":1787697672000,"timestamp_seconds":1787697672,"priority":1,"record_length":96,"hex_timestamp":"000001a03b15af40"} 
[2026-08-26 04: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-26 04:12: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-26 04: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":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:12:15] 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-26 04: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-26 04: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-26 04:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650526976001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650526976001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:12:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:12:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650526976001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":163414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:12:15] local.INFO: GPS data processed {"connection_id":163414,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:12:15] local.INFO: Acknowledgment sent {"connection_id":163414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:12:38] local.INFO: TCP Data received {"connection_id":162183,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:12:38] local.INFO: Processing buffer {"connection_id":162183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:12:38] local.INFO: IMEI packet received {"connection_id":162183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":162183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:12:43] local.INFO: TCP Data received {"connection_id":162183,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:12:43] local.INFO: Processing buffer {"connection_id":162183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:12:43] local.INFO: IMEI packet received {"connection_id":162183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":162183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:12:44] local.INFO: TCP Data received {"connection_id":162183,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:12:44] local.INFO: Processing buffer {"connection_id":162183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:12:44] local.INFO: Packet analysis {"connection_id":162183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b15"} 
[2026-08-26 04:12:44] local.INFO: Extracted packet for processing {"connection_id":162183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b15"} 
[2026-08-26 04:12:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650526976001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:12: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-26 04:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787697672000,"timestamp_ms":1787697672000,"timestamp_seconds":1787697672,"priority":1,"record_length":96,"hex_timestamp":"000001a03b15af40"} 
[2026-08-26 04: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-26 04:12: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-26 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:12:44] 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-26 04: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-26 04: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-26 04:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:12: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-26 04:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650526976001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650526976001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:12:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:12:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650526976001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":162183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:12:44] local.INFO: GPS data processed {"connection_id":162183,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:12:44] local.INFO: Acknowledgment sent {"connection_id":162183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:13:15] local.INFO: TCP Data received {"connection_id":162183,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:13:15] local.INFO: Processing buffer {"connection_id":162183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:13:15] local.INFO: Packet analysis {"connection_id":162183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b15"} 
[2026-08-26 04:13:15] local.INFO: Extracted packet for processing {"connection_id":162183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b15"} 
[2026-08-26 04:13:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650526976001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:13: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-26 04:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787697672000,"timestamp_ms":1787697672000,"timestamp_seconds":1787697672,"priority":1,"record_length":96,"hex_timestamp":"000001a03b15af40"} 
[2026-08-26 04:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:13: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-26 04:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:13:15] 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-26 04:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:13: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-26 04:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650526976001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650526976001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:13:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:13:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650526976001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":162183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:13:15] local.INFO: GPS data processed {"connection_id":162183,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:13:15] local.INFO: Acknowledgment sent {"connection_id":162183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:13:38] local.INFO: TCP Data received {"connection_id":163415,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:13:38] local.INFO: Processing buffer {"connection_id":163415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:13:38] local.INFO: IMEI packet received {"connection_id":163415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":163415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:13:43] local.INFO: TCP Data received {"connection_id":163415,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:13:43] local.INFO: Processing buffer {"connection_id":163415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:13:43] local.INFO: IMEI packet received {"connection_id":163415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":163415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:13:44] local.INFO: TCP Data received {"connection_id":163415,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:13:44] local.INFO: Processing buffer {"connection_id":163415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:13:44] local.INFO: Packet analysis {"connection_id":163415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b15"} 
[2026-08-26 04:13:44] local.INFO: Extracted packet for processing {"connection_id":163415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b15"} 
[2026-08-26 04:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650526976001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04: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-26 04:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787697672000,"timestamp_ms":1787697672000,"timestamp_seconds":1787697672,"priority":1,"record_length":96,"hex_timestamp":"000001a03b15af40"} 
[2026-08-26 04: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-26 04:13: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-26 04: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":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:13:44] 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-26 04: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-26 04: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-26 04:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:13:44] 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-26 04:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650526976001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650526976001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:13:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:13:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650526976001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":163415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:13:44] local.INFO: GPS data processed {"connection_id":163415,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:13:44] local.INFO: Acknowledgment sent {"connection_id":163415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:14:15] local.INFO: TCP Data received {"connection_id":163415,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:14:15] local.INFO: Processing buffer {"connection_id":163415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:14:15] local.INFO: Packet analysis {"connection_id":163415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b15"} 
[2026-08-26 04:14:15] local.INFO: Extracted packet for processing {"connection_id":163415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b15"} 
[2026-08-26 04:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650526976001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:14: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-26 04:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787697672000,"timestamp_ms":1787697672000,"timestamp_seconds":1787697672,"priority":1,"record_length":96,"hex_timestamp":"000001a03b15af40"} 
[2026-08-26 04:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:14: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-26 04:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:14:15] 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-26 04:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:14: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-26 04:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650526976001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650526976001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:14:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:14:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650526976001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":163415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:14:15] local.INFO: GPS data processed {"connection_id":163415,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:14:15] local.INFO: Acknowledgment sent {"connection_id":163415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:14:28] local.INFO: TCP Data received {"connection_id":164797,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:14:28] local.INFO: Processing buffer {"connection_id":164797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:14:28] local.INFO: IMEI packet received {"connection_id":164797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 04:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":164797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:14:38] local.INFO: TCP Data received {"connection_id":164798,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:14:38] local.INFO: Processing buffer {"connection_id":164798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:14:38] local.INFO: IMEI packet received {"connection_id":164798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":164798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:14:43] local.INFO: TCP Data received {"connection_id":164798,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:14:43] local.INFO: Processing buffer {"connection_id":164798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:14:43] local.INFO: IMEI packet received {"connection_id":164798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":164798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:14:44] local.INFO: TCP Data received {"connection_id":164798,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:14:44] local.INFO: Processing buffer {"connection_id":164798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:14:44] local.INFO: Packet analysis {"connection_id":164798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b15"} 
[2026-08-26 04:14:44] local.INFO: Extracted packet for processing {"connection_id":164798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b15"} 
[2026-08-26 04:14:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650526976001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04: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-26 04:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787697672000,"timestamp_ms":1787697672000,"timestamp_seconds":1787697672,"priority":1,"record_length":96,"hex_timestamp":"000001a03b15af40"} 
[2026-08-26 04: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-26 04:14: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-26 04: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":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:14:44] 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-26 04: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-26 04: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-26 04:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650526976001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650526976001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:14:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:14:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650526976001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":164798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:14:44] local.INFO: GPS data processed {"connection_id":164798,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:14:44] local.INFO: Acknowledgment sent {"connection_id":164798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:15:16] local.INFO: TCP Data received {"connection_id":164798,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:15:16] local.INFO: Processing buffer {"connection_id":164798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:15:16] local.INFO: Packet analysis {"connection_id":164798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b15"} 
[2026-08-26 04:15:16] local.INFO: Extracted packet for processing {"connection_id":164798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b15"} 
[2026-08-26 04:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650526976001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:15: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-26 04:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787697672000,"timestamp_ms":1787697672000,"timestamp_seconds":1787697672,"priority":1,"record_length":96,"hex_timestamp":"000001a03b15af40"} 
[2026-08-26 04: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-26 04: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-26 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:15: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-26 04: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-26 04: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-26 04:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650526976001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650526976001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:15:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650526976001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":164798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:15:16] local.INFO: GPS data processed {"connection_id":164798,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:15:16] local.INFO: Acknowledgment sent {"connection_id":164798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:15:38] local.INFO: TCP Data received {"connection_id":163416,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:15:38] local.INFO: Processing buffer {"connection_id":163416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:15:38] local.INFO: IMEI packet received {"connection_id":163416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":163416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:15:43] local.INFO: TCP Data received {"connection_id":163416,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:15:43] local.INFO: Processing buffer {"connection_id":163416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:15:43] local.INFO: IMEI packet received {"connection_id":163416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":163416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:15:44] local.INFO: TCP Data received {"connection_id":163416,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:15:44] local.INFO: Processing buffer {"connection_id":163416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:15:44] local.INFO: Packet analysis {"connection_id":163416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b15"} 
[2026-08-26 04:15:44] local.INFO: Extracted packet for processing {"connection_id":163416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b15"} 
[2026-08-26 04:15:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650526976001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:15: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-26 04:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787697672000,"timestamp_ms":1787697672000,"timestamp_seconds":1787697672,"priority":1,"record_length":96,"hex_timestamp":"000001a03b15af40"} 
[2026-08-26 04: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-26 04:15: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-26 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:15:44] 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-26 04: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-26 04: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-26 04:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:15:44] 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-26 04:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650526976001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650526976001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:15:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:15:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650526976001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":163416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:15:44] local.INFO: GPS data processed {"connection_id":163416,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:15:44] local.INFO: Acknowledgment sent {"connection_id":163416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:16:17] local.INFO: TCP Data received {"connection_id":163416,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:16:17] local.INFO: Processing buffer {"connection_id":163416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:16:17] local.INFO: Packet analysis {"connection_id":163416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b15"} 
[2026-08-26 04:16:17] local.INFO: Extracted packet for processing {"connection_id":163416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b15"} 
[2026-08-26 04:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650526976001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:16: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-26 04:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787697672000,"timestamp_ms":1787697672000,"timestamp_seconds":1787697672,"priority":1,"record_length":96,"hex_timestamp":"000001a03b15af40"} 
[2026-08-26 04:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 04:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:16:17] 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-26 04:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:16:17] 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-26 04:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650526976001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650526976001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:16:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:16:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650526976001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":163416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:16:17] local.INFO: GPS data processed {"connection_id":163416,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:16:17] local.INFO: Acknowledgment sent {"connection_id":163416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:16:38] local.INFO: TCP Data received {"connection_id":163417,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:16:38] local.INFO: Processing buffer {"connection_id":163417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:16:38] local.INFO: IMEI packet received {"connection_id":163417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":163417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:16:43] local.INFO: TCP Data received {"connection_id":163417,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:16:43] local.INFO: Processing buffer {"connection_id":163417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:16:43] local.INFO: IMEI packet received {"connection_id":163417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":163417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:16:44] local.INFO: TCP Data received {"connection_id":163417,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:16:44] local.INFO: Processing buffer {"connection_id":163417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b15af40012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:16:44] local.INFO: Packet analysis {"connection_id":163417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b15"} 
[2026-08-26 04:16:44] local.INFO: Extracted packet for processing {"connection_id":163417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b15"} 
[2026-08-26 04:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650526976001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:16: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-26 04:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787697672000,"timestamp_ms":1787697672000,"timestamp_seconds":1787697672,"priority":1,"record_length":96,"hex_timestamp":"000001a03b15af40"} 
[2026-08-26 04:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:16: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-26 04:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:16:44] 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-26 04:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:16:44] 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-26 04:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650526976001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650526976001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:16:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:16:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650526976001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":163417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:16:44] local.INFO: GPS data processed {"connection_id":163417,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:16:44] local.INFO: Acknowledgment sent {"connection_id":163417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:17:15] local.INFO: TCP Data received {"connection_id":163417,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:17:15] local.INFO: Processing buffer {"connection_id":163417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:17:15] local.INFO: Packet analysis {"connection_id":163417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b1a"} 
[2026-08-26 04:17:15] local.INFO: Extracted packet for processing {"connection_id":163417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b1a"} 
[2026-08-26 04:17:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650604032001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04: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-26 04:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787697973000,"timestamp_ms":1787697973000,"timestamp_seconds":1787697973,"priority":1,"record_length":96,"hex_timestamp":"000001a03b1a4708"} 
[2026-08-26 04: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-26 04:17: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-26 04: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":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:17:15] 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-26 04: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-26 04: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-26 04:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:17: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-26 04:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650604032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650604032001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:17:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:17:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650604032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":163417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:17:15] local.INFO: GPS data processed {"connection_id":163417,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:17:15] local.INFO: Acknowledgment sent {"connection_id":163417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:17:38] local.INFO: TCP Data received {"connection_id":162184,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:17:38] local.INFO: Processing buffer {"connection_id":162184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:17:38] local.INFO: IMEI packet received {"connection_id":162184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":162184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:17:44] local.INFO: TCP Data received {"connection_id":162184,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:17:44] local.INFO: Processing buffer {"connection_id":162184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:17:44] local.INFO: IMEI packet received {"connection_id":162184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":162184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:17:44] local.INFO: TCP Data received {"connection_id":162184,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:17:44] local.INFO: Processing buffer {"connection_id":162184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:17:44] local.INFO: Packet analysis {"connection_id":162184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b1a"} 
[2026-08-26 04:17:44] local.INFO: Extracted packet for processing {"connection_id":162184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b1a"} 
[2026-08-26 04:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650604032001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:17: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-26 04:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787697973000,"timestamp_ms":1787697973000,"timestamp_seconds":1787697973,"priority":1,"record_length":96,"hex_timestamp":"000001a03b1a4708"} 
[2026-08-26 04:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:17: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-26 04:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:17:44] 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-26 04:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:17:44] 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-26 04:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650604032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650604032001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:17:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650604032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":162184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:17:44] local.INFO: GPS data processed {"connection_id":162184,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:17:44] local.INFO: Acknowledgment sent {"connection_id":162184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:18:16] local.INFO: TCP Data received {"connection_id":162184,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:18:16] local.INFO: Processing buffer {"connection_id":162184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:18:16] local.INFO: Packet analysis {"connection_id":162184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b1a"} 
[2026-08-26 04:18:16] local.INFO: Extracted packet for processing {"connection_id":162184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b1a"} 
[2026-08-26 04:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650604032001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04: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-26 04:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787697973000,"timestamp_ms":1787697973000,"timestamp_seconds":1787697973,"priority":1,"record_length":96,"hex_timestamp":"000001a03b1a4708"} 
[2026-08-26 04:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 04:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:18: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-26 04:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:18: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-26 04:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650604032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650604032001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:18:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:18:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650604032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":162184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:18:16] local.INFO: GPS data processed {"connection_id":162184,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:18:16] local.INFO: Acknowledgment sent {"connection_id":162184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:18:38] local.INFO: TCP Data received {"connection_id":164800,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:18:38] local.INFO: Processing buffer {"connection_id":164800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:18:38] local.INFO: IMEI packet received {"connection_id":164800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":164800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:18:43] local.INFO: TCP Data received {"connection_id":164800,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:18:43] local.INFO: Processing buffer {"connection_id":164800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:18:43] local.INFO: IMEI packet received {"connection_id":164800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":164800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:18:44] local.INFO: TCP Data received {"connection_id":164800,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:18:44] local.INFO: Processing buffer {"connection_id":164800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:18:44] local.INFO: Packet analysis {"connection_id":164800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b1a"} 
[2026-08-26 04:18:44] local.INFO: Extracted packet for processing {"connection_id":164800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b1a"} 
[2026-08-26 04:18:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650604032001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:18: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-26 04:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787697973000,"timestamp_ms":1787697973000,"timestamp_seconds":1787697973,"priority":1,"record_length":96,"hex_timestamp":"000001a03b1a4708"} 
[2026-08-26 04: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-26 04:18: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-26 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:18:44] 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-26 04: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-26 04: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-26 04:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:18:44] 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-26 04:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650604032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650604032001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:18:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:18:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650604032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":164800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:18:44] local.INFO: GPS data processed {"connection_id":164800,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:18:44] local.INFO: Acknowledgment sent {"connection_id":164800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:19:15] local.INFO: TCP Data received {"connection_id":164800,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:19:15] local.INFO: Processing buffer {"connection_id":164800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:19:15] local.INFO: Packet analysis {"connection_id":164800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b1a"} 
[2026-08-26 04:19:15] local.INFO: Extracted packet for processing {"connection_id":164800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b1a"} 
[2026-08-26 04:19:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650604032001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:19: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-26 04:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787697973000,"timestamp_ms":1787697973000,"timestamp_seconds":1787697973,"priority":1,"record_length":96,"hex_timestamp":"000001a03b1a4708"} 
[2026-08-26 04:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:19: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-26 04:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:19:15] 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-26 04:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:19: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-26 04:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650604032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650604032001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:19:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:19:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650604032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":164800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:19:15] local.INFO: GPS data processed {"connection_id":164800,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:19:15] local.INFO: Acknowledgment sent {"connection_id":164800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:19:38] local.INFO: TCP Data received {"connection_id":162185,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:19:38] local.INFO: Processing buffer {"connection_id":162185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:19:38] local.INFO: IMEI packet received {"connection_id":162185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":162185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:19:43] local.INFO: TCP Data received {"connection_id":162185,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:19:43] local.INFO: Processing buffer {"connection_id":162185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:19:43] local.INFO: IMEI packet received {"connection_id":162185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":162185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:19:44] local.INFO: TCP Data received {"connection_id":162185,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:19:44] local.INFO: Processing buffer {"connection_id":162185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:19:44] local.INFO: Packet analysis {"connection_id":162185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b1a"} 
[2026-08-26 04:19:44] local.INFO: Extracted packet for processing {"connection_id":162185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b1a"} 
[2026-08-26 04:19:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650604032001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:19: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-26 04:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787697973000,"timestamp_ms":1787697973000,"timestamp_seconds":1787697973,"priority":1,"record_length":96,"hex_timestamp":"000001a03b1a4708"} 
[2026-08-26 04: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-26 04:19: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-26 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:19:44] 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-26 04: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-26 04: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-26 04:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:19:44] 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-26 04:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650604032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650604032001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:19:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:19:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650604032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":162185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:19:44] local.INFO: GPS data processed {"connection_id":162185,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:19:44] local.INFO: Acknowledgment sent {"connection_id":162185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:20:03] local.INFO: TCP Data received {"connection_id":164799,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164799,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:20:03] local.INFO: Processing buffer {"connection_id":164799,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:20:03] local.INFO: IMEI packet received {"connection_id":164799,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 04:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":164799,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:20:15] local.INFO: TCP Data received {"connection_id":162185,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:20:15] local.INFO: Processing buffer {"connection_id":162185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:20:15] local.INFO: Packet analysis {"connection_id":162185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b1a"} 
[2026-08-26 04:20:15] local.INFO: Extracted packet for processing {"connection_id":162185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b1a"} 
[2026-08-26 04:20:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650604032001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:20: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-26 04:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787697973000,"timestamp_ms":1787697973000,"timestamp_seconds":1787697973,"priority":1,"record_length":96,"hex_timestamp":"000001a03b1a4708"} 
[2026-08-26 04: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-26 04:20: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-26 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:20:15] 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-26 04: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-26 04: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-26 04:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:20: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-26 04:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650604032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650604032001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:20:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:20:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650604032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":162185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:20:15] local.INFO: GPS data processed {"connection_id":162185,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:20:15] local.INFO: Acknowledgment sent {"connection_id":162185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:20:38] local.INFO: TCP Data received {"connection_id":162186,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:20:38] local.INFO: Processing buffer {"connection_id":162186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:20:38] local.INFO: IMEI packet received {"connection_id":162186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":162186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:20:43] local.INFO: TCP Data received {"connection_id":162186,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:20:43] local.INFO: Processing buffer {"connection_id":162186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:20:43] local.INFO: IMEI packet received {"connection_id":162186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":162186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:20:44] local.INFO: TCP Data received {"connection_id":162186,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:20:44] local.INFO: Processing buffer {"connection_id":162186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:20:44] local.INFO: Packet analysis {"connection_id":162186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b1a"} 
[2026-08-26 04:20:44] local.INFO: Extracted packet for processing {"connection_id":162186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b1a"} 
[2026-08-26 04:20:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650604032001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:20: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-26 04:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787697973000,"timestamp_ms":1787697973000,"timestamp_seconds":1787697973,"priority":1,"record_length":96,"hex_timestamp":"000001a03b1a4708"} 
[2026-08-26 04: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-26 04:20: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-26 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:20:44] 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-26 04: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-26 04: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-26 04:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650604032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650604032001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:20:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:20:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650604032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":162186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:20:44] local.INFO: GPS data processed {"connection_id":162186,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:20:44] local.INFO: Acknowledgment sent {"connection_id":162186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:21:15] local.INFO: TCP Data received {"connection_id":162186,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:21:15] local.INFO: Processing buffer {"connection_id":162186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:21:15] local.INFO: Packet analysis {"connection_id":162186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b1a"} 
[2026-08-26 04:21:15] local.INFO: Extracted packet for processing {"connection_id":162186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b1a"} 
[2026-08-26 04:21:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650604032001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:21: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-26 04:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787697973000,"timestamp_ms":1787697973000,"timestamp_seconds":1787697973,"priority":1,"record_length":96,"hex_timestamp":"000001a03b1a4708"} 
[2026-08-26 04: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-26 04: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-26 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:21:15] 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-26 04: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-26 04: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-26 04:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:21: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-26 04:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650604032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650604032001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:21:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:21:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650604032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":162186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:21:15] local.INFO: GPS data processed {"connection_id":162186,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:21:15] local.INFO: Acknowledgment sent {"connection_id":162186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:21:43] local.INFO: TCP Data received {"connection_id":164801,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:21:43] local.INFO: Processing buffer {"connection_id":164801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:21:43] local.INFO: IMEI packet received {"connection_id":164801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":164801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:21:48] local.INFO: TCP Data received {"connection_id":164801,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:21:48] local.INFO: Processing buffer {"connection_id":164801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:21:48] local.INFO: IMEI packet received {"connection_id":164801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":164801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:21:49] local.INFO: TCP Data received {"connection_id":164801,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:21:49] local.INFO: Processing buffer {"connection_id":164801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b1a4708012d34c14006aa4818000500e62f..."} 
[2026-08-26 04:21:49] local.INFO: Packet analysis {"connection_id":164801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b1a"} 
[2026-08-26 04:21:49] local.INFO: Extracted packet for processing {"connection_id":164801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b1a"} 
[2026-08-26 04:21:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650604032001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:21: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-26 04:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787697973000,"timestamp_ms":1787697973000,"timestamp_seconds":1787697973,"priority":1,"record_length":96,"hex_timestamp":"000001a03b1a4708"} 
[2026-08-26 04: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-26 04:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:21:49] 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-26 04: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-26 04: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-26 04:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:21:49] 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-26 04:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650604032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650604032001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:21:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:21:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650604032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":164801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:21:49] local.INFO: GPS data processed {"connection_id":164801,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:21:49] local.INFO: Acknowledgment sent {"connection_id":164801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:21:53] local.INFO: TCP Data received {"connection_id":164801,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:21:53] local.INFO: Processing buffer {"connection_id":164801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:21:53] local.INFO: Packet analysis {"connection_id":164801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b1e"} 
[2026-08-26 04:21:53] local.INFO: Extracted packet for processing {"connection_id":164801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b1e"} 
[2026-08-26 04:21:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650681088001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 04:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787698274000,"timestamp_ms":1787698274000,"timestamp_seconds":1787698274,"priority":1,"record_length":96,"hex_timestamp":"000001a03b1eded0"} 
[2026-08-26 04:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 04:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:21:53] 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-26 04:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:21:53] 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-26 04:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650681088001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650681088001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:21:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:21:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650681088001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":164801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:21:53] local.INFO: GPS data processed {"connection_id":164801,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:21:53] local.INFO: Acknowledgment sent {"connection_id":164801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:22:38] local.INFO: TCP Data received {"connection_id":162419,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:22:38] local.INFO: Processing buffer {"connection_id":162419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:22:38] local.INFO: IMEI packet received {"connection_id":162419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":162419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:22:43] local.INFO: TCP Data received {"connection_id":162419,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:22:43] local.INFO: Processing buffer {"connection_id":162419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:22:43] local.INFO: IMEI packet received {"connection_id":162419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":162419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:22:44] local.INFO: TCP Data received {"connection_id":162419,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:22:44] local.INFO: Processing buffer {"connection_id":162419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:22:44] local.INFO: Packet analysis {"connection_id":162419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b1e"} 
[2026-08-26 04:22:44] local.INFO: Extracted packet for processing {"connection_id":162419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b1e"} 
[2026-08-26 04:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650681088001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:22: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-26 04:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787698274000,"timestamp_ms":1787698274000,"timestamp_seconds":1787698274,"priority":1,"record_length":96,"hex_timestamp":"000001a03b1eded0"} 
[2026-08-26 04: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-26 04:22: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-26 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:22: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-26 04: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-26 04: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-26 04:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:22:44] 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-26 04:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650681088001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650681088001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:22:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650681088001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":162419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:22:44] local.INFO: GPS data processed {"connection_id":162419,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:22:44] local.INFO: Acknowledgment sent {"connection_id":162419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:23:15] local.INFO: TCP Data received {"connection_id":162419,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:23:15] local.INFO: Processing buffer {"connection_id":162419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:23:15] local.INFO: Packet analysis {"connection_id":162419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b1e"} 
[2026-08-26 04:23:15] local.INFO: Extracted packet for processing {"connection_id":162419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b1e"} 
[2026-08-26 04:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650681088001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04: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-26 04:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787698274000,"timestamp_ms":1787698274000,"timestamp_seconds":1787698274,"priority":1,"record_length":96,"hex_timestamp":"000001a03b1eded0"} 
[2026-08-26 04:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:23: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-26 04:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:23: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-26 04:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:23:15] 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-26 04:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650681088001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650681088001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650681088001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":162419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:23:15] local.INFO: GPS data processed {"connection_id":162419,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:23:15] local.INFO: Acknowledgment sent {"connection_id":162419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:23:38] local.INFO: TCP Data received {"connection_id":164802,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:23:38] local.INFO: Processing buffer {"connection_id":164802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:23:38] local.INFO: IMEI packet received {"connection_id":164802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":164802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:23:43] local.INFO: TCP Data received {"connection_id":164802,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:23:43] local.INFO: Processing buffer {"connection_id":164802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:23:43] local.INFO: IMEI packet received {"connection_id":164802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":164802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:23:44] local.INFO: TCP Data received {"connection_id":164802,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:23:44] local.INFO: Processing buffer {"connection_id":164802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:23:44] local.INFO: Packet analysis {"connection_id":164802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b1e"} 
[2026-08-26 04:23:44] local.INFO: Extracted packet for processing {"connection_id":164802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b1e"} 
[2026-08-26 04:23:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650681088001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:23: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-26 04:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787698274000,"timestamp_ms":1787698274000,"timestamp_seconds":1787698274,"priority":1,"record_length":96,"hex_timestamp":"000001a03b1eded0"} 
[2026-08-26 04: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-26 04:23: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-26 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:23: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-26 04: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-26 04: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-26 04:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:23:44] 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-26 04:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650681088001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650681088001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:23:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:23:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650681088001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":164802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:23:44] local.INFO: GPS data processed {"connection_id":164802,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:23:44] local.INFO: Acknowledgment sent {"connection_id":164802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:24:15] local.INFO: TCP Data received {"connection_id":164802,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:24:15] local.INFO: Processing buffer {"connection_id":164802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:24:15] local.INFO: Packet analysis {"connection_id":164802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b1e"} 
[2026-08-26 04:24:15] local.INFO: Extracted packet for processing {"connection_id":164802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b1e"} 
[2026-08-26 04:24:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650681088001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:24: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-26 04:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787698274000,"timestamp_ms":1787698274000,"timestamp_seconds":1787698274,"priority":1,"record_length":96,"hex_timestamp":"000001a03b1eded0"} 
[2026-08-26 04:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:24: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-26 04:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:24: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-26 04:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:24:15] 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-26 04:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650681088001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650681088001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:24:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:24:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650681088001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":164802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:24:15] local.INFO: GPS data processed {"connection_id":164802,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:24:15] local.INFO: Acknowledgment sent {"connection_id":164802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:24:38] local.INFO: TCP Data received {"connection_id":162187,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:24:38] local.INFO: Processing buffer {"connection_id":162187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:24:38] local.INFO: IMEI packet received {"connection_id":162187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":162187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:24:43] local.INFO: TCP Data received {"connection_id":162187,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:24:43] local.INFO: Processing buffer {"connection_id":162187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:24:43] local.INFO: IMEI packet received {"connection_id":162187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":162187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:24:44] local.INFO: TCP Data received {"connection_id":162187,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:24:44] local.INFO: Processing buffer {"connection_id":162187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:24:44] local.INFO: Packet analysis {"connection_id":162187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b1e"} 
[2026-08-26 04:24:44] local.INFO: Extracted packet for processing {"connection_id":162187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b1e"} 
[2026-08-26 04:24:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650681088001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:24: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-26 04:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787698274000,"timestamp_ms":1787698274000,"timestamp_seconds":1787698274,"priority":1,"record_length":96,"hex_timestamp":"000001a03b1eded0"} 
[2026-08-26 04: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-26 04:24: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-26 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:24: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-26 04: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-26 04: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-26 04:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:24: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-26 04:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650681088001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650681088001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:24:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:24:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650681088001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":162187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:24:44] local.INFO: GPS data processed {"connection_id":162187,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:24:44] local.INFO: Acknowledgment sent {"connection_id":162187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:25:18] local.INFO: TCP Data received {"connection_id":162187,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:25:18] local.INFO: Processing buffer {"connection_id":162187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:25:18] local.INFO: Packet analysis {"connection_id":162187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b1e"} 
[2026-08-26 04:25:18] local.INFO: Extracted packet for processing {"connection_id":162187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b1e"} 
[2026-08-26 04:25:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650681088001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:25: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-26 04:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787698274000,"timestamp_ms":1787698274000,"timestamp_seconds":1787698274,"priority":1,"record_length":96,"hex_timestamp":"000001a03b1eded0"} 
[2026-08-26 04: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-26 04:25: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-26 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:25: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-26 04: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-26 04: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-26 04:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:25:18] 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-26 04:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650681088001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650681088001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:25:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:25:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650681088001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":162187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:25:18] local.INFO: GPS data processed {"connection_id":162187,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:25:18] local.INFO: Acknowledgment sent {"connection_id":162187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:25:38] local.INFO: TCP Data received {"connection_id":163418,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:25:38] local.INFO: Processing buffer {"connection_id":163418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:25:38] local.INFO: IMEI packet received {"connection_id":163418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 04:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":163418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:25:43] local.INFO: TCP Data received {"connection_id":163419,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:25:43] local.INFO: Processing buffer {"connection_id":163419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:25:43] local.INFO: IMEI packet received {"connection_id":163419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":163419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:25:48] local.INFO: TCP Data received {"connection_id":163419,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:25:48] local.INFO: Processing buffer {"connection_id":163419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:25:48] local.INFO: IMEI packet received {"connection_id":163419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":163419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:25:49] local.INFO: TCP Data received {"connection_id":163419,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:25:49] local.INFO: Processing buffer {"connection_id":163419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:25:49] local.INFO: Packet analysis {"connection_id":163419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b1e"} 
[2026-08-26 04:25:49] local.INFO: Extracted packet for processing {"connection_id":163419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b1e"} 
[2026-08-26 04:25:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650681088001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:25: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-26 04:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787698274000,"timestamp_ms":1787698274000,"timestamp_seconds":1787698274,"priority":1,"record_length":96,"hex_timestamp":"000001a03b1eded0"} 
[2026-08-26 04: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-26 04:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:25:49] 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-26 04: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-26 04: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-26 04:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:25:49] 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-26 04:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650681088001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650681088001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:25:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:25:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650681088001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":163419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:25:49] local.INFO: GPS data processed {"connection_id":163419,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:25:49] local.INFO: Acknowledgment sent {"connection_id":163419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:25:53] local.INFO: TCP Data received {"connection_id":163419,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:25:53] local.INFO: Processing buffer {"connection_id":163419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:25:53] local.INFO: Packet analysis {"connection_id":163419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b1e"} 
[2026-08-26 04:25:53] local.INFO: Extracted packet for processing {"connection_id":163419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b1e"} 
[2026-08-26 04:25:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650681088001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 04:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787698274000,"timestamp_ms":1787698274000,"timestamp_seconds":1787698274,"priority":1,"record_length":96,"hex_timestamp":"000001a03b1eded0"} 
[2026-08-26 04: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-26 04:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:25:53] 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-26 04: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-26 04: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-26 04:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:25:53] 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-26 04:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650681088001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650681088001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:25:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:25:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650681088001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":163419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:25:53] local.INFO: GPS data processed {"connection_id":163419,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:25:53] local.INFO: Acknowledgment sent {"connection_id":163419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:26:38] local.INFO: TCP Data received {"connection_id":163420,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:26:38] local.INFO: Processing buffer {"connection_id":163420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:26:38] local.INFO: IMEI packet received {"connection_id":163420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":163420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:26:43] local.INFO: TCP Data received {"connection_id":163420,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:26:43] local.INFO: Processing buffer {"connection_id":163420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:26:43] local.INFO: IMEI packet received {"connection_id":163420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":163420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:26:44] local.INFO: TCP Data received {"connection_id":163420,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:26:44] local.INFO: Processing buffer {"connection_id":163420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b1eded0012d34c14006aa4818000900e62f..."} 
[2026-08-26 04:26:44] local.INFO: Packet analysis {"connection_id":163420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b1e"} 
[2026-08-26 04:26:44] local.INFO: Extracted packet for processing {"connection_id":163420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b1e"} 
[2026-08-26 04:26:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650681088001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:26: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-26 04:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787698274000,"timestamp_ms":1787698274000,"timestamp_seconds":1787698274,"priority":1,"record_length":96,"hex_timestamp":"000001a03b1eded0"} 
[2026-08-26 04: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-26 04:26: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-26 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:26: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-26 04: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-26 04: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-26 04:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:26:44] 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-26 04:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650681088001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650681088001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:26:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:26:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650681088001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":163420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:26:44] local.INFO: GPS data processed {"connection_id":163420,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:26:44] local.INFO: Acknowledgment sent {"connection_id":163420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:27:15] local.INFO: TCP Data received {"connection_id":163420,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:27:15] local.INFO: Processing buffer {"connection_id":163420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:27:15] local.INFO: Packet analysis {"connection_id":163420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b23"} 
[2026-08-26 04:27:15] local.INFO: Extracted packet for processing {"connection_id":163420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b23"} 
[2026-08-26 04:27:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650758144001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:27: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-26 04:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787698575000,"timestamp_ms":1787698575000,"timestamp_seconds":1787698575,"priority":1,"record_length":96,"hex_timestamp":"000001a03b237698"} 
[2026-08-26 04: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-26 04: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-26 04: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-26 04: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-26 04: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-26 04: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-26 04:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:27:15] 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-26 04:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650758144001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650758144001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:27:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:27:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650758144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":163420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:27:15] local.INFO: GPS data processed {"connection_id":163420,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:27:15] local.INFO: Acknowledgment sent {"connection_id":163420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:27:38] local.INFO: TCP Data received {"connection_id":162188,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:27:38] local.INFO: Processing buffer {"connection_id":162188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:27:38] local.INFO: IMEI packet received {"connection_id":162188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":162188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:27:43] local.INFO: TCP Data received {"connection_id":162188,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:27:43] local.INFO: Processing buffer {"connection_id":162188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:27:43] local.INFO: IMEI packet received {"connection_id":162188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":162188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:27:44] local.INFO: TCP Data received {"connection_id":162188,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:27:44] local.INFO: Processing buffer {"connection_id":162188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:27:44] local.INFO: Packet analysis {"connection_id":162188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b23"} 
[2026-08-26 04:27:44] local.INFO: Extracted packet for processing {"connection_id":162188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b23"} 
[2026-08-26 04:27:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650758144001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:27: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-26 04:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787698575000,"timestamp_ms":1787698575000,"timestamp_seconds":1787698575,"priority":1,"record_length":96,"hex_timestamp":"000001a03b237698"} 
[2026-08-26 04: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-26 04:27: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-26 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 04:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 04: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-26 04: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-26 04:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:27:44] 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-26 04:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650758144001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650758144001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:27:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:27:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650758144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":162188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:27:44] local.INFO: GPS data processed {"connection_id":162188,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:27:44] local.INFO: Acknowledgment sent {"connection_id":162188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:28:16] local.INFO: TCP Data received {"connection_id":162188,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:28:16] local.INFO: Processing buffer {"connection_id":162188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:28:16] local.INFO: Packet analysis {"connection_id":162188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b23"} 
[2026-08-26 04:28:16] local.INFO: Extracted packet for processing {"connection_id":162188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b23"} 
[2026-08-26 04:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650758144001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04: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-26 04:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787698575000,"timestamp_ms":1787698575000,"timestamp_seconds":1787698575,"priority":1,"record_length":96,"hex_timestamp":"000001a03b237698"} 
[2026-08-26 04: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-26 04:28: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-26 04: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":255,"data_length":795,"current_offset":136} 
[2026-08-26 04:28: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-26 04: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-26 04: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-26 04:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:28: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-26 04:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650758144001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650758144001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:28:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650758144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":162188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:28:16] local.INFO: GPS data processed {"connection_id":162188,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:28:16] local.INFO: Acknowledgment sent {"connection_id":162188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:28:38] local.INFO: TCP Data received {"connection_id":164803,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:28:38] local.INFO: Processing buffer {"connection_id":164803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:28:38] local.INFO: IMEI packet received {"connection_id":164803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":164803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:28:44] local.INFO: TCP Data received {"connection_id":164803,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:28:44] local.INFO: Processing buffer {"connection_id":164803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:28:44] local.INFO: IMEI packet received {"connection_id":164803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":164803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:28:46] local.INFO: TCP Data received {"connection_id":164803,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:28:46] local.INFO: Processing buffer {"connection_id":164803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:28:46] local.INFO: Packet analysis {"connection_id":164803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b23"} 
[2026-08-26 04:28:46] local.INFO: Extracted packet for processing {"connection_id":164803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b23"} 
[2026-08-26 04:28:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650758144001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 04:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787698575000,"timestamp_ms":1787698575000,"timestamp_seconds":1787698575,"priority":1,"record_length":96,"hex_timestamp":"000001a03b237698"} 
[2026-08-26 04:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 04:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 04:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 04:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650758144001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650758144001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:28:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:28:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650758144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":164803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:28:46] local.INFO: GPS data processed {"connection_id":164803,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:28:46] local.INFO: Acknowledgment sent {"connection_id":164803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:29:17] local.INFO: TCP Data received {"connection_id":164803,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:29:17] local.INFO: Processing buffer {"connection_id":164803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:29:17] local.INFO: Packet analysis {"connection_id":164803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b23"} 
[2026-08-26 04:29:17] local.INFO: Extracted packet for processing {"connection_id":164803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b23"} 
[2026-08-26 04:29:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650758144001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:29: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-26 04:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787698575000,"timestamp_ms":1787698575000,"timestamp_seconds":1787698575,"priority":1,"record_length":96,"hex_timestamp":"000001a03b237698"} 
[2026-08-26 04:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:29: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-26 04:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 04:29: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-26 04:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:29: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-26 04:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650758144001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650758144001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:29:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650758144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":164803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:29:17] local.INFO: GPS data processed {"connection_id":164803,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:29:17] local.INFO: Acknowledgment sent {"connection_id":164803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:29:38] local.INFO: TCP Data received {"connection_id":162189,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:29:38] local.INFO: Processing buffer {"connection_id":162189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:29:38] local.INFO: IMEI packet received {"connection_id":162189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":162189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:29:43] local.INFO: TCP Data received {"connection_id":162189,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:29:43] local.INFO: Processing buffer {"connection_id":162189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:29:43] local.INFO: IMEI packet received {"connection_id":162189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":162189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:29:44] local.INFO: TCP Data received {"connection_id":162189,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:29:44] local.INFO: Processing buffer {"connection_id":162189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:29:44] local.INFO: Packet analysis {"connection_id":162189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b23"} 
[2026-08-26 04:29:44] local.INFO: Extracted packet for processing {"connection_id":162189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b23"} 
[2026-08-26 04:29:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650758144001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:29: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-26 04:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787698575000,"timestamp_ms":1787698575000,"timestamp_seconds":1787698575,"priority":1,"record_length":96,"hex_timestamp":"000001a03b237698"} 
[2026-08-26 04: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-26 04:29: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-26 04:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 04:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 04: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-26 04: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-26 04:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:29:44] 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-26 04:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650758144001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650758144001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:29:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:29:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650758144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":162189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:29:44] local.INFO: GPS data processed {"connection_id":162189,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:29:44] local.INFO: Acknowledgment sent {"connection_id":162189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:30:16] local.INFO: TCP Data received {"connection_id":162189,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:30:16] local.INFO: Processing buffer {"connection_id":162189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:30:16] local.INFO: Packet analysis {"connection_id":162189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b23"} 
[2026-08-26 04:30:16] local.INFO: Extracted packet for processing {"connection_id":162189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b23"} 
[2026-08-26 04:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650758144001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04: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-26 04:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787698575000,"timestamp_ms":1787698575000,"timestamp_seconds":1787698575,"priority":1,"record_length":96,"hex_timestamp":"000001a03b237698"} 
[2026-08-26 04: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-26 04:30: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-26 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 04:30: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-26 04: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-26 04: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-26 04:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:30:16] 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-26 04:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650758144001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650758144001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:30:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:30:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650758144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":162189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:30:16] local.INFO: GPS data processed {"connection_id":162189,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:30:16] local.INFO: Acknowledgment sent {"connection_id":162189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:30:38] local.INFO: TCP Data received {"connection_id":163421,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:30:38] local.INFO: Processing buffer {"connection_id":163421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:30:38] local.INFO: IMEI packet received {"connection_id":163421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":163421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:30:43] local.INFO: TCP Data received {"connection_id":163421,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:30:43] local.INFO: Processing buffer {"connection_id":163421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:30:43] local.INFO: IMEI packet received {"connection_id":163421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":163421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:30:44] local.INFO: TCP Data received {"connection_id":163421,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:30:44] local.INFO: Processing buffer {"connection_id":163421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:30:44] local.INFO: Packet analysis {"connection_id":163421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b23"} 
[2026-08-26 04:30:44] local.INFO: Extracted packet for processing {"connection_id":163421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b23"} 
[2026-08-26 04:30:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650758144001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:30: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-26 04:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787698575000,"timestamp_ms":1787698575000,"timestamp_seconds":1787698575,"priority":1,"record_length":96,"hex_timestamp":"000001a03b237698"} 
[2026-08-26 04: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-26 04:30: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-26 04:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 04:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 04: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-26 04: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-26 04:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:30:44] 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-26 04:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650758144001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650758144001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:30:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:30:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650758144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":163421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:30:44] local.INFO: GPS data processed {"connection_id":163421,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:30:44] local.INFO: Acknowledgment sent {"connection_id":163421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:31:13] local.INFO: TCP Data received {"connection_id":162421,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162421,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:31:13] local.INFO: Processing buffer {"connection_id":162421,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:31:13] local.INFO: IMEI packet received {"connection_id":162421,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 04:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":162421,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:31:16] local.INFO: TCP Data received {"connection_id":163421,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:31:16] local.INFO: Processing buffer {"connection_id":163421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:31:16] local.INFO: Packet analysis {"connection_id":163421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b23"} 
[2026-08-26 04:31:16] local.INFO: Extracted packet for processing {"connection_id":163421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b23"} 
[2026-08-26 04:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650758144001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:31: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-26 04:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787698575000,"timestamp_ms":1787698575000,"timestamp_seconds":1787698575,"priority":1,"record_length":96,"hex_timestamp":"000001a03b237698"} 
[2026-08-26 04:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:31: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-26 04:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 04:31: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-26 04:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:31: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-26 04:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650758144001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650758144001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:31:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650758144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":163421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:31:16] local.INFO: GPS data processed {"connection_id":163421,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:31:16] local.INFO: Acknowledgment sent {"connection_id":163421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:31:38] local.INFO: TCP Data received {"connection_id":162190,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:31:38] local.INFO: Processing buffer {"connection_id":162190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:31:38] local.INFO: IMEI packet received {"connection_id":162190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":162190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:31:43] local.INFO: TCP Data received {"connection_id":162190,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:31:43] local.INFO: Processing buffer {"connection_id":162190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:31:43] local.INFO: IMEI packet received {"connection_id":162190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":162190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:31:44] local.INFO: TCP Data received {"connection_id":162190,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:31:44] local.INFO: Processing buffer {"connection_id":162190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b237698012d34c14006aa4818000a00e62f..."} 
[2026-08-26 04:31:44] local.INFO: Packet analysis {"connection_id":162190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b23"} 
[2026-08-26 04:31:44] local.INFO: Extracted packet for processing {"connection_id":162190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b23"} 
[2026-08-26 04:31:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650758144001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:31: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-26 04:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787698575000,"timestamp_ms":1787698575000,"timestamp_seconds":1787698575,"priority":1,"record_length":96,"hex_timestamp":"000001a03b237698"} 
[2026-08-26 04: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-26 04:31: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-26 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 04:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 04: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-26 04: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-26 04:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650758144001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650758144001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:31:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:31:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650758144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":162190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:31:44] local.INFO: GPS data processed {"connection_id":162190,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:31:44] local.INFO: Acknowledgment sent {"connection_id":162190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:32:15] local.INFO: TCP Data received {"connection_id":162190,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:32:15] local.INFO: Processing buffer {"connection_id":162190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:32:15] local.INFO: Packet analysis {"connection_id":162190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b28"} 
[2026-08-26 04:32:15] local.INFO: Extracted packet for processing {"connection_id":162190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b28"} 
[2026-08-26 04:32:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650835200001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04: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-26 04:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787698876000,"timestamp_ms":1787698876000,"timestamp_seconds":1787698876,"priority":1,"record_length":96,"hex_timestamp":"000001a03b280e60"} 
[2026-08-26 04: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-26 04:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 04: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:32: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-26 04: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-26 04: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-26 04:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650835200001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650835200001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:32:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:32:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650835200001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":162190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:32:15] local.INFO: GPS data processed {"connection_id":162190,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:32:15] local.INFO: Acknowledgment sent {"connection_id":162190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:32:38] local.INFO: TCP Data received {"connection_id":162422,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:32:38] local.INFO: Processing buffer {"connection_id":162422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:32:38] local.INFO: IMEI packet received {"connection_id":162422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":162422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:32:43] local.INFO: TCP Data received {"connection_id":162422,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:32:43] local.INFO: Processing buffer {"connection_id":162422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:32:43] local.INFO: IMEI packet received {"connection_id":162422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":162422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:32:44] local.INFO: TCP Data received {"connection_id":162422,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:32:44] local.INFO: Processing buffer {"connection_id":162422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:32:44] local.INFO: Packet analysis {"connection_id":162422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b28"} 
[2026-08-26 04:32:44] local.INFO: Extracted packet for processing {"connection_id":162422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b28"} 
[2026-08-26 04:32:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650835200001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:32: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-26 04:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787698876000,"timestamp_ms":1787698876000,"timestamp_seconds":1787698876,"priority":1,"record_length":96,"hex_timestamp":"000001a03b280e60"} 
[2026-08-26 04: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-26 04:32: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-26 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:32: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-26 04: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-26 04: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-26 04:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:32:44] 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-26 04:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650835200001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650835200001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:32:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:32:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650835200001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":162422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:32:44] local.INFO: GPS data processed {"connection_id":162422,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:32:44] local.INFO: Acknowledgment sent {"connection_id":162422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:33:15] local.INFO: TCP Data received {"connection_id":162422,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:33:15] local.INFO: Processing buffer {"connection_id":162422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:33:15] local.INFO: Packet analysis {"connection_id":162422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b28"} 
[2026-08-26 04:33:15] local.INFO: Extracted packet for processing {"connection_id":162422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b28"} 
[2026-08-26 04:33:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650835200001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04: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-26 04:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787698876000,"timestamp_ms":1787698876000,"timestamp_seconds":1787698876,"priority":1,"record_length":96,"hex_timestamp":"000001a03b280e60"} 
[2026-08-26 04: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-26 04:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:33: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-26 04: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-26 04: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-26 04:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:33: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-26 04:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650835200001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650835200001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:33:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:33:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650835200001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":162422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:33:15] local.INFO: GPS data processed {"connection_id":162422,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:33:15] local.INFO: Acknowledgment sent {"connection_id":162422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:33:38] local.INFO: TCP Data received {"connection_id":164804,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:33:38] local.INFO: Processing buffer {"connection_id":164804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:33:38] local.INFO: IMEI packet received {"connection_id":164804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":164804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:33:43] local.INFO: TCP Data received {"connection_id":164804,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:33:43] local.INFO: Processing buffer {"connection_id":164804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:33:43] local.INFO: IMEI packet received {"connection_id":164804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":164804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:33:44] local.INFO: TCP Data received {"connection_id":164804,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:33:44] local.INFO: Processing buffer {"connection_id":164804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:33:44] local.INFO: Packet analysis {"connection_id":164804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b28"} 
[2026-08-26 04:33:44] local.INFO: Extracted packet for processing {"connection_id":164804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b28"} 
[2026-08-26 04:33:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650835200001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:33: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-26 04:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787698876000,"timestamp_ms":1787698876000,"timestamp_seconds":1787698876,"priority":1,"record_length":96,"hex_timestamp":"000001a03b280e60"} 
[2026-08-26 04: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-26 04:33: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-26 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:33: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-26 04: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-26 04: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-26 04:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:33: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-26 04:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650835200001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650835200001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:33:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:33:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650835200001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":164804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:33:44] local.INFO: GPS data processed {"connection_id":164804,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:33:44] local.INFO: Acknowledgment sent {"connection_id":164804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:34:16] local.INFO: TCP Data received {"connection_id":164804,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:34:16] local.INFO: Processing buffer {"connection_id":164804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:34:16] local.INFO: Packet analysis {"connection_id":164804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b28"} 
[2026-08-26 04:34:16] local.INFO: Extracted packet for processing {"connection_id":164804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b28"} 
[2026-08-26 04:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650835200001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:34: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-26 04:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787698876000,"timestamp_ms":1787698876000,"timestamp_seconds":1787698876,"priority":1,"record_length":96,"hex_timestamp":"000001a03b280e60"} 
[2026-08-26 04:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:34: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-26 04:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:34: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-26 04:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:34: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-26 04:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650835200001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650835200001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:34:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:34:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650835200001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":164804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:34:16] local.INFO: GPS data processed {"connection_id":164804,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:34:16] local.INFO: Acknowledgment sent {"connection_id":164804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:34:38] local.INFO: TCP Data received {"connection_id":162423,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:34:38] local.INFO: Processing buffer {"connection_id":162423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:34:38] local.INFO: IMEI packet received {"connection_id":162423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":162423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:34:43] local.INFO: TCP Data received {"connection_id":162423,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:34:43] local.INFO: Processing buffer {"connection_id":162423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:34:43] local.INFO: IMEI packet received {"connection_id":162423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":162423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:34:44] local.INFO: TCP Data received {"connection_id":162423,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:34:44] local.INFO: Processing buffer {"connection_id":162423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:34:44] local.INFO: Packet analysis {"connection_id":162423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b28"} 
[2026-08-26 04:34:44] local.INFO: Extracted packet for processing {"connection_id":162423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b28"} 
[2026-08-26 04:34:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650835200001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:34: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-26 04:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787698876000,"timestamp_ms":1787698876000,"timestamp_seconds":1787698876,"priority":1,"record_length":96,"hex_timestamp":"000001a03b280e60"} 
[2026-08-26 04: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-26 04:34: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-26 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:34: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-26 04: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-26 04: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-26 04:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:34:44] 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-26 04:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650835200001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650835200001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:34:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:34:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650835200001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":162423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:34:44] local.INFO: GPS data processed {"connection_id":162423,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:34:44] local.INFO: Acknowledgment sent {"connection_id":162423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:35:15] local.INFO: TCP Data received {"connection_id":162423,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:35:15] local.INFO: Processing buffer {"connection_id":162423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:35:15] local.INFO: Packet analysis {"connection_id":162423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b28"} 
[2026-08-26 04:35:15] local.INFO: Extracted packet for processing {"connection_id":162423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b28"} 
[2026-08-26 04:35:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650835200001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:35: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-26 04:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787698876000,"timestamp_ms":1787698876000,"timestamp_seconds":1787698876,"priority":1,"record_length":96,"hex_timestamp":"000001a03b280e60"} 
[2026-08-26 04: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-26 04:35: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-26 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:35: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-26 04: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-26 04: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-26 04:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:35: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-26 04:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650835200001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650835200001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:35:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:35:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650835200001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":162423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:35:15] local.INFO: GPS data processed {"connection_id":162423,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:35:15] local.INFO: Acknowledgment sent {"connection_id":162423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:35:38] local.INFO: TCP Data received {"connection_id":163423,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:35:38] local.INFO: Processing buffer {"connection_id":163423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:35:38] local.INFO: IMEI packet received {"connection_id":163423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":163423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:35:43] local.INFO: TCP Data received {"connection_id":163423,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:35:43] local.INFO: Processing buffer {"connection_id":163423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:35:43] local.INFO: IMEI packet received {"connection_id":163423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":163423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:35:44] local.INFO: TCP Data received {"connection_id":163423,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:35:44] local.INFO: Processing buffer {"connection_id":163423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:35:44] local.INFO: Packet analysis {"connection_id":163423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b28"} 
[2026-08-26 04:35:44] local.INFO: Extracted packet for processing {"connection_id":163423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b28"} 
[2026-08-26 04:35:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650835200001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:35: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-26 04:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787698876000,"timestamp_ms":1787698876000,"timestamp_seconds":1787698876,"priority":1,"record_length":96,"hex_timestamp":"000001a03b280e60"} 
[2026-08-26 04: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-26 04:35: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-26 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:35: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-26 04: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-26 04: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-26 04:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:35:44] 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-26 04:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650835200001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650835200001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:35:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:35:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650835200001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":163423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:35:44] local.INFO: GPS data processed {"connection_id":163423,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:35:44] local.INFO: Acknowledgment sent {"connection_id":163423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:36:16] local.INFO: TCP Data received {"connection_id":163423,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:36:16] local.INFO: Processing buffer {"connection_id":163423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:36:16] local.INFO: Packet analysis {"connection_id":163423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b28"} 
[2026-08-26 04:36:16] local.INFO: Extracted packet for processing {"connection_id":163423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b28"} 
[2026-08-26 04:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650835200001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04: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-26 04:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787698876000,"timestamp_ms":1787698876000,"timestamp_seconds":1787698876,"priority":1,"record_length":96,"hex_timestamp":"000001a03b280e60"} 
[2026-08-26 04: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-26 04:36: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-26 04: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-26 04: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-26 04: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-26 04: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-26 04:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:36: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-26 04:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650835200001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650835200001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:36:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650835200001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":163423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:36:16] local.INFO: GPS data processed {"connection_id":163423,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:36:16] local.INFO: Acknowledgment sent {"connection_id":163423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:36:38] local.INFO: TCP Data received {"connection_id":163424,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:36:38] local.INFO: Processing buffer {"connection_id":163424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:36:38] local.INFO: IMEI packet received {"connection_id":163424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":163424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:36:43] local.INFO: TCP Data received {"connection_id":163424,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:36:43] local.INFO: Processing buffer {"connection_id":163424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:36:43] local.INFO: IMEI packet received {"connection_id":163424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":163424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:36:44] local.INFO: TCP Data received {"connection_id":163424,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:36:44] local.INFO: Processing buffer {"connection_id":163424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b280e60012d34c14006aa4818000400e62e..."} 
[2026-08-26 04:36:44] local.INFO: Packet analysis {"connection_id":163424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b28"} 
[2026-08-26 04:36:44] local.INFO: Extracted packet for processing {"connection_id":163424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b28"} 
[2026-08-26 04:36:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650835200001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:36: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-26 04:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787698876000,"timestamp_ms":1787698876000,"timestamp_seconds":1787698876,"priority":1,"record_length":96,"hex_timestamp":"000001a03b280e60"} 
[2026-08-26 04:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:36: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-26 04:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:36: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-26 04:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:36: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-26 04:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650835200001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650835200001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:36:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:36:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650835200001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":163424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:36:44] local.INFO: GPS data processed {"connection_id":163424,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:36:44] local.INFO: Acknowledgment sent {"connection_id":163424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:36:48] local.INFO: TCP Data received {"connection_id":163422,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:36:48] local.INFO: Processing buffer {"connection_id":163422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:36:48] local.INFO: IMEI packet received {"connection_id":163422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 04:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":163422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:37:15] local.INFO: TCP Data received {"connection_id":163424,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:37:15] local.INFO: Processing buffer {"connection_id":163424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:37:15] local.INFO: Packet analysis {"connection_id":163424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b2c"} 
[2026-08-26 04:37:15] local.INFO: Extracted packet for processing {"connection_id":163424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b2c"} 
[2026-08-26 04:37:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650912256001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:37: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-26 04:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787699177000,"timestamp_ms":1787699177000,"timestamp_seconds":1787699177,"priority":1,"record_length":96,"hex_timestamp":"000001a03b2ca628"} 
[2026-08-26 04:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 04:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:37: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-26 04:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:37: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-26 04:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650912256001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650912256001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:37:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:37:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650912256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":163424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:37:15] local.INFO: GPS data processed {"connection_id":163424,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:37:15] local.INFO: Acknowledgment sent {"connection_id":163424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:37:38] local.INFO: TCP Data received {"connection_id":162424,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:37:38] local.INFO: Processing buffer {"connection_id":162424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:37:38] local.INFO: IMEI packet received {"connection_id":162424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":162424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:37:43] local.INFO: TCP Data received {"connection_id":162424,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:37:43] local.INFO: Processing buffer {"connection_id":162424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:37:43] local.INFO: IMEI packet received {"connection_id":162424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":162424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:37:44] local.INFO: TCP Data received {"connection_id":162424,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:37:44] local.INFO: Processing buffer {"connection_id":162424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:37:44] local.INFO: Packet analysis {"connection_id":162424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b2c"} 
[2026-08-26 04:37:44] local.INFO: Extracted packet for processing {"connection_id":162424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b2c"} 
[2026-08-26 04:37:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650912256001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:37: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-26 04:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787699177000,"timestamp_ms":1787699177000,"timestamp_seconds":1787699177,"priority":1,"record_length":96,"hex_timestamp":"000001a03b2ca628"} 
[2026-08-26 04: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-26 04:37: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-26 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:37: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-26 04: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-26 04: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-26 04:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650912256001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650912256001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:37:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:37:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650912256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":162424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:37:44] local.INFO: GPS data processed {"connection_id":162424,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:37:44] local.INFO: Acknowledgment sent {"connection_id":162424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:37:48] local.INFO: TCP Data received {"connection_id":162424,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:37:48] local.INFO: Processing buffer {"connection_id":162424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:37:48] local.INFO: Packet analysis {"connection_id":162424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b2c"} 
[2026-08-26 04:37:48] local.INFO: Extracted packet for processing {"connection_id":162424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b2c"} 
[2026-08-26 04:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650912256001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 04:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787699177000,"timestamp_ms":1787699177000,"timestamp_seconds":1787699177,"priority":1,"record_length":96,"hex_timestamp":"000001a03b2ca628"} 
[2026-08-26 04: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-26 04:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:37:48] 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-26 04: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-26 04: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-26 04:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650912256001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650912256001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:37:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650912256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":162424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:37:48] local.INFO: GPS data processed {"connection_id":162424,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:37:48] local.INFO: Acknowledgment sent {"connection_id":162424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:38:20] local.INFO: TCP Data received {"connection_id":162424,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:38:20] local.INFO: Processing buffer {"connection_id":162424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:38:20] local.INFO: Packet analysis {"connection_id":162424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b2c"} 
[2026-08-26 04:38:20] local.INFO: Extracted packet for processing {"connection_id":162424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b2c"} 
[2026-08-26 04:38:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650912256001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:38: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-26 04:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787699177000,"timestamp_ms":1787699177000,"timestamp_seconds":1787699177,"priority":1,"record_length":96,"hex_timestamp":"000001a03b2ca628"} 
[2026-08-26 04: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-26 04:38: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-26 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:38: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-26 04: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-26 04: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-26 04:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650912256001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650912256001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:38:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:38:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650912256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":162424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:38:20] local.INFO: GPS data processed {"connection_id":162424,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:38:20] local.INFO: Acknowledgment sent {"connection_id":162424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:38:38] local.INFO: TCP Data received {"connection_id":163426,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:38:38] local.INFO: Processing buffer {"connection_id":163426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:38:38] local.INFO: IMEI packet received {"connection_id":163426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":163426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:38:43] local.INFO: TCP Data received {"connection_id":163426,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:38:43] local.INFO: Processing buffer {"connection_id":163426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:38:43] local.INFO: IMEI packet received {"connection_id":163426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":163426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:38:44] local.INFO: TCP Data received {"connection_id":163426,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:38:44] local.INFO: Processing buffer {"connection_id":163426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:38:44] local.INFO: Packet analysis {"connection_id":163426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b2c"} 
[2026-08-26 04:38:44] local.INFO: Extracted packet for processing {"connection_id":163426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b2c"} 
[2026-08-26 04:38:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650912256001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:38: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-26 04:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787699177000,"timestamp_ms":1787699177000,"timestamp_seconds":1787699177,"priority":1,"record_length":96,"hex_timestamp":"000001a03b2ca628"} 
[2026-08-26 04: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-26 04:38: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-26 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:38: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-26 04: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-26 04: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-26 04:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650912256001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650912256001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:38:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:38:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650912256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":163426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:38:44] local.INFO: GPS data processed {"connection_id":163426,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:38:44] local.INFO: Acknowledgment sent {"connection_id":163426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:39:15] local.INFO: TCP Data received {"connection_id":163426,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:39:15] local.INFO: Processing buffer {"connection_id":163426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:39:15] local.INFO: Packet analysis {"connection_id":163426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b2c"} 
[2026-08-26 04:39:15] local.INFO: Extracted packet for processing {"connection_id":163426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b2c"} 
[2026-08-26 04:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650912256001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:39: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-26 04:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787699177000,"timestamp_ms":1787699177000,"timestamp_seconds":1787699177,"priority":1,"record_length":96,"hex_timestamp":"000001a03b2ca628"} 
[2026-08-26 04: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-26 04: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-26 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:39: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-26 04: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-26 04: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-26 04:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:39: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-26 04:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650912256001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650912256001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650912256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":163426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:39:15] local.INFO: GPS data processed {"connection_id":163426,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:39:15] local.INFO: Acknowledgment sent {"connection_id":163426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:39:38] local.INFO: TCP Data received {"connection_id":162191,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:39:38] local.INFO: Processing buffer {"connection_id":162191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:39:38] local.INFO: IMEI packet received {"connection_id":162191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":162191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:39:43] local.INFO: TCP Data received {"connection_id":162191,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:39:43] local.INFO: Processing buffer {"connection_id":162191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:39:43] local.INFO: IMEI packet received {"connection_id":162191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":162191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:39:44] local.INFO: TCP Data received {"connection_id":162191,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:39:44] local.INFO: Processing buffer {"connection_id":162191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:39:44] local.INFO: Packet analysis {"connection_id":162191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b2c"} 
[2026-08-26 04:39:44] local.INFO: Extracted packet for processing {"connection_id":162191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b2c"} 
[2026-08-26 04:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650912256001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:39: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-26 04:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787699177000,"timestamp_ms":1787699177000,"timestamp_seconds":1787699177,"priority":1,"record_length":96,"hex_timestamp":"000001a03b2ca628"} 
[2026-08-26 04:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:39: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-26 04:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:39: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-26 04:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650912256001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650912256001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:39:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:39:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650912256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":162191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:39:44] local.INFO: GPS data processed {"connection_id":162191,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:39:44] local.INFO: Acknowledgment sent {"connection_id":162191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:40:16] local.INFO: TCP Data received {"connection_id":162191,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:40:16] local.INFO: Processing buffer {"connection_id":162191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:40:16] local.INFO: Packet analysis {"connection_id":162191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b2c"} 
[2026-08-26 04:40:16] local.INFO: Extracted packet for processing {"connection_id":162191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b2c"} 
[2026-08-26 04:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650912256001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:40: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-26 04:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787699177000,"timestamp_ms":1787699177000,"timestamp_seconds":1787699177,"priority":1,"record_length":96,"hex_timestamp":"000001a03b2ca628"} 
[2026-08-26 04:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:40: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-26 04:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:40: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-26 04:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:40: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-26 04:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650912256001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650912256001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:40:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:40:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650912256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":162191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:40:16] local.INFO: GPS data processed {"connection_id":162191,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:40:16] local.INFO: Acknowledgment sent {"connection_id":162191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:40:38] local.INFO: TCP Data received {"connection_id":164805,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:40:38] local.INFO: Processing buffer {"connection_id":164805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:40:38] local.INFO: IMEI packet received {"connection_id":164805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":164805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:40:43] local.INFO: TCP Data received {"connection_id":164805,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:40:43] local.INFO: Processing buffer {"connection_id":164805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:40:43] local.INFO: IMEI packet received {"connection_id":164805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":164805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:40:44] local.INFO: TCP Data received {"connection_id":164805,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:40:44] local.INFO: Processing buffer {"connection_id":164805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:40:44] local.INFO: Packet analysis {"connection_id":164805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b2c"} 
[2026-08-26 04:40:44] local.INFO: Extracted packet for processing {"connection_id":164805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b2c"} 
[2026-08-26 04:40:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650912256001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:40: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-26 04:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787699177000,"timestamp_ms":1787699177000,"timestamp_seconds":1787699177,"priority":1,"record_length":96,"hex_timestamp":"000001a03b2ca628"} 
[2026-08-26 04: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-26 04:40: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-26 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:40: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-26 04:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04: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-26 04:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650912256001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650912256001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:40:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:40:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650912256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":164805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:40:44] local.INFO: GPS data processed {"connection_id":164805,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:40:44] local.INFO: Acknowledgment sent {"connection_id":164805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:41:17] local.INFO: TCP Data received {"connection_id":164805,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:41:17] local.INFO: Processing buffer {"connection_id":164805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:41:17] local.INFO: Packet analysis {"connection_id":164805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b2c"} 
[2026-08-26 04:41:17] local.INFO: Extracted packet for processing {"connection_id":164805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b2c"} 
[2026-08-26 04:41:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650912256001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:41: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-26 04:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787699177000,"timestamp_ms":1787699177000,"timestamp_seconds":1787699177,"priority":1,"record_length":96,"hex_timestamp":"000001a03b2ca628"} 
[2026-08-26 04: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-26 04:41: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-26 04: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:41:17] 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-26 04: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-26 04: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-26 04:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:41: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-26 04:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650912256001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650912256001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:41:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:41:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650912256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":164805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:41:17] local.INFO: GPS data processed {"connection_id":164805,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:41:17] local.INFO: Acknowledgment sent {"connection_id":164805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:41:38] local.INFO: TCP Data received {"connection_id":163427,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:41:38] local.INFO: Processing buffer {"connection_id":163427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:41:38] local.INFO: IMEI packet received {"connection_id":163427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":163427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:41:43] local.INFO: TCP Data received {"connection_id":163427,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:41:43] local.INFO: Processing buffer {"connection_id":163427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:41:43] local.INFO: IMEI packet received {"connection_id":163427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":163427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:41:44] local.INFO: TCP Data received {"connection_id":163427,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:41:44] local.INFO: Processing buffer {"connection_id":163427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b2ca628012d34c14006aa4818000400e62f..."} 
[2026-08-26 04:41:44] local.INFO: Packet analysis {"connection_id":163427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b2c"} 
[2026-08-26 04:41:44] local.INFO: Extracted packet for processing {"connection_id":163427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b2c"} 
[2026-08-26 04:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650912256001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:41: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-26 04:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787699177000,"timestamp_ms":1787699177000,"timestamp_seconds":1787699177,"priority":1,"record_length":96,"hex_timestamp":"000001a03b2ca628"} 
[2026-08-26 04:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:41: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-26 04:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:41: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-26 04:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650912256001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650912256001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:41:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:41:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650912256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":163427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:41:44] local.INFO: GPS data processed {"connection_id":163427,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:41:44] local.INFO: Acknowledgment sent {"connection_id":163427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:42:15] local.INFO: TCP Data received {"connection_id":163427,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:42:15] local.INFO: Processing buffer {"connection_id":163427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:42:15] local.INFO: Packet analysis {"connection_id":163427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b31"} 
[2026-08-26 04:42:15] local.INFO: Extracted packet for processing {"connection_id":163427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b31"} 
[2026-08-26 04:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650989312001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04: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-26 04:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787699478000,"timestamp_ms":1787699478000,"timestamp_seconds":1787699478,"priority":1,"record_length":96,"hex_timestamp":"000001a03b313df0"} 
[2026-08-26 04: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-26 04:42: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-26 04: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:42: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-26 04: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-26 04: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-26 04:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:42: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-26 04:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650989312001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650989312001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:42:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650989312001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":163427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:42:15] local.INFO: GPS data processed {"connection_id":163427,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:42:15] local.INFO: Acknowledgment sent {"connection_id":163427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:42:23] local.INFO: TCP Data received {"connection_id":163425,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:42:23] local.INFO: Processing buffer {"connection_id":163425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:42:23] local.INFO: IMEI packet received {"connection_id":163425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 04:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":163425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:42:38] local.INFO: TCP Data received {"connection_id":162192,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:42:38] local.INFO: Processing buffer {"connection_id":162192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:42:38] local.INFO: IMEI packet received {"connection_id":162192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":162192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:42:43] local.INFO: TCP Data received {"connection_id":162192,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:42:43] local.INFO: Processing buffer {"connection_id":162192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:42:43] local.INFO: IMEI packet received {"connection_id":162192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":162192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:42:44] local.INFO: TCP Data received {"connection_id":162192,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:42:44] local.INFO: Processing buffer {"connection_id":162192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:42:44] local.INFO: Packet analysis {"connection_id":162192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b31"} 
[2026-08-26 04:42:44] local.INFO: Extracted packet for processing {"connection_id":162192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b31"} 
[2026-08-26 04:42:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650989312001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:42: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-26 04:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787699478000,"timestamp_ms":1787699478000,"timestamp_seconds":1787699478,"priority":1,"record_length":96,"hex_timestamp":"000001a03b313df0"} 
[2026-08-26 04: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-26 04:42: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-26 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:42: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-26 04: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-26 04: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-26 04:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:42:44] 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-26 04:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650989312001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650989312001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:42:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:42:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650989312001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":162192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:42:44] local.INFO: GPS data processed {"connection_id":162192,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:42:44] local.INFO: Acknowledgment sent {"connection_id":162192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:43:03] local.INFO: TCP Data received {"connection_id":162425,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:43:03] local.INFO: Processing buffer {"connection_id":162425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:43:03] local.INFO: IMEI packet received {"connection_id":162425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 04:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":162425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:43:15] local.INFO: TCP Data received {"connection_id":162192,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:43:15] local.INFO: Processing buffer {"connection_id":162192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:43:15] local.INFO: Packet analysis {"connection_id":162192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b31"} 
[2026-08-26 04:43:15] local.INFO: Extracted packet for processing {"connection_id":162192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b31"} 
[2026-08-26 04:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650989312001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:43: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-26 04:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787699478000,"timestamp_ms":1787699478000,"timestamp_seconds":1787699478,"priority":1,"record_length":96,"hex_timestamp":"000001a03b313df0"} 
[2026-08-26 04:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:43: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-26 04:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:43: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-26 04:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:43:15] 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-26 04:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650989312001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650989312001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:43:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650989312001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":162192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:43:15] local.INFO: GPS data processed {"connection_id":162192,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:43:15] local.INFO: Acknowledgment sent {"connection_id":162192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:43:38] local.INFO: TCP Data received {"connection_id":162427,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:43:38] local.INFO: Processing buffer {"connection_id":162427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:43:38] local.INFO: IMEI packet received {"connection_id":162427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":162427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:43:43] local.INFO: TCP Data received {"connection_id":162427,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:43:43] local.INFO: Processing buffer {"connection_id":162427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:43:43] local.INFO: IMEI packet received {"connection_id":162427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":162427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:43:44] local.INFO: TCP Data received {"connection_id":162427,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:43:44] local.INFO: Processing buffer {"connection_id":162427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:43:44] local.INFO: Packet analysis {"connection_id":162427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b31"} 
[2026-08-26 04:43:44] local.INFO: Extracted packet for processing {"connection_id":162427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b31"} 
[2026-08-26 04:43:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650989312001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:43: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-26 04:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787699478000,"timestamp_ms":1787699478000,"timestamp_seconds":1787699478,"priority":1,"record_length":96,"hex_timestamp":"000001a03b313df0"} 
[2026-08-26 04: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-26 04:43: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-26 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:43: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-26 04: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-26 04: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-26 04:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:43: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-26 04:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650989312001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650989312001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:43:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:43:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650989312001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":162427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:43:44] local.INFO: GPS data processed {"connection_id":162427,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:43:44] local.INFO: Acknowledgment sent {"connection_id":162427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:44:15] local.INFO: TCP Data received {"connection_id":162427,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:44:15] local.INFO: Processing buffer {"connection_id":162427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:44:15] local.INFO: Packet analysis {"connection_id":162427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b31"} 
[2026-08-26 04:44:15] local.INFO: Extracted packet for processing {"connection_id":162427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b31"} 
[2026-08-26 04:44:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650989312001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:44: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-26 04:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787699478000,"timestamp_ms":1787699478000,"timestamp_seconds":1787699478,"priority":1,"record_length":96,"hex_timestamp":"000001a03b313df0"} 
[2026-08-26 04: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-26 04:44: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-26 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:44: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-26 04: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-26 04: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-26 04:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:44: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-26 04:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650989312001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650989312001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:44:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:44:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650989312001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":162427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:44:15] local.INFO: GPS data processed {"connection_id":162427,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:44:15] local.INFO: Acknowledgment sent {"connection_id":162427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:44:38] local.INFO: TCP Data received {"connection_id":163428,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:44:38] local.INFO: Processing buffer {"connection_id":163428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:44:38] local.INFO: IMEI packet received {"connection_id":163428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":163428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:44:43] local.INFO: TCP Data received {"connection_id":163428,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:44:43] local.INFO: Processing buffer {"connection_id":163428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:44:43] local.INFO: IMEI packet received {"connection_id":163428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":163428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:44:44] local.INFO: TCP Data received {"connection_id":163428,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:44:44] local.INFO: Processing buffer {"connection_id":163428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:44:44] local.INFO: Packet analysis {"connection_id":163428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b31"} 
[2026-08-26 04:44:44] local.INFO: Extracted packet for processing {"connection_id":163428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b31"} 
[2026-08-26 04:44:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650989312001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:44: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-26 04:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787699478000,"timestamp_ms":1787699478000,"timestamp_seconds":1787699478,"priority":1,"record_length":96,"hex_timestamp":"000001a03b313df0"} 
[2026-08-26 04: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-26 04:44: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-26 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:44: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-26 04: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-26 04: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-26 04:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650989312001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650989312001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:44:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:44:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650989312001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":163428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:44:44] local.INFO: GPS data processed {"connection_id":163428,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:44:44] local.INFO: Acknowledgment sent {"connection_id":163428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:45:16] local.INFO: TCP Data received {"connection_id":163428,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:45:16] local.INFO: Processing buffer {"connection_id":163428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:45:16] local.INFO: Packet analysis {"connection_id":163428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b31"} 
[2026-08-26 04:45:16] local.INFO: Extracted packet for processing {"connection_id":163428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b31"} 
[2026-08-26 04:45:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650989312001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04: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-26 04:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787699478000,"timestamp_ms":1787699478000,"timestamp_seconds":1787699478,"priority":1,"record_length":96,"hex_timestamp":"000001a03b313df0"} 
[2026-08-26 04: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-26 04:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04: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-26 04: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-26 04: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-26 04:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:45:16] 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-26 04:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650989312001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650989312001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:45:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:45:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650989312001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":163428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:45:16] local.INFO: GPS data processed {"connection_id":163428,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:45:16] local.INFO: Acknowledgment sent {"connection_id":163428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:45:38] local.INFO: TCP Data received {"connection_id":163429,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:45:38] local.INFO: Processing buffer {"connection_id":163429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:45:38] local.INFO: IMEI packet received {"connection_id":163429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":163429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:45:43] local.INFO: TCP Data received {"connection_id":163429,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:45:43] local.INFO: Processing buffer {"connection_id":163429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:45:43] local.INFO: IMEI packet received {"connection_id":163429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":163429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:45:44] local.INFO: TCP Data received {"connection_id":163429,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:45:44] local.INFO: Processing buffer {"connection_id":163429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:45:44] local.INFO: Packet analysis {"connection_id":163429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b31"} 
[2026-08-26 04:45:44] local.INFO: Extracted packet for processing {"connection_id":163429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b31"} 
[2026-08-26 04:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650989312001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:45: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-26 04:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787699478000,"timestamp_ms":1787699478000,"timestamp_seconds":1787699478,"priority":1,"record_length":96,"hex_timestamp":"000001a03b313df0"} 
[2026-08-26 04:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:45: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-26 04:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:45: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-26 04:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650989312001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650989312001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:45:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650989312001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":163429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:45:44] local.INFO: GPS data processed {"connection_id":163429,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:45:44] local.INFO: Acknowledgment sent {"connection_id":163429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:46:16] local.INFO: TCP Data received {"connection_id":163429,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:46:16] local.INFO: Processing buffer {"connection_id":163429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:46:16] local.INFO: Packet analysis {"connection_id":163429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b31"} 
[2026-08-26 04:46:16] local.INFO: Extracted packet for processing {"connection_id":163429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b31"} 
[2026-08-26 04:46:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650989312001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:46: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-26 04:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787699478000,"timestamp_ms":1787699478000,"timestamp_seconds":1787699478,"priority":1,"record_length":96,"hex_timestamp":"000001a03b313df0"} 
[2026-08-26 04: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-26 04:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:46: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-26 04:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04: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-26 04:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:46:16] 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-26 04:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650989312001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650989312001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:46:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:46:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650989312001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":163429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:46:16] local.INFO: GPS data processed {"connection_id":163429,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:46:16] local.INFO: Acknowledgment sent {"connection_id":163429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:46:38] local.INFO: TCP Data received {"connection_id":162428,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:46:38] local.INFO: Processing buffer {"connection_id":162428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:46:38] local.INFO: IMEI packet received {"connection_id":162428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":162428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:46:43] local.INFO: TCP Data received {"connection_id":162428,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:46:43] local.INFO: Processing buffer {"connection_id":162428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:46:43] local.INFO: IMEI packet received {"connection_id":162428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":162428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:46:44] local.INFO: TCP Data received {"connection_id":162428,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:46:44] local.INFO: Processing buffer {"connection_id":162428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b313df0012d34c14006aa4818000600e630..."} 
[2026-08-26 04:46:44] local.INFO: Packet analysis {"connection_id":162428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b31"} 
[2026-08-26 04:46:44] local.INFO: Extracted packet for processing {"connection_id":162428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b31"} 
[2026-08-26 04:46:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457650989312001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:46: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-26 04:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787699478000,"timestamp_ms":1787699478000,"timestamp_seconds":1787699478,"priority":1,"record_length":96,"hex_timestamp":"000001a03b313df0"} 
[2026-08-26 04: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-26 04:46: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-26 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 04:46: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-26 04: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-26 04: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-26 04:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457650989312001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457650989312001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:46:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:46:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457650989312001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":162428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:46:44] local.INFO: GPS data processed {"connection_id":162428,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:46:44] local.INFO: Acknowledgment sent {"connection_id":162428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:47:15] local.INFO: TCP Data received {"connection_id":162428,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:47:15] local.INFO: Processing buffer {"connection_id":162428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:47:15] local.INFO: Packet analysis {"connection_id":162428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b35"} 
[2026-08-26 04:47:15] local.INFO: Extracted packet for processing {"connection_id":162428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b35"} 
[2026-08-26 04:47:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651066368001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04: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-26 04:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787699779000,"timestamp_ms":1787699779000,"timestamp_seconds":1787699779,"priority":1,"record_length":96,"hex_timestamp":"000001a03b35d5b8"} 
[2026-08-26 04: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-26 04: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-26 04: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:47: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-26 04: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-26 04: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-26 04:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:47: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-26 04:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651066368001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651066368001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:47:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:47:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651066368001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":162428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:47:15] local.INFO: GPS data processed {"connection_id":162428,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:47:15] local.INFO: Acknowledgment sent {"connection_id":162428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:47:43] local.INFO: TCP Data received {"connection_id":163430,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:47:43] local.INFO: Processing buffer {"connection_id":163430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:47:43] local.INFO: IMEI packet received {"connection_id":163430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":163430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:47:48] local.INFO: TCP Data received {"connection_id":163430,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:47:48] local.INFO: Processing buffer {"connection_id":163430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:47:48] local.INFO: IMEI packet received {"connection_id":163430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":163430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:47:49] local.INFO: TCP Data received {"connection_id":163430,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:47:49] local.INFO: Processing buffer {"connection_id":163430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:47:49] local.INFO: Packet analysis {"connection_id":163430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b35"} 
[2026-08-26 04:47:49] local.INFO: Extracted packet for processing {"connection_id":163430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b35"} 
[2026-08-26 04:47:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651066368001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:47: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-26 04:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787699779000,"timestamp_ms":1787699779000,"timestamp_seconds":1787699779,"priority":1,"record_length":96,"hex_timestamp":"000001a03b35d5b8"} 
[2026-08-26 04:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:47: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-26 04:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:47:49] 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-26 04:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:47:49] 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-26 04:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651066368001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651066368001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:47:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:47:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651066368001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":163430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:47:49] local.INFO: GPS data processed {"connection_id":163430,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:47:49] local.INFO: Acknowledgment sent {"connection_id":163430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:47:53] local.INFO: TCP Data received {"connection_id":163430,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:47:53] local.INFO: Processing buffer {"connection_id":163430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:47:53] local.INFO: Packet analysis {"connection_id":163430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b35"} 
[2026-08-26 04:47:53] local.INFO: Extracted packet for processing {"connection_id":163430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b35"} 
[2026-08-26 04:47:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651066368001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 04:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787699779000,"timestamp_ms":1787699779000,"timestamp_seconds":1787699779,"priority":1,"record_length":96,"hex_timestamp":"000001a03b35d5b8"} 
[2026-08-26 04: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-26 04:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:47:53] 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-26 04: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-26 04: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-26 04:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:47:53] 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-26 04:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651066368001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651066368001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:47:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:47:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651066368001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":163430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:47:53] local.INFO: GPS data processed {"connection_id":163430,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:47:53] local.INFO: Acknowledgment sent {"connection_id":163430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:48:28] local.INFO: TCP Data received {"connection_id":162193,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:48:28] local.INFO: Processing buffer {"connection_id":162193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:48:28] local.INFO: IMEI packet received {"connection_id":162193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 04:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":162193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:48:38] local.INFO: TCP Data received {"connection_id":163431,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:48:38] local.INFO: Processing buffer {"connection_id":163431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:48:38] local.INFO: IMEI packet received {"connection_id":163431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":163431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:48:43] local.INFO: TCP Data received {"connection_id":163431,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:48:43] local.INFO: Processing buffer {"connection_id":163431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:48:43] local.INFO: IMEI packet received {"connection_id":163431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":163431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:48:44] local.INFO: TCP Data received {"connection_id":163431,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:48:44] local.INFO: Processing buffer {"connection_id":163431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:48:44] local.INFO: Packet analysis {"connection_id":163431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b35"} 
[2026-08-26 04:48:44] local.INFO: Extracted packet for processing {"connection_id":163431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b35"} 
[2026-08-26 04:48:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651066368001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:48: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-26 04:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787699779000,"timestamp_ms":1787699779000,"timestamp_seconds":1787699779,"priority":1,"record_length":96,"hex_timestamp":"000001a03b35d5b8"} 
[2026-08-26 04: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-26 04:48: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-26 04: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:48: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-26 04: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-26 04: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-26 04:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:48:44] 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-26 04:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651066368001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651066368001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:48:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:48:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651066368001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":163431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:48:44] local.INFO: GPS data processed {"connection_id":163431,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:48:44] local.INFO: Acknowledgment sent {"connection_id":163431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:49:15] local.INFO: TCP Data received {"connection_id":163431,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:49:15] local.INFO: Processing buffer {"connection_id":163431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:49:15] local.INFO: Packet analysis {"connection_id":163431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b35"} 
[2026-08-26 04:49:15] local.INFO: Extracted packet for processing {"connection_id":163431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b35"} 
[2026-08-26 04:49:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 04:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651066368001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 04:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787699779000,"timestamp_ms":1787699779000,"timestamp_seconds":1787699779,"priority":1,"record_length":96,"hex_timestamp":"000001a03b35d5b8"} 
[2026-08-26 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-26 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-26 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:49: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-26 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-26 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-26 04:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:49: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-26 04:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651066368001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651066368001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:49:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:49:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651066368001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":163431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:49:15] local.INFO: GPS data processed {"connection_id":163431,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:49:15] local.INFO: Acknowledgment sent {"connection_id":163431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:49:39] local.INFO: TCP Data received {"connection_id":162194,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:49:39] local.INFO: Processing buffer {"connection_id":162194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:49:39] local.INFO: IMEI packet received {"connection_id":162194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":162194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:49:43] local.INFO: TCP Data received {"connection_id":162194,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:49:43] local.INFO: Processing buffer {"connection_id":162194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:49:43] local.INFO: IMEI packet received {"connection_id":162194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":162194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:49:44] local.INFO: TCP Data received {"connection_id":162194,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:49:44] local.INFO: Processing buffer {"connection_id":162194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:49:44] local.INFO: Packet analysis {"connection_id":162194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b35"} 
[2026-08-26 04:49:44] local.INFO: Extracted packet for processing {"connection_id":162194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b35"} 
[2026-08-26 04:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651066368001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:49: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-26 04:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787699779000,"timestamp_ms":1787699779000,"timestamp_seconds":1787699779,"priority":1,"record_length":96,"hex_timestamp":"000001a03b35d5b8"} 
[2026-08-26 04: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-26 04:49: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-26 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:49: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-26 04: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-26 04: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-26 04:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:49: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-26 04:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651066368001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651066368001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:49:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:49:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651066368001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":162194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:49:44] local.INFO: GPS data processed {"connection_id":162194,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:49:44] local.INFO: Acknowledgment sent {"connection_id":162194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:50:16] local.INFO: TCP Data received {"connection_id":162194,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:50:16] local.INFO: Processing buffer {"connection_id":162194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:50:16] local.INFO: Packet analysis {"connection_id":162194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b35"} 
[2026-08-26 04:50:16] local.INFO: Extracted packet for processing {"connection_id":162194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b35"} 
[2026-08-26 04:50:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651066368001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:50: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-26 04:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787699779000,"timestamp_ms":1787699779000,"timestamp_seconds":1787699779,"priority":1,"record_length":96,"hex_timestamp":"000001a03b35d5b8"} 
[2026-08-26 04: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-26 04:50: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-26 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:50: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-26 04: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-26 04: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-26 04:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:50: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-26 04:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651066368001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651066368001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:50:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:50:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651066368001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":162194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:50:16] local.INFO: GPS data processed {"connection_id":162194,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:50:16] local.INFO: Acknowledgment sent {"connection_id":162194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:50:38] local.INFO: TCP Data received {"connection_id":162195,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:50:38] local.INFO: Processing buffer {"connection_id":162195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:50:38] local.INFO: IMEI packet received {"connection_id":162195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":162195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:50:43] local.INFO: TCP Data received {"connection_id":162195,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:50:43] local.INFO: Processing buffer {"connection_id":162195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:50:43] local.INFO: IMEI packet received {"connection_id":162195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":162195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:50:45] local.INFO: TCP Data received {"connection_id":162195,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:50:45] local.INFO: Processing buffer {"connection_id":162195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:50:45] local.INFO: Packet analysis {"connection_id":162195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b35"} 
[2026-08-26 04:50:45] local.INFO: Extracted packet for processing {"connection_id":162195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b35"} 
[2026-08-26 04:50:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651066368001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:50: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-26 04:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787699779000,"timestamp_ms":1787699779000,"timestamp_seconds":1787699779,"priority":1,"record_length":96,"hex_timestamp":"000001a03b35d5b8"} 
[2026-08-26 04: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-26 04:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:50:45] 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-26 04: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-26 04: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-26 04:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:50:45] 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-26 04:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651066368001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 04:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651066368001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:50:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:50:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651066368001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":162195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:50:45] local.INFO: GPS data processed {"connection_id":162195,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:50:45] local.INFO: Acknowledgment sent {"connection_id":162195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:51:16] local.INFO: TCP Data received {"connection_id":162195,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:51:16] local.INFO: Processing buffer {"connection_id":162195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:51:16] local.INFO: Packet analysis {"connection_id":162195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b35"} 
[2026-08-26 04:51:16] local.INFO: Extracted packet for processing {"connection_id":162195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b35"} 
[2026-08-26 04:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651066368001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:51: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-26 04:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787699779000,"timestamp_ms":1787699779000,"timestamp_seconds":1787699779,"priority":1,"record_length":96,"hex_timestamp":"000001a03b35d5b8"} 
[2026-08-26 04:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:51: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-26 04:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:51: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-26 04:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651066368001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 04:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651066368001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:51:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:51:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651066368001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":162195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:51:16] local.INFO: GPS data processed {"connection_id":162195,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:51:16] local.INFO: Acknowledgment sent {"connection_id":162195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:51:38] local.INFO: TCP Data received {"connection_id":164806,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:51:38] local.INFO: Processing buffer {"connection_id":164806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:51:38] local.INFO: IMEI packet received {"connection_id":164806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":164806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:51:43] local.INFO: TCP Data received {"connection_id":164806,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:51:43] local.INFO: Processing buffer {"connection_id":164806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:51:43] local.INFO: IMEI packet received {"connection_id":164806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":164806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:51:43] local.INFO: TCP Data received {"connection_id":164806,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:51:43] local.INFO: Processing buffer {"connection_id":164806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b35d5b8012d34c14006aa4818000600e62b..."} 
[2026-08-26 04:51:43] local.INFO: Packet analysis {"connection_id":164806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b35"} 
[2026-08-26 04:51:43] local.INFO: Extracted packet for processing {"connection_id":164806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b35"} 
[2026-08-26 04:51:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 04:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651066368001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 04:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787699779000,"timestamp_ms":1787699779000,"timestamp_seconds":1787699779,"priority":1,"record_length":96,"hex_timestamp":"000001a03b35d5b8"} 
[2026-08-26 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-26 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-26 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:51:43] 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-26 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-26 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-26 04:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:51: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-26 04:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651066368001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651066368001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:51:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:51:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651066368001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":164806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:51:43] local.INFO: GPS data processed {"connection_id":164806,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:51:43] local.INFO: Acknowledgment sent {"connection_id":164806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:52:15] local.INFO: TCP Data received {"connection_id":164806,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:52:15] local.INFO: Processing buffer {"connection_id":164806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:52:15] local.INFO: Packet analysis {"connection_id":164806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b3a"} 
[2026-08-26 04:52:15] local.INFO: Extracted packet for processing {"connection_id":164806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b3a"} 
[2026-08-26 04:52:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651143424001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:52: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-26 04:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787700080000,"timestamp_ms":1787700080000,"timestamp_seconds":1787700080,"priority":1,"record_length":96,"hex_timestamp":"000001a03b3a6d80"} 
[2026-08-26 04:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 04:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:52:15] 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-26 04:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:52: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-26 04:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651143424001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651143424001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:52:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:52:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651143424001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":164806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:52:15] local.INFO: GPS data processed {"connection_id":164806,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:52:15] local.INFO: Acknowledgment sent {"connection_id":164806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:52:43] local.INFO: TCP Data received {"connection_id":162196,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:52:43] local.INFO: Processing buffer {"connection_id":162196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:52:43] local.INFO: IMEI packet received {"connection_id":162196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":162196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:52:48] local.INFO: TCP Data received {"connection_id":162196,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:52:48] local.INFO: Processing buffer {"connection_id":162196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:52:48] local.INFO: IMEI packet received {"connection_id":162196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":162196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:52:49] local.INFO: TCP Data received {"connection_id":162196,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:52:49] local.INFO: Processing buffer {"connection_id":162196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:52:49] local.INFO: Packet analysis {"connection_id":162196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b3a"} 
[2026-08-26 04:52:49] local.INFO: Extracted packet for processing {"connection_id":162196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b3a"} 
[2026-08-26 04:52:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:52: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-26 04:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651143424001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:52: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-26 04:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787700080000,"timestamp_ms":1787700080000,"timestamp_seconds":1787700080,"priority":1,"record_length":96,"hex_timestamp":"000001a03b3a6d80"} 
[2026-08-26 04:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:52: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-26 04:52: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":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:52:49] 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-26 04:52: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-26 04:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:52:49] 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-26 04:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651143424001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651143424001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:52:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:52:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651143424001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":162196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:52:49] local.INFO: GPS data processed {"connection_id":162196,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:52:49] local.INFO: Acknowledgment sent {"connection_id":162196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:52:54] local.INFO: TCP Data received {"connection_id":162196,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:52:54] local.INFO: Processing buffer {"connection_id":162196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:52:54] local.INFO: Packet analysis {"connection_id":162196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b3a"} 
[2026-08-26 04:52:54] local.INFO: Extracted packet for processing {"connection_id":162196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b3a"} 
[2026-08-26 04:52:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651143424001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 04:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787700080000,"timestamp_ms":1787700080000,"timestamp_seconds":1787700080,"priority":1,"record_length":96,"hex_timestamp":"000001a03b3a6d80"} 
[2026-08-26 04:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 04:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:52:54] 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-26 04:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651143424001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651143424001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:52:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:52:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651143424001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":162196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:52:54] local.INFO: GPS data processed {"connection_id":162196,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:52:54] local.INFO: Acknowledgment sent {"connection_id":162196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:53:38] local.INFO: TCP Data received {"connection_id":162197,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:53:38] local.INFO: Processing buffer {"connection_id":162197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:53:38] local.INFO: IMEI packet received {"connection_id":162197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":162197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:53:43] local.INFO: TCP Data received {"connection_id":162197,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:53:43] local.INFO: Processing buffer {"connection_id":162197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:53:43] local.INFO: IMEI packet received {"connection_id":162197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":162197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:53:44] local.INFO: TCP Data received {"connection_id":162197,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:53:44] local.INFO: Processing buffer {"connection_id":162197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:53:44] local.INFO: Packet analysis {"connection_id":162197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b3a"} 
[2026-08-26 04:53:44] local.INFO: Extracted packet for processing {"connection_id":162197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b3a"} 
[2026-08-26 04:53:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651143424001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:53: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-26 04:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787700080000,"timestamp_ms":1787700080000,"timestamp_seconds":1787700080,"priority":1,"record_length":96,"hex_timestamp":"000001a03b3a6d80"} 
[2026-08-26 04: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-26 04:53: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-26 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:53:44] 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-26 04: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-26 04: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-26 04:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651143424001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651143424001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:53:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:53:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651143424001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":162197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:53:44] local.INFO: GPS data processed {"connection_id":162197,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:53:44] local.INFO: Acknowledgment sent {"connection_id":162197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:54:03] local.INFO: TCP Data received {"connection_id":162429,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:54:03] local.INFO: Processing buffer {"connection_id":162429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:54:03] local.INFO: IMEI packet received {"connection_id":162429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 04:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":162429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:54:16] local.INFO: TCP Data received {"connection_id":162197,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:54:16] local.INFO: Processing buffer {"connection_id":162197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:54:16] local.INFO: Packet analysis {"connection_id":162197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b3a"} 
[2026-08-26 04:54:16] local.INFO: Extracted packet for processing {"connection_id":162197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b3a"} 
[2026-08-26 04:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651143424001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:54: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-26 04:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787700080000,"timestamp_ms":1787700080000,"timestamp_seconds":1787700080,"priority":1,"record_length":96,"hex_timestamp":"000001a03b3a6d80"} 
[2026-08-26 04:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 04:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:54: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-26 04:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:54: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-26 04:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651143424001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651143424001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:54:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:54:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651143424001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":162197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:54:16] local.INFO: GPS data processed {"connection_id":162197,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:54:16] local.INFO: Acknowledgment sent {"connection_id":162197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:54:38] local.INFO: TCP Data received {"connection_id":164807,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:54:38] local.INFO: Processing buffer {"connection_id":164807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:54:38] local.INFO: IMEI packet received {"connection_id":164807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":164807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:54:43] local.INFO: TCP Data received {"connection_id":164807,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:54:43] local.INFO: Processing buffer {"connection_id":164807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:54:43] local.INFO: IMEI packet received {"connection_id":164807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":164807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:54:45] local.INFO: TCP Data received {"connection_id":164807,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:54:45] local.INFO: Processing buffer {"connection_id":164807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:54:45] local.INFO: Packet analysis {"connection_id":164807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b3a"} 
[2026-08-26 04:54:45] local.INFO: Extracted packet for processing {"connection_id":164807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b3a"} 
[2026-08-26 04:54:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651143424001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:54: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-26 04:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787700080000,"timestamp_ms":1787700080000,"timestamp_seconds":1787700080,"priority":1,"record_length":96,"hex_timestamp":"000001a03b3a6d80"} 
[2026-08-26 04:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:54: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-26 04:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:54:45] 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-26 04:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:54:45] 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-26 04:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651143424001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651143424001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:54:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:54:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651143424001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":164807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:54:45] local.INFO: GPS data processed {"connection_id":164807,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:54:45] local.INFO: Acknowledgment sent {"connection_id":164807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:55:17] local.INFO: TCP Data received {"connection_id":164807,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:55:17] local.INFO: Processing buffer {"connection_id":164807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:55:17] local.INFO: Packet analysis {"connection_id":164807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b3a"} 
[2026-08-26 04:55:17] local.INFO: Extracted packet for processing {"connection_id":164807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b3a"} 
[2026-08-26 04:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651143424001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04: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-26 04:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787700080000,"timestamp_ms":1787700080000,"timestamp_seconds":1787700080,"priority":1,"record_length":96,"hex_timestamp":"000001a03b3a6d80"} 
[2026-08-26 04: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-26 04: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-26 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:55:17] 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-26 04: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-26 04: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-26 04:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:55:17] 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-26 04:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651143424001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651143424001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:55:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:55:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651143424001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":164807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:55:17] local.INFO: GPS data processed {"connection_id":164807,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:55:17] local.INFO: Acknowledgment sent {"connection_id":164807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:55:38] local.INFO: TCP Data received {"connection_id":163432,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:55:38] local.INFO: Processing buffer {"connection_id":163432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:55:38] local.INFO: IMEI packet received {"connection_id":163432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":163432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:55:43] local.INFO: TCP Data received {"connection_id":163432,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:55:43] local.INFO: Processing buffer {"connection_id":163432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:55:43] local.INFO: IMEI packet received {"connection_id":163432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":163432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:55:44] local.INFO: TCP Data received {"connection_id":163432,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:55:44] local.INFO: Processing buffer {"connection_id":163432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:55:44] local.INFO: Packet analysis {"connection_id":163432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b3a"} 
[2026-08-26 04:55:44] local.INFO: Extracted packet for processing {"connection_id":163432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b3a"} 
[2026-08-26 04:55:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651143424001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:55: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-26 04:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787700080000,"timestamp_ms":1787700080000,"timestamp_seconds":1787700080,"priority":1,"record_length":96,"hex_timestamp":"000001a03b3a6d80"} 
[2026-08-26 04:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:55: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-26 04:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:55:44] 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-26 04:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:55: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-26 04:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651143424001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651143424001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:55:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:55:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651143424001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":163432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:55:44] local.INFO: GPS data processed {"connection_id":163432,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:55:44] local.INFO: Acknowledgment sent {"connection_id":163432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:56:15] local.INFO: TCP Data received {"connection_id":163432,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:56:15] local.INFO: Processing buffer {"connection_id":163432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:56:15] local.INFO: Packet analysis {"connection_id":163432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b3a"} 
[2026-08-26 04:56:15] local.INFO: Extracted packet for processing {"connection_id":163432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b3a"} 
[2026-08-26 04:56:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651143424001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:56: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-26 04:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787700080000,"timestamp_ms":1787700080000,"timestamp_seconds":1787700080,"priority":1,"record_length":96,"hex_timestamp":"000001a03b3a6d80"} 
[2026-08-26 04: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-26 04:56: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-26 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:56:15] 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-26 04: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-26 04: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-26 04:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:56: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-26 04:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651143424001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651143424001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:56:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:56:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651143424001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":163432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:56:15] local.INFO: GPS data processed {"connection_id":163432,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:56:15] local.INFO: Acknowledgment sent {"connection_id":163432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:56:38] local.INFO: TCP Data received {"connection_id":164808,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:56:38] local.INFO: Processing buffer {"connection_id":164808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:56:38] local.INFO: IMEI packet received {"connection_id":164808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":164808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:56:43] local.INFO: TCP Data received {"connection_id":164808,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:56:43] local.INFO: Processing buffer {"connection_id":164808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:56:43] local.INFO: IMEI packet received {"connection_id":164808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":164808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:56:44] local.INFO: TCP Data received {"connection_id":164808,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:56:44] local.INFO: Processing buffer {"connection_id":164808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b3a6d80012d34c14006aa4818000600e631..."} 
[2026-08-26 04:56:44] local.INFO: Packet analysis {"connection_id":164808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b3a"} 
[2026-08-26 04:56:44] local.INFO: Extracted packet for processing {"connection_id":164808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b3a"} 
[2026-08-26 04:56:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651143424001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:56: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-26 04:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787700080000,"timestamp_ms":1787700080000,"timestamp_seconds":1787700080,"priority":1,"record_length":96,"hex_timestamp":"000001a03b3a6d80"} 
[2026-08-26 04:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:56: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-26 04:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 04:56:44] 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-26 04:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:56:44] 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-26 04:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651143424001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651143424001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:56:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:56:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651143424001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":164808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:56:44] local.INFO: GPS data processed {"connection_id":164808,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:56:44] local.INFO: Acknowledgment sent {"connection_id":164808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:57:15] local.INFO: TCP Data received {"connection_id":164808,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 04:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 04:57:15] local.INFO: Processing buffer {"connection_id":164808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 04:57:15] local.INFO: Packet analysis {"connection_id":164808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b3f"} 
[2026-08-26 04:57:15] local.INFO: Extracted packet for processing {"connection_id":164808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b3f"} 
[2026-08-26 04:57:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651220480001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04: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-26 04:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787700381000,"timestamp_ms":1787700381000,"timestamp_seconds":1787700381,"priority":1,"record_length":96,"hex_timestamp":"000001a03b3f0548"} 
[2026-08-26 04: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-26 04:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 04: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:57: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-26 04: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-26 04: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-26 04:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651220480001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651220480001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:57:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:57:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651220480001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":164808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:57:15] local.INFO: GPS data processed {"connection_id":164808,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:57:15] local.INFO: Acknowledgment sent {"connection_id":164808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:57:43] local.INFO: TCP Data received {"connection_id":162430,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:57:43] local.INFO: Processing buffer {"connection_id":162430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:57:43] local.INFO: IMEI packet received {"connection_id":162430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":162430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:57:48] local.INFO: TCP Data received {"connection_id":162430,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:57:48] local.INFO: Processing buffer {"connection_id":162430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:57:48] local.INFO: IMEI packet received {"connection_id":162430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":162430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:57:49] local.INFO: TCP Data received {"connection_id":162430,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 04:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 04:57:49] local.INFO: Processing buffer {"connection_id":162430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 04:57:49] local.INFO: Packet analysis {"connection_id":162430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b3f"} 
[2026-08-26 04:57:49] local.INFO: Extracted packet for processing {"connection_id":162430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b3f"} 
[2026-08-26 04:57:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651220480001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:57: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-26 04:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787700381000,"timestamp_ms":1787700381000,"timestamp_seconds":1787700381,"priority":1,"record_length":96,"hex_timestamp":"000001a03b3f0548"} 
[2026-08-26 04: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-26 04:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:57:49] 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-26 04: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-26 04: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-26 04:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651220480001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651220480001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:57:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:57:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651220480001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":162430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:57:49] local.INFO: GPS data processed {"connection_id":162430,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:57:49] local.INFO: Acknowledgment sent {"connection_id":162430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:57:53] local.INFO: TCP Data received {"connection_id":162430,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 04:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 04:57:53] local.INFO: Processing buffer {"connection_id":162430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 04:57:53] local.INFO: Packet analysis {"connection_id":162430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b3f"} 
[2026-08-26 04:57:53] local.INFO: Extracted packet for processing {"connection_id":162430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b3f"} 
[2026-08-26 04:57:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651220480001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 04:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787700381000,"timestamp_ms":1787700381000,"timestamp_seconds":1787700381,"priority":1,"record_length":96,"hex_timestamp":"000001a03b3f0548"} 
[2026-08-26 04: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-26 04:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:57:53] 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-26 04: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-26 04: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-26 04:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:57:53] 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-26 04:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651220480001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651220480001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:57:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:57:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651220480001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":162430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:57:53] local.INFO: GPS data processed {"connection_id":162430,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:57:53] local.INFO: Acknowledgment sent {"connection_id":162430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:58:38] local.INFO: TCP Data received {"connection_id":163433,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:58:38] local.INFO: Processing buffer {"connection_id":163433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:58:38] local.INFO: IMEI packet received {"connection_id":163433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":163433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:58:43] local.INFO: TCP Data received {"connection_id":163433,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:58:43] local.INFO: Processing buffer {"connection_id":163433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:58:43] local.INFO: IMEI packet received {"connection_id":163433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":163433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:58:44] local.INFO: TCP Data received {"connection_id":163433,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 04:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 04:58:44] local.INFO: Processing buffer {"connection_id":163433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 04:58:44] local.INFO: Packet analysis {"connection_id":163433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b3f"} 
[2026-08-26 04:58:44] local.INFO: Extracted packet for processing {"connection_id":163433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b3f"} 
[2026-08-26 04:58:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651220480001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:58: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-26 04:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787700381000,"timestamp_ms":1787700381000,"timestamp_seconds":1787700381,"priority":1,"record_length":96,"hex_timestamp":"000001a03b3f0548"} 
[2026-08-26 04: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-26 04:58: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-26 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:58: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-26 04: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-26 04: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-26 04:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:58:44] 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-26 04:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651220480001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651220480001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:58:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:58:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651220480001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":163433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:58:44] local.INFO: GPS data processed {"connection_id":163433,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:58:44] local.INFO: Acknowledgment sent {"connection_id":163433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:59:15] local.INFO: TCP Data received {"connection_id":163433,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 04:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 04:59:15] local.INFO: Processing buffer {"connection_id":163433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 04:59:15] local.INFO: Packet analysis {"connection_id":163433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b3f"} 
[2026-08-26 04:59:15] local.INFO: Extracted packet for processing {"connection_id":163433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b3f"} 
[2026-08-26 04:59:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 04:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651220480001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:59: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-26 04:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787700381000,"timestamp_ms":1787700381000,"timestamp_seconds":1787700381,"priority":1,"record_length":96,"hex_timestamp":"000001a03b3f0548"} 
[2026-08-26 04:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 04:59: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-26 04:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:59: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-26 04:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 04:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 04:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 04:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651220480001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651220480001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:59:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:59:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651220480001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":163433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:59:15] local.INFO: GPS data processed {"connection_id":163433,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:59:15] local.INFO: Acknowledgment sent {"connection_id":163433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 04:59:38] local.INFO: TCP Data received {"connection_id":162431,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:59:38] local.INFO: Processing buffer {"connection_id":162431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:59:38] local.INFO: IMEI packet received {"connection_id":162431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 04:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":162431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:59:38] local.INFO: TCP Data received {"connection_id":162198,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:59:38] local.INFO: Processing buffer {"connection_id":162198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 04:59:38] local.INFO: IMEI packet received {"connection_id":162198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 04:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":162198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 04:59:43] local.INFO: TCP Data received {"connection_id":162431,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:59:43] local.INFO: Processing buffer {"connection_id":162431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 04:59:43] local.INFO: IMEI packet received {"connection_id":162431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 04:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":162431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 04:59:44] local.INFO: TCP Data received {"connection_id":162431,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 04:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 04:59:44] local.INFO: Processing buffer {"connection_id":162431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 04:59:44] local.INFO: Packet analysis {"connection_id":162431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b3f"} 
[2026-08-26 04:59:44] local.INFO: Extracted packet for processing {"connection_id":162431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b3f"} 
[2026-08-26 04:59:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 04: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-26 04:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651220480001,"note":"Value kept but may cause issues"} 
[2026-08-26 04:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 04:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 04:59: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-26 04:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787700381000,"timestamp_ms":1787700381000,"timestamp_seconds":1787700381,"priority":1,"record_length":96,"hex_timestamp":"000001a03b3f0548"} 
[2026-08-26 04: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-26 04:59: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-26 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 04:59: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-26 04: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-26 04: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-26 04:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 04:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 04:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 04:59:44] 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-26 04:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 04:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 04:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651220480001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 04:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 04:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 04:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651220480001,"description":"Unknown IO ID 0"} 
[2026-08-26 04:59:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 04:59:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 04:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 04:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 04:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651220480001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 04:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":162431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 04:59:44] local.INFO: GPS data processed {"connection_id":162431,"processed":1,"errors":0,"total":1} 
[2026-08-26 04:59:44] local.INFO: Acknowledgment sent {"connection_id":162431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:00:15] local.INFO: TCP Data received {"connection_id":162431,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 05:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 05:00:15] local.INFO: Processing buffer {"connection_id":162431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 05:00:15] local.INFO: Packet analysis {"connection_id":162431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b3f"} 
[2026-08-26 05:00:15] local.INFO: Extracted packet for processing {"connection_id":162431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b3f"} 
[2026-08-26 05:00:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651220480001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:00: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-26 05:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787700381000,"timestamp_ms":1787700381000,"timestamp_seconds":1787700381,"priority":1,"record_length":96,"hex_timestamp":"000001a03b3f0548"} 
[2026-08-26 05: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-26 05:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05: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-26 05: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-26 05: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-26 05:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:00: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-26 05:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651220480001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651220480001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:00:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:00:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651220480001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":162431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:00:15] local.INFO: GPS data processed {"connection_id":162431,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:00:15] local.INFO: Acknowledgment sent {"connection_id":162431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:00:38] local.INFO: TCP Data received {"connection_id":162199,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:00:38] local.INFO: Processing buffer {"connection_id":162199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:00:38] local.INFO: IMEI packet received {"connection_id":162199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":162199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:00:43] local.INFO: TCP Data received {"connection_id":162199,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:00:43] local.INFO: Processing buffer {"connection_id":162199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:00:43] local.INFO: IMEI packet received {"connection_id":162199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":162199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:00:44] local.INFO: TCP Data received {"connection_id":162199,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 05:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 05:00:44] local.INFO: Processing buffer {"connection_id":162199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 05:00:44] local.INFO: Packet analysis {"connection_id":162199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b3f"} 
[2026-08-26 05:00:44] local.INFO: Extracted packet for processing {"connection_id":162199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b3f"} 
[2026-08-26 05:00:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651220480001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:00: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-26 05:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787700381000,"timestamp_ms":1787700381000,"timestamp_seconds":1787700381,"priority":1,"record_length":96,"hex_timestamp":"000001a03b3f0548"} 
[2026-08-26 05:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:00: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-26 05:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:00: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-26 05:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:00:44] 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-26 05:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651220480001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651220480001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:00:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:00:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651220480001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":162199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:00:44] local.INFO: GPS data processed {"connection_id":162199,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:00:44] local.INFO: Acknowledgment sent {"connection_id":162199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:01:15] local.INFO: TCP Data received {"connection_id":162199,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 05:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 05:01:15] local.INFO: Processing buffer {"connection_id":162199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 05:01:15] local.INFO: Packet analysis {"connection_id":162199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b3f"} 
[2026-08-26 05:01:15] local.INFO: Extracted packet for processing {"connection_id":162199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b3f"} 
[2026-08-26 05:01:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651220480001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05: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-26 05:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787700381000,"timestamp_ms":1787700381000,"timestamp_seconds":1787700381,"priority":1,"record_length":96,"hex_timestamp":"000001a03b3f0548"} 
[2026-08-26 05: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-26 05:01: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-26 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:01: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-26 05: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-26 05: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-26 05:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:01:15] 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-26 05:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651220480001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651220480001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:01:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:01:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651220480001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":162199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:01:15] local.INFO: GPS data processed {"connection_id":162199,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:01:15] local.INFO: Acknowledgment sent {"connection_id":162199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:01:38] local.INFO: TCP Data received {"connection_id":163434,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:01:38] local.INFO: Processing buffer {"connection_id":163434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:01:38] local.INFO: IMEI packet received {"connection_id":163434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":163434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:01:43] local.INFO: TCP Data received {"connection_id":163434,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:01:43] local.INFO: Processing buffer {"connection_id":163434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:01:43] local.INFO: IMEI packet received {"connection_id":163434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":163434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:01:44] local.INFO: TCP Data received {"connection_id":163434,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 05:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 05:01:44] local.INFO: Processing buffer {"connection_id":163434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b3f0548012d34c14006aa4818000400e631..."} 
[2026-08-26 05:01:44] local.INFO: Packet analysis {"connection_id":163434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b3f"} 
[2026-08-26 05:01:44] local.INFO: Extracted packet for processing {"connection_id":163434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b3f"} 
[2026-08-26 05:01:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651220480001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:01: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-26 05:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787700381000,"timestamp_ms":1787700381000,"timestamp_seconds":1787700381,"priority":1,"record_length":96,"hex_timestamp":"000001a03b3f0548"} 
[2026-08-26 05: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-26 05:01: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-26 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:01: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-26 05: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-26 05: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-26 05:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:01: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-26 05:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651220480001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651220480001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:01:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:01:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651220480001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":163434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:01:44] local.INFO: GPS data processed {"connection_id":163434,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:01:44] local.INFO: Acknowledgment sent {"connection_id":163434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:02:15] local.INFO: TCP Data received {"connection_id":163434,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:02:15] local.INFO: Processing buffer {"connection_id":163434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:02:15] local.INFO: Packet analysis {"connection_id":163434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b43"} 
[2026-08-26 05:02:15] local.INFO: Extracted packet for processing {"connection_id":163434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b43"} 
[2026-08-26 05:02:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651297536001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05: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-26 05:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787700682000,"timestamp_ms":1787700682000,"timestamp_seconds":1787700682,"priority":1,"record_length":96,"hex_timestamp":"000001a03b439d10"} 
[2026-08-26 05: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-26 05: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-26 05: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-26 05: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-26 05: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-26 05: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-26 05:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:02: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-26 05:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651297536001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651297536001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:02:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:02:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651297536001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":163434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:02:16] local.INFO: GPS data processed {"connection_id":163434,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:02:16] local.INFO: Acknowledgment sent {"connection_id":163434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:02:43] local.INFO: TCP Data received {"connection_id":162432,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:02:43] local.INFO: Processing buffer {"connection_id":162432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:02:43] local.INFO: IMEI packet received {"connection_id":162432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":162432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:02:48] local.INFO: TCP Data received {"connection_id":162432,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:02:48] local.INFO: Processing buffer {"connection_id":162432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:02:48] local.INFO: IMEI packet received {"connection_id":162432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":162432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:02:49] local.INFO: TCP Data received {"connection_id":162432,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:02:49] local.INFO: Processing buffer {"connection_id":162432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:02:49] local.INFO: Packet analysis {"connection_id":162432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b43"} 
[2026-08-26 05:02:49] local.INFO: Extracted packet for processing {"connection_id":162432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b43"} 
[2026-08-26 05:02:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651297536001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:02: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-26 05:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787700682000,"timestamp_ms":1787700682000,"timestamp_seconds":1787700682,"priority":1,"record_length":96,"hex_timestamp":"000001a03b439d10"} 
[2026-08-26 05:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:02: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-26 05:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:02: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-26 05:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651297536001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651297536001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:02:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:02:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651297536001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":162432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:02:49] local.INFO: GPS data processed {"connection_id":162432,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:02:49] local.INFO: Acknowledgment sent {"connection_id":162432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:02:54] local.INFO: TCP Data received {"connection_id":162432,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:02:54] local.INFO: Processing buffer {"connection_id":162432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:02:54] local.INFO: Packet analysis {"connection_id":162432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b43"} 
[2026-08-26 05:02:54] local.INFO: Extracted packet for processing {"connection_id":162432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b43"} 
[2026-08-26 05:02:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651297536001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 05:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787700682000,"timestamp_ms":1787700682000,"timestamp_seconds":1787700682,"priority":1,"record_length":96,"hex_timestamp":"000001a03b439d10"} 
[2026-08-26 05:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 05:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651297536001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651297536001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:02:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:02:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651297536001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":162432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:02:54] local.INFO: GPS data processed {"connection_id":162432,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:02:54] local.INFO: Acknowledgment sent {"connection_id":162432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:03:38] local.INFO: TCP Data received {"connection_id":164809,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:03:38] local.INFO: Processing buffer {"connection_id":164809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:03:38] local.INFO: IMEI packet received {"connection_id":164809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":164809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:03:43] local.INFO: TCP Data received {"connection_id":164809,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:03:43] local.INFO: Processing buffer {"connection_id":164809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:03:43] local.INFO: IMEI packet received {"connection_id":164809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":164809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:03:44] local.INFO: TCP Data received {"connection_id":164809,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:03:44] local.INFO: Processing buffer {"connection_id":164809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:03:44] local.INFO: Packet analysis {"connection_id":164809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b43"} 
[2026-08-26 05:03:44] local.INFO: Extracted packet for processing {"connection_id":164809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b43"} 
[2026-08-26 05:03:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651297536001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:03: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-26 05:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787700682000,"timestamp_ms":1787700682000,"timestamp_seconds":1787700682,"priority":1,"record_length":96,"hex_timestamp":"000001a03b439d10"} 
[2026-08-26 05:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:03: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-26 05:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:03: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-26 05:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:03:44] 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-26 05:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651297536001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651297536001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:03:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:03:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651297536001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":164809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:03:44] local.INFO: GPS data processed {"connection_id":164809,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:03:44] local.INFO: Acknowledgment sent {"connection_id":164809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:04:15] local.INFO: TCP Data received {"connection_id":164809,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:04:15] local.INFO: Processing buffer {"connection_id":164809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:04:15] local.INFO: Packet analysis {"connection_id":164809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b43"} 
[2026-08-26 05:04:15] local.INFO: Extracted packet for processing {"connection_id":164809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b43"} 
[2026-08-26 05:04:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651297536001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:04: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-26 05:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787700682000,"timestamp_ms":1787700682000,"timestamp_seconds":1787700682,"priority":1,"record_length":96,"hex_timestamp":"000001a03b439d10"} 
[2026-08-26 05: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-26 05: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-26 05: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:04: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-26 05: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-26 05: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-26 05:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:04: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-26 05:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651297536001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651297536001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:04:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:04:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651297536001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":164809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:04:15] local.INFO: GPS data processed {"connection_id":164809,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:04:15] local.INFO: Acknowledgment sent {"connection_id":164809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:04:38] local.INFO: TCP Data received {"connection_id":163435,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:04:38] local.INFO: Processing buffer {"connection_id":163435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:04:38] local.INFO: IMEI packet received {"connection_id":163435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":163435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:04:43] local.INFO: TCP Data received {"connection_id":163435,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:04:43] local.INFO: Processing buffer {"connection_id":163435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:04:43] local.INFO: IMEI packet received {"connection_id":163435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":163435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:04:46] local.INFO: TCP Data received {"connection_id":163435,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:04:46] local.INFO: Processing buffer {"connection_id":163435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:04:46] local.INFO: Packet analysis {"connection_id":163435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b43"} 
[2026-08-26 05:04:46] local.INFO: Extracted packet for processing {"connection_id":163435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b43"} 
[2026-08-26 05:04:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651297536001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 05:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787700682000,"timestamp_ms":1787700682000,"timestamp_seconds":1787700682,"priority":1,"record_length":96,"hex_timestamp":"000001a03b439d10"} 
[2026-08-26 05:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:04: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-26 05:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 05:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651297536001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651297536001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:04:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:04:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651297536001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":163435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:04:46] local.INFO: GPS data processed {"connection_id":163435,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:04:46] local.INFO: Acknowledgment sent {"connection_id":163435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:05:13] local.INFO: TCP Data received {"connection_id":162433,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:05:13] local.INFO: Processing buffer {"connection_id":162433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:05:13] local.INFO: IMEI packet received {"connection_id":162433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 05:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":162433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:05:18] local.INFO: TCP Data received {"connection_id":163435,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:05:18] local.INFO: Processing buffer {"connection_id":163435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:05:18] local.INFO: Packet analysis {"connection_id":163435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b43"} 
[2026-08-26 05:05:18] local.INFO: Extracted packet for processing {"connection_id":163435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b43"} 
[2026-08-26 05:05:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651297536001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:05: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-26 05:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787700682000,"timestamp_ms":1787700682000,"timestamp_seconds":1787700682,"priority":1,"record_length":96,"hex_timestamp":"000001a03b439d10"} 
[2026-08-26 05: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-26 05:05: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-26 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 05: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-26 05: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-26 05:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651297536001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651297536001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:05:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:05:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651297536001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":163435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:05:18] local.INFO: GPS data processed {"connection_id":163435,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:05:18] local.INFO: Acknowledgment sent {"connection_id":163435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:05:38] local.INFO: TCP Data received {"connection_id":164810,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:05:38] local.INFO: Processing buffer {"connection_id":164810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:05:38] local.INFO: IMEI packet received {"connection_id":164810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":164810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:05:43] local.INFO: TCP Data received {"connection_id":164810,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:05:43] local.INFO: Processing buffer {"connection_id":164810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:05:43] local.INFO: IMEI packet received {"connection_id":164810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":164810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:05:44] local.INFO: TCP Data received {"connection_id":164810,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:05:44] local.INFO: Processing buffer {"connection_id":164810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:05:44] local.INFO: Packet analysis {"connection_id":164810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b43"} 
[2026-08-26 05:05:44] local.INFO: Extracted packet for processing {"connection_id":164810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b43"} 
[2026-08-26 05:05:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651297536001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:05: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-26 05:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787700682000,"timestamp_ms":1787700682000,"timestamp_seconds":1787700682,"priority":1,"record_length":96,"hex_timestamp":"000001a03b439d10"} 
[2026-08-26 05: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-26 05:05: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-26 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:05: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-26 05: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-26 05: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-26 05:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:05:44] local.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-26 05:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651297536001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651297536001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:05:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:05:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651297536001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":164810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:05:44] local.INFO: GPS data processed {"connection_id":164810,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:05:44] local.INFO: Acknowledgment sent {"connection_id":164810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:06:15] local.INFO: TCP Data received {"connection_id":164810,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:06:15] local.INFO: Processing buffer {"connection_id":164810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:06:15] local.INFO: Packet analysis {"connection_id":164810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b43"} 
[2026-08-26 05:06:15] local.INFO: Extracted packet for processing {"connection_id":164810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b43"} 
[2026-08-26 05:06:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651297536001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:06: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-26 05:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787700682000,"timestamp_ms":1787700682000,"timestamp_seconds":1787700682,"priority":1,"record_length":96,"hex_timestamp":"000001a03b439d10"} 
[2026-08-26 05:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:06: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-26 05:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:06: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-26 05:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:06: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-26 05:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651297536001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651297536001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:06:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:06:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651297536001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":164810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:06:15] local.INFO: GPS data processed {"connection_id":164810,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:06:15] local.INFO: Acknowledgment sent {"connection_id":164810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:06:37] local.INFO: TCP Data received {"connection_id":163436,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:06:37] local.INFO: Processing buffer {"connection_id":163436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:06:37] local.INFO: IMEI packet received {"connection_id":163436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":163436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:06:43] local.INFO: TCP Data received {"connection_id":163436,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:06:43] local.INFO: Processing buffer {"connection_id":163436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:06:43] local.INFO: IMEI packet received {"connection_id":163436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":163436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:06:44] local.INFO: TCP Data received {"connection_id":163436,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:06:44] local.INFO: Processing buffer {"connection_id":163436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b439d10012d34c14006aa4818000200e630..."} 
[2026-08-26 05:06:44] local.INFO: Packet analysis {"connection_id":163436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b43"} 
[2026-08-26 05:06:44] local.INFO: Extracted packet for processing {"connection_id":163436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b43"} 
[2026-08-26 05:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651297536001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:06: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-26 05:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787700682000,"timestamp_ms":1787700682000,"timestamp_seconds":1787700682,"priority":1,"record_length":96,"hex_timestamp":"000001a03b439d10"} 
[2026-08-26 05:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:06: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-26 05:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:06: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-26 05:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651297536001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651297536001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:06:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:06:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651297536001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":163436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:06:44] local.INFO: GPS data processed {"connection_id":163436,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:06:44] local.INFO: Acknowledgment sent {"connection_id":163436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:07:15] local.INFO: TCP Data received {"connection_id":163436,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:07:15] local.INFO: Processing buffer {"connection_id":163436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:07:15] local.INFO: Packet analysis {"connection_id":163436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b48"} 
[2026-08-26 05:07:15] local.INFO: Extracted packet for processing {"connection_id":163436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b48"} 
[2026-08-26 05:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651374592001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05: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-26 05:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787700983000,"timestamp_ms":1787700983000,"timestamp_seconds":1787700983,"priority":1,"record_length":96,"hex_timestamp":"000001a03b4834d8"} 
[2026-08-26 05: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-26 05:07: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-26 05: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:07: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-26 05: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-26 05: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-26 05:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651374592001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651374592001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:07:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651374592001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":163436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:07:15] local.INFO: GPS data processed {"connection_id":163436,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:07:15] local.INFO: Acknowledgment sent {"connection_id":163436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:07:38] local.INFO: TCP Data received {"connection_id":162200,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:07:38] local.INFO: Processing buffer {"connection_id":162200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:07:38] local.INFO: IMEI packet received {"connection_id":162200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":162200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:07:43] local.INFO: TCP Data received {"connection_id":162200,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:07:43] local.INFO: Processing buffer {"connection_id":162200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:07:43] local.INFO: IMEI packet received {"connection_id":162200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":162200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:07:44] local.INFO: TCP Data received {"connection_id":162200,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:07:44] local.INFO: Processing buffer {"connection_id":162200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:07:44] local.INFO: Packet analysis {"connection_id":162200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b48"} 
[2026-08-26 05:07:44] local.INFO: Extracted packet for processing {"connection_id":162200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b48"} 
[2026-08-26 05:07:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651374592001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:07: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-26 05:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787700983000,"timestamp_ms":1787700983000,"timestamp_seconds":1787700983,"priority":1,"record_length":96,"hex_timestamp":"000001a03b4834d8"} 
[2026-08-26 05:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:07: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-26 05:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:07: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-26 05:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:07: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-26 05:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651374592001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651374592001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:07:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:07:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651374592001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":162200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:07:44] local.INFO: GPS data processed {"connection_id":162200,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:07:44] local.INFO: Acknowledgment sent {"connection_id":162200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:08:16] local.INFO: TCP Data received {"connection_id":162200,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:08:16] local.INFO: Processing buffer {"connection_id":162200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:08:16] local.INFO: Packet analysis {"connection_id":162200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b48"} 
[2026-08-26 05:08:16] local.INFO: Extracted packet for processing {"connection_id":162200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b48"} 
[2026-08-26 05:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651374592001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05: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-26 05:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787700983000,"timestamp_ms":1787700983000,"timestamp_seconds":1787700983,"priority":1,"record_length":96,"hex_timestamp":"000001a03b4834d8"} 
[2026-08-26 05:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:08: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-26 05:08:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:08: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-26 05:08:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:08: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-26 05:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651374592001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651374592001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:08:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651374592001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":162200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:08:16] local.INFO: GPS data processed {"connection_id":162200,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:08:16] local.INFO: Acknowledgment sent {"connection_id":162200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:08:43] local.INFO: TCP Data received {"connection_id":163437,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:08:43] local.INFO: Processing buffer {"connection_id":163437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:08:43] local.INFO: IMEI packet received {"connection_id":163437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":163437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:08:48] local.INFO: TCP Data received {"connection_id":163437,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:08:48] local.INFO: Processing buffer {"connection_id":163437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:08:48] local.INFO: IMEI packet received {"connection_id":163437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":163437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:08:49] local.INFO: TCP Data received {"connection_id":163437,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:08:49] local.INFO: Processing buffer {"connection_id":163437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:08:49] local.INFO: Packet analysis {"connection_id":163437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b48"} 
[2026-08-26 05:08:49] local.INFO: Extracted packet for processing {"connection_id":163437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b48"} 
[2026-08-26 05:08:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651374592001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:08: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-26 05:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787700983000,"timestamp_ms":1787700983000,"timestamp_seconds":1787700983,"priority":1,"record_length":96,"hex_timestamp":"000001a03b4834d8"} 
[2026-08-26 05: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-26 05:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:08:49] 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-26 05: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-26 05: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-26 05:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:08:49] 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-26 05:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651374592001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651374592001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:08:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:08:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651374592001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":163437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:08:49] local.INFO: GPS data processed {"connection_id":163437,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:08:49] local.INFO: Acknowledgment sent {"connection_id":163437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:08:53] local.INFO: TCP Data received {"connection_id":163437,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:08:53] local.INFO: Processing buffer {"connection_id":163437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:08:53] local.INFO: Packet analysis {"connection_id":163437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b48"} 
[2026-08-26 05:08:53] local.INFO: Extracted packet for processing {"connection_id":163437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b48"} 
[2026-08-26 05:08:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651374592001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 05:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787700983000,"timestamp_ms":1787700983000,"timestamp_seconds":1787700983,"priority":1,"record_length":96,"hex_timestamp":"000001a03b4834d8"} 
[2026-08-26 05: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-26 05:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:08:53] 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-26 05: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-26 05: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-26 05:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:08:53] 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-26 05:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651374592001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651374592001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:08:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:08:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651374592001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":163437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:08:53] local.INFO: GPS data processed {"connection_id":163437,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:08:53] local.INFO: Acknowledgment sent {"connection_id":163437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:09:38] local.INFO: TCP Data received {"connection_id":163438,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:09:38] local.INFO: Processing buffer {"connection_id":163438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:09:38] local.INFO: IMEI packet received {"connection_id":163438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":163438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:09:43] local.INFO: TCP Data received {"connection_id":163438,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:09:43] local.INFO: Processing buffer {"connection_id":163438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:09:43] local.INFO: IMEI packet received {"connection_id":163438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":163438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:09:44] local.INFO: TCP Data received {"connection_id":163438,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:09:44] local.INFO: Processing buffer {"connection_id":163438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:09:44] local.INFO: Packet analysis {"connection_id":163438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b48"} 
[2026-08-26 05:09:44] local.INFO: Extracted packet for processing {"connection_id":163438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b48"} 
[2026-08-26 05:09:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651374592001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:09: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-26 05:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787700983000,"timestamp_ms":1787700983000,"timestamp_seconds":1787700983,"priority":1,"record_length":96,"hex_timestamp":"000001a03b4834d8"} 
[2026-08-26 05: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-26 05:09: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-26 05: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:09: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-26 05: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-26 05: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-26 05:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:09:44] 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-26 05:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651374592001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651374592001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:09:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:09:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651374592001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":163438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:09:44] local.INFO: GPS data processed {"connection_id":163438,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:09:44] local.INFO: Acknowledgment sent {"connection_id":163438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:10:15] local.INFO: TCP Data received {"connection_id":163438,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:10:15] local.INFO: Processing buffer {"connection_id":163438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:10:15] local.INFO: Packet analysis {"connection_id":163438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b48"} 
[2026-08-26 05:10:15] local.INFO: Extracted packet for processing {"connection_id":163438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b48"} 
[2026-08-26 05:10:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651374592001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:10: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-26 05:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787700983000,"timestamp_ms":1787700983000,"timestamp_seconds":1787700983,"priority":1,"record_length":96,"hex_timestamp":"000001a03b4834d8"} 
[2026-08-26 05:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:10: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-26 05:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:10: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-26 05:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:10: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-26 05:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651374592001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651374592001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:10:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:10:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651374592001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":163438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:10:15] local.INFO: GPS data processed {"connection_id":163438,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:10:15] local.INFO: Acknowledgment sent {"connection_id":163438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:10:38] local.INFO: TCP Data received {"connection_id":162201,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:10:38] local.INFO: Processing buffer {"connection_id":162201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:10:38] local.INFO: IMEI packet received {"connection_id":162201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":162201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:10:43] local.INFO: TCP Data received {"connection_id":162201,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:10:43] local.INFO: Processing buffer {"connection_id":162201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:10:43] local.INFO: IMEI packet received {"connection_id":162201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":162201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:10:44] local.INFO: TCP Data received {"connection_id":162201,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:10:44] local.INFO: Processing buffer {"connection_id":162201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:10:44] local.INFO: Packet analysis {"connection_id":162201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b48"} 
[2026-08-26 05:10:44] local.INFO: Extracted packet for processing {"connection_id":162201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b48"} 
[2026-08-26 05:10:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651374592001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:10: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-26 05:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787700983000,"timestamp_ms":1787700983000,"timestamp_seconds":1787700983,"priority":1,"record_length":96,"hex_timestamp":"000001a03b4834d8"} 
[2026-08-26 05: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-26 05:10: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-26 05: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:10: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-26 05: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-26 05: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-26 05:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:10: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-26 05:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651374592001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651374592001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:10:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:10:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651374592001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":162201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:10:44] local.INFO: GPS data processed {"connection_id":162201,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:10:44] local.INFO: Acknowledgment sent {"connection_id":162201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:10:48] local.INFO: TCP Data received {"connection_id":164811,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:10:48] local.INFO: Processing buffer {"connection_id":164811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:10:48] local.INFO: IMEI packet received {"connection_id":164811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 05:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":164811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:11:15] local.INFO: TCP Data received {"connection_id":162201,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:11:15] local.INFO: Processing buffer {"connection_id":162201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:11:15] local.INFO: Packet analysis {"connection_id":162201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b48"} 
[2026-08-26 05:11:15] local.INFO: Extracted packet for processing {"connection_id":162201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b48"} 
[2026-08-26 05:11:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651374592001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:11: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-26 05:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787700983000,"timestamp_ms":1787700983000,"timestamp_seconds":1787700983,"priority":1,"record_length":96,"hex_timestamp":"000001a03b4834d8"} 
[2026-08-26 05: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-26 05:11: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-26 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:11: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-26 05: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-26 05: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-26 05:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:11: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-26 05:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651374592001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651374592001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:11:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:11:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651374592001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":162201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:11:15] local.INFO: GPS data processed {"connection_id":162201,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:11:15] local.INFO: Acknowledgment sent {"connection_id":162201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:11:38] local.INFO: TCP Data received {"connection_id":162202,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:11:38] local.INFO: Processing buffer {"connection_id":162202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:11:38] local.INFO: IMEI packet received {"connection_id":162202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":162202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:11:43] local.INFO: TCP Data received {"connection_id":162202,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:11:43] local.INFO: Processing buffer {"connection_id":162202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:11:43] local.INFO: IMEI packet received {"connection_id":162202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":162202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:11:44] local.INFO: TCP Data received {"connection_id":162202,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:11:44] local.INFO: Processing buffer {"connection_id":162202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b4834d8012d34c14006aa4818000400e630..."} 
[2026-08-26 05:11:44] local.INFO: Packet analysis {"connection_id":162202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b48"} 
[2026-08-26 05:11:44] local.INFO: Extracted packet for processing {"connection_id":162202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b48"} 
[2026-08-26 05:11:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651374592001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:11: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-26 05:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787700983000,"timestamp_ms":1787700983000,"timestamp_seconds":1787700983,"priority":1,"record_length":96,"hex_timestamp":"000001a03b4834d8"} 
[2026-08-26 05: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-26 05:11: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-26 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:11: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-26 05: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-26 05: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-26 05:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:11:44] 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-26 05:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651374592001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651374592001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:11:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:11:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651374592001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":162202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:11:44] local.INFO: GPS data processed {"connection_id":162202,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:11:44] local.INFO: Acknowledgment sent {"connection_id":162202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:12:16] local.INFO: TCP Data received {"connection_id":162202,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:12:16] local.INFO: Processing buffer {"connection_id":162202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:12:16] local.INFO: Packet analysis {"connection_id":162202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b4c"} 
[2026-08-26 05:12:16] local.INFO: Extracted packet for processing {"connection_id":162202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b4c"} 
[2026-08-26 05:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651451648001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05: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-26 05:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787701284000,"timestamp_ms":1787701284000,"timestamp_seconds":1787701284,"priority":1,"record_length":96,"hex_timestamp":"000001a03b4ccca0"} 
[2026-08-26 05: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-26 05:12: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-26 05: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:12: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-26 05: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-26 05: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-26 05:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:12: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-26 05:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651451648001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651451648001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:12:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:12:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651451648001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":162202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:12:16] local.INFO: GPS data processed {"connection_id":162202,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:12:16] local.INFO: Acknowledgment sent {"connection_id":162202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:12:43] local.INFO: TCP Data received {"connection_id":162434,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:12:43] local.INFO: Processing buffer {"connection_id":162434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:12:43] local.INFO: IMEI packet received {"connection_id":162434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":162434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:12:48] local.INFO: TCP Data received {"connection_id":162434,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:12:48] local.INFO: Processing buffer {"connection_id":162434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:12:48] local.INFO: IMEI packet received {"connection_id":162434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":162434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:12:49] local.INFO: TCP Data received {"connection_id":162434,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:12:49] local.INFO: Processing buffer {"connection_id":162434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:12:49] local.INFO: Packet analysis {"connection_id":162434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b4c"} 
[2026-08-26 05:12:49] local.INFO: Extracted packet for processing {"connection_id":162434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b4c"} 
[2026-08-26 05:12:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651451648001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:12: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-26 05:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787701284000,"timestamp_ms":1787701284000,"timestamp_seconds":1787701284,"priority":1,"record_length":96,"hex_timestamp":"000001a03b4ccca0"} 
[2026-08-26 05:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:12: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-26 05:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651451648001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651451648001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:12:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:12:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651451648001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":162434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:12:49] local.INFO: GPS data processed {"connection_id":162434,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:12:49] local.INFO: Acknowledgment sent {"connection_id":162434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:12:53] local.INFO: TCP Data received {"connection_id":162434,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:12:53] local.INFO: Processing buffer {"connection_id":162434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:12:53] local.INFO: Packet analysis {"connection_id":162434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b4c"} 
[2026-08-26 05:12:53] local.INFO: Extracted packet for processing {"connection_id":162434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b4c"} 
[2026-08-26 05:12:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651451648001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 05:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787701284000,"timestamp_ms":1787701284000,"timestamp_seconds":1787701284,"priority":1,"record_length":96,"hex_timestamp":"000001a03b4ccca0"} 
[2026-08-26 05: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-26 05:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 05: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-26 05: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-26 05:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651451648001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651451648001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:12:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:12:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651451648001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":162434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:12:53] local.INFO: GPS data processed {"connection_id":162434,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:12:53] local.INFO: Acknowledgment sent {"connection_id":162434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:13:38] local.INFO: TCP Data received {"connection_id":163439,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:13:38] local.INFO: Processing buffer {"connection_id":163439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:13:38] local.INFO: IMEI packet received {"connection_id":163439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":163439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:13:43] local.INFO: TCP Data received {"connection_id":163439,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:13:43] local.INFO: Processing buffer {"connection_id":163439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:13:43] local.INFO: IMEI packet received {"connection_id":163439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":163439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:13:44] local.INFO: TCP Data received {"connection_id":163439,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:13:44] local.INFO: Processing buffer {"connection_id":163439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:13:44] local.INFO: Packet analysis {"connection_id":163439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b4c"} 
[2026-08-26 05:13:44] local.INFO: Extracted packet for processing {"connection_id":163439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b4c"} 
[2026-08-26 05:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651451648001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05: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-26 05:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787701284000,"timestamp_ms":1787701284000,"timestamp_seconds":1787701284,"priority":1,"record_length":96,"hex_timestamp":"000001a03b4ccca0"} 
[2026-08-26 05: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-26 05:13: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-26 05: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:13: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-26 05: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-26 05: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-26 05:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651451648001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651451648001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:13:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:13:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651451648001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":163439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:13:44] local.INFO: GPS data processed {"connection_id":163439,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:13:44] local.INFO: Acknowledgment sent {"connection_id":163439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:14:15] local.INFO: TCP Data received {"connection_id":163439,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:14:15] local.INFO: Processing buffer {"connection_id":163439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:14:15] local.INFO: Packet analysis {"connection_id":163439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b4c"} 
[2026-08-26 05:14:15] local.INFO: Extracted packet for processing {"connection_id":163439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b4c"} 
[2026-08-26 05:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651451648001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:14: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-26 05:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787701284000,"timestamp_ms":1787701284000,"timestamp_seconds":1787701284,"priority":1,"record_length":96,"hex_timestamp":"000001a03b4ccca0"} 
[2026-08-26 05:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:14: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-26 05:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:14: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-26 05:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651451648001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651451648001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:14:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:14:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651451648001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":163439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:14:15] local.INFO: GPS data processed {"connection_id":163439,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:14:15] local.INFO: Acknowledgment sent {"connection_id":163439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:14:38] local.INFO: TCP Data received {"connection_id":164812,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:14:38] local.INFO: Processing buffer {"connection_id":164812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:14:38] local.INFO: IMEI packet received {"connection_id":164812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":164812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:14:43] local.INFO: TCP Data received {"connection_id":164812,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:14:43] local.INFO: Processing buffer {"connection_id":164812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:14:43] local.INFO: IMEI packet received {"connection_id":164812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":164812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:14:44] local.INFO: TCP Data received {"connection_id":164812,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:14:44] local.INFO: Processing buffer {"connection_id":164812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:14:44] local.INFO: Packet analysis {"connection_id":164812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b4c"} 
[2026-08-26 05:14:44] local.INFO: Extracted packet for processing {"connection_id":164812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b4c"} 
[2026-08-26 05:14:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651451648001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05: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-26 05:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787701284000,"timestamp_ms":1787701284000,"timestamp_seconds":1787701284,"priority":1,"record_length":96,"hex_timestamp":"000001a03b4ccca0"} 
[2026-08-26 05: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-26 05:14: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-26 05: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-26 05: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-26 05: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-26 05: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-26 05:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:14:44] 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-26 05:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651451648001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651451648001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:14:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:14:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651451648001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":164812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:14:44] local.INFO: GPS data processed {"connection_id":164812,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:14:44] local.INFO: Acknowledgment sent {"connection_id":164812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:15:15] local.INFO: TCP Data received {"connection_id":164812,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:15:15] local.INFO: Processing buffer {"connection_id":164812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:15:15] local.INFO: Packet analysis {"connection_id":164812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b4c"} 
[2026-08-26 05:15:15] local.INFO: Extracted packet for processing {"connection_id":164812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b4c"} 
[2026-08-26 05:15:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651451648001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:15: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-26 05:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787701284000,"timestamp_ms":1787701284000,"timestamp_seconds":1787701284,"priority":1,"record_length":96,"hex_timestamp":"000001a03b4ccca0"} 
[2026-08-26 05: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-26 05:15: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-26 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:15: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-26 05: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-26 05: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-26 05:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:15: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-26 05:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651451648001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651451648001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:15:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:15:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651451648001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":164812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:15:15] local.INFO: GPS data processed {"connection_id":164812,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:15:15] local.INFO: Acknowledgment sent {"connection_id":164812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:15:38] local.INFO: TCP Data received {"connection_id":162435,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:15:38] local.INFO: Processing buffer {"connection_id":162435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:15:38] local.INFO: IMEI packet received {"connection_id":162435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":162435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:15:43] local.INFO: TCP Data received {"connection_id":162435,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:15:43] local.INFO: Processing buffer {"connection_id":162435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:15:43] local.INFO: IMEI packet received {"connection_id":162435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":162435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:15:44] local.INFO: TCP Data received {"connection_id":162435,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:15:44] local.INFO: Processing buffer {"connection_id":162435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:15:44] local.INFO: Packet analysis {"connection_id":162435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b4c"} 
[2026-08-26 05:15:44] local.INFO: Extracted packet for processing {"connection_id":162435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b4c"} 
[2026-08-26 05:15:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651451648001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:15: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-26 05:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787701284000,"timestamp_ms":1787701284000,"timestamp_seconds":1787701284,"priority":1,"record_length":96,"hex_timestamp":"000001a03b4ccca0"} 
[2026-08-26 05: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-26 05:15: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-26 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:15: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-26 05: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-26 05: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-26 05:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:15:44] local.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-26 05:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651451648001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651451648001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:15:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:15:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651451648001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":162435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:15:44] local.INFO: GPS data processed {"connection_id":162435,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:15:44] local.INFO: Acknowledgment sent {"connection_id":162435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:16:16] local.INFO: TCP Data received {"connection_id":162435,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:16:16] local.INFO: Processing buffer {"connection_id":162435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:16:16] local.INFO: Packet analysis {"connection_id":162435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b4c"} 
[2026-08-26 05:16:16] local.INFO: Extracted packet for processing {"connection_id":162435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b4c"} 
[2026-08-26 05:16:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651451648001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:16: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-26 05:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787701284000,"timestamp_ms":1787701284000,"timestamp_seconds":1787701284,"priority":1,"record_length":96,"hex_timestamp":"000001a03b4ccca0"} 
[2026-08-26 05:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:16: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-26 05:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:16: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-26 05:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:16: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-26 05:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651451648001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651451648001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:16:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:16:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651451648001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":162435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:16:16] local.INFO: GPS data processed {"connection_id":162435,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:16:16] local.INFO: Acknowledgment sent {"connection_id":162435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:16:24] local.INFO: TCP Data received {"connection_id":162203,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:16:24] local.INFO: Processing buffer {"connection_id":162203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:16:24] local.INFO: IMEI packet received {"connection_id":162203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 05:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":162203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:16:37] local.INFO: TCP Data received {"connection_id":162204,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:16:38] local.INFO: Processing buffer {"connection_id":162204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:16:38] local.INFO: IMEI packet received {"connection_id":162204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":162204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:16:43] local.INFO: TCP Data received {"connection_id":162204,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:16:43] local.INFO: Processing buffer {"connection_id":162204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:16:43] local.INFO: IMEI packet received {"connection_id":162204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":162204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:16:44] local.INFO: TCP Data received {"connection_id":162204,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:16:44] local.INFO: Processing buffer {"connection_id":162204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b4ccca0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:16:44] local.INFO: Packet analysis {"connection_id":162204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b4c"} 
[2026-08-26 05:16:44] local.INFO: Extracted packet for processing {"connection_id":162204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b4c"} 
[2026-08-26 05:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651451648001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:16: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-26 05:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787701284000,"timestamp_ms":1787701284000,"timestamp_seconds":1787701284,"priority":1,"record_length":96,"hex_timestamp":"000001a03b4ccca0"} 
[2026-08-26 05:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:16: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-26 05:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:16: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-26 05:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:16:44] 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-26 05:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651451648001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651451648001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:16:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:16:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651451648001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":162204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:16:44] local.INFO: GPS data processed {"connection_id":162204,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:16:44] local.INFO: Acknowledgment sent {"connection_id":162204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:17:16] local.INFO: TCP Data received {"connection_id":162204,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:17:16] local.INFO: Processing buffer {"connection_id":162204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:17:16] local.INFO: Packet analysis {"connection_id":162204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b51"} 
[2026-08-26 05:17:16] local.INFO: Extracted packet for processing {"connection_id":162204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b51"} 
[2026-08-26 05:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651528704001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:17: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-26 05:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787701585000,"timestamp_ms":1787701585000,"timestamp_seconds":1787701585,"priority":1,"record_length":96,"hex_timestamp":"000001a03b516468"} 
[2026-08-26 05:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:17: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-26 05:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:17: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-26 05:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:17: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-26 05:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651528704001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651528704001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:17:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:17:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651528704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":162204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:17:16] local.INFO: GPS data processed {"connection_id":162204,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:17:16] local.INFO: Acknowledgment sent {"connection_id":162204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:17:37] local.INFO: TCP Data received {"connection_id":164813,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:17:37] local.INFO: Processing buffer {"connection_id":164813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:17:37] local.INFO: IMEI packet received {"connection_id":164813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":164813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:17:43] local.INFO: TCP Data received {"connection_id":164813,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:17:43] local.INFO: Processing buffer {"connection_id":164813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:17:43] local.INFO: IMEI packet received {"connection_id":164813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":164813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:17:44] local.INFO: TCP Data received {"connection_id":164813,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:17:44] local.INFO: Processing buffer {"connection_id":164813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:17:44] local.INFO: Packet analysis {"connection_id":164813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b51"} 
[2026-08-26 05:17:44] local.INFO: Extracted packet for processing {"connection_id":164813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b51"} 
[2026-08-26 05:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651528704001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:17: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-26 05:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787701585000,"timestamp_ms":1787701585000,"timestamp_seconds":1787701585,"priority":1,"record_length":96,"hex_timestamp":"000001a03b516468"} 
[2026-08-26 05:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:17: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-26 05:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:17: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-26 05:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651528704001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651528704001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:17:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651528704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":164813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:17:44] local.INFO: GPS data processed {"connection_id":164813,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:17:44] local.INFO: Acknowledgment sent {"connection_id":164813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:18:15] local.INFO: TCP Data received {"connection_id":164813,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:18:15] local.INFO: Processing buffer {"connection_id":164813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:18:15] local.INFO: Packet analysis {"connection_id":164813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b51"} 
[2026-08-26 05:18:15] local.INFO: Extracted packet for processing {"connection_id":164813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b51"} 
[2026-08-26 05:18:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651528704001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:18: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-26 05:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787701585000,"timestamp_ms":1787701585000,"timestamp_seconds":1787701585,"priority":1,"record_length":96,"hex_timestamp":"000001a03b516468"} 
[2026-08-26 05:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:18: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-26 05:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:18: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-26 05:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651528704001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651528704001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:18:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:18:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651528704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":164813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:18:15] local.INFO: GPS data processed {"connection_id":164813,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:18:15] local.INFO: Acknowledgment sent {"connection_id":164813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:18:43] local.INFO: TCP Data received {"connection_id":162436,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:18:43] local.INFO: Processing buffer {"connection_id":162436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:18:43] local.INFO: IMEI packet received {"connection_id":162436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":162436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:18:48] local.INFO: TCP Data received {"connection_id":162436,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:18:48] local.INFO: Processing buffer {"connection_id":162436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:18:48] local.INFO: IMEI packet received {"connection_id":162436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":162436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:18:49] local.INFO: TCP Data received {"connection_id":162436,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:18:49] local.INFO: Processing buffer {"connection_id":162436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:18:49] local.INFO: Packet analysis {"connection_id":162436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b51"} 
[2026-08-26 05:18:49] local.INFO: Extracted packet for processing {"connection_id":162436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b51"} 
[2026-08-26 05:18:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:18: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-26 05:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651528704001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:18: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-26 05:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787701585000,"timestamp_ms":1787701585000,"timestamp_seconds":1787701585,"priority":1,"record_length":96,"hex_timestamp":"000001a03b516468"} 
[2026-08-26 05:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05:18: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-26 05:18: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-26 05:18: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-26 05:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:18:49] 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-26 05:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651528704001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651528704001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:18:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:18:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651528704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":162436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:18:49] local.INFO: GPS data processed {"connection_id":162436,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:18:49] local.INFO: Acknowledgment sent {"connection_id":162436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:18:53] local.INFO: TCP Data received {"connection_id":162436,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:18:53] local.INFO: Processing buffer {"connection_id":162436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:18:53] local.INFO: Packet analysis {"connection_id":162436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b51"} 
[2026-08-26 05:18:53] local.INFO: Extracted packet for processing {"connection_id":162436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b51"} 
[2026-08-26 05:18:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651528704001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 05:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787701585000,"timestamp_ms":1787701585000,"timestamp_seconds":1787701585,"priority":1,"record_length":96,"hex_timestamp":"000001a03b516468"} 
[2026-08-26 05: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-26 05:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 05: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-26 05: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-26 05:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:18:53] 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-26 05:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651528704001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651528704001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:18:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:18:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651528704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":162436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:18:53] local.INFO: GPS data processed {"connection_id":162436,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:18:53] local.INFO: Acknowledgment sent {"connection_id":162436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:19:38] local.INFO: TCP Data received {"connection_id":163440,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:19:38] local.INFO: Processing buffer {"connection_id":163440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:19:38] local.INFO: IMEI packet received {"connection_id":163440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":163440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:19:43] local.INFO: TCP Data received {"connection_id":163440,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:19:43] local.INFO: Processing buffer {"connection_id":163440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:19:43] local.INFO: IMEI packet received {"connection_id":163440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":163440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:19:44] local.INFO: TCP Data received {"connection_id":163440,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:19:44] local.INFO: Processing buffer {"connection_id":163440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:19:44] local.INFO: Packet analysis {"connection_id":163440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b51"} 
[2026-08-26 05:19:44] local.INFO: Extracted packet for processing {"connection_id":163440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b51"} 
[2026-08-26 05:19:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651528704001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:19: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-26 05:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787701585000,"timestamp_ms":1787701585000,"timestamp_seconds":1787701585,"priority":1,"record_length":96,"hex_timestamp":"000001a03b516468"} 
[2026-08-26 05: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-26 05:19: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-26 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:19: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-26 05: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-26 05: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-26 05:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:19: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-26 05:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651528704001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651528704001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:19:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:19:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651528704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":163440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:19:44] local.INFO: GPS data processed {"connection_id":163440,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:19:44] local.INFO: Acknowledgment sent {"connection_id":163440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:20:15] local.INFO: TCP Data received {"connection_id":163440,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:20:15] local.INFO: Processing buffer {"connection_id":163440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:20:15] local.INFO: Packet analysis {"connection_id":163440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b51"} 
[2026-08-26 05:20:15] local.INFO: Extracted packet for processing {"connection_id":163440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b51"} 
[2026-08-26 05:20:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651528704001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:20: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-26 05:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787701585000,"timestamp_ms":1787701585000,"timestamp_seconds":1787701585,"priority":1,"record_length":96,"hex_timestamp":"000001a03b516468"} 
[2026-08-26 05: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-26 05: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-26 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:20: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-26 05: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-26 05: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-26 05:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:20: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-26 05:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651528704001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651528704001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:20:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:20:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651528704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":163440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:20:15] local.INFO: GPS data processed {"connection_id":163440,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:20:15] local.INFO: Acknowledgment sent {"connection_id":163440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:20:38] local.INFO: TCP Data received {"connection_id":162206,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:20:38] local.INFO: Processing buffer {"connection_id":162206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:20:38] local.INFO: IMEI packet received {"connection_id":162206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":162206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:20:43] local.INFO: TCP Data received {"connection_id":162206,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:20:43] local.INFO: Processing buffer {"connection_id":162206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:20:43] local.INFO: IMEI packet received {"connection_id":162206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":162206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:20:45] local.INFO: TCP Data received {"connection_id":162206,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:20:45] local.INFO: Processing buffer {"connection_id":162206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:20:45] local.INFO: Packet analysis {"connection_id":162206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b51"} 
[2026-08-26 05:20:45] local.INFO: Extracted packet for processing {"connection_id":162206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b51"} 
[2026-08-26 05:20:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651528704001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:20: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-26 05:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787701585000,"timestamp_ms":1787701585000,"timestamp_seconds":1787701585,"priority":1,"record_length":96,"hex_timestamp":"000001a03b516468"} 
[2026-08-26 05: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-26 05:20: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-26 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:20: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-26 05: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-26 05: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-26 05:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:20:45] 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-26 05:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651528704001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651528704001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:20:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:20:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651528704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":162206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:20:45] local.INFO: GPS data processed {"connection_id":162206,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:20:45] local.INFO: Acknowledgment sent {"connection_id":162206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:21:17] local.INFO: TCP Data received {"connection_id":162206,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:21:17] local.INFO: Processing buffer {"connection_id":162206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:21:17] local.INFO: Packet analysis {"connection_id":162206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b51"} 
[2026-08-26 05:21:17] local.INFO: Extracted packet for processing {"connection_id":162206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b51"} 
[2026-08-26 05:21:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651528704001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:21: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-26 05:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787701585000,"timestamp_ms":1787701585000,"timestamp_seconds":1787701585,"priority":1,"record_length":96,"hex_timestamp":"000001a03b516468"} 
[2026-08-26 05:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:21: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-26 05:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:21: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-26 05:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:21:17] 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-26 05:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651528704001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651528704001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:21:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:21:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651528704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":162206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:21:17] local.INFO: GPS data processed {"connection_id":162206,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:21:17] local.INFO: Acknowledgment sent {"connection_id":162206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:21:38] local.INFO: TCP Data received {"connection_id":163441,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:21:38] local.INFO: Processing buffer {"connection_id":163441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:21:38] local.INFO: IMEI packet received {"connection_id":163441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":163441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:21:43] local.INFO: TCP Data received {"connection_id":163441,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:21:43] local.INFO: Processing buffer {"connection_id":163441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:21:43] local.INFO: IMEI packet received {"connection_id":163441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":163441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:21:44] local.INFO: TCP Data received {"connection_id":163441,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:21:44] local.INFO: Processing buffer {"connection_id":163441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b516468012d34c14006aa4818000400e630..."} 
[2026-08-26 05:21:44] local.INFO: Packet analysis {"connection_id":163441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b51"} 
[2026-08-26 05:21:44] local.INFO: Extracted packet for processing {"connection_id":163441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b51"} 
[2026-08-26 05:21:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651528704001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:21: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-26 05:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787701585000,"timestamp_ms":1787701585000,"timestamp_seconds":1787701585,"priority":1,"record_length":96,"hex_timestamp":"000001a03b516468"} 
[2026-08-26 05:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:21: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-26 05:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:21: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-26 05:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651528704001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651528704001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:21:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:21:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651528704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":163441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:21:44] local.INFO: GPS data processed {"connection_id":163441,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:21:44] local.INFO: Acknowledgment sent {"connection_id":163441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:21:58] local.INFO: TCP Data received {"connection_id":162205,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:21:58] local.INFO: Processing buffer {"connection_id":162205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:21:58] local.INFO: IMEI packet received {"connection_id":162205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 05:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":162205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:22:16] local.INFO: TCP Data received {"connection_id":163441,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:22:16] local.INFO: Processing buffer {"connection_id":163441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:22:16] local.INFO: Packet analysis {"connection_id":163441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b55"} 
[2026-08-26 05:22:16] local.INFO: Extracted packet for processing {"connection_id":163441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b55"} 
[2026-08-26 05:22:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651605760001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:22: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-26 05:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787701886000,"timestamp_ms":1787701886000,"timestamp_seconds":1787701886,"priority":1,"record_length":96,"hex_timestamp":"000001a03b55fc30"} 
[2026-08-26 05:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:22: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-26 05:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:22: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-26 05:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651605760001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651605760001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:22:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:22:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651605760001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":163441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:22:16] local.INFO: GPS data processed {"connection_id":163441,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:22:16] local.INFO: Acknowledgment sent {"connection_id":163441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:22:38] local.INFO: TCP Data received {"connection_id":162437,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:22:38] local.INFO: Processing buffer {"connection_id":162437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:22:38] local.INFO: IMEI packet received {"connection_id":162437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":162437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:22:43] local.INFO: TCP Data received {"connection_id":162437,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:22:43] local.INFO: Processing buffer {"connection_id":162437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:22:43] local.INFO: IMEI packet received {"connection_id":162437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":162437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:22:44] local.INFO: TCP Data received {"connection_id":162437,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:22:44] local.INFO: Processing buffer {"connection_id":162437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:22:44] local.INFO: Packet analysis {"connection_id":162437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b55"} 
[2026-08-26 05:22:44] local.INFO: Extracted packet for processing {"connection_id":162437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b55"} 
[2026-08-26 05:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651605760001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:22: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-26 05:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787701886000,"timestamp_ms":1787701886000,"timestamp_seconds":1787701886,"priority":1,"record_length":96,"hex_timestamp":"000001a03b55fc30"} 
[2026-08-26 05: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-26 05:22: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-26 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:22: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-26 05: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-26 05: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-26 05:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651605760001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651605760001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:22:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651605760001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":162437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:22:44] local.INFO: GPS data processed {"connection_id":162437,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:22:44] local.INFO: Acknowledgment sent {"connection_id":162437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:23:15] local.INFO: TCP Data received {"connection_id":162437,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:23:15] local.INFO: Processing buffer {"connection_id":162437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:23:15] local.INFO: Packet analysis {"connection_id":162437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b55"} 
[2026-08-26 05:23:15] local.INFO: Extracted packet for processing {"connection_id":162437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b55"} 
[2026-08-26 05:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651605760001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05: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-26 05:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787701886000,"timestamp_ms":1787701886000,"timestamp_seconds":1787701886,"priority":1,"record_length":96,"hex_timestamp":"000001a03b55fc30"} 
[2026-08-26 05: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-26 05:23: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-26 05: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-26 05: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-26 05: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-26 05: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-26 05:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:23: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-26 05:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651605760001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651605760001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651605760001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":162437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:23:15] local.INFO: GPS data processed {"connection_id":162437,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:23:15] local.INFO: Acknowledgment sent {"connection_id":162437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:23:38] local.INFO: TCP Data received {"connection_id":163442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:23:38] local.INFO: Processing buffer {"connection_id":163442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:23:38] local.INFO: IMEI packet received {"connection_id":163442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":163442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:23:43] local.INFO: TCP Data received {"connection_id":163442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:23:43] local.INFO: Processing buffer {"connection_id":163442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:23:43] local.INFO: IMEI packet received {"connection_id":163442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":163442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:23:43] local.INFO: TCP Data received {"connection_id":163442,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:23:43] local.INFO: Processing buffer {"connection_id":163442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:23:43] local.INFO: Packet analysis {"connection_id":163442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b55"} 
[2026-08-26 05:23:43] local.INFO: Extracted packet for processing {"connection_id":163442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b55"} 
[2026-08-26 05:23:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651605760001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:23: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-26 05:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787701886000,"timestamp_ms":1787701886000,"timestamp_seconds":1787701886,"priority":1,"record_length":96,"hex_timestamp":"000001a03b55fc30"} 
[2026-08-26 05:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:23: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-26 05:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:23: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-26 05:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:23: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-26 05:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651605760001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651605760001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:23:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:23:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651605760001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":163442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:23:43] local.INFO: GPS data processed {"connection_id":163442,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:23:43] local.INFO: Acknowledgment sent {"connection_id":163442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:24:14] local.INFO: TCP Data received {"connection_id":163442,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:24:14] local.INFO: Processing buffer {"connection_id":163442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:24:14] local.INFO: Packet analysis {"connection_id":163442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b55"} 
[2026-08-26 05:24:14] local.INFO: Extracted packet for processing {"connection_id":163442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b55"} 
[2026-08-26 05:24:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651605760001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:24: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-26 05:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787701886000,"timestamp_ms":1787701886000,"timestamp_seconds":1787701886,"priority":1,"record_length":96,"hex_timestamp":"000001a03b55fc30"} 
[2026-08-26 05: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-26 05: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-26 05: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-26 05: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-26 05: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-26 05: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-26 05:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:24: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-26 05:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651605760001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651605760001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:24:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:24:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651605760001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":163442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:24:14] local.INFO: GPS data processed {"connection_id":163442,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:24:14] local.INFO: Acknowledgment sent {"connection_id":163442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:24:37] local.INFO: TCP Data received {"connection_id":163443,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:24:37] local.INFO: Processing buffer {"connection_id":163443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:24:37] local.INFO: IMEI packet received {"connection_id":163443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":163443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:24:42] local.INFO: TCP Data received {"connection_id":163443,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:24:43] local.INFO: Processing buffer {"connection_id":163443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:24:43] local.INFO: IMEI packet received {"connection_id":163443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":163443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:24:45] local.INFO: TCP Data received {"connection_id":163443,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:24:45] local.INFO: Processing buffer {"connection_id":163443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:24:45] local.INFO: Packet analysis {"connection_id":163443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b55"} 
[2026-08-26 05:24:45] local.INFO: Extracted packet for processing {"connection_id":163443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b55"} 
[2026-08-26 05:24:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651605760001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:24: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-26 05:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787701886000,"timestamp_ms":1787701886000,"timestamp_seconds":1787701886,"priority":1,"record_length":96,"hex_timestamp":"000001a03b55fc30"} 
[2026-08-26 05: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-26 05:24: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-26 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:24: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-26 05: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-26 05: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-26 05:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:24: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-26 05:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651605760001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651605760001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:24:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:24:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651605760001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":163443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:24:45] local.INFO: GPS data processed {"connection_id":163443,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:24:45] local.INFO: Acknowledgment sent {"connection_id":163443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:25:16] local.INFO: TCP Data received {"connection_id":163443,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:25:16] local.INFO: Processing buffer {"connection_id":163443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:25:16] local.INFO: Packet analysis {"connection_id":163443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b55"} 
[2026-08-26 05:25:16] local.INFO: Extracted packet for processing {"connection_id":163443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b55"} 
[2026-08-26 05:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651605760001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05: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-26 05:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787701886000,"timestamp_ms":1787701886000,"timestamp_seconds":1787701886,"priority":1,"record_length":96,"hex_timestamp":"000001a03b55fc30"} 
[2026-08-26 05: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-26 05:25: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-26 05: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-26 05: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-26 05: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-26 05: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-26 05:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05: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-26 05:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651605760001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651605760001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:25:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:25:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651605760001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":163443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:25:16] local.INFO: GPS data processed {"connection_id":163443,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:25:16] local.INFO: Acknowledgment sent {"connection_id":163443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:25:43] local.INFO: TCP Data received {"connection_id":162208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:25:43] local.INFO: Processing buffer {"connection_id":162208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:25:43] local.INFO: IMEI packet received {"connection_id":162208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":162208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:25:47] local.INFO: TCP Data received {"connection_id":162208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:25:48] local.INFO: Processing buffer {"connection_id":162208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:25:48] local.INFO: IMEI packet received {"connection_id":162208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":162208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:25:48] local.INFO: TCP Data received {"connection_id":162208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:25:48] local.INFO: Processing buffer {"connection_id":162208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:25:48] local.INFO: Packet analysis {"connection_id":162208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b55"} 
[2026-08-26 05:25:48] local.INFO: Extracted packet for processing {"connection_id":162208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b55"} 
[2026-08-26 05:25:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651605760001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 05:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787701886000,"timestamp_ms":1787701886000,"timestamp_seconds":1787701886,"priority":1,"record_length":96,"hex_timestamp":"000001a03b55fc30"} 
[2026-08-26 05: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-26 05:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 05: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-26 05: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-26 05:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651605760001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651605760001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:25:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:25:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651605760001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":162208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:25:48] local.INFO: GPS data processed {"connection_id":162208,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:25:48] local.INFO: Acknowledgment sent {"connection_id":162208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:26:19] local.INFO: TCP Data received {"connection_id":162208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:26:19] local.INFO: Processing buffer {"connection_id":162208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:26:19] local.INFO: Packet analysis {"connection_id":162208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b55"} 
[2026-08-26 05:26:19] local.INFO: Extracted packet for processing {"connection_id":162208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b55"} 
[2026-08-26 05:26:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651605760001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 05:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787701886000,"timestamp_ms":1787701886000,"timestamp_seconds":1787701886,"priority":1,"record_length":96,"hex_timestamp":"000001a03b55fc30"} 
[2026-08-26 05: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-26 05:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 05: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-26 05: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-26 05:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651605760001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651605760001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:26:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:26:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651605760001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":162208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:26:19] local.INFO: GPS data processed {"connection_id":162208,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:26:19] local.INFO: Acknowledgment sent {"connection_id":162208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:26:37] local.INFO: TCP Data received {"connection_id":162438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:26:37] local.INFO: Processing buffer {"connection_id":162438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:26:37] local.INFO: IMEI packet received {"connection_id":162438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":162438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:26:43] local.INFO: TCP Data received {"connection_id":162438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:26:43] local.INFO: Processing buffer {"connection_id":162438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:26:43] local.INFO: IMEI packet received {"connection_id":162438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":162438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:26:44] local.INFO: TCP Data received {"connection_id":162438,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:26:44] local.INFO: Processing buffer {"connection_id":162438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b55fc30012d34c14006aa4818000200e62f..."} 
[2026-08-26 05:26:44] local.INFO: Packet analysis {"connection_id":162438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b55"} 
[2026-08-26 05:26:44] local.INFO: Extracted packet for processing {"connection_id":162438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b55"} 
[2026-08-26 05:26:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651605760001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:26: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-26 05:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787701886000,"timestamp_ms":1787701886000,"timestamp_seconds":1787701886,"priority":1,"record_length":96,"hex_timestamp":"000001a03b55fc30"} 
[2026-08-26 05: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-26 05:26: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-26 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:26: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-26 05: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-26 05: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-26 05:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651605760001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651605760001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:26:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:26:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651605760001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":162438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:26:44] local.INFO: GPS data processed {"connection_id":162438,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:26:44] local.INFO: Acknowledgment sent {"connection_id":162438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:27:15] local.INFO: TCP Data received {"connection_id":162438,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:27:15] local.INFO: Processing buffer {"connection_id":162438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:27:15] local.INFO: Packet analysis {"connection_id":162438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b5a"} 
[2026-08-26 05:27:15] local.INFO: Extracted packet for processing {"connection_id":162438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b5a"} 
[2026-08-26 05:27:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651682816001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:27: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-26 05:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787702187000,"timestamp_ms":1787702187000,"timestamp_seconds":1787702187,"priority":1,"record_length":96,"hex_timestamp":"000001a03b5a93f8"} 
[2026-08-26 05: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-26 05:27: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-26 05: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-26 05: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-26 05: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-26 05: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-26 05:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05: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-26 05:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651682816001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651682816001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:27:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:27:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651682816001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":162438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:27:15] local.INFO: GPS data processed {"connection_id":162438,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:27:15] local.INFO: Acknowledgment sent {"connection_id":162438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:27:33] local.INFO: TCP Data received {"connection_id":162207,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162207,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:27:33] local.INFO: Processing buffer {"connection_id":162207,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:27:33] local.INFO: IMEI packet received {"connection_id":162207,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 05:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":162207,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:27:37] local.INFO: TCP Data received {"connection_id":164814,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:27:37] local.INFO: Processing buffer {"connection_id":164814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:27:37] local.INFO: IMEI packet received {"connection_id":164814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":164814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:27:43] local.INFO: TCP Data received {"connection_id":164814,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:27:43] local.INFO: Processing buffer {"connection_id":164814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:27:43] local.INFO: IMEI packet received {"connection_id":164814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":164814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:27:44] local.INFO: TCP Data received {"connection_id":164814,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:27:44] local.INFO: Processing buffer {"connection_id":164814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:27:44] local.INFO: Packet analysis {"connection_id":164814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b5a"} 
[2026-08-26 05:27:44] local.INFO: Extracted packet for processing {"connection_id":164814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b5a"} 
[2026-08-26 05:27:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651682816001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:27: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-26 05:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787702187000,"timestamp_ms":1787702187000,"timestamp_seconds":1787702187,"priority":1,"record_length":96,"hex_timestamp":"000001a03b5a93f8"} 
[2026-08-26 05: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-26 05:27: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-26 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:27: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-26 05: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-26 05: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-26 05:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651682816001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651682816001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:27:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:27:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651682816001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":164814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:27:44] local.INFO: GPS data processed {"connection_id":164814,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:27:44] local.INFO: Acknowledgment sent {"connection_id":164814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:28:08] local.INFO: TCP Data received {"connection_id":164815,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:28:08] local.INFO: Processing buffer {"connection_id":164815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:28:08] local.INFO: IMEI packet received {"connection_id":164815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 05:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":164815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:28:15] local.INFO: TCP Data received {"connection_id":164814,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:28:15] local.INFO: Processing buffer {"connection_id":164814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:28:15] local.INFO: Packet analysis {"connection_id":164814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b5a"} 
[2026-08-26 05:28:15] local.INFO: Extracted packet for processing {"connection_id":164814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b5a"} 
[2026-08-26 05:28:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651682816001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05: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-26 05:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787702187000,"timestamp_ms":1787702187000,"timestamp_seconds":1787702187,"priority":1,"record_length":96,"hex_timestamp":"000001a03b5a93f8"} 
[2026-08-26 05: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-26 05:28: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-26 05: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-26 05: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-26 05: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-26 05: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-26 05:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:28: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-26 05:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651682816001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651682816001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:28:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:28:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651682816001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":164814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:28:15] local.INFO: GPS data processed {"connection_id":164814,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:28:15] local.INFO: Acknowledgment sent {"connection_id":164814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:28:37] local.INFO: TCP Data received {"connection_id":162209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:28:37] local.INFO: Processing buffer {"connection_id":162209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:28:37] local.INFO: IMEI packet received {"connection_id":162209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":162209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:28:42] local.INFO: TCP Data received {"connection_id":162209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:28:42] local.INFO: Processing buffer {"connection_id":162209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:28:42] local.INFO: IMEI packet received {"connection_id":162209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":162209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:28:43] local.INFO: TCP Data received {"connection_id":162209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:28:43] local.INFO: Processing buffer {"connection_id":162209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:28:44] local.INFO: Packet analysis {"connection_id":162209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b5a"} 
[2026-08-26 05:28:44] local.INFO: Extracted packet for processing {"connection_id":162209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b5a"} 
[2026-08-26 05:28:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651682816001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:28: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-26 05:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787702187000,"timestamp_ms":1787702187000,"timestamp_seconds":1787702187,"priority":1,"record_length":96,"hex_timestamp":"000001a03b5a93f8"} 
[2026-08-26 05: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-26 05:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:28: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-26 05: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-26 05: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-26 05:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651682816001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651682816001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:28:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:28:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651682816001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":162209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:28:44] local.INFO: GPS data processed {"connection_id":162209,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:28:44] local.INFO: Acknowledgment sent {"connection_id":162209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:29:15] local.INFO: TCP Data received {"connection_id":162209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:29:15] local.INFO: Processing buffer {"connection_id":162209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:29:15] local.INFO: Packet analysis {"connection_id":162209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b5a"} 
[2026-08-26 05:29:15] local.INFO: Extracted packet for processing {"connection_id":162209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b5a"} 
[2026-08-26 05:29:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651682816001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05: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-26 05:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787702187000,"timestamp_ms":1787702187000,"timestamp_seconds":1787702187,"priority":1,"record_length":96,"hex_timestamp":"000001a03b5a93f8"} 
[2026-08-26 05: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-26 05:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:29: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-26 05: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-26 05: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-26 05:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:29: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-26 05:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651682816001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651682816001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:29:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:29:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651682816001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":162209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:29:15] local.INFO: GPS data processed {"connection_id":162209,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:29:15] local.INFO: Acknowledgment sent {"connection_id":162209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:29:37] local.INFO: TCP Data received {"connection_id":163444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:29:38] local.INFO: Processing buffer {"connection_id":163444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:29:38] local.INFO: IMEI packet received {"connection_id":163444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":163444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:29:43] local.INFO: TCP Data received {"connection_id":163444,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:29:43] local.INFO: Processing buffer {"connection_id":163444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:29:43] local.INFO: IMEI packet received {"connection_id":163444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":163444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:29:44] local.INFO: TCP Data received {"connection_id":163444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:29:44] local.INFO: Processing buffer {"connection_id":163444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:29:44] local.INFO: Packet analysis {"connection_id":163444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b5a"} 
[2026-08-26 05:29:44] local.INFO: Extracted packet for processing {"connection_id":163444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b5a"} 
[2026-08-26 05:29:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651682816001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:29: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-26 05:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787702187000,"timestamp_ms":1787702187000,"timestamp_seconds":1787702187,"priority":1,"record_length":96,"hex_timestamp":"000001a03b5a93f8"} 
[2026-08-26 05: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-26 05:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:29: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-26 05: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-26 05: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-26 05:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651682816001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651682816001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:29:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:29:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651682816001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":163444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:29:44] local.INFO: GPS data processed {"connection_id":163444,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:29:44] local.INFO: Acknowledgment sent {"connection_id":163444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:30:15] local.INFO: TCP Data received {"connection_id":163444,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:30:15] local.INFO: Processing buffer {"connection_id":163444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:30:15] local.INFO: Packet analysis {"connection_id":163444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b5a"} 
[2026-08-26 05:30:15] local.INFO: Extracted packet for processing {"connection_id":163444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b5a"} 
[2026-08-26 05:30:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651682816001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:30: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-26 05:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787702187000,"timestamp_ms":1787702187000,"timestamp_seconds":1787702187,"priority":1,"record_length":96,"hex_timestamp":"000001a03b5a93f8"} 
[2026-08-26 05: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-26 05:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:30: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-26 05: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-26 05: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-26 05:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:30: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-26 05:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651682816001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651682816001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:30:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:30:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651682816001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":163444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:30:15] local.INFO: GPS data processed {"connection_id":163444,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:30:15] local.INFO: Acknowledgment sent {"connection_id":163444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:30:38] local.INFO: TCP Data received {"connection_id":162439,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:30:38] local.INFO: Processing buffer {"connection_id":162439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:30:38] local.INFO: IMEI packet received {"connection_id":162439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":162439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:30:42] local.INFO: TCP Data received {"connection_id":162439,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:30:42] local.INFO: Processing buffer {"connection_id":162439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:30:42] local.INFO: IMEI packet received {"connection_id":162439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":162439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:30:43] local.INFO: TCP Data received {"connection_id":162439,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:30:43] local.INFO: Processing buffer {"connection_id":162439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:30:43] local.INFO: Packet analysis {"connection_id":162439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b5a"} 
[2026-08-26 05:30:43] local.INFO: Extracted packet for processing {"connection_id":162439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b5a"} 
[2026-08-26 05:30:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651682816001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:30: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-26 05:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787702187000,"timestamp_ms":1787702187000,"timestamp_seconds":1787702187,"priority":1,"record_length":96,"hex_timestamp":"000001a03b5a93f8"} 
[2026-08-26 05:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:30: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-26 05:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:30: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-26 05:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651682816001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651682816001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:30:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:30:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651682816001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":162439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:30:43] local.INFO: GPS data processed {"connection_id":162439,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:30:43] local.INFO: Acknowledgment sent {"connection_id":162439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:31:14] local.INFO: TCP Data received {"connection_id":162439,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:31:14] local.INFO: Processing buffer {"connection_id":162439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:31:14] local.INFO: Packet analysis {"connection_id":162439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b5a"} 
[2026-08-26 05:31:14] local.INFO: Extracted packet for processing {"connection_id":162439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b5a"} 
[2026-08-26 05:31:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651682816001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05: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-26 05:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787702187000,"timestamp_ms":1787702187000,"timestamp_seconds":1787702187,"priority":1,"record_length":96,"hex_timestamp":"000001a03b5a93f8"} 
[2026-08-26 05: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-26 05:31: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-26 05: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:31: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-26 05: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-26 05: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-26 05:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05: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-26 05:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651682816001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651682816001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:31:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:31:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651682816001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":162439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:31:14] local.INFO: GPS data processed {"connection_id":162439,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:31:14] local.INFO: Acknowledgment sent {"connection_id":162439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:31:38] local.INFO: TCP Data received {"connection_id":163445,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:31:38] local.INFO: Processing buffer {"connection_id":163445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:31:38] local.INFO: IMEI packet received {"connection_id":163445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":163445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:31:42] local.INFO: TCP Data received {"connection_id":163445,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:31:42] local.INFO: Processing buffer {"connection_id":163445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:31:42] local.INFO: IMEI packet received {"connection_id":163445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":163445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:31:44] local.INFO: TCP Data received {"connection_id":163445,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:31:44] local.INFO: Processing buffer {"connection_id":163445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b5a93f8012d34c14006aa4818000100e62b..."} 
[2026-08-26 05:31:44] local.INFO: Packet analysis {"connection_id":163445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b5a"} 
[2026-08-26 05:31:44] local.INFO: Extracted packet for processing {"connection_id":163445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b5a"} 
[2026-08-26 05:31:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651682816001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:31: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-26 05:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787702187000,"timestamp_ms":1787702187000,"timestamp_seconds":1787702187,"priority":1,"record_length":96,"hex_timestamp":"000001a03b5a93f8"} 
[2026-08-26 05: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-26 05:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:31: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-26 05: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-26 05: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-26 05:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651682816001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651682816001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:31:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:31:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651682816001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":163445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:31:44] local.INFO: GPS data processed {"connection_id":163445,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:31:44] local.INFO: Acknowledgment sent {"connection_id":163445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:32:15] local.INFO: TCP Data received {"connection_id":163445,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:32:15] local.INFO: Processing buffer {"connection_id":163445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:32:15] local.INFO: Packet analysis {"connection_id":163445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b5f"} 
[2026-08-26 05:32:15] local.INFO: Extracted packet for processing {"connection_id":163445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b5f"} 
[2026-08-26 05:32:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651759872001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05: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-26 05:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787702488000,"timestamp_ms":1787702488000,"timestamp_seconds":1787702488,"priority":1,"record_length":96,"hex_timestamp":"000001a03b5f2bc0"} 
[2026-08-26 05: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-26 05:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05: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-26 05: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-26 05: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-26 05:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:32: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-26 05:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651759872001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651759872001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:32:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:32:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651759872001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":163445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:32:15] local.INFO: GPS data processed {"connection_id":163445,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:32:15] local.INFO: Acknowledgment sent {"connection_id":163445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:32:38] local.INFO: TCP Data received {"connection_id":164816,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:32:38] local.INFO: Processing buffer {"connection_id":164816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:32:38] local.INFO: IMEI packet received {"connection_id":164816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":164816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:32:42] local.INFO: TCP Data received {"connection_id":164816,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:32:42] local.INFO: Processing buffer {"connection_id":164816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:32:42] local.INFO: IMEI packet received {"connection_id":164816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":164816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:32:43] local.INFO: TCP Data received {"connection_id":164816,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:32:43] local.INFO: Processing buffer {"connection_id":164816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:32:43] local.INFO: Packet analysis {"connection_id":164816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b5f"} 
[2026-08-26 05:32:43] local.INFO: Extracted packet for processing {"connection_id":164816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b5f"} 
[2026-08-26 05:32:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651759872001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05: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-26 05:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787702488000,"timestamp_ms":1787702488000,"timestamp_seconds":1787702488,"priority":1,"record_length":96,"hex_timestamp":"000001a03b5f2bc0"} 
[2026-08-26 05: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-26 05:32: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-26 05: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:32: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-26 05: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-26 05: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-26 05:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:32: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-26 05:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651759872001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651759872001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:32:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:32:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651759872001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":164816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:32:43] local.INFO: GPS data processed {"connection_id":164816,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:32:43] local.INFO: Acknowledgment sent {"connection_id":164816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:33:14] local.INFO: TCP Data received {"connection_id":164816,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:33:14] local.INFO: Processing buffer {"connection_id":164816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:33:14] local.INFO: Packet analysis {"connection_id":164816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b5f"} 
[2026-08-26 05:33:14] local.INFO: Extracted packet for processing {"connection_id":164816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b5f"} 
[2026-08-26 05:33:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651759872001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:33: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-26 05:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787702488000,"timestamp_ms":1787702488000,"timestamp_seconds":1787702488,"priority":1,"record_length":96,"hex_timestamp":"000001a03b5f2bc0"} 
[2026-08-26 05: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-26 05:33: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-26 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:33: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-26 05: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-26 05: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-26 05:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:33: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-26 05:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651759872001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651759872001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:33:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:33:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651759872001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":164816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:33:14] local.INFO: GPS data processed {"connection_id":164816,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:33:14] local.INFO: Acknowledgment sent {"connection_id":164816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:33:37] local.INFO: TCP Data received {"connection_id":164817,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:33:37] local.INFO: Processing buffer {"connection_id":164817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:33:37] local.INFO: IMEI packet received {"connection_id":164817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":164817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:33:38] local.INFO: TCP Data received {"connection_id":162440,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:33:38] local.INFO: Processing buffer {"connection_id":162440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:33:38] local.INFO: IMEI packet received {"connection_id":162440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 05:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":162440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:33:42] local.INFO: TCP Data received {"connection_id":164817,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:33:42] local.INFO: Processing buffer {"connection_id":164817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:33:42] local.INFO: IMEI packet received {"connection_id":164817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":164817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:33:43] local.INFO: TCP Data received {"connection_id":164817,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:33:43] local.INFO: Processing buffer {"connection_id":164817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:33:43] local.INFO: Packet analysis {"connection_id":164817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b5f"} 
[2026-08-26 05:33:43] local.INFO: Extracted packet for processing {"connection_id":164817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b5f"} 
[2026-08-26 05:33:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651759872001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:33: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-26 05:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787702488000,"timestamp_ms":1787702488000,"timestamp_seconds":1787702488,"priority":1,"record_length":96,"hex_timestamp":"000001a03b5f2bc0"} 
[2026-08-26 05:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:33: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-26 05:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:33: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-26 05:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:33: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-26 05:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651759872001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651759872001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:33:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:33:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651759872001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":164817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:33:43] local.INFO: GPS data processed {"connection_id":164817,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:33:43] local.INFO: Acknowledgment sent {"connection_id":164817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:34:15] local.INFO: TCP Data received {"connection_id":164817,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:34:15] local.INFO: Processing buffer {"connection_id":164817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:34:15] local.INFO: Packet analysis {"connection_id":164817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b5f"} 
[2026-08-26 05:34:15] local.INFO: Extracted packet for processing {"connection_id":164817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b5f"} 
[2026-08-26 05:34:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651759872001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05: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-26 05:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787702488000,"timestamp_ms":1787702488000,"timestamp_seconds":1787702488,"priority":1,"record_length":96,"hex_timestamp":"000001a03b5f2bc0"} 
[2026-08-26 05: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-26 05:34: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-26 05: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-26 05: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-26 05: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-26 05: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-26 05:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:34: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-26 05:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651759872001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651759872001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:34:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:34:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651759872001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":164817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:34:15] local.INFO: GPS data processed {"connection_id":164817,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:34:15] local.INFO: Acknowledgment sent {"connection_id":164817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:34:42] local.INFO: TCP Data received {"connection_id":162441,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:34:42] local.INFO: Processing buffer {"connection_id":162441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:34:42] local.INFO: IMEI packet received {"connection_id":162441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":162441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:34:47] local.INFO: TCP Data received {"connection_id":162441,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:34:47] local.INFO: Processing buffer {"connection_id":162441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:34:48] local.INFO: IMEI packet received {"connection_id":162441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":162441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:34:48] local.INFO: TCP Data received {"connection_id":162441,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:34:48] local.INFO: Processing buffer {"connection_id":162441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:34:48] local.INFO: Packet analysis {"connection_id":162441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b5f"} 
[2026-08-26 05:34:48] local.INFO: Extracted packet for processing {"connection_id":162441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b5f"} 
[2026-08-26 05:34:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651759872001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 05:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787702488000,"timestamp_ms":1787702488000,"timestamp_seconds":1787702488,"priority":1,"record_length":96,"hex_timestamp":"000001a03b5f2bc0"} 
[2026-08-26 05: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-26 05:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 05: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-26 05: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-26 05:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651759872001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651759872001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:34:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:34:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651759872001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":162441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:34:48] local.INFO: GPS data processed {"connection_id":162441,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:34:48] local.INFO: Acknowledgment sent {"connection_id":162441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:34:53] local.INFO: TCP Data received {"connection_id":162441,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:34:53] local.INFO: Processing buffer {"connection_id":162441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:34:53] local.INFO: Packet analysis {"connection_id":162441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b5f"} 
[2026-08-26 05:34:53] local.INFO: Extracted packet for processing {"connection_id":162441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b5f"} 
[2026-08-26 05:34:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651759872001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 05:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787702488000,"timestamp_ms":1787702488000,"timestamp_seconds":1787702488,"priority":1,"record_length":96,"hex_timestamp":"000001a03b5f2bc0"} 
[2026-08-26 05: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-26 05:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 05: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-26 05: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-26 05:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651759872001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651759872001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:34:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:34:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651759872001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":162441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:34:53] local.INFO: GPS data processed {"connection_id":162441,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:34:53] local.INFO: Acknowledgment sent {"connection_id":162441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:35:38] local.INFO: TCP Data received {"connection_id":163446,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:35:38] local.INFO: Processing buffer {"connection_id":163446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:35:38] local.INFO: IMEI packet received {"connection_id":163446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":163446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:35:43] local.INFO: TCP Data received {"connection_id":163446,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:35:43] local.INFO: Processing buffer {"connection_id":163446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:35:43] local.INFO: IMEI packet received {"connection_id":163446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":163446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:35:43] local.INFO: TCP Data received {"connection_id":163446,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:35:43] local.INFO: Processing buffer {"connection_id":163446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:35:43] local.INFO: Packet analysis {"connection_id":163446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b5f"} 
[2026-08-26 05:35:43] local.INFO: Extracted packet for processing {"connection_id":163446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b5f"} 
[2026-08-26 05:35:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651759872001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05: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-26 05:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787702488000,"timestamp_ms":1787702488000,"timestamp_seconds":1787702488,"priority":1,"record_length":96,"hex_timestamp":"000001a03b5f2bc0"} 
[2026-08-26 05: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-26 05:35: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-26 05: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:35: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-26 05: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-26 05: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-26 05:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05: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-26 05:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651759872001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651759872001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:35:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:35:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651759872001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":163446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:35:43] local.INFO: GPS data processed {"connection_id":163446,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:35:43] local.INFO: Acknowledgment sent {"connection_id":163446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:36:14] local.INFO: TCP Data received {"connection_id":163446,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:36:14] local.INFO: Processing buffer {"connection_id":163446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:36:14] local.INFO: Packet analysis {"connection_id":163446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b5f"} 
[2026-08-26 05:36:14] local.INFO: Extracted packet for processing {"connection_id":163446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b5f"} 
[2026-08-26 05:36:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651759872001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:36: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-26 05:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787702488000,"timestamp_ms":1787702488000,"timestamp_seconds":1787702488,"priority":1,"record_length":96,"hex_timestamp":"000001a03b5f2bc0"} 
[2026-08-26 05: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-26 05:36: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-26 05: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:36: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-26 05: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-26 05: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-26 05:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:36: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-26 05:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651759872001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651759872001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:36:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:36:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651759872001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":163446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:36:14] local.INFO: GPS data processed {"connection_id":163446,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:36:14] local.INFO: Acknowledgment sent {"connection_id":163446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:36:37] local.INFO: TCP Data received {"connection_id":162442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:36:37] local.INFO: Processing buffer {"connection_id":162442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:36:37] local.INFO: IMEI packet received {"connection_id":162442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":162442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:36:42] local.INFO: TCP Data received {"connection_id":162442,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:36:42] local.INFO: Processing buffer {"connection_id":162442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:36:42] local.INFO: IMEI packet received {"connection_id":162442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":162442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:36:43] local.INFO: TCP Data received {"connection_id":162442,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:36:44] local.INFO: Processing buffer {"connection_id":162442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b5f2bc0012d34c14006aa4818000300e62c..."} 
[2026-08-26 05:36:44] local.INFO: Packet analysis {"connection_id":162442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b5f"} 
[2026-08-26 05:36:44] local.INFO: Extracted packet for processing {"connection_id":162442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b5f"} 
[2026-08-26 05:36:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651759872001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:36: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-26 05:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787702488000,"timestamp_ms":1787702488000,"timestamp_seconds":1787702488,"priority":1,"record_length":96,"hex_timestamp":"000001a03b5f2bc0"} 
[2026-08-26 05:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:36: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-26 05:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 05:36: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-26 05:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651759872001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651759872001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:36:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:36:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651759872001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":162442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:36:44] local.INFO: GPS data processed {"connection_id":162442,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:36:44] local.INFO: Acknowledgment sent {"connection_id":162442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:37:15] local.INFO: TCP Data received {"connection_id":162442,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:37:15] local.INFO: Processing buffer {"connection_id":162442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:37:15] local.INFO: Packet analysis {"connection_id":162442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b63"} 
[2026-08-26 05:37:15] local.INFO: Extracted packet for processing {"connection_id":162442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b63"} 
[2026-08-26 05:37:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651836928001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:37: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-26 05:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787702789000,"timestamp_ms":1787702789000,"timestamp_seconds":1787702789,"priority":1,"record_length":96,"hex_timestamp":"000001a03b63c388"} 
[2026-08-26 05:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:37: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-26 05:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 05:37: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-26 05:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:37: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-26 05:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651836928001,"66":25191,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651836928001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:37:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:37:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651836928001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":162442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:37:15] local.INFO: GPS data processed {"connection_id":162442,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:37:15] local.INFO: Acknowledgment sent {"connection_id":162442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:37:37] local.INFO: TCP Data received {"connection_id":163447,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:37:37] local.INFO: Processing buffer {"connection_id":163447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:37:37] local.INFO: IMEI packet received {"connection_id":163447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":163447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:37:43] local.INFO: TCP Data received {"connection_id":163447,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:37:43] local.INFO: Processing buffer {"connection_id":163447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:37:43] local.INFO: IMEI packet received {"connection_id":163447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":163447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:37:44] local.INFO: TCP Data received {"connection_id":163447,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:37:44] local.INFO: Processing buffer {"connection_id":163447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:37:44] local.INFO: Packet analysis {"connection_id":163447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b63"} 
[2026-08-26 05:37:44] local.INFO: Extracted packet for processing {"connection_id":163447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b63"} 
[2026-08-26 05:37:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651836928001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:37: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-26 05:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787702789000,"timestamp_ms":1787702789000,"timestamp_seconds":1787702789,"priority":1,"record_length":96,"hex_timestamp":"000001a03b63c388"} 
[2026-08-26 05: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-26 05:37: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-26 05: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":233,"data_length":795,"current_offset":136} 
[2026-08-26 05:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 05: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-26 05: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-26 05:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:37:44] 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-26 05:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651836928001,"66":25191,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651836928001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:37:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:37:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651836928001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":163447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:37:44] local.INFO: GPS data processed {"connection_id":163447,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:37:44] local.INFO: Acknowledgment sent {"connection_id":163447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:38:15] local.INFO: TCP Data received {"connection_id":163447,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:38:15] local.INFO: Processing buffer {"connection_id":163447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:38:15] local.INFO: Packet analysis {"connection_id":163447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b63"} 
[2026-08-26 05:38:15] local.INFO: Extracted packet for processing {"connection_id":163447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b63"} 
[2026-08-26 05:38:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651836928001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:38: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-26 05:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787702789000,"timestamp_ms":1787702789000,"timestamp_seconds":1787702789,"priority":1,"record_length":96,"hex_timestamp":"000001a03b63c388"} 
[2026-08-26 05:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:38: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-26 05:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 05:38: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-26 05:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:38: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-26 05:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651836928001,"66":25191,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651836928001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:38:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:38:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651836928001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":163447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:38:15] local.INFO: GPS data processed {"connection_id":163447,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:38:15] local.INFO: Acknowledgment sent {"connection_id":163447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:38:37] local.INFO: TCP Data received {"connection_id":164818,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:38:37] local.INFO: Processing buffer {"connection_id":164818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:38:37] local.INFO: IMEI packet received {"connection_id":164818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":164818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:38:43] local.INFO: TCP Data received {"connection_id":164818,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:38:43] local.INFO: Processing buffer {"connection_id":164818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:38:43] local.INFO: IMEI packet received {"connection_id":164818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":164818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:38:44] local.INFO: TCP Data received {"connection_id":164818,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:38:44] local.INFO: Processing buffer {"connection_id":164818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:38:44] local.INFO: Packet analysis {"connection_id":164818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b63"} 
[2026-08-26 05:38:44] local.INFO: Extracted packet for processing {"connection_id":164818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b63"} 
[2026-08-26 05:38:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651836928001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:38: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-26 05:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787702789000,"timestamp_ms":1787702789000,"timestamp_seconds":1787702789,"priority":1,"record_length":96,"hex_timestamp":"000001a03b63c388"} 
[2026-08-26 05: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-26 05:38: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-26 05: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":233,"data_length":795,"current_offset":136} 
[2026-08-26 05:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 05: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-26 05: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-26 05:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:38:44] 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-26 05:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651836928001,"66":25191,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651836928001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:38:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:38:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651836928001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":164818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:38:44] local.INFO: GPS data processed {"connection_id":164818,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:38:44] local.INFO: Acknowledgment sent {"connection_id":164818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:39:13] local.INFO: TCP Data received {"connection_id":162211,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:39:13] local.INFO: Processing buffer {"connection_id":162211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:39:13] local.INFO: IMEI packet received {"connection_id":162211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 05:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":162211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:39:15] local.INFO: TCP Data received {"connection_id":164818,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:39:15] local.INFO: Processing buffer {"connection_id":164818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:39:15] local.INFO: Packet analysis {"connection_id":164818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b63"} 
[2026-08-26 05:39:15] local.INFO: Extracted packet for processing {"connection_id":164818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b63"} 
[2026-08-26 05:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651836928001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:39: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-26 05:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787702789000,"timestamp_ms":1787702789000,"timestamp_seconds":1787702789,"priority":1,"record_length":96,"hex_timestamp":"000001a03b63c388"} 
[2026-08-26 05: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-26 05:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05: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":233,"data_length":795,"current_offset":136} 
[2026-08-26 05:39: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-26 05: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-26 05: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-26 05:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:39: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-26 05:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651836928001,"66":25191,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651836928001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651836928001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":164818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:39:15] local.INFO: GPS data processed {"connection_id":164818,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:39:15] local.INFO: Acknowledgment sent {"connection_id":164818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:39:37] local.INFO: TCP Data received {"connection_id":162443,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:39:37] local.INFO: Processing buffer {"connection_id":162443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:39:37] local.INFO: IMEI packet received {"connection_id":162443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":162443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:39:43] local.INFO: TCP Data received {"connection_id":162443,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:39:43] local.INFO: Processing buffer {"connection_id":162443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:39:43] local.INFO: IMEI packet received {"connection_id":162443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":162443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:39:44] local.INFO: TCP Data received {"connection_id":162443,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:39:44] local.INFO: Processing buffer {"connection_id":162443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:39:44] local.INFO: Packet analysis {"connection_id":162443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b63"} 
[2026-08-26 05:39:44] local.INFO: Extracted packet for processing {"connection_id":162443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b63"} 
[2026-08-26 05:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651836928001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:39: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-26 05:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787702789000,"timestamp_ms":1787702789000,"timestamp_seconds":1787702789,"priority":1,"record_length":96,"hex_timestamp":"000001a03b63c388"} 
[2026-08-26 05:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:39: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-26 05:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 05:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 05:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:39:44] 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-26 05:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651836928001,"66":25191,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651836928001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:39:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:39:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651836928001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":162443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:39:44] local.INFO: GPS data processed {"connection_id":162443,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:39:44] local.INFO: Acknowledgment sent {"connection_id":162443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:40:16] local.INFO: TCP Data received {"connection_id":162443,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:40:16] local.INFO: Processing buffer {"connection_id":162443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:40:16] local.INFO: Packet analysis {"connection_id":162443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b63"} 
[2026-08-26 05:40:16] local.INFO: Extracted packet for processing {"connection_id":162443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b63"} 
[2026-08-26 05:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651836928001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:40: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-26 05:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787702789000,"timestamp_ms":1787702789000,"timestamp_seconds":1787702789,"priority":1,"record_length":96,"hex_timestamp":"000001a03b63c388"} 
[2026-08-26 05:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:40: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-26 05:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 05:40: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-26 05:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:40:16] 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-26 05:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651836928001,"66":25191,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651836928001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:40:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:40:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651836928001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":162443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:40:16] local.INFO: GPS data processed {"connection_id":162443,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:40:16] local.INFO: Acknowledgment sent {"connection_id":162443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:40:43] local.INFO: TCP Data received {"connection_id":163448,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:40:43] local.INFO: Processing buffer {"connection_id":163448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:40:43] local.INFO: IMEI packet received {"connection_id":163448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":163448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:40:48] local.INFO: TCP Data received {"connection_id":163448,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:40:48] local.INFO: Processing buffer {"connection_id":163448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:40:48] local.INFO: IMEI packet received {"connection_id":163448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":163448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:40:49] local.INFO: TCP Data received {"connection_id":163448,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:40:49] local.INFO: Processing buffer {"connection_id":163448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:40:49] local.INFO: Packet analysis {"connection_id":163448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b63"} 
[2026-08-26 05:40:49] local.INFO: Extracted packet for processing {"connection_id":163448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b63"} 
[2026-08-26 05:40:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651836928001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:40: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-26 05:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787702789000,"timestamp_ms":1787702789000,"timestamp_seconds":1787702789,"priority":1,"record_length":96,"hex_timestamp":"000001a03b63c388"} 
[2026-08-26 05:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:40: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-26 05:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 05:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 05:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:40:49] 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-26 05:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651836928001,"66":25191,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651836928001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:40:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:40:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651836928001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":163448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:40:49] local.INFO: GPS data processed {"connection_id":163448,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:40:49] local.INFO: Acknowledgment sent {"connection_id":163448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:40:53] local.INFO: TCP Data received {"connection_id":163448,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:40:53] local.INFO: Processing buffer {"connection_id":163448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:40:53] local.INFO: Packet analysis {"connection_id":163448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b63"} 
[2026-08-26 05:40:53] local.INFO: Extracted packet for processing {"connection_id":163448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b63"} 
[2026-08-26 05:40:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651836928001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 05:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787702789000,"timestamp_ms":1787702789000,"timestamp_seconds":1787702789,"priority":1,"record_length":96,"hex_timestamp":"000001a03b63c388"} 
[2026-08-26 05:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 05:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 05:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651836928001,"66":25191,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651836928001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:40:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:40:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651836928001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":163448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:40:53] local.INFO: GPS data processed {"connection_id":163448,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:40:53] local.INFO: Acknowledgment sent {"connection_id":163448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:41:38] local.INFO: TCP Data received {"connection_id":162212,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:41:38] local.INFO: Processing buffer {"connection_id":162212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:41:38] local.INFO: IMEI packet received {"connection_id":162212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":162212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:41:43] local.INFO: TCP Data received {"connection_id":162212,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:41:43] local.INFO: Processing buffer {"connection_id":162212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:41:43] local.INFO: IMEI packet received {"connection_id":162212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":162212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:41:44] local.INFO: TCP Data received {"connection_id":162212,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:41:44] local.INFO: Processing buffer {"connection_id":162212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b63c388012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:41:44] local.INFO: Packet analysis {"connection_id":162212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b63"} 
[2026-08-26 05:41:44] local.INFO: Extracted packet for processing {"connection_id":162212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b63"} 
[2026-08-26 05:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651836928001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:41: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-26 05:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787702789000,"timestamp_ms":1787702789000,"timestamp_seconds":1787702789,"priority":1,"record_length":96,"hex_timestamp":"000001a03b63c388"} 
[2026-08-26 05:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:41: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-26 05:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 05:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 05:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:41:44] 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-26 05:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651836928001,"66":25191,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651836928001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:41:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:41:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651836928001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":162212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:41:44] local.INFO: GPS data processed {"connection_id":162212,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:41:44] local.INFO: Acknowledgment sent {"connection_id":162212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:42:15] local.INFO: TCP Data received {"connection_id":162212,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:42:15] local.INFO: Processing buffer {"connection_id":162212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:42:15] local.INFO: Packet analysis {"connection_id":162212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b68"} 
[2026-08-26 05:42:15] local.INFO: Extracted packet for processing {"connection_id":162212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b68"} 
[2026-08-26 05:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651913984001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05: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-26 05:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787703090000,"timestamp_ms":1787703090000,"timestamp_seconds":1787703090,"priority":1,"record_length":96,"hex_timestamp":"000001a03b685b50"} 
[2026-08-26 05: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-26 05: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-26 05: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":103,"data_length":795,"current_offset":136} 
[2026-08-26 05:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 05: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-26 05: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-26 05:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:42: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-26 05:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651913984001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651913984001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:42:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651913984001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":162212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:42:15] local.INFO: GPS data processed {"connection_id":162212,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:42:15] local.INFO: Acknowledgment sent {"connection_id":162212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:42:38] local.INFO: TCP Data received {"connection_id":163449,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:42:38] local.INFO: Processing buffer {"connection_id":163449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:42:38] local.INFO: IMEI packet received {"connection_id":163449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":163449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:42:43] local.INFO: TCP Data received {"connection_id":163449,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:42:43] local.INFO: Processing buffer {"connection_id":163449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:42:43] local.INFO: IMEI packet received {"connection_id":163449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":163449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:42:44] local.INFO: TCP Data received {"connection_id":163449,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:42:44] local.INFO: Processing buffer {"connection_id":163449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:42:44] local.INFO: Packet analysis {"connection_id":163449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b68"} 
[2026-08-26 05:42:44] local.INFO: Extracted packet for processing {"connection_id":163449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b68"} 
[2026-08-26 05:42:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651913984001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:42: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-26 05:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787703090000,"timestamp_ms":1787703090000,"timestamp_seconds":1787703090,"priority":1,"record_length":96,"hex_timestamp":"000001a03b685b50"} 
[2026-08-26 05: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-26 05:42: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-26 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-26 05:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 05: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-26 05: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-26 05:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:42:44] 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-26 05:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651913984001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651913984001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:42:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:42:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651913984001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":163449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:42:44] local.INFO: GPS data processed {"connection_id":163449,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:42:44] local.INFO: Acknowledgment sent {"connection_id":163449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:43:15] local.INFO: TCP Data received {"connection_id":163449,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:43:15] local.INFO: Processing buffer {"connection_id":163449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:43:15] local.INFO: Packet analysis {"connection_id":163449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b68"} 
[2026-08-26 05:43:15] local.INFO: Extracted packet for processing {"connection_id":163449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b68"} 
[2026-08-26 05:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651913984001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:43: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-26 05:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787703090000,"timestamp_ms":1787703090000,"timestamp_seconds":1787703090,"priority":1,"record_length":96,"hex_timestamp":"000001a03b685b50"} 
[2026-08-26 05:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:43: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-26 05:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-26 05:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 05:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:43: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-26 05:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651913984001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651913984001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:43:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651913984001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":163449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:43:15] local.INFO: GPS data processed {"connection_id":163449,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:43:15] local.INFO: Acknowledgment sent {"connection_id":163449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:43:37] local.INFO: TCP Data received {"connection_id":163450,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:43:37] local.INFO: Processing buffer {"connection_id":163450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:43:37] local.INFO: IMEI packet received {"connection_id":163450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":163450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:43:43] local.INFO: TCP Data received {"connection_id":163450,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:43:43] local.INFO: Processing buffer {"connection_id":163450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:43:43] local.INFO: IMEI packet received {"connection_id":163450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":163450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:43:44] local.INFO: TCP Data received {"connection_id":163450,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:43:44] local.INFO: Processing buffer {"connection_id":163450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:43:44] local.INFO: Packet analysis {"connection_id":163450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b68"} 
[2026-08-26 05:43:44] local.INFO: Extracted packet for processing {"connection_id":163450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b68"} 
[2026-08-26 05:43:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651913984001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:43: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-26 05:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787703090000,"timestamp_ms":1787703090000,"timestamp_seconds":1787703090,"priority":1,"record_length":96,"hex_timestamp":"000001a03b685b50"} 
[2026-08-26 05: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-26 05:43: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-26 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-26 05:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 05: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-26 05: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-26 05:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:43:44] 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-26 05:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651913984001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651913984001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:43:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:43:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651913984001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":163450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:43:44] local.INFO: GPS data processed {"connection_id":163450,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:43:44] local.INFO: Acknowledgment sent {"connection_id":163450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:44:15] local.INFO: TCP Data received {"connection_id":163450,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:44:15] local.INFO: Processing buffer {"connection_id":163450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:44:15] local.INFO: Packet analysis {"connection_id":163450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b68"} 
[2026-08-26 05:44:15] local.INFO: Extracted packet for processing {"connection_id":163450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b68"} 
[2026-08-26 05:44:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651913984001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:44: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-26 05:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787703090000,"timestamp_ms":1787703090000,"timestamp_seconds":1787703090,"priority":1,"record_length":96,"hex_timestamp":"000001a03b685b50"} 
[2026-08-26 05: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-26 05:44: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-26 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-26 05:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 05: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-26 05: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-26 05:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:44: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-26 05:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651913984001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651913984001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:44:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:44:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651913984001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":163450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:44:15] local.INFO: GPS data processed {"connection_id":163450,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:44:15] local.INFO: Acknowledgment sent {"connection_id":163450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:44:37] local.INFO: TCP Data received {"connection_id":162213,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:44:37] local.INFO: Processing buffer {"connection_id":162213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:44:37] local.INFO: IMEI packet received {"connection_id":162213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":162213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:44:43] local.INFO: TCP Data received {"connection_id":162213,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:44:43] local.INFO: Processing buffer {"connection_id":162213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:44:43] local.INFO: IMEI packet received {"connection_id":162213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":162213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:44:44] local.INFO: TCP Data received {"connection_id":162213,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:44:44] local.INFO: Processing buffer {"connection_id":162213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:44:44] local.INFO: Packet analysis {"connection_id":162213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b68"} 
[2026-08-26 05:44:44] local.INFO: Extracted packet for processing {"connection_id":162213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b68"} 
[2026-08-26 05:44:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651913984001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:44: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-26 05:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787703090000,"timestamp_ms":1787703090000,"timestamp_seconds":1787703090,"priority":1,"record_length":96,"hex_timestamp":"000001a03b685b50"} 
[2026-08-26 05: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-26 05:44: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-26 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-26 05:44:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 05: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-26 05: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-26 05:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:44:44] 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-26 05:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651913984001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651913984001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:44:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:44:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651913984001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":162213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:44:44] local.INFO: GPS data processed {"connection_id":162213,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:44:44] local.INFO: Acknowledgment sent {"connection_id":162213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:44:48] local.INFO: TCP Data received {"connection_id":162444,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:44:48] local.INFO: Processing buffer {"connection_id":162444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:44:48] local.INFO: IMEI packet received {"connection_id":162444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 05:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":162444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:45:15] local.INFO: TCP Data received {"connection_id":162213,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:45:15] local.INFO: Processing buffer {"connection_id":162213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:45:15] local.INFO: Packet analysis {"connection_id":162213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b68"} 
[2026-08-26 05:45:15] local.INFO: Extracted packet for processing {"connection_id":162213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b68"} 
[2026-08-26 05:45:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651913984001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:45: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-26 05:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787703090000,"timestamp_ms":1787703090000,"timestamp_seconds":1787703090,"priority":1,"record_length":96,"hex_timestamp":"000001a03b685b50"} 
[2026-08-26 05:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:45: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-26 05:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-26 05:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 05:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:45: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-26 05:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651913984001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651913984001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:45:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:45:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651913984001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":162213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:45:15] local.INFO: GPS data processed {"connection_id":162213,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:45:15] local.INFO: Acknowledgment sent {"connection_id":162213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:45:37] local.INFO: TCP Data received {"connection_id":162445,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:45:37] local.INFO: Processing buffer {"connection_id":162445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:45:37] local.INFO: IMEI packet received {"connection_id":162445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":162445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:45:43] local.INFO: TCP Data received {"connection_id":162445,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:45:43] local.INFO: Processing buffer {"connection_id":162445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:45:43] local.INFO: IMEI packet received {"connection_id":162445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":162445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:45:44] local.INFO: TCP Data received {"connection_id":162445,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:45:44] local.INFO: Processing buffer {"connection_id":162445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:45:44] local.INFO: Packet analysis {"connection_id":162445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b68"} 
[2026-08-26 05:45:44] local.INFO: Extracted packet for processing {"connection_id":162445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b68"} 
[2026-08-26 05:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651913984001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:45: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-26 05:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787703090000,"timestamp_ms":1787703090000,"timestamp_seconds":1787703090,"priority":1,"record_length":96,"hex_timestamp":"000001a03b685b50"} 
[2026-08-26 05:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:45: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-26 05:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-26 05:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 05:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:45:44] 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-26 05:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651913984001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651913984001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:45:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651913984001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":162445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:45:44] local.INFO: GPS data processed {"connection_id":162445,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:45:44] local.INFO: Acknowledgment sent {"connection_id":162445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:46:15] local.INFO: TCP Data received {"connection_id":162445,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:46:15] local.INFO: Processing buffer {"connection_id":162445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:46:15] local.INFO: Packet analysis {"connection_id":162445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b68"} 
[2026-08-26 05:46:15] local.INFO: Extracted packet for processing {"connection_id":162445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b68"} 
[2026-08-26 05:46:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651913984001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:46: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-26 05:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787703090000,"timestamp_ms":1787703090000,"timestamp_seconds":1787703090,"priority":1,"record_length":96,"hex_timestamp":"000001a03b685b50"} 
[2026-08-26 05:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:46: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-26 05:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-26 05:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 05:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:46: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-26 05:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651913984001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651913984001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:46:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:46:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651913984001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":162445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:46:15] local.INFO: GPS data processed {"connection_id":162445,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:46:15] local.INFO: Acknowledgment sent {"connection_id":162445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:46:43] local.INFO: TCP Data received {"connection_id":162214,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:46:43] local.INFO: Processing buffer {"connection_id":162214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:46:43] local.INFO: IMEI packet received {"connection_id":162214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":162214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:46:48] local.INFO: TCP Data received {"connection_id":162214,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:46:48] local.INFO: Processing buffer {"connection_id":162214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:46:48] local.INFO: IMEI packet received {"connection_id":162214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":162214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:46:49] local.INFO: TCP Data received {"connection_id":162214,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:46:49] local.INFO: Processing buffer {"connection_id":162214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:46:49] local.INFO: Packet analysis {"connection_id":162214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b68"} 
[2026-08-26 05:46:49] local.INFO: Extracted packet for processing {"connection_id":162214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b68"} 
[2026-08-26 05:46:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651913984001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:46: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-26 05:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787703090000,"timestamp_ms":1787703090000,"timestamp_seconds":1787703090,"priority":1,"record_length":96,"hex_timestamp":"000001a03b685b50"} 
[2026-08-26 05: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-26 05:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-26 05:46:49] 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-26 05: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-26 05: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-26 05:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:46:49] 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-26 05:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651913984001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651913984001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:46:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:46:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651913984001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":162214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:46:49] local.INFO: GPS data processed {"connection_id":162214,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:46:49] local.INFO: Acknowledgment sent {"connection_id":162214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:46:53] local.INFO: TCP Data received {"connection_id":162214,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:46:53] local.INFO: Processing buffer {"connection_id":162214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b685b50012d34c14006aa4818000500e62f..."} 
[2026-08-26 05:46:53] local.INFO: Packet analysis {"connection_id":162214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b68"} 
[2026-08-26 05:46:53] local.INFO: Extracted packet for processing {"connection_id":162214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b68"} 
[2026-08-26 05:46:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651913984001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 05:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787703090000,"timestamp_ms":1787703090000,"timestamp_seconds":1787703090,"priority":1,"record_length":96,"hex_timestamp":"000001a03b685b50"} 
[2026-08-26 05:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-26 05:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 05:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:46:53] 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-26 05:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651913984001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651913984001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:46:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:46:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651913984001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":162214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:46:53] local.INFO: GPS data processed {"connection_id":162214,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:46:53] local.INFO: Acknowledgment sent {"connection_id":162214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:47:38] local.INFO: TCP Data received {"connection_id":164819,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:47:38] local.INFO: Processing buffer {"connection_id":164819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:47:38] local.INFO: IMEI packet received {"connection_id":164819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":164819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:47:43] local.INFO: TCP Data received {"connection_id":164819,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:47:43] local.INFO: Processing buffer {"connection_id":164819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:47:43] local.INFO: IMEI packet received {"connection_id":164819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":164819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:47:43] local.INFO: TCP Data received {"connection_id":164819,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:47:43] local.INFO: Processing buffer {"connection_id":164819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:47:43] local.INFO: Packet analysis {"connection_id":164819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b6c"} 
[2026-08-26 05:47:43] local.INFO: Extracted packet for processing {"connection_id":164819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b6c"} 
[2026-08-26 05:47:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651991040001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:47: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-26 05:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787703391000,"timestamp_ms":1787703391000,"timestamp_seconds":1787703391,"priority":1,"record_length":96,"hex_timestamp":"000001a03b6cf318"} 
[2026-08-26 05: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-26 05:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:47:43] 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-26 05: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-26 05: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-26 05:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:47: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-26 05:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651991040001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651991040001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:47:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:47:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651991040001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":164819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:47:43] local.INFO: GPS data processed {"connection_id":164819,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:47:43] local.INFO: Acknowledgment sent {"connection_id":164819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:48:16] local.INFO: TCP Data received {"connection_id":164819,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:48:16] local.INFO: Processing buffer {"connection_id":164819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:48:16] local.INFO: Packet analysis {"connection_id":164819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b6c"} 
[2026-08-26 05:48:16] local.INFO: Extracted packet for processing {"connection_id":164819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b6c"} 
[2026-08-26 05:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651991040001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05: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-26 05:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787703391000,"timestamp_ms":1787703391000,"timestamp_seconds":1787703391,"priority":1,"record_length":96,"hex_timestamp":"000001a03b6cf318"} 
[2026-08-26 05: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-26 05:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:48: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-26 05: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-26 05: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-26 05:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:48: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-26 05:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651991040001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651991040001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:48:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:48:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651991040001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":164819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:48:16] local.INFO: GPS data processed {"connection_id":164819,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:48:16] local.INFO: Acknowledgment sent {"connection_id":164819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:48:38] local.INFO: TCP Data received {"connection_id":163451,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:48:38] local.INFO: Processing buffer {"connection_id":163451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:48:38] local.INFO: IMEI packet received {"connection_id":163451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":163451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:48:43] local.INFO: TCP Data received {"connection_id":163451,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:48:43] local.INFO: Processing buffer {"connection_id":163451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:48:43] local.INFO: IMEI packet received {"connection_id":163451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":163451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:48:44] local.INFO: TCP Data received {"connection_id":163451,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:48:44] local.INFO: Processing buffer {"connection_id":163451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:48:44] local.INFO: Packet analysis {"connection_id":163451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b6c"} 
[2026-08-26 05:48:44] local.INFO: Extracted packet for processing {"connection_id":163451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b6c"} 
[2026-08-26 05:48:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651991040001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:48: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-26 05:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787703391000,"timestamp_ms":1787703391000,"timestamp_seconds":1787703391,"priority":1,"record_length":96,"hex_timestamp":"000001a03b6cf318"} 
[2026-08-26 05: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-26 05:48: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-26 05: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:48: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-26 05: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-26 05: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-26 05:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:48: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-26 05:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651991040001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651991040001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:48:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:48:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651991040001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":163451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:48:44] local.INFO: GPS data processed {"connection_id":163451,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:48:44] local.INFO: Acknowledgment sent {"connection_id":163451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:49:15] local.INFO: TCP Data received {"connection_id":163451,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:49:15] local.INFO: Processing buffer {"connection_id":163451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:49:15] local.INFO: Packet analysis {"connection_id":163451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b6c"} 
[2026-08-26 05:49:15] local.INFO: Extracted packet for processing {"connection_id":163451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b6c"} 
[2026-08-26 05:49:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651991040001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05: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-26 05:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787703391000,"timestamp_ms":1787703391000,"timestamp_seconds":1787703391,"priority":1,"record_length":96,"hex_timestamp":"000001a03b6cf318"} 
[2026-08-26 05:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05: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-26 05:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:49: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-26 05:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05: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-26 05:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651991040001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651991040001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:49:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:49:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651991040001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":163451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:49:15] local.INFO: GPS data processed {"connection_id":163451,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:49:15] local.INFO: Acknowledgment sent {"connection_id":163451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:49:37] local.INFO: TCP Data received {"connection_id":164820,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:49:37] local.INFO: Processing buffer {"connection_id":164820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:49:37] local.INFO: IMEI packet received {"connection_id":164820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":164820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:49:43] local.INFO: TCP Data received {"connection_id":164820,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:49:43] local.INFO: Processing buffer {"connection_id":164820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:49:43] local.INFO: IMEI packet received {"connection_id":164820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":164820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:49:44] local.INFO: TCP Data received {"connection_id":164820,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:49:44] local.INFO: Processing buffer {"connection_id":164820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:49:44] local.INFO: Packet analysis {"connection_id":164820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b6c"} 
[2026-08-26 05:49:44] local.INFO: Extracted packet for processing {"connection_id":164820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b6c"} 
[2026-08-26 05:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651991040001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:49: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-26 05:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787703391000,"timestamp_ms":1787703391000,"timestamp_seconds":1787703391,"priority":1,"record_length":96,"hex_timestamp":"000001a03b6cf318"} 
[2026-08-26 05: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-26 05:49: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-26 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:49: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-26 05: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-26 05: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-26 05:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:49: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-26 05:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651991040001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651991040001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:49:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:49:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651991040001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":164820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:49:44] local.INFO: GPS data processed {"connection_id":164820,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:49:44] local.INFO: Acknowledgment sent {"connection_id":164820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:50:15] local.INFO: TCP Data received {"connection_id":164820,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:50:15] local.INFO: Processing buffer {"connection_id":164820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:50:15] local.INFO: Packet analysis {"connection_id":164820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b6c"} 
[2026-08-26 05:50:15] local.INFO: Extracted packet for processing {"connection_id":164820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b6c"} 
[2026-08-26 05:50:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651991040001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:50: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-26 05:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787703391000,"timestamp_ms":1787703391000,"timestamp_seconds":1787703391,"priority":1,"record_length":96,"hex_timestamp":"000001a03b6cf318"} 
[2026-08-26 05:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:50: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-26 05:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:50: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-26 05:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:50: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-26 05:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651991040001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651991040001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:50:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:50:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651991040001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":164820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:50:15] local.INFO: GPS data processed {"connection_id":164820,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:50:15] local.INFO: Acknowledgment sent {"connection_id":164820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:50:23] local.INFO: TCP Data received {"connection_id":162215,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:50:23] local.INFO: Processing buffer {"connection_id":162215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:50:23] local.INFO: IMEI packet received {"connection_id":162215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 05:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":162215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:50:37] local.INFO: TCP Data received {"connection_id":162216,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:50:37] local.INFO: Processing buffer {"connection_id":162216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:50:37] local.INFO: IMEI packet received {"connection_id":162216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":162216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:50:43] local.INFO: TCP Data received {"connection_id":162216,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:50:43] local.INFO: Processing buffer {"connection_id":162216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:50:43] local.INFO: IMEI packet received {"connection_id":162216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":162216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:50:44] local.INFO: TCP Data received {"connection_id":162216,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:50:44] local.INFO: Processing buffer {"connection_id":162216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:50:44] local.INFO: Packet analysis {"connection_id":162216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b6c"} 
[2026-08-26 05:50:44] local.INFO: Extracted packet for processing {"connection_id":162216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b6c"} 
[2026-08-26 05:50:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651991040001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:50: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-26 05:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787703391000,"timestamp_ms":1787703391000,"timestamp_seconds":1787703391,"priority":1,"record_length":96,"hex_timestamp":"000001a03b6cf318"} 
[2026-08-26 05:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:50: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-26 05:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:50: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-26 05:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:50:44] 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-26 05:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651991040001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651991040001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:50:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:50:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651991040001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":162216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:50:44] local.INFO: GPS data processed {"connection_id":162216,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:50:44] local.INFO: Acknowledgment sent {"connection_id":162216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:51:16] local.INFO: TCP Data received {"connection_id":162216,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:51:16] local.INFO: Processing buffer {"connection_id":162216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:51:16] local.INFO: Packet analysis {"connection_id":162216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b6c"} 
[2026-08-26 05:51:16] local.INFO: Extracted packet for processing {"connection_id":162216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b6c"} 
[2026-08-26 05:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651991040001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:51: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-26 05:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787703391000,"timestamp_ms":1787703391000,"timestamp_seconds":1787703391,"priority":1,"record_length":96,"hex_timestamp":"000001a03b6cf318"} 
[2026-08-26 05:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:51: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-26 05:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:51: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-26 05:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651991040001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651991040001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:51:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:51:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651991040001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":162216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:51:16] local.INFO: GPS data processed {"connection_id":162216,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:51:16] local.INFO: Acknowledgment sent {"connection_id":162216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:51:43] local.INFO: TCP Data received {"connection_id":162217,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:51:43] local.INFO: Processing buffer {"connection_id":162217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:51:43] local.INFO: IMEI packet received {"connection_id":162217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":162217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:51:44] local.INFO: TCP Data received {"connection_id":162217,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:51:44] local.INFO: Processing buffer {"connection_id":162217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b6cf318012d34c14006aa4818000800e62b..."} 
[2026-08-26 05:51:44] local.INFO: Packet analysis {"connection_id":162217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b6c"} 
[2026-08-26 05:51:44] local.INFO: Extracted packet for processing {"connection_id":162217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b6c"} 
[2026-08-26 05:51:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457651991040001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 05:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787703391000,"timestamp_ms":1787703391000,"timestamp_seconds":1787703391,"priority":1,"record_length":96,"hex_timestamp":"000001a03b6cf318"} 
[2026-08-26 05: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-26 05:51: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-26 05:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:51: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-26 05: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-26 05: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-26 05:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:51: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-26 05:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457651991040001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457651991040001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:51:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:51:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457651991040001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":162217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:51:44] local.INFO: GPS data processed {"connection_id":162217,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:51:44] local.INFO: Acknowledgment sent {"connection_id":162217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:52:15] local.INFO: TCP Data received {"connection_id":162217,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:52:15] local.INFO: Processing buffer {"connection_id":162217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:52:15] local.INFO: Packet analysis {"connection_id":162217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b71"} 
[2026-08-26 05:52:15] local.INFO: Extracted packet for processing {"connection_id":162217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b71"} 
[2026-08-26 05:52:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652068096001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:52: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-26 05:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787703692000,"timestamp_ms":1787703692000,"timestamp_seconds":1787703692,"priority":1,"record_length":96,"hex_timestamp":"000001a03b718ae0"} 
[2026-08-26 05:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:52: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-26 05:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:52: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-26 05:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652068096001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652068096001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:52:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:52:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652068096001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":162217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:52:15] local.INFO: GPS data processed {"connection_id":162217,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:52:15] local.INFO: Acknowledgment sent {"connection_id":162217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:52:38] local.INFO: TCP Data received {"connection_id":162446,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:52:38] local.INFO: Processing buffer {"connection_id":162446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:52:38] local.INFO: IMEI packet received {"connection_id":162446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":162446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:52:43] local.INFO: TCP Data received {"connection_id":162446,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:52:43] local.INFO: Processing buffer {"connection_id":162446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:52:43] local.INFO: IMEI packet received {"connection_id":162446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":162446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:52:44] local.INFO: TCP Data received {"connection_id":162446,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:52:44] local.INFO: Processing buffer {"connection_id":162446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:52:44] local.INFO: Packet analysis {"connection_id":162446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b71"} 
[2026-08-26 05:52:44] local.INFO: Extracted packet for processing {"connection_id":162446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b71"} 
[2026-08-26 05:52:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652068096001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:52: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-26 05:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787703692000,"timestamp_ms":1787703692000,"timestamp_seconds":1787703692,"priority":1,"record_length":96,"hex_timestamp":"000001a03b718ae0"} 
[2026-08-26 05: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-26 05:52: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-26 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:52: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-26 05: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-26 05: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-26 05:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652068096001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652068096001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:52:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:52:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652068096001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":162446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:52:44] local.INFO: GPS data processed {"connection_id":162446,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:52:44] local.INFO: Acknowledgment sent {"connection_id":162446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:53:15] local.INFO: TCP Data received {"connection_id":162446,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:53:15] local.INFO: Processing buffer {"connection_id":162446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:53:15] local.INFO: Packet analysis {"connection_id":162446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b71"} 
[2026-08-26 05:53:15] local.INFO: Extracted packet for processing {"connection_id":162446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b71"} 
[2026-08-26 05:53:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652068096001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05: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-26 05:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787703692000,"timestamp_ms":1787703692000,"timestamp_seconds":1787703692,"priority":1,"record_length":96,"hex_timestamp":"000001a03b718ae0"} 
[2026-08-26 05: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-26 05:53: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-26 05: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:53: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-26 05: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-26 05: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-26 05:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652068096001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652068096001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:53:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:53:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652068096001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":162446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:53:15] local.INFO: GPS data processed {"connection_id":162446,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:53:15] local.INFO: Acknowledgment sent {"connection_id":162446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:53:38] local.INFO: TCP Data received {"connection_id":162218,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:53:38] local.INFO: Processing buffer {"connection_id":162218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:53:38] local.INFO: IMEI packet received {"connection_id":162218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":162218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:53:43] local.INFO: TCP Data received {"connection_id":162218,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:53:43] local.INFO: Processing buffer {"connection_id":162218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:53:43] local.INFO: IMEI packet received {"connection_id":162218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":162218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:53:44] local.INFO: TCP Data received {"connection_id":162218,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:53:44] local.INFO: Processing buffer {"connection_id":162218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:53:44] local.INFO: Packet analysis {"connection_id":162218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b71"} 
[2026-08-26 05:53:44] local.INFO: Extracted packet for processing {"connection_id":162218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b71"} 
[2026-08-26 05:53:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652068096001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:53: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-26 05:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787703692000,"timestamp_ms":1787703692000,"timestamp_seconds":1787703692,"priority":1,"record_length":96,"hex_timestamp":"000001a03b718ae0"} 
[2026-08-26 05: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-26 05:53: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-26 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:53: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-26 05: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-26 05: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-26 05:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:53: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-26 05:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652068096001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652068096001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:53:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:53:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652068096001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":162218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:53:44] local.INFO: GPS data processed {"connection_id":162218,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:53:44] local.INFO: Acknowledgment sent {"connection_id":162218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:54:15] local.INFO: TCP Data received {"connection_id":162218,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:54:15] local.INFO: Processing buffer {"connection_id":162218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:54:15] local.INFO: Packet analysis {"connection_id":162218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b71"} 
[2026-08-26 05:54:15] local.INFO: Extracted packet for processing {"connection_id":162218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b71"} 
[2026-08-26 05:54:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652068096001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:54: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-26 05:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787703692000,"timestamp_ms":1787703692000,"timestamp_seconds":1787703692,"priority":1,"record_length":96,"hex_timestamp":"000001a03b718ae0"} 
[2026-08-26 05:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:54: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-26 05:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:54: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-26 05:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:54: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-26 05:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652068096001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652068096001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:54:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:54:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652068096001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":162218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:54:15] local.INFO: GPS data processed {"connection_id":162218,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:54:15] local.INFO: Acknowledgment sent {"connection_id":162218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:54:37] local.INFO: TCP Data received {"connection_id":162447,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:54:37] local.INFO: Processing buffer {"connection_id":162447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:54:37] local.INFO: IMEI packet received {"connection_id":162447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":162447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:54:43] local.INFO: TCP Data received {"connection_id":162447,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:54:43] local.INFO: Processing buffer {"connection_id":162447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:54:43] local.INFO: IMEI packet received {"connection_id":162447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":162447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:54:44] local.INFO: TCP Data received {"connection_id":162447,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:54:44] local.INFO: Processing buffer {"connection_id":162447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:54:44] local.INFO: Packet analysis {"connection_id":162447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b71"} 
[2026-08-26 05:54:44] local.INFO: Extracted packet for processing {"connection_id":162447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b71"} 
[2026-08-26 05:54:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652068096001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:54: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-26 05:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787703692000,"timestamp_ms":1787703692000,"timestamp_seconds":1787703692,"priority":1,"record_length":96,"hex_timestamp":"000001a03b718ae0"} 
[2026-08-26 05: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-26 05:54: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-26 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:54: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-26 05: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-26 05: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-26 05:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:54: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-26 05:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652068096001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652068096001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:54:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:54:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652068096001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":162447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:54:44] local.INFO: GPS data processed {"connection_id":162447,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:54:44] local.INFO: Acknowledgment sent {"connection_id":162447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:55:15] local.INFO: TCP Data received {"connection_id":162447,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:55:15] local.INFO: Processing buffer {"connection_id":162447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:55:15] local.INFO: Packet analysis {"connection_id":162447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b71"} 
[2026-08-26 05:55:15] local.INFO: Extracted packet for processing {"connection_id":162447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b71"} 
[2026-08-26 05:55:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652068096001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:55: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-26 05:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787703692000,"timestamp_ms":1787703692000,"timestamp_seconds":1787703692,"priority":1,"record_length":96,"hex_timestamp":"000001a03b718ae0"} 
[2026-08-26 05: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-26 05:55: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-26 05: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:55: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-26 05: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-26 05: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-26 05:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:55: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-26 05:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652068096001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652068096001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:55:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:55:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652068096001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":162447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:55:15] local.INFO: GPS data processed {"connection_id":162447,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:55:15] local.INFO: Acknowledgment sent {"connection_id":162447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:55:37] local.INFO: TCP Data received {"connection_id":163452,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:55:37] local.INFO: Processing buffer {"connection_id":163452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:55:37] local.INFO: IMEI packet received {"connection_id":163452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":163452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:55:43] local.INFO: TCP Data received {"connection_id":163452,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:55:43] local.INFO: Processing buffer {"connection_id":163452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:55:43] local.INFO: IMEI packet received {"connection_id":163452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":163452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:55:44] local.INFO: TCP Data received {"connection_id":163452,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:55:44] local.INFO: Processing buffer {"connection_id":163452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:55:44] local.INFO: Packet analysis {"connection_id":163452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b71"} 
[2026-08-26 05:55:44] local.INFO: Extracted packet for processing {"connection_id":163452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b71"} 
[2026-08-26 05:55:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652068096001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:55: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-26 05:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787703692000,"timestamp_ms":1787703692000,"timestamp_seconds":1787703692,"priority":1,"record_length":96,"hex_timestamp":"000001a03b718ae0"} 
[2026-08-26 05:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:55: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-26 05:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:55: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-26 05:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652068096001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652068096001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:55:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:55:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652068096001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":163452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:55:44] local.INFO: GPS data processed {"connection_id":163452,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:55:44] local.INFO: Acknowledgment sent {"connection_id":163452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:55:58] local.INFO: TCP Data received {"connection_id":164821,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164821,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:55:58] local.INFO: Processing buffer {"connection_id":164821,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 05:55:58] local.INFO: IMEI packet received {"connection_id":164821,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 05:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":164821,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:56:15] local.INFO: TCP Data received {"connection_id":163452,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:56:15] local.INFO: Processing buffer {"connection_id":163452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:56:15] local.INFO: Packet analysis {"connection_id":163452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b71"} 
[2026-08-26 05:56:15] local.INFO: Extracted packet for processing {"connection_id":163452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b71"} 
[2026-08-26 05:56:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652068096001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:56: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-26 05:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787703692000,"timestamp_ms":1787703692000,"timestamp_seconds":1787703692,"priority":1,"record_length":96,"hex_timestamp":"000001a03b718ae0"} 
[2026-08-26 05: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-26 05: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-26 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:56: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-26 05: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-26 05: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-26 05:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 05:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652068096001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652068096001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:56:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:56:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652068096001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":163452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:56:15] local.INFO: GPS data processed {"connection_id":163452,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:56:15] local.INFO: Acknowledgment sent {"connection_id":163452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:56:38] local.INFO: TCP Data received {"connection_id":162448,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:56:38] local.INFO: Processing buffer {"connection_id":162448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:56:38] local.INFO: IMEI packet received {"connection_id":162448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":162448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:56:43] local.INFO: TCP Data received {"connection_id":162448,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:56:43] local.INFO: Processing buffer {"connection_id":162448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:56:43] local.INFO: IMEI packet received {"connection_id":162448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":162448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:56:44] local.INFO: TCP Data received {"connection_id":162448,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:56:44] local.INFO: Processing buffer {"connection_id":162448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b718ae0012d34c14006aa4818000900e62d..."} 
[2026-08-26 05:56:44] local.INFO: Packet analysis {"connection_id":162448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b71"} 
[2026-08-26 05:56:44] local.INFO: Extracted packet for processing {"connection_id":162448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b71"} 
[2026-08-26 05:56:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652068096001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:56: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-26 05:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787703692000,"timestamp_ms":1787703692000,"timestamp_seconds":1787703692,"priority":1,"record_length":96,"hex_timestamp":"000001a03b718ae0"} 
[2026-08-26 05:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:56: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-26 05:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 05:56: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-26 05:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:56: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-26 05:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652068096001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652068096001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:56:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:56:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652068096001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":162448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:56:44] local.INFO: GPS data processed {"connection_id":162448,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:56:44] local.INFO: Acknowledgment sent {"connection_id":162448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:57:16] local.INFO: TCP Data received {"connection_id":162448,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:57:16] local.INFO: Processing buffer {"connection_id":162448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:57:16] local.INFO: Packet analysis {"connection_id":162448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b76"} 
[2026-08-26 05:57:16] local.INFO: Extracted packet for processing {"connection_id":162448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b76"} 
[2026-08-26 05:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652145152001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:57: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-26 05:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787703993000,"timestamp_ms":1787703993000,"timestamp_seconds":1787703993,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7622a8"} 
[2026-08-26 05:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:57: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-26 05:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:57: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-26 05:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:57: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-26 05:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652145152001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652145152001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:57:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:57:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652145152001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":162448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:57:16] local.INFO: GPS data processed {"connection_id":162448,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:57:16] local.INFO: Acknowledgment sent {"connection_id":162448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:57:43] local.INFO: TCP Data received {"connection_id":162219,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:57:43] local.INFO: Processing buffer {"connection_id":162219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:57:43] local.INFO: IMEI packet received {"connection_id":162219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":162219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:57:48] local.INFO: TCP Data received {"connection_id":162219,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:57:48] local.INFO: Processing buffer {"connection_id":162219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:57:48] local.INFO: IMEI packet received {"connection_id":162219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":162219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:57:49] local.INFO: TCP Data received {"connection_id":162219,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:57:49] local.INFO: Processing buffer {"connection_id":162219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:57:49] local.INFO: Packet analysis {"connection_id":162219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b76"} 
[2026-08-26 05:57:49] local.INFO: Extracted packet for processing {"connection_id":162219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b76"} 
[2026-08-26 05:57:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652145152001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:57: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-26 05:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787703993000,"timestamp_ms":1787703993000,"timestamp_seconds":1787703993,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7622a8"} 
[2026-08-26 05: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-26 05:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:57:49] 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-26 05: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-26 05: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-26 05:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:57:49] 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-26 05:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652145152001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652145152001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:57:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:57:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652145152001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":162219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:57:49] local.INFO: GPS data processed {"connection_id":162219,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:57:49] local.INFO: Acknowledgment sent {"connection_id":162219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:58:22] local.INFO: TCP Data received {"connection_id":162219,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:58:22] local.INFO: Processing buffer {"connection_id":162219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:58:22] local.INFO: Packet analysis {"connection_id":162219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b76"} 
[2026-08-26 05:58:22] local.INFO: Extracted packet for processing {"connection_id":162219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b76"} 
[2026-08-26 05:58:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652145152001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:58: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-26 05:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787703993000,"timestamp_ms":1787703993000,"timestamp_seconds":1787703993,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7622a8"} 
[2026-08-26 05: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-26 05:58: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-26 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:58:22] 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-26 05: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-26 05: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-26 05:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:58:22] 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-26 05:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652145152001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652145152001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:58:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:58:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652145152001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":162219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:58:22] local.INFO: GPS data processed {"connection_id":162219,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:58:22] local.INFO: Acknowledgment sent {"connection_id":162219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:58:38] local.INFO: TCP Data received {"connection_id":162220,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:58:38] local.INFO: Processing buffer {"connection_id":162220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:58:38] local.INFO: IMEI packet received {"connection_id":162220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":162220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:58:43] local.INFO: TCP Data received {"connection_id":162220,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:58:43] local.INFO: Processing buffer {"connection_id":162220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:58:43] local.INFO: IMEI packet received {"connection_id":162220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":162220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:58:44] local.INFO: TCP Data received {"connection_id":162220,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:58:44] local.INFO: Processing buffer {"connection_id":162220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:58:44] local.INFO: Packet analysis {"connection_id":162220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b76"} 
[2026-08-26 05:58:44] local.INFO: Extracted packet for processing {"connection_id":162220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b76"} 
[2026-08-26 05:58:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652145152001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:58: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-26 05:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787703993000,"timestamp_ms":1787703993000,"timestamp_seconds":1787703993,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7622a8"} 
[2026-08-26 05: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-26 05:58: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-26 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:58: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-26 05: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-26 05: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-26 05:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:58:44] local.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-26 05:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652145152001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652145152001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:58:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:58:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652145152001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":162220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:58:44] local.INFO: GPS data processed {"connection_id":162220,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:58:44] local.INFO: Acknowledgment sent {"connection_id":162220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:59:15] local.INFO: TCP Data received {"connection_id":162220,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:59:15] local.INFO: Processing buffer {"connection_id":162220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:59:15] local.INFO: Packet analysis {"connection_id":162220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b76"} 
[2026-08-26 05:59:15] local.INFO: Extracted packet for processing {"connection_id":162220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b76"} 
[2026-08-26 05:59:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 05:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652145152001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:59: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-26 05:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787703993000,"timestamp_ms":1787703993000,"timestamp_seconds":1787703993,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7622a8"} 
[2026-08-26 05:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 05:59: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-26 05:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:59: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-26 05:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 05:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 05:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:59: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-26 05:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652145152001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652145152001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:59:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:59:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652145152001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":162220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:59:15] local.INFO: GPS data processed {"connection_id":162220,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:59:15] local.INFO: Acknowledgment sent {"connection_id":162220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 05:59:38] local.INFO: TCP Data received {"connection_id":164822,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:59:38] local.INFO: Processing buffer {"connection_id":164822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:59:38] local.INFO: IMEI packet received {"connection_id":164822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 05:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":164822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 05:59:43] local.INFO: TCP Data received {"connection_id":164822,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:59:43] local.INFO: Processing buffer {"connection_id":164822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 05:59:43] local.INFO: IMEI packet received {"connection_id":164822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 05:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":164822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 05:59:44] local.INFO: TCP Data received {"connection_id":164822,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:59:44] local.INFO: Processing buffer {"connection_id":164822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 05:59:44] local.INFO: Packet analysis {"connection_id":164822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b76"} 
[2026-08-26 05:59:44] local.INFO: Extracted packet for processing {"connection_id":164822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b76"} 
[2026-08-26 05:59:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 05: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-26 05:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652145152001,"note":"Value kept but may cause issues"} 
[2026-08-26 05:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 05:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 05:59: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-26 05:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787703993000,"timestamp_ms":1787703993000,"timestamp_seconds":1787703993,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7622a8"} 
[2026-08-26 05: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-26 05:59: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-26 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 05:59: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-26 05: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-26 05: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-26 05:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 05:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 05:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 05:59:44] 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-26 05:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 05:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 05:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652145152001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 05:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 05:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 05:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652145152001,"description":"Unknown IO ID 0"} 
[2026-08-26 05:59:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 05:59:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 05:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 05:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 05:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652145152001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 05:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":164822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 05:59:44] local.INFO: GPS data processed {"connection_id":164822,"processed":1,"errors":0,"total":1} 
[2026-08-26 05:59:44] local.INFO: Acknowledgment sent {"connection_id":164822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:00:15] local.INFO: TCP Data received {"connection_id":164822,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 06:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 06:00:15] local.INFO: Processing buffer {"connection_id":164822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 06:00:15] local.INFO: Packet analysis {"connection_id":164822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b76"} 
[2026-08-26 06:00:15] local.INFO: Extracted packet for processing {"connection_id":164822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b76"} 
[2026-08-26 06:00:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652145152001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:00: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-26 06:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787703993000,"timestamp_ms":1787703993000,"timestamp_seconds":1787703993,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7622a8"} 
[2026-08-26 06: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-26 06:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06: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-26 06: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-26 06: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-26 06:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:00: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-26 06:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652145152001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652145152001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:00:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:00:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652145152001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":164822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:00:15] local.INFO: GPS data processed {"connection_id":164822,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:00:15] local.INFO: Acknowledgment sent {"connection_id":164822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:00:37] local.INFO: TCP Data received {"connection_id":164823,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:00:37] local.INFO: Processing buffer {"connection_id":164823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:00:37] local.INFO: IMEI packet received {"connection_id":164823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":164823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:00:43] local.INFO: TCP Data received {"connection_id":164823,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:00:43] local.INFO: Processing buffer {"connection_id":164823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:00:43] local.INFO: IMEI packet received {"connection_id":164823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":164823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:00:44] local.INFO: TCP Data received {"connection_id":164823,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 06:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 06:00:44] local.INFO: Processing buffer {"connection_id":164823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 06:00:44] local.INFO: Packet analysis {"connection_id":164823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b76"} 
[2026-08-26 06:00:44] local.INFO: Extracted packet for processing {"connection_id":164823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b76"} 
[2026-08-26 06:00:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652145152001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:00: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-26 06:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787703993000,"timestamp_ms":1787703993000,"timestamp_seconds":1787703993,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7622a8"} 
[2026-08-26 06:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:00: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-26 06:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 06:00: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-26 06:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:00: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-26 06:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652145152001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652145152001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:00:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:00:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652145152001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":164823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:00:44] local.INFO: GPS data processed {"connection_id":164823,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:00:44] local.INFO: Acknowledgment sent {"connection_id":164823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:01:16] local.INFO: TCP Data received {"connection_id":164823,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 06:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 06:01:16] local.INFO: Processing buffer {"connection_id":164823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 06:01:16] local.INFO: Packet analysis {"connection_id":164823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b76"} 
[2026-08-26 06:01:16] local.INFO: Extracted packet for processing {"connection_id":164823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b76"} 
[2026-08-26 06:01:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652145152001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:01: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-26 06:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787703993000,"timestamp_ms":1787703993000,"timestamp_seconds":1787703993,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7622a8"} 
[2026-08-26 06: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-26 06:01: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-26 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 06:01: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-26 06: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-26 06: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-26 06:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:01: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-26 06:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652145152001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652145152001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:01:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:01:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652145152001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":164823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:01:16] local.INFO: GPS data processed {"connection_id":164823,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:01:16] local.INFO: Acknowledgment sent {"connection_id":164823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:01:38] local.INFO: TCP Data received {"connection_id":163454,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:01:38] local.INFO: Processing buffer {"connection_id":163454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:01:38] local.INFO: IMEI packet received {"connection_id":163454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":163454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:01:43] local.INFO: TCP Data received {"connection_id":163454,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:01:43] local.INFO: Processing buffer {"connection_id":163454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:01:43] local.INFO: IMEI packet received {"connection_id":163454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":163454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:01:44] local.INFO: TCP Data received {"connection_id":163454,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 06:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 06:01:44] local.INFO: Processing buffer {"connection_id":163454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7622a8012d34c14006aa4818000200e62c..."} 
[2026-08-26 06:01:44] local.INFO: Packet analysis {"connection_id":163454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b76"} 
[2026-08-26 06:01:44] local.INFO: Extracted packet for processing {"connection_id":163454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b76"} 
[2026-08-26 06:01:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652145152001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:01: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-26 06:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787703993000,"timestamp_ms":1787703993000,"timestamp_seconds":1787703993,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7622a8"} 
[2026-08-26 06: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-26 06:01: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-26 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 06:01: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-26 06: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-26 06: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-26 06:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:01: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-26 06:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652145152001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652145152001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:01:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:01:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652145152001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":163454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:01:44] local.INFO: GPS data processed {"connection_id":163454,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:01:44] local.INFO: Acknowledgment sent {"connection_id":163454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:02:15] local.INFO: TCP Data received {"connection_id":163454,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:02:15] local.INFO: Processing buffer {"connection_id":163454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:02:15] local.INFO: Packet analysis {"connection_id":163454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b7a"} 
[2026-08-26 06:02:15] local.INFO: Extracted packet for processing {"connection_id":163454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b7a"} 
[2026-08-26 06:02:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652222208001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06: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-26 06:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787704294000,"timestamp_ms":1787704294000,"timestamp_seconds":1787704294,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7aba70"} 
[2026-08-26 06: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-26 06: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-26 06: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-26 06: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-26 06: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-26 06: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-26 06:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:02: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-26 06:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652222208001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652222208001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:02:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:02:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652222208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":163454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:02:15] local.INFO: GPS data processed {"connection_id":163454,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:02:15] local.INFO: Acknowledgment sent {"connection_id":163454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:02:43] local.INFO: TCP Data received {"connection_id":162450,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:02:43] local.INFO: Processing buffer {"connection_id":162450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:02:43] local.INFO: IMEI packet received {"connection_id":162450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":162450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:02:48] local.INFO: TCP Data received {"connection_id":162450,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:02:48] local.INFO: Processing buffer {"connection_id":162450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:02:48] local.INFO: IMEI packet received {"connection_id":162450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":162450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:02:49] local.INFO: TCP Data received {"connection_id":162450,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:02:49] local.INFO: Processing buffer {"connection_id":162450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:02:49] local.INFO: Packet analysis {"connection_id":162450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b7a"} 
[2026-08-26 06:02:49] local.INFO: Extracted packet for processing {"connection_id":162450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b7a"} 
[2026-08-26 06:02:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652222208001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:02: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-26 06:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787704294000,"timestamp_ms":1787704294000,"timestamp_seconds":1787704294,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7aba70"} 
[2026-08-26 06:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:02: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-26 06:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:02: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-26 06:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:02:49] 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-26 06:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652222208001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652222208001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:02:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:02:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652222208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":162450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:02:49] local.INFO: GPS data processed {"connection_id":162450,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:02:49] local.INFO: Acknowledgment sent {"connection_id":162450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:03:20] local.INFO: TCP Data received {"connection_id":162450,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:03:20] local.INFO: Processing buffer {"connection_id":162450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:03:20] local.INFO: Packet analysis {"connection_id":162450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b7a"} 
[2026-08-26 06:03:20] local.INFO: Extracted packet for processing {"connection_id":162450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b7a"} 
[2026-08-26 06:03:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652222208001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:03: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-26 06:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787704294000,"timestamp_ms":1787704294000,"timestamp_seconds":1787704294,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7aba70"} 
[2026-08-26 06:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:03: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-26 06:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 06:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652222208001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652222208001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:03:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:03:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652222208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":162450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:03:20] local.INFO: GPS data processed {"connection_id":162450,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:03:20] local.INFO: Acknowledgment sent {"connection_id":162450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:03:38] local.INFO: TCP Data received {"connection_id":162451,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:03:38] local.INFO: Processing buffer {"connection_id":162451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:03:38] local.INFO: IMEI packet received {"connection_id":162451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":162451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:03:43] local.INFO: TCP Data received {"connection_id":162451,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:03:43] local.INFO: Processing buffer {"connection_id":162451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:03:43] local.INFO: IMEI packet received {"connection_id":162451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":162451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:03:44] local.INFO: TCP Data received {"connection_id":162451,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:03:44] local.INFO: Processing buffer {"connection_id":162451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:03:44] local.INFO: Packet analysis {"connection_id":162451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b7a"} 
[2026-08-26 06:03:44] local.INFO: Extracted packet for processing {"connection_id":162451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b7a"} 
[2026-08-26 06:03:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652222208001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:03: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-26 06:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787704294000,"timestamp_ms":1787704294000,"timestamp_seconds":1787704294,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7aba70"} 
[2026-08-26 06:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:03: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-26 06:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:03: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-26 06:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:03:44] 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-26 06:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652222208001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652222208001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:03:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:03:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652222208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":162451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:03:44] local.INFO: GPS data processed {"connection_id":162451,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:03:44] local.INFO: Acknowledgment sent {"connection_id":162451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:04:16] local.INFO: TCP Data received {"connection_id":162451,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:04:16] local.INFO: Processing buffer {"connection_id":162451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:04:16] local.INFO: Packet analysis {"connection_id":162451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b7a"} 
[2026-08-26 06:04:16] local.INFO: Extracted packet for processing {"connection_id":162451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b7a"} 
[2026-08-26 06:04:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652222208001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:04: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-26 06:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787704294000,"timestamp_ms":1787704294000,"timestamp_seconds":1787704294,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7aba70"} 
[2026-08-26 06:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:04: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-26 06:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:04: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-26 06:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652222208001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652222208001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:04:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:04:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652222208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":162451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:04:16] local.INFO: GPS data processed {"connection_id":162451,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:04:16] local.INFO: Acknowledgment sent {"connection_id":162451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:04:40] local.INFO: TCP Data received {"connection_id":162221,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:04:40] local.INFO: Processing buffer {"connection_id":162221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:04:40] local.INFO: IMEI packet received {"connection_id":162221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":162221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:04:43] local.INFO: TCP Data received {"connection_id":162221,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:04:43] local.INFO: Processing buffer {"connection_id":162221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:04:43] local.INFO: IMEI packet received {"connection_id":162221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":162221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:04:44] local.INFO: TCP Data received {"connection_id":162221,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:04:44] local.INFO: Processing buffer {"connection_id":162221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:04:44] local.INFO: Packet analysis {"connection_id":162221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b7a"} 
[2026-08-26 06:04:44] local.INFO: Extracted packet for processing {"connection_id":162221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b7a"} 
[2026-08-26 06:04:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652222208001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:04: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-26 06:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787704294000,"timestamp_ms":1787704294000,"timestamp_seconds":1787704294,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7aba70"} 
[2026-08-26 06: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-26 06:04: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-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:04: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-26 06:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06: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-26 06:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:04:44] 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-26 06:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652222208001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652222208001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:04:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:04:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652222208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":162221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:04:44] local.INFO: GPS data processed {"connection_id":162221,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:04:44] local.INFO: Acknowledgment sent {"connection_id":162221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:04:48] local.INFO: TCP Data received {"connection_id":162221,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:04:48] local.INFO: Processing buffer {"connection_id":162221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:04:48] local.INFO: Packet analysis {"connection_id":162221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b7a"} 
[2026-08-26 06:04:48] local.INFO: Extracted packet for processing {"connection_id":162221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b7a"} 
[2026-08-26 06:04:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652222208001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 06:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787704294000,"timestamp_ms":1787704294000,"timestamp_seconds":1787704294,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7aba70"} 
[2026-08-26 06: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-26 06:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 06: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-26 06: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-26 06:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:04:48] 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-26 06:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652222208001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652222208001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:04:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:04:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652222208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":162221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:04:48] local.INFO: GPS data processed {"connection_id":162221,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:04:48] local.INFO: Acknowledgment sent {"connection_id":162221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:05:20] local.INFO: TCP Data received {"connection_id":162221,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:05:20] local.INFO: Processing buffer {"connection_id":162221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:05:20] local.INFO: Packet analysis {"connection_id":162221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b7a"} 
[2026-08-26 06:05:20] local.INFO: Extracted packet for processing {"connection_id":162221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b7a"} 
[2026-08-26 06:05:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652222208001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06: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-26 06:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787704294000,"timestamp_ms":1787704294000,"timestamp_seconds":1787704294,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7aba70"} 
[2026-08-26 06: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-26 06: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-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 06: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-26 06: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-26 06:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:05:20] 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-26 06:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652222208001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652222208001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:05:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:05:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652222208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":162221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:05:20] local.INFO: GPS data processed {"connection_id":162221,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:05:20] local.INFO: Acknowledgment sent {"connection_id":162221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:05:37] local.INFO: TCP Data received {"connection_id":164824,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:05:37] local.INFO: Processing buffer {"connection_id":164824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:05:37] local.INFO: IMEI packet received {"connection_id":164824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":164824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:05:42] local.INFO: TCP Data received {"connection_id":164824,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:05:42] local.INFO: Processing buffer {"connection_id":164824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:05:42] local.INFO: IMEI packet received {"connection_id":164824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":164824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:05:43] local.INFO: TCP Data received {"connection_id":164824,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:05:43] local.INFO: Processing buffer {"connection_id":164824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:05:43] local.INFO: Packet analysis {"connection_id":164824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b7a"} 
[2026-08-26 06:05:43] local.INFO: Extracted packet for processing {"connection_id":164824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b7a"} 
[2026-08-26 06:05:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652222208001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:05: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-26 06:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787704294000,"timestamp_ms":1787704294000,"timestamp_seconds":1787704294,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7aba70"} 
[2026-08-26 06:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:05: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-26 06:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:05: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-26 06:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:05:43] 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-26 06:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652222208001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652222208001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:05:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:05:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652222208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":164824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:05:43] local.INFO: GPS data processed {"connection_id":164824,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:05:43] local.INFO: Acknowledgment sent {"connection_id":164824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:06:15] local.INFO: TCP Data received {"connection_id":164824,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:06:15] local.INFO: Processing buffer {"connection_id":164824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:06:15] local.INFO: Packet analysis {"connection_id":164824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b7a"} 
[2026-08-26 06:06:15] local.INFO: Extracted packet for processing {"connection_id":164824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b7a"} 
[2026-08-26 06:06:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652222208001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:06: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-26 06:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787704294000,"timestamp_ms":1787704294000,"timestamp_seconds":1787704294,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7aba70"} 
[2026-08-26 06:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:06: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-26 06:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:06: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-26 06:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:06: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-26 06:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652222208001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652222208001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:06:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:06:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652222208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":164824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:06:15] local.INFO: GPS data processed {"connection_id":164824,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:06:15] local.INFO: Acknowledgment sent {"connection_id":164824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:06:37] local.INFO: TCP Data received {"connection_id":163456,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:06:37] local.INFO: Processing buffer {"connection_id":163456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:06:37] local.INFO: IMEI packet received {"connection_id":163456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":163456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:06:43] local.INFO: TCP Data received {"connection_id":163456,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:06:43] local.INFO: Processing buffer {"connection_id":163456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:06:43] local.INFO: IMEI packet received {"connection_id":163456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":163456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:06:44] local.INFO: TCP Data received {"connection_id":163456,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:06:44] local.INFO: Processing buffer {"connection_id":163456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7aba70012d34c14006aa4818000100e62d..."} 
[2026-08-26 06:06:44] local.INFO: Packet analysis {"connection_id":163456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b7a"} 
[2026-08-26 06:06:44] local.INFO: Extracted packet for processing {"connection_id":163456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b7a"} 
[2026-08-26 06:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652222208001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:06: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-26 06:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787704294000,"timestamp_ms":1787704294000,"timestamp_seconds":1787704294,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7aba70"} 
[2026-08-26 06:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:06: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-26 06:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:06: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-26 06:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:06:44] 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-26 06:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652222208001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652222208001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:06:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:06:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652222208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":163456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:06:44] local.INFO: GPS data processed {"connection_id":163456,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:06:44] local.INFO: Acknowledgment sent {"connection_id":163456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:07:15] local.INFO: TCP Data received {"connection_id":163456,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:07:15] local.INFO: Processing buffer {"connection_id":163456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:07:15] local.INFO: Packet analysis {"connection_id":163456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b7f"} 
[2026-08-26 06:07:15] local.INFO: Extracted packet for processing {"connection_id":163456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b7f"} 
[2026-08-26 06:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 06:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652299264001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 06:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787704595000,"timestamp_ms":1787704595000,"timestamp_seconds":1787704595,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7f5238"} 
[2026-08-26 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-26 06:07: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-26 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":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:07: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-26 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-26 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-26 06:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652299264001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652299264001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:07:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652299264001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":163456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:07:15] local.INFO: GPS data processed {"connection_id":163456,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:07:15] local.INFO: Acknowledgment sent {"connection_id":163456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:07:42] local.INFO: TCP Data received {"connection_id":162222,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:07:42] local.INFO: Processing buffer {"connection_id":162222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:07:42] local.INFO: IMEI packet received {"connection_id":162222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":162222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:07:47] local.INFO: TCP Data received {"connection_id":162222,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:07:48] local.INFO: Processing buffer {"connection_id":162222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:07:48] local.INFO: IMEI packet received {"connection_id":162222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":162222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:07:48] local.INFO: TCP Data received {"connection_id":162222,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:07:48] local.INFO: Processing buffer {"connection_id":162222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:07:48] local.INFO: Packet analysis {"connection_id":162222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b7f"} 
[2026-08-26 06:07:48] local.INFO: Extracted packet for processing {"connection_id":162222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b7f"} 
[2026-08-26 06:07:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652299264001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 06:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787704595000,"timestamp_ms":1787704595000,"timestamp_seconds":1787704595,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7f5238"} 
[2026-08-26 06: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-26 06:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 06: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-26 06: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-26 06:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652299264001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652299264001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:07:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:07:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652299264001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":162222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:07:48] local.INFO: GPS data processed {"connection_id":162222,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:07:48] local.INFO: Acknowledgment sent {"connection_id":162222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:08:19] local.INFO: TCP Data received {"connection_id":162222,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:08:19] local.INFO: Processing buffer {"connection_id":162222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:08:19] local.INFO: Packet analysis {"connection_id":162222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b7f"} 
[2026-08-26 06:08:19] local.INFO: Extracted packet for processing {"connection_id":162222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b7f"} 
[2026-08-26 06:08:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652299264001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 06:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787704595000,"timestamp_ms":1787704595000,"timestamp_seconds":1787704595,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7f5238"} 
[2026-08-26 06: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-26 06:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 06: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-26 06: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-26 06:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652299264001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652299264001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:08:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:08:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652299264001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":162222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:08:19] local.INFO: GPS data processed {"connection_id":162222,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:08:19] local.INFO: Acknowledgment sent {"connection_id":162222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:08:55] local.INFO: TCP Data received {"connection_id":162223,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:08:55] local.INFO: Processing buffer {"connection_id":162223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:08:55] local.INFO: IMEI packet received {"connection_id":162223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":162223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:08:56] local.INFO: TCP Data received {"connection_id":162223,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:08:56] local.INFO: Processing buffer {"connection_id":162223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:08:56] local.INFO: IMEI packet received {"connection_id":162223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":162223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:08:56] local.INFO: TCP Data received {"connection_id":162223,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:08:57] local.INFO: Processing buffer {"connection_id":162223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:08:57] local.INFO: Packet analysis {"connection_id":162223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b7f"} 
[2026-08-26 06:08:57] local.INFO: Extracted packet for processing {"connection_id":162223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b7f"} 
[2026-08-26 06:08:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652299264001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:08: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-26 06:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787704595000,"timestamp_ms":1787704595000,"timestamp_seconds":1787704595,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7f5238"} 
[2026-08-26 06:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 06:08:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:08: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-26 06:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652299264001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652299264001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:08:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:08:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652299264001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":162223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:08:57] local.INFO: GPS data processed {"connection_id":162223,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:08:57] local.INFO: Acknowledgment sent {"connection_id":162223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:08:57] local.INFO: TCP Data received {"connection_id":162223,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:08:57] local.INFO: Processing buffer {"connection_id":162223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:08:57] local.INFO: Packet analysis {"connection_id":162223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b7f"} 
[2026-08-26 06:08:57] local.INFO: Extracted packet for processing {"connection_id":162223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b7f"} 
[2026-08-26 06:08:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652299264001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:08: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-26 06:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787704595000,"timestamp_ms":1787704595000,"timestamp_seconds":1787704595,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7f5238"} 
[2026-08-26 06:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 06:08:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:08: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-26 06:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652299264001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652299264001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:08:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:08:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652299264001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":162223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:08:57] local.INFO: GPS data processed {"connection_id":162223,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:08:57] local.INFO: Acknowledgment sent {"connection_id":162223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:09:40] local.INFO: TCP Data received {"connection_id":163457,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:09:40] local.INFO: Processing buffer {"connection_id":163457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:09:40] local.INFO: IMEI packet received {"connection_id":163457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":163457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:09:43] local.INFO: TCP Data received {"connection_id":163457,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:09:43] local.INFO: Processing buffer {"connection_id":163457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:09:43] local.INFO: IMEI packet received {"connection_id":163457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":163457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:09:48] local.INFO: TCP Data received {"connection_id":163457,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:09:48] local.INFO: Processing buffer {"connection_id":163457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:09:48] local.INFO: Packet analysis {"connection_id":163457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b7f"} 
[2026-08-26 06:09:48] local.INFO: Extracted packet for processing {"connection_id":163457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b7f"} 
[2026-08-26 06:09:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652299264001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 06:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787704595000,"timestamp_ms":1787704595000,"timestamp_seconds":1787704595,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7f5238"} 
[2026-08-26 06: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-26 06:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 06: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-26 06: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-26 06:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652299264001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652299264001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:09:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:09:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652299264001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":163457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:09:48] local.INFO: GPS data processed {"connection_id":163457,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:09:48] local.INFO: Acknowledgment sent {"connection_id":163457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:10:20] local.INFO: TCP Data received {"connection_id":163457,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:10:20] local.INFO: Processing buffer {"connection_id":163457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:10:20] local.INFO: Packet analysis {"connection_id":163457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b7f"} 
[2026-08-26 06:10:20] local.INFO: Extracted packet for processing {"connection_id":163457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b7f"} 
[2026-08-26 06:10:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652299264001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:10: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-26 06:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787704595000,"timestamp_ms":1787704595000,"timestamp_seconds":1787704595,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7f5238"} 
[2026-08-26 06: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-26 06:10: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-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 06: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-26 06: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-26 06:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652299264001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652299264001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:10:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:10:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652299264001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":163457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:10:20] local.INFO: GPS data processed {"connection_id":163457,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:10:20] local.INFO: Acknowledgment sent {"connection_id":163457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:10:43] local.INFO: TCP Data received {"connection_id":162224,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:10:43] local.INFO: Processing buffer {"connection_id":162224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:10:43] local.INFO: IMEI packet received {"connection_id":162224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":162224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:10:48] local.INFO: TCP Data received {"connection_id":162224,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:10:48] local.INFO: Processing buffer {"connection_id":162224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:10:48] local.INFO: IMEI packet received {"connection_id":162224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":162224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:10:49] local.INFO: TCP Data received {"connection_id":162224,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:10:49] local.INFO: Processing buffer {"connection_id":162224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:10:49] local.INFO: Packet analysis {"connection_id":162224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b7f"} 
[2026-08-26 06:10:49] local.INFO: Extracted packet for processing {"connection_id":162224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b7f"} 
[2026-08-26 06:10:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652299264001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:10: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-26 06:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787704595000,"timestamp_ms":1787704595000,"timestamp_seconds":1787704595,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7f5238"} 
[2026-08-26 06: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-26 06:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:10: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-26 06: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-26 06: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-26 06:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:10:49] 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-26 06:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652299264001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652299264001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:10:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:10:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652299264001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":162224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:10:49] local.INFO: GPS data processed {"connection_id":162224,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:10:49] local.INFO: Acknowledgment sent {"connection_id":162224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:10:53] local.INFO: TCP Data received {"connection_id":162224,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:10:53] local.INFO: Processing buffer {"connection_id":162224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:10:53] local.INFO: Packet analysis {"connection_id":162224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b7f"} 
[2026-08-26 06:10:53] local.INFO: Extracted packet for processing {"connection_id":162224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b7f"} 
[2026-08-26 06:10:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652299264001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 06:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787704595000,"timestamp_ms":1787704595000,"timestamp_seconds":1787704595,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7f5238"} 
[2026-08-26 06: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-26 06:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 06: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-26 06: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-26 06:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:10:53] 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-26 06:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652299264001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652299264001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:10:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:10:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652299264001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":162224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:10:53] local.INFO: GPS data processed {"connection_id":162224,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:10:53] local.INFO: Acknowledgment sent {"connection_id":162224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:11:38] local.INFO: TCP Data received {"connection_id":163458,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:11:38] local.INFO: Processing buffer {"connection_id":163458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:11:38] local.INFO: IMEI packet received {"connection_id":163458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":163458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:11:43] local.INFO: TCP Data received {"connection_id":163458,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:11:43] local.INFO: Processing buffer {"connection_id":163458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:11:43] local.INFO: IMEI packet received {"connection_id":163458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":163458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:11:44] local.INFO: TCP Data received {"connection_id":163458,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:11:44] local.INFO: Processing buffer {"connection_id":163458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b7f5238012d34c14006aa4818000100e62a..."} 
[2026-08-26 06:11:44] local.INFO: Packet analysis {"connection_id":163458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b7f"} 
[2026-08-26 06:11:44] local.INFO: Extracted packet for processing {"connection_id":163458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b7f"} 
[2026-08-26 06:11:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652299264001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:11: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-26 06:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787704595000,"timestamp_ms":1787704595000,"timestamp_seconds":1787704595,"priority":1,"record_length":96,"hex_timestamp":"000001a03b7f5238"} 
[2026-08-26 06: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-26 06:11: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-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:11: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-26 06: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-26 06: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-26 06:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:11:44] 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-26 06:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652299264001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652299264001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:11:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:11:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652299264001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":163458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:11:44] local.INFO: GPS data processed {"connection_id":163458,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:11:44] local.INFO: Acknowledgment sent {"connection_id":163458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:12:15] local.INFO: TCP Data received {"connection_id":163458,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:12:16] local.INFO: Processing buffer {"connection_id":163458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:12:16] local.INFO: Packet analysis {"connection_id":163458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b83"} 
[2026-08-26 06:12:16] local.INFO: Extracted packet for processing {"connection_id":163458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b83"} 
[2026-08-26 06:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 06:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652376320001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 06:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787704896000,"timestamp_ms":1787704896000,"timestamp_seconds":1787704896,"priority":1,"record_length":96,"hex_timestamp":"000001a03b83ea00"} 
[2026-08-26 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-26 06:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":75,"data_length":795,"current_offset":136} 
[2026-08-26 06:12: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-26 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-26 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-26 06:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:12:16] 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-26 06:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652376320001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652376320001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:12:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:12:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652376320001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":163458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:12:16] local.INFO: GPS data processed {"connection_id":163458,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:12:16] local.INFO: Acknowledgment sent {"connection_id":163458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:12:37] local.INFO: TCP Data received {"connection_id":162225,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:12:37] local.INFO: Processing buffer {"connection_id":162225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:12:37] local.INFO: IMEI packet received {"connection_id":162225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":162225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:12:44] local.INFO: TCP Data received {"connection_id":162225,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:12:44] local.INFO: Processing buffer {"connection_id":162225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:12:44] local.INFO: IMEI packet received {"connection_id":162225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":162225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:12:45] local.INFO: TCP Data received {"connection_id":162225,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:12:45] local.INFO: Processing buffer {"connection_id":162225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:12:45] local.INFO: Packet analysis {"connection_id":162225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b83"} 
[2026-08-26 06:12:45] local.INFO: Extracted packet for processing {"connection_id":162225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b83"} 
[2026-08-26 06:12:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652376320001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:12: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-26 06:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787704896000,"timestamp_ms":1787704896000,"timestamp_seconds":1787704896,"priority":1,"record_length":96,"hex_timestamp":"000001a03b83ea00"} 
[2026-08-26 06:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 06:12:45] 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-26 06:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:12:45] 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-26 06:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652376320001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652376320001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:12:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:12:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652376320001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":162225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:12:45] local.INFO: GPS data processed {"connection_id":162225,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:12:45] local.INFO: Acknowledgment sent {"connection_id":162225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:13:16] local.INFO: TCP Data received {"connection_id":162225,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:13:16] local.INFO: Processing buffer {"connection_id":162225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:13:16] local.INFO: Packet analysis {"connection_id":162225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b83"} 
[2026-08-26 06:13:16] local.INFO: Extracted packet for processing {"connection_id":162225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b83"} 
[2026-08-26 06:13:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652376320001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06: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-26 06:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787704896000,"timestamp_ms":1787704896000,"timestamp_seconds":1787704896,"priority":1,"record_length":96,"hex_timestamp":"000001a03b83ea00"} 
[2026-08-26 06:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 06:13: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-26 06:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:13:16] 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-26 06:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652376320001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652376320001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:13:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:13:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652376320001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":162225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:13:16] local.INFO: GPS data processed {"connection_id":162225,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:13:16] local.INFO: Acknowledgment sent {"connection_id":162225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:13:37] local.INFO: TCP Data received {"connection_id":163459,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:13:37] local.INFO: Processing buffer {"connection_id":163459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:13:37] local.INFO: IMEI packet received {"connection_id":163459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":163459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:13:43] local.INFO: TCP Data received {"connection_id":163459,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:13:43] local.INFO: Processing buffer {"connection_id":163459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:13:43] local.INFO: IMEI packet received {"connection_id":163459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":163459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:13:44] local.INFO: TCP Data received {"connection_id":163459,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:13:44] local.INFO: Processing buffer {"connection_id":163459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:13:44] local.INFO: Packet analysis {"connection_id":163459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b83"} 
[2026-08-26 06:13:44] local.INFO: Extracted packet for processing {"connection_id":163459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b83"} 
[2026-08-26 06:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652376320001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06: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-26 06:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787704896000,"timestamp_ms":1787704896000,"timestamp_seconds":1787704896,"priority":1,"record_length":96,"hex_timestamp":"000001a03b83ea00"} 
[2026-08-26 06: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-26 06:13: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-26 06: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":75,"data_length":795,"current_offset":136} 
[2026-08-26 06:13:44] 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-26 06: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-26 06: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-26 06:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:13: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-26 06:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652376320001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652376320001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:13:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:13:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652376320001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":163459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:13:44] local.INFO: GPS data processed {"connection_id":163459,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:13:44] local.INFO: Acknowledgment sent {"connection_id":163459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:14:16] local.INFO: TCP Data received {"connection_id":163459,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:14:16] local.INFO: Processing buffer {"connection_id":163459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:14:16] local.INFO: Packet analysis {"connection_id":163459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b83"} 
[2026-08-26 06:14:16] local.INFO: Extracted packet for processing {"connection_id":163459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b83"} 
[2026-08-26 06:14:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652376320001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:14: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-26 06:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787704896000,"timestamp_ms":1787704896000,"timestamp_seconds":1787704896,"priority":1,"record_length":96,"hex_timestamp":"000001a03b83ea00"} 
[2026-08-26 06: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-26 06:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 06:14: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-26 06: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-26 06: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-26 06:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:14: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-26 06:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652376320001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652376320001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:14:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:14:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652376320001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":163459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:14:16] local.INFO: GPS data processed {"connection_id":163459,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:14:16] local.INFO: Acknowledgment sent {"connection_id":163459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:14:37] local.INFO: TCP Data received {"connection_id":163460,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:14:37] local.INFO: Processing buffer {"connection_id":163460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:14:37] local.INFO: IMEI packet received {"connection_id":163460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":163460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:14:43] local.INFO: TCP Data received {"connection_id":163460,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:14:43] local.INFO: Processing buffer {"connection_id":163460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:14:43] local.INFO: IMEI packet received {"connection_id":163460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":163460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:14:44] local.INFO: TCP Data received {"connection_id":163460,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:14:44] local.INFO: Processing buffer {"connection_id":163460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:14:44] local.INFO: Packet analysis {"connection_id":163460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b83"} 
[2026-08-26 06:14:44] local.INFO: Extracted packet for processing {"connection_id":163460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b83"} 
[2026-08-26 06:14:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652376320001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06: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-26 06:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787704896000,"timestamp_ms":1787704896000,"timestamp_seconds":1787704896,"priority":1,"record_length":96,"hex_timestamp":"000001a03b83ea00"} 
[2026-08-26 06: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-26 06:14: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-26 06: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":75,"data_length":795,"current_offset":136} 
[2026-08-26 06:14:44] 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-26 06: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-26 06: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-26 06:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652376320001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652376320001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:14:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:14:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652376320001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":163460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:14:44] local.INFO: GPS data processed {"connection_id":163460,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:14:44] local.INFO: Acknowledgment sent {"connection_id":163460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:15:15] local.INFO: TCP Data received {"connection_id":163460,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:15:15] local.INFO: Processing buffer {"connection_id":163460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:15:15] local.INFO: Packet analysis {"connection_id":163460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b83"} 
[2026-08-26 06:15:15] local.INFO: Extracted packet for processing {"connection_id":163460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b83"} 
[2026-08-26 06:15:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652376320001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:15: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-26 06:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787704896000,"timestamp_ms":1787704896000,"timestamp_seconds":1787704896,"priority":1,"record_length":96,"hex_timestamp":"000001a03b83ea00"} 
[2026-08-26 06:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:15: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-26 06:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 06:15:15] 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-26 06:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652376320001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652376320001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:15:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:15:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652376320001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":163460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:15:15] local.INFO: GPS data processed {"connection_id":163460,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:15:15] local.INFO: Acknowledgment sent {"connection_id":163460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:15:43] local.INFO: TCP Data received {"connection_id":164826,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:15:43] local.INFO: Processing buffer {"connection_id":164826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:15:43] local.INFO: IMEI packet received {"connection_id":164826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":164826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:15:48] local.INFO: TCP Data received {"connection_id":164826,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:15:48] local.INFO: Processing buffer {"connection_id":164826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:15:48] local.INFO: IMEI packet received {"connection_id":164826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":164826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:15:48] local.INFO: TCP Data received {"connection_id":164826,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:15:48] local.INFO: Processing buffer {"connection_id":164826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:15:48] local.INFO: Packet analysis {"connection_id":164826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b83"} 
[2026-08-26 06:15:48] local.INFO: Extracted packet for processing {"connection_id":164826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b83"} 
[2026-08-26 06:15:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652376320001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 06:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787704896000,"timestamp_ms":1787704896000,"timestamp_seconds":1787704896,"priority":1,"record_length":96,"hex_timestamp":"000001a03b83ea00"} 
[2026-08-26 06: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-26 06:15:48] 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-26 06: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 06:15:48] 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-26 06: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-26 06: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-26 06:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:15:48] 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-26 06:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652376320001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652376320001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:15:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:15:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652376320001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":164826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:15:49] local.INFO: GPS data processed {"connection_id":164826,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:15:49] local.INFO: Acknowledgment sent {"connection_id":164826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:15:53] local.INFO: TCP Data received {"connection_id":164826,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:15:53] local.INFO: Processing buffer {"connection_id":164826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:15:53] local.INFO: Packet analysis {"connection_id":164826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b83"} 
[2026-08-26 06:15:53] local.INFO: Extracted packet for processing {"connection_id":164826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b83"} 
[2026-08-26 06:15:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652376320001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 06:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787704896000,"timestamp_ms":1787704896000,"timestamp_seconds":1787704896,"priority":1,"record_length":96,"hex_timestamp":"000001a03b83ea00"} 
[2026-08-26 06: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-26 06:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 06:15:53] 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-26 06: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-26 06: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-26 06:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:15:53] 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-26 06:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652376320001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652376320001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:15:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:15:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652376320001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":164826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:15:53] local.INFO: GPS data processed {"connection_id":164826,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:15:53] local.INFO: Acknowledgment sent {"connection_id":164826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:16:38] local.INFO: TCP Data received {"connection_id":162226,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:16:38] local.INFO: Processing buffer {"connection_id":162226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:16:38] local.INFO: IMEI packet received {"connection_id":162226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":162226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:16:43] local.INFO: TCP Data received {"connection_id":162226,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:16:43] local.INFO: Processing buffer {"connection_id":162226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:16:43] local.INFO: IMEI packet received {"connection_id":162226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":162226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:16:44] local.INFO: TCP Data received {"connection_id":162226,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:16:44] local.INFO: Processing buffer {"connection_id":162226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:16:44] local.INFO: Packet analysis {"connection_id":162226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b83"} 
[2026-08-26 06:16:44] local.INFO: Extracted packet for processing {"connection_id":162226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b83"} 
[2026-08-26 06:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652376320001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:16: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-26 06:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787704896000,"timestamp_ms":1787704896000,"timestamp_seconds":1787704896,"priority":1,"record_length":96,"hex_timestamp":"000001a03b83ea00"} 
[2026-08-26 06:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:16: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-26 06:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 06:16:44] 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-26 06:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:16:44] 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-26 06:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652376320001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652376320001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:16:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:16:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652376320001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":162226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:16:44] local.INFO: GPS data processed {"connection_id":162226,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:16:44] local.INFO: Acknowledgment sent {"connection_id":162226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:17:15] local.INFO: TCP Data received {"connection_id":162226,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:17:15] local.INFO: Processing buffer {"connection_id":162226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b83ea00012d34c14006aa4818000200e629..."} 
[2026-08-26 06:17:15] local.INFO: Packet analysis {"connection_id":162226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b83"} 
[2026-08-26 06:17:15] local.INFO: Extracted packet for processing {"connection_id":162226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b83"} 
[2026-08-26 06:17:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652376320001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06: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-26 06:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787704896000,"timestamp_ms":1787704896000,"timestamp_seconds":1787704896,"priority":1,"record_length":96,"hex_timestamp":"000001a03b83ea00"} 
[2026-08-26 06: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-26 06:17: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-26 06: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":75,"data_length":795,"current_offset":136} 
[2026-08-26 06:17:15] 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-26 06: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-26 06: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-26 06:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:17: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-26 06:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652376320001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652376320001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:17:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:17:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652376320001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":162226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:17:15] local.INFO: GPS data processed {"connection_id":162226,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:17:15] local.INFO: Acknowledgment sent {"connection_id":162226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:17:40] local.INFO: TCP Data received {"connection_id":163461,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:17:40] local.INFO: Processing buffer {"connection_id":163461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:17:40] local.INFO: IMEI packet received {"connection_id":163461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":163461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:17:42] local.INFO: TCP Data received {"connection_id":163461,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:17:43] local.INFO: Processing buffer {"connection_id":163461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:17:43] local.INFO: IMEI packet received {"connection_id":163461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":163461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:17:43] local.INFO: TCP Data received {"connection_id":163461,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:17:43] local.INFO: Processing buffer {"connection_id":163461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:17:43] local.INFO: Packet analysis {"connection_id":163461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b88"} 
[2026-08-26 06:17:43] local.INFO: Extracted packet for processing {"connection_id":163461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b88"} 
[2026-08-26 06:17:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652453376001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:17: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-26 06:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787705197000,"timestamp_ms":1787705197000,"timestamp_seconds":1787705197,"priority":1,"record_length":96,"hex_timestamp":"000001a03b8881c8"} 
[2026-08-26 06: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-26 06:17: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-26 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 06:17: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-26 06: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-26 06: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-26 06:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:17: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-26 06:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652453376001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652453376001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:17:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:17:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652453376001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":163461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:17:43] local.INFO: GPS data processed {"connection_id":163461,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:17:43] local.INFO: Acknowledgment sent {"connection_id":163461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:18:15] local.INFO: TCP Data received {"connection_id":163461,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:18:15] local.INFO: Processing buffer {"connection_id":163461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:18:15] local.INFO: Packet analysis {"connection_id":163461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b88"} 
[2026-08-26 06:18:15] local.INFO: Extracted packet for processing {"connection_id":163461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b88"} 
[2026-08-26 06:18:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652453376001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:18: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-26 06:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787705197000,"timestamp_ms":1787705197000,"timestamp_seconds":1787705197,"priority":1,"record_length":96,"hex_timestamp":"000001a03b8881c8"} 
[2026-08-26 06:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 06:18: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-26 06:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:18: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-26 06:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652453376001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652453376001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:18:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:18:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652453376001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":163461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:18:15] local.INFO: GPS data processed {"connection_id":163461,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:18:15] local.INFO: Acknowledgment sent {"connection_id":163461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:18:37] local.INFO: TCP Data received {"connection_id":164827,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:18:37] local.INFO: Processing buffer {"connection_id":164827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:18:37] local.INFO: IMEI packet received {"connection_id":164827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":164827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:18:43] local.INFO: TCP Data received {"connection_id":164827,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:18:43] local.INFO: Processing buffer {"connection_id":164827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:18:43] local.INFO: IMEI packet received {"connection_id":164827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":164827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:18:44] local.INFO: TCP Data received {"connection_id":164827,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:18:44] local.INFO: Processing buffer {"connection_id":164827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:18:44] local.INFO: Packet analysis {"connection_id":164827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b88"} 
[2026-08-26 06:18:44] local.INFO: Extracted packet for processing {"connection_id":164827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b88"} 
[2026-08-26 06:18:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652453376001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:18: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-26 06:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787705197000,"timestamp_ms":1787705197000,"timestamp_seconds":1787705197,"priority":1,"record_length":96,"hex_timestamp":"000001a03b8881c8"} 
[2026-08-26 06: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-26 06:18: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-26 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 06:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 06: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-26 06: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-26 06:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:18:44] 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-26 06:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652453376001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652453376001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:18:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:18:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652453376001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":164827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:18:44] local.INFO: GPS data processed {"connection_id":164827,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:18:44] local.INFO: Acknowledgment sent {"connection_id":164827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:19:15] local.INFO: TCP Data received {"connection_id":164827,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:19:15] local.INFO: Processing buffer {"connection_id":164827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:19:15] local.INFO: Packet analysis {"connection_id":164827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b88"} 
[2026-08-26 06:19:15] local.INFO: Extracted packet for processing {"connection_id":164827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b88"} 
[2026-08-26 06:19:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652453376001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:19: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-26 06:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787705197000,"timestamp_ms":1787705197000,"timestamp_seconds":1787705197,"priority":1,"record_length":96,"hex_timestamp":"000001a03b8881c8"} 
[2026-08-26 06:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:19: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-26 06:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 06:19: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-26 06:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:19: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-26 06:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652453376001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652453376001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:19:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:19:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652453376001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":164827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:19:15] local.INFO: GPS data processed {"connection_id":164827,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:19:15] local.INFO: Acknowledgment sent {"connection_id":164827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:19:37] local.INFO: TCP Data received {"connection_id":162227,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:19:37] local.INFO: Processing buffer {"connection_id":162227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:19:37] local.INFO: IMEI packet received {"connection_id":162227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":162227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:19:43] local.INFO: TCP Data received {"connection_id":162227,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:19:43] local.INFO: Processing buffer {"connection_id":162227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:19:43] local.INFO: IMEI packet received {"connection_id":162227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":162227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:19:43] local.INFO: TCP Data received {"connection_id":162227,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:19:43] local.INFO: Processing buffer {"connection_id":162227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:19:43] local.INFO: Packet analysis {"connection_id":162227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b88"} 
[2026-08-26 06:19:43] local.INFO: Extracted packet for processing {"connection_id":162227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b88"} 
[2026-08-26 06:19:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652453376001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06: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-26 06:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787705197000,"timestamp_ms":1787705197000,"timestamp_seconds":1787705197,"priority":1,"record_length":96,"hex_timestamp":"000001a03b8881c8"} 
[2026-08-26 06: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-26 06: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-26 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 06:19: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-26 06: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-26 06: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-26 06:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652453376001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652453376001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:19:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:19:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652453376001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":162227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:19:43] local.INFO: GPS data processed {"connection_id":162227,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:19:43] local.INFO: Acknowledgment sent {"connection_id":162227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:20:15] local.INFO: TCP Data received {"connection_id":162227,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:20:15] local.INFO: Processing buffer {"connection_id":162227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:20:15] local.INFO: Packet analysis {"connection_id":162227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b88"} 
[2026-08-26 06:20:15] local.INFO: Extracted packet for processing {"connection_id":162227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b88"} 
[2026-08-26 06:20:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652453376001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:20: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-26 06:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787705197000,"timestamp_ms":1787705197000,"timestamp_seconds":1787705197,"priority":1,"record_length":96,"hex_timestamp":"000001a03b8881c8"} 
[2026-08-26 06: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-26 06:20: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-26 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 06:20: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-26 06: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-26 06: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-26 06:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:20: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-26 06:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652453376001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652453376001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:20:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:20:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652453376001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":162227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:20:15] local.INFO: GPS data processed {"connection_id":162227,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:20:15] local.INFO: Acknowledgment sent {"connection_id":162227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:20:43] local.INFO: TCP Data received {"connection_id":162228,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:20:43] local.INFO: Processing buffer {"connection_id":162228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:20:43] local.INFO: IMEI packet received {"connection_id":162228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":162228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:20:48] local.INFO: TCP Data received {"connection_id":162228,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:20:48] local.INFO: Processing buffer {"connection_id":162228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:20:48] local.INFO: IMEI packet received {"connection_id":162228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":162228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:20:49] local.INFO: TCP Data received {"connection_id":162228,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:20:49] local.INFO: Processing buffer {"connection_id":162228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:20:49] local.INFO: Packet analysis {"connection_id":162228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b88"} 
[2026-08-26 06:20:49] local.INFO: Extracted packet for processing {"connection_id":162228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b88"} 
[2026-08-26 06:20:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652453376001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:20: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-26 06:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787705197000,"timestamp_ms":1787705197000,"timestamp_seconds":1787705197,"priority":1,"record_length":96,"hex_timestamp":"000001a03b8881c8"} 
[2026-08-26 06: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-26 06:20: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-26 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 06:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 06:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06: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-26 06:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:20:49] 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-26 06:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652453376001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652453376001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:20:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:20:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652453376001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":162228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:20:49] local.INFO: GPS data processed {"connection_id":162228,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:20:49] local.INFO: Acknowledgment sent {"connection_id":162228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:21:20] local.INFO: TCP Data received {"connection_id":162228,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:21:20] local.INFO: Processing buffer {"connection_id":162228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:21:20] local.INFO: Packet analysis {"connection_id":162228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b88"} 
[2026-08-26 06:21:20] local.INFO: Extracted packet for processing {"connection_id":162228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b88"} 
[2026-08-26 06:21:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652453376001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:21: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-26 06:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787705197000,"timestamp_ms":1787705197000,"timestamp_seconds":1787705197,"priority":1,"record_length":96,"hex_timestamp":"000001a03b8881c8"} 
[2026-08-26 06: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-26 06:21: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-26 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 06:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 06:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06: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-26 06:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:21:20] 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-26 06:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652453376001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652453376001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:21:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:21:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652453376001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":162228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:21:20] local.INFO: GPS data processed {"connection_id":162228,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:21:20] local.INFO: Acknowledgment sent {"connection_id":162228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:21:37] local.INFO: TCP Data received {"connection_id":162454,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:21:37] local.INFO: Processing buffer {"connection_id":162454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:21:37] local.INFO: IMEI packet received {"connection_id":162454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":162454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:21:43] local.INFO: TCP Data received {"connection_id":162454,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:21:43] local.INFO: Processing buffer {"connection_id":162454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:21:43] local.INFO: IMEI packet received {"connection_id":162454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":162454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:21:44] local.INFO: TCP Data received {"connection_id":162454,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:21:44] local.INFO: Processing buffer {"connection_id":162454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:21:44] local.INFO: Packet analysis {"connection_id":162454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b88"} 
[2026-08-26 06:21:44] local.INFO: Extracted packet for processing {"connection_id":162454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b88"} 
[2026-08-26 06:21:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652453376001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:21: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-26 06:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787705197000,"timestamp_ms":1787705197000,"timestamp_seconds":1787705197,"priority":1,"record_length":96,"hex_timestamp":"000001a03b8881c8"} 
[2026-08-26 06:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 06:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 06:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:21:44] 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-26 06:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652453376001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652453376001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:21:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:21:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652453376001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":162454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:21:45] local.INFO: GPS data processed {"connection_id":162454,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:21:45] local.INFO: Acknowledgment sent {"connection_id":162454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:22:16] local.INFO: TCP Data received {"connection_id":162454,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:22:16] local.INFO: Processing buffer {"connection_id":162454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b8881c8012d34c14006aa4818000300e628..."} 
[2026-08-26 06:22:16] local.INFO: Packet analysis {"connection_id":162454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b88"} 
[2026-08-26 06:22:16] local.INFO: Extracted packet for processing {"connection_id":162454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b88"} 
[2026-08-26 06:22:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652453376001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:22: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-26 06:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787705197000,"timestamp_ms":1787705197000,"timestamp_seconds":1787705197,"priority":1,"record_length":96,"hex_timestamp":"000001a03b8881c8"} 
[2026-08-26 06:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:22: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-26 06:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 06:22: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-26 06:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:22: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-26 06:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652453376001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652453376001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:22:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:22:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652453376001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":162454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:22:16] local.INFO: GPS data processed {"connection_id":162454,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:22:16] local.INFO: Acknowledgment sent {"connection_id":162454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:22:37] local.INFO: TCP Data received {"connection_id":162229,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:22:37] local.INFO: Processing buffer {"connection_id":162229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:22:37] local.INFO: IMEI packet received {"connection_id":162229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":162229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:22:43] local.INFO: TCP Data received {"connection_id":162229,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:22:43] local.INFO: Processing buffer {"connection_id":162229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:22:43] local.INFO: IMEI packet received {"connection_id":162229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":162229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:22:44] local.INFO: TCP Data received {"connection_id":162229,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:22:44] local.INFO: Processing buffer {"connection_id":162229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:22:44] local.INFO: Packet analysis {"connection_id":162229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b8d"} 
[2026-08-26 06:22:44] local.INFO: Extracted packet for processing {"connection_id":162229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b8d"} 
[2026-08-26 06:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652530432001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:22: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-26 06:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787705498000,"timestamp_ms":1787705498000,"timestamp_seconds":1787705498,"priority":1,"record_length":96,"hex_timestamp":"000001a03b8d1990"} 
[2026-08-26 06: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-26 06:22: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-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:22: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-26 06: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-26 06: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-26 06:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:22:44] 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-26 06:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652530432001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652530432001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:22:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652530432001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":162229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:22:44] local.INFO: GPS data processed {"connection_id":162229,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:22:44] local.INFO: Acknowledgment sent {"connection_id":162229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:23:15] local.INFO: TCP Data received {"connection_id":162229,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:23:15] local.INFO: Processing buffer {"connection_id":162229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:23:15] local.INFO: Packet analysis {"connection_id":162229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b8d"} 
[2026-08-26 06:23:15] local.INFO: Extracted packet for processing {"connection_id":162229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b8d"} 
[2026-08-26 06:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652530432001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06: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-26 06:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787705498000,"timestamp_ms":1787705498000,"timestamp_seconds":1787705498,"priority":1,"record_length":96,"hex_timestamp":"000001a03b8d1990"} 
[2026-08-26 06: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-26 06: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-26 06: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-26 06: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-26 06: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-26 06: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-26 06:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06: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-26 06:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652530432001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652530432001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652530432001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":162229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:23:15] local.INFO: GPS data processed {"connection_id":162229,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:23:15] local.INFO: Acknowledgment sent {"connection_id":162229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:23:43] local.INFO: TCP Data received {"connection_id":164828,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:23:43] local.INFO: Processing buffer {"connection_id":164828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:23:43] local.INFO: IMEI packet received {"connection_id":164828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":164828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:23:48] local.INFO: TCP Data received {"connection_id":164828,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:23:48] local.INFO: Processing buffer {"connection_id":164828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:23:48] local.INFO: IMEI packet received {"connection_id":164828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":164828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:23:49] local.INFO: TCP Data received {"connection_id":164828,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:23:49] local.INFO: Processing buffer {"connection_id":164828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:23:49] local.INFO: Packet analysis {"connection_id":164828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b8d"} 
[2026-08-26 06:23:49] local.INFO: Extracted packet for processing {"connection_id":164828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b8d"} 
[2026-08-26 06:23:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652530432001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:23: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-26 06:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787705498000,"timestamp_ms":1787705498000,"timestamp_seconds":1787705498,"priority":1,"record_length":96,"hex_timestamp":"000001a03b8d1990"} 
[2026-08-26 06:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:23: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-26 06:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:23: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-26 06:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652530432001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652530432001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:23:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:23:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652530432001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":164828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:23:49] local.INFO: GPS data processed {"connection_id":164828,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:23:49] local.INFO: Acknowledgment sent {"connection_id":164828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:23:53] local.INFO: TCP Data received {"connection_id":164828,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:23:53] local.INFO: Processing buffer {"connection_id":164828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:23:53] local.INFO: Packet analysis {"connection_id":164828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b8d"} 
[2026-08-26 06:23:53] local.INFO: Extracted packet for processing {"connection_id":164828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b8d"} 
[2026-08-26 06:23:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652530432001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 06:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787705498000,"timestamp_ms":1787705498000,"timestamp_seconds":1787705498,"priority":1,"record_length":96,"hex_timestamp":"000001a03b8d1990"} 
[2026-08-26 06: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-26 06:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 06: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-26 06: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-26 06:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652530432001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652530432001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:23:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:23:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652530432001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":164828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:23:53] local.INFO: GPS data processed {"connection_id":164828,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:23:53] local.INFO: Acknowledgment sent {"connection_id":164828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:24:38] local.INFO: TCP Data received {"connection_id":163462,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:24:38] local.INFO: Processing buffer {"connection_id":163462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:24:38] local.INFO: IMEI packet received {"connection_id":163462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":163462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:24:43] local.INFO: TCP Data received {"connection_id":163462,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:24:43] local.INFO: Processing buffer {"connection_id":163462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:24:43] local.INFO: IMEI packet received {"connection_id":163462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":163462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:24:44] local.INFO: TCP Data received {"connection_id":163462,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:24:44] local.INFO: Processing buffer {"connection_id":163462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:24:44] local.INFO: Packet analysis {"connection_id":163462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b8d"} 
[2026-08-26 06:24:44] local.INFO: Extracted packet for processing {"connection_id":163462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b8d"} 
[2026-08-26 06:24:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652530432001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:24: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-26 06:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787705498000,"timestamp_ms":1787705498000,"timestamp_seconds":1787705498,"priority":1,"record_length":96,"hex_timestamp":"000001a03b8d1990"} 
[2026-08-26 06: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-26 06:24: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-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:24: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-26 06: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-26 06: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-26 06:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:24: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-26 06:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652530432001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652530432001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:24:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:24:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652530432001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":163462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:24:44] local.INFO: GPS data processed {"connection_id":163462,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:24:44] local.INFO: Acknowledgment sent {"connection_id":163462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:25:15] local.INFO: TCP Data received {"connection_id":163462,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:25:15] local.INFO: Processing buffer {"connection_id":163462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:25:15] local.INFO: Packet analysis {"connection_id":163462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b8d"} 
[2026-08-26 06:25:15] local.INFO: Extracted packet for processing {"connection_id":163462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b8d"} 
[2026-08-26 06:25:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652530432001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:25: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-26 06:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787705498000,"timestamp_ms":1787705498000,"timestamp_seconds":1787705498,"priority":1,"record_length":96,"hex_timestamp":"000001a03b8d1990"} 
[2026-08-26 06: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-26 06:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:25: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-26 06: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-26 06: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-26 06:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:25: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-26 06:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652530432001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652530432001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:25:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:25:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652530432001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":163462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:25:15] local.INFO: GPS data processed {"connection_id":163462,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:25:15] local.INFO: Acknowledgment sent {"connection_id":163462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:25:38] local.INFO: TCP Data received {"connection_id":162455,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:25:38] local.INFO: Processing buffer {"connection_id":162455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:25:38] local.INFO: IMEI packet received {"connection_id":162455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":162455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:25:43] local.INFO: TCP Data received {"connection_id":162455,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:25:43] local.INFO: Processing buffer {"connection_id":162455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:25:43] local.INFO: IMEI packet received {"connection_id":162455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":162455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:25:44] local.INFO: TCP Data received {"connection_id":162455,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:25:44] local.INFO: Processing buffer {"connection_id":162455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:25:44] local.INFO: Packet analysis {"connection_id":162455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b8d"} 
[2026-08-26 06:25:44] local.INFO: Extracted packet for processing {"connection_id":162455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b8d"} 
[2026-08-26 06:25:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652530432001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06: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-26 06:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787705498000,"timestamp_ms":1787705498000,"timestamp_seconds":1787705498,"priority":1,"record_length":96,"hex_timestamp":"000001a03b8d1990"} 
[2026-08-26 06: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-26 06: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-26 06: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:25: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-26 06: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-26 06: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-26 06:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:25:44] 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-26 06:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652530432001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652530432001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:25:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:25:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652530432001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":162455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:25:44] local.INFO: GPS data processed {"connection_id":162455,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:25:44] local.INFO: Acknowledgment sent {"connection_id":162455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:26:15] local.INFO: TCP Data received {"connection_id":162455,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:26:15] local.INFO: Processing buffer {"connection_id":162455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:26:15] local.INFO: Packet analysis {"connection_id":162455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b8d"} 
[2026-08-26 06:26:15] local.INFO: Extracted packet for processing {"connection_id":162455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b8d"} 
[2026-08-26 06:26:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652530432001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06: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-26 06:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787705498000,"timestamp_ms":1787705498000,"timestamp_seconds":1787705498,"priority":1,"record_length":96,"hex_timestamp":"000001a03b8d1990"} 
[2026-08-26 06:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:26: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-26 06:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:26: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-26 06:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652530432001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652530432001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:26:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:26:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652530432001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":162455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:26:15] local.INFO: GPS data processed {"connection_id":162455,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:26:15] local.INFO: Acknowledgment sent {"connection_id":162455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:26:40] local.INFO: TCP Data received {"connection_id":162456,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:26:40] local.INFO: Processing buffer {"connection_id":162456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:26:40] local.INFO: IMEI packet received {"connection_id":162456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":162456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:26:42] local.INFO: TCP Data received {"connection_id":162456,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:26:42] local.INFO: Processing buffer {"connection_id":162456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:26:42] local.INFO: IMEI packet received {"connection_id":162456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":162456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:26:44] local.INFO: TCP Data received {"connection_id":162456,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:26:44] local.INFO: Processing buffer {"connection_id":162456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:26:44] local.INFO: Packet analysis {"connection_id":162456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b8d"} 
[2026-08-26 06:26:44] local.INFO: Extracted packet for processing {"connection_id":162456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b8d"} 
[2026-08-26 06:26:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652530432001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:26: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-26 06:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787705498000,"timestamp_ms":1787705498000,"timestamp_seconds":1787705498,"priority":1,"record_length":96,"hex_timestamp":"000001a03b8d1990"} 
[2026-08-26 06: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-26 06:26: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-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:26: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-26 06: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-26 06: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-26 06:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652530432001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652530432001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:26:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:26:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652530432001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":162456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:26:44] local.INFO: GPS data processed {"connection_id":162456,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:26:44] local.INFO: Acknowledgment sent {"connection_id":162456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:26:49] local.INFO: TCP Data received {"connection_id":162456,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:26:49] local.INFO: Processing buffer {"connection_id":162456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b8d1990012d34c14006aa4818000300e629..."} 
[2026-08-26 06:26:49] local.INFO: Packet analysis {"connection_id":162456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b8d"} 
[2026-08-26 06:26:49] local.INFO: Extracted packet for processing {"connection_id":162456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b8d"} 
[2026-08-26 06:26:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652530432001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:26: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-26 06:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787705498000,"timestamp_ms":1787705498000,"timestamp_seconds":1787705498,"priority":1,"record_length":96,"hex_timestamp":"000001a03b8d1990"} 
[2026-08-26 06:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:26: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-26 06:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:26: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-26 06:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:26:49] 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-26 06:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652530432001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652530432001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:26:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:26:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652530432001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":162456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:26:49] local.INFO: GPS data processed {"connection_id":162456,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:26:49] local.INFO: Acknowledgment sent {"connection_id":162456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:27:21] local.INFO: TCP Data received {"connection_id":162456,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:27:21] local.INFO: Processing buffer {"connection_id":162456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:27:21] local.INFO: Packet analysis {"connection_id":162456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b91"} 
[2026-08-26 06:27:21] local.INFO: Extracted packet for processing {"connection_id":162456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b91"} 
[2026-08-26 06:27:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652607488001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:27: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-26 06:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787705799000,"timestamp_ms":1787705799000,"timestamp_seconds":1787705799,"priority":1,"record_length":96,"hex_timestamp":"000001a03b91b158"} 
[2026-08-26 06:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:27: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-26 06:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:27: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-26 06:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:27:21] 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-26 06:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652607488001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652607488001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:27:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:27:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652607488001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":162456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:27:21] local.INFO: GPS data processed {"connection_id":162456,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:27:21] local.INFO: Acknowledgment sent {"connection_id":162456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:27:43] local.INFO: TCP Data received {"connection_id":163463,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:27:43] local.INFO: Processing buffer {"connection_id":163463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:27:43] local.INFO: IMEI packet received {"connection_id":163463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":163463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:27:48] local.INFO: TCP Data received {"connection_id":163463,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:27:48] local.INFO: Processing buffer {"connection_id":163463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:27:48] local.INFO: IMEI packet received {"connection_id":163463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":163463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:27:48] local.INFO: TCP Data received {"connection_id":163463,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:27:48] local.INFO: Processing buffer {"connection_id":163463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:27:48] local.INFO: Packet analysis {"connection_id":163463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b91"} 
[2026-08-26 06:27:48] local.INFO: Extracted packet for processing {"connection_id":163463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b91"} 
[2026-08-26 06:27:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652607488001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 06:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787705799000,"timestamp_ms":1787705799000,"timestamp_seconds":1787705799,"priority":1,"record_length":96,"hex_timestamp":"000001a03b91b158"} 
[2026-08-26 06: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-26 06:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 06: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-26 06: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-26 06:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:27:48] 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-26 06:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652607488001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652607488001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:27:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:27:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652607488001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":163463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:27:48] local.INFO: GPS data processed {"connection_id":163463,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:27:48] local.INFO: Acknowledgment sent {"connection_id":163463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:28:22] local.INFO: TCP Data received {"connection_id":163463,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:28:22] local.INFO: Processing buffer {"connection_id":163463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:28:22] local.INFO: Packet analysis {"connection_id":163463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b91"} 
[2026-08-26 06:28:22] local.INFO: Extracted packet for processing {"connection_id":163463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b91"} 
[2026-08-26 06:28:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652607488001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:28: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-26 06:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787705799000,"timestamp_ms":1787705799000,"timestamp_seconds":1787705799,"priority":1,"record_length":96,"hex_timestamp":"000001a03b91b158"} 
[2026-08-26 06:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:28: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-26 06:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 06:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:28:22] 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-26 06:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652607488001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652607488001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:28:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:28:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652607488001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":163463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:28:22] local.INFO: GPS data processed {"connection_id":163463,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:28:22] local.INFO: Acknowledgment sent {"connection_id":163463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:28:37] local.INFO: TCP Data received {"connection_id":162457,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:28:37] local.INFO: Processing buffer {"connection_id":162457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:28:37] local.INFO: IMEI packet received {"connection_id":162457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":162457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:28:43] local.INFO: TCP Data received {"connection_id":162457,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:28:43] local.INFO: Processing buffer {"connection_id":162457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:28:43] local.INFO: IMEI packet received {"connection_id":162457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":162457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:28:44] local.INFO: TCP Data received {"connection_id":162457,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:28:44] local.INFO: Processing buffer {"connection_id":162457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:28:44] local.INFO: Packet analysis {"connection_id":162457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b91"} 
[2026-08-26 06:28:44] local.INFO: Extracted packet for processing {"connection_id":162457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b91"} 
[2026-08-26 06:28:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652607488001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:28: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-26 06:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787705799000,"timestamp_ms":1787705799000,"timestamp_seconds":1787705799,"priority":1,"record_length":96,"hex_timestamp":"000001a03b91b158"} 
[2026-08-26 06: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-26 06:28: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-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:28: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-26 06: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-26 06: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-26 06:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:28: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-26 06:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652607488001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652607488001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:28:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:28:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652607488001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":162457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:28:44] local.INFO: GPS data processed {"connection_id":162457,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:28:44] local.INFO: Acknowledgment sent {"connection_id":162457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:29:15] local.INFO: TCP Data received {"connection_id":162457,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:29:15] local.INFO: Processing buffer {"connection_id":162457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:29:15] local.INFO: Packet analysis {"connection_id":162457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b91"} 
[2026-08-26 06:29:15] local.INFO: Extracted packet for processing {"connection_id":162457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b91"} 
[2026-08-26 06:29:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652607488001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06: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-26 06:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787705799000,"timestamp_ms":1787705799000,"timestamp_seconds":1787705799,"priority":1,"record_length":96,"hex_timestamp":"000001a03b91b158"} 
[2026-08-26 06: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-26 06: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-26 06: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-26 06: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-26 06: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-26 06: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-26 06:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:29: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-26 06:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652607488001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 06:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652607488001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:29:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:29:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652607488001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":162457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:29:15] local.INFO: GPS data processed {"connection_id":162457,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:29:15] local.INFO: Acknowledgment sent {"connection_id":162457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:29:42] local.INFO: TCP Data received {"connection_id":163464,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:29:42] local.INFO: Processing buffer {"connection_id":163464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:29:42] local.INFO: IMEI packet received {"connection_id":163464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":163464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:29:48] local.INFO: TCP Data received {"connection_id":163464,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:29:48] local.INFO: Processing buffer {"connection_id":163464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:29:48] local.INFO: IMEI packet received {"connection_id":163464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":163464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:29:49] local.INFO: TCP Data received {"connection_id":163464,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:29:49] local.INFO: Processing buffer {"connection_id":163464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:29:49] local.INFO: Packet analysis {"connection_id":163464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b91"} 
[2026-08-26 06:29:49] local.INFO: Extracted packet for processing {"connection_id":163464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b91"} 
[2026-08-26 06:29:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:29: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-26 06:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652607488001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:29: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-26 06:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787705799000,"timestamp_ms":1787705799000,"timestamp_seconds":1787705799,"priority":1,"record_length":96,"hex_timestamp":"000001a03b91b158"} 
[2026-08-26 06:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:29: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-26 06:29: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-26 06:29: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-26 06:29: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-26 06:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652607488001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652607488001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:29:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:29:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652607488001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":163464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:29:49] local.INFO: GPS data processed {"connection_id":163464,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:29:49] local.INFO: Acknowledgment sent {"connection_id":163464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:30:21] local.INFO: TCP Data received {"connection_id":163464,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:30:21] local.INFO: Processing buffer {"connection_id":163464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:30:21] local.INFO: Packet analysis {"connection_id":163464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b91"} 
[2026-08-26 06:30:21] local.INFO: Extracted packet for processing {"connection_id":163464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b91"} 
[2026-08-26 06:30:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652607488001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:30: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-26 06:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787705799000,"timestamp_ms":1787705799000,"timestamp_seconds":1787705799,"priority":1,"record_length":96,"hex_timestamp":"000001a03b91b158"} 
[2026-08-26 06: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-26 06:30: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-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:30: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-26 06: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-26 06: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-26 06:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652607488001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652607488001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:30:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:30:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652607488001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":163464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:30:21] local.INFO: GPS data processed {"connection_id":163464,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:30:21] local.INFO: Acknowledgment sent {"connection_id":163464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:30:37] local.INFO: TCP Data received {"connection_id":162458,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:30:37] local.INFO: Processing buffer {"connection_id":162458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:30:37] local.INFO: IMEI packet received {"connection_id":162458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":162458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:30:43] local.INFO: TCP Data received {"connection_id":162458,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:30:43] local.INFO: Processing buffer {"connection_id":162458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:30:43] local.INFO: IMEI packet received {"connection_id":162458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":162458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:30:44] local.INFO: TCP Data received {"connection_id":162458,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:30:44] local.INFO: Processing buffer {"connection_id":162458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:30:44] local.INFO: Packet analysis {"connection_id":162458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b91"} 
[2026-08-26 06:30:44] local.INFO: Extracted packet for processing {"connection_id":162458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b91"} 
[2026-08-26 06:30:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652607488001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:30: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-26 06:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787705799000,"timestamp_ms":1787705799000,"timestamp_seconds":1787705799,"priority":1,"record_length":96,"hex_timestamp":"000001a03b91b158"} 
[2026-08-26 06: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-26 06:30: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-26 06: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:30: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-26 06: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-26 06: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-26 06:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652607488001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652607488001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:30:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:30:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652607488001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":162458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:30:44] local.INFO: GPS data processed {"connection_id":162458,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:30:44] local.INFO: Acknowledgment sent {"connection_id":162458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:31:15] local.INFO: TCP Data received {"connection_id":162458,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:31:15] local.INFO: Processing buffer {"connection_id":162458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:31:15] local.INFO: Packet analysis {"connection_id":162458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b91"} 
[2026-08-26 06:31:15] local.INFO: Extracted packet for processing {"connection_id":162458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b91"} 
[2026-08-26 06:31:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652607488001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06: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-26 06:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787705799000,"timestamp_ms":1787705799000,"timestamp_seconds":1787705799,"priority":1,"record_length":96,"hex_timestamp":"000001a03b91b158"} 
[2026-08-26 06: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-26 06: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-26 06: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:31: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-26 06: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-26 06: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-26 06:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652607488001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652607488001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:31:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:31:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652607488001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":162458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:31:15] local.INFO: GPS data processed {"connection_id":162458,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:31:15] local.INFO: Acknowledgment sent {"connection_id":162458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:31:37] local.INFO: TCP Data received {"connection_id":163465,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:31:37] local.INFO: Processing buffer {"connection_id":163465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:31:37] local.INFO: IMEI packet received {"connection_id":163465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":163465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:31:43] local.INFO: TCP Data received {"connection_id":163465,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:31:43] local.INFO: Processing buffer {"connection_id":163465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:31:43] local.INFO: IMEI packet received {"connection_id":163465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":163465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:31:44] local.INFO: TCP Data received {"connection_id":163465,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:31:44] local.INFO: Processing buffer {"connection_id":163465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:31:44] local.INFO: Packet analysis {"connection_id":163465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b91"} 
[2026-08-26 06:31:44] local.INFO: Extracted packet for processing {"connection_id":163465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b91"} 
[2026-08-26 06:31:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652607488001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:31: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-26 06:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787705799000,"timestamp_ms":1787705799000,"timestamp_seconds":1787705799,"priority":1,"record_length":96,"hex_timestamp":"000001a03b91b158"} 
[2026-08-26 06: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-26 06:31: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-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:31: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-26 06: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-26 06: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-26 06:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652607488001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652607488001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:31:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:31:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652607488001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":163465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:31:44] local.INFO: GPS data processed {"connection_id":163465,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:31:44] local.INFO: Acknowledgment sent {"connection_id":163465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:32:15] local.INFO: TCP Data received {"connection_id":163465,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:32:15] local.INFO: Processing buffer {"connection_id":163465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b91b158012d34c14006aa4818000900e62b..."} 
[2026-08-26 06:32:15] local.INFO: Packet analysis {"connection_id":163465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b91"} 
[2026-08-26 06:32:15] local.INFO: Extracted packet for processing {"connection_id":163465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b91"} 
[2026-08-26 06:32:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652607488001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06: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-26 06:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787705799000,"timestamp_ms":1787705799000,"timestamp_seconds":1787705799,"priority":1,"record_length":96,"hex_timestamp":"000001a03b91b158"} 
[2026-08-26 06: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-26 06: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-26 06: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:32: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-26 06: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-26 06: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-26 06:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652607488001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652607488001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:32:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:32:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652607488001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":163465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:32:15] local.INFO: GPS data processed {"connection_id":163465,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:32:15] local.INFO: Acknowledgment sent {"connection_id":163465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:32:38] local.INFO: TCP Data received {"connection_id":162231,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:32:38] local.INFO: Processing buffer {"connection_id":162231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:32:38] local.INFO: IMEI packet received {"connection_id":162231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":162231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:32:43] local.INFO: TCP Data received {"connection_id":162231,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:32:43] local.INFO: Processing buffer {"connection_id":162231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:32:43] local.INFO: IMEI packet received {"connection_id":162231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":162231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:32:44] local.INFO: TCP Data received {"connection_id":162231,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:32:44] local.INFO: Processing buffer {"connection_id":162231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:32:44] local.INFO: Packet analysis {"connection_id":162231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b96"} 
[2026-08-26 06:32:44] local.INFO: Extracted packet for processing {"connection_id":162231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b96"} 
[2026-08-26 06:32:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652684544001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:32: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-26 06:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787706100000,"timestamp_ms":1787706100000,"timestamp_seconds":1787706100,"priority":1,"record_length":96,"hex_timestamp":"000001a03b964920"} 
[2026-08-26 06: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-26 06:32: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-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:32: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-26 06: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-26 06: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-26 06:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652684544001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652684544001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:32:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:32:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652684544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":162231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:32:44] local.INFO: GPS data processed {"connection_id":162231,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:32:44] local.INFO: Acknowledgment sent {"connection_id":162231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:33:16] local.INFO: TCP Data received {"connection_id":162231,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:33:16] local.INFO: Processing buffer {"connection_id":162231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:33:16] local.INFO: Packet analysis {"connection_id":162231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b96"} 
[2026-08-26 06:33:16] local.INFO: Extracted packet for processing {"connection_id":162231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b96"} 
[2026-08-26 06:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652684544001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06: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-26 06:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787706100000,"timestamp_ms":1787706100000,"timestamp_seconds":1787706100,"priority":1,"record_length":96,"hex_timestamp":"000001a03b964920"} 
[2026-08-26 06: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-26 06:33: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-26 06: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-26 06: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-26 06: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-26 06: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-26 06:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652684544001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652684544001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:33:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652684544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":162231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:33:16] local.INFO: GPS data processed {"connection_id":162231,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:33:16] local.INFO: Acknowledgment sent {"connection_id":162231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:33:37] local.INFO: TCP Data received {"connection_id":163467,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:33:37] local.INFO: Processing buffer {"connection_id":163467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:33:37] local.INFO: IMEI packet received {"connection_id":163467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":163467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:33:43] local.INFO: TCP Data received {"connection_id":163467,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:33:43] local.INFO: Processing buffer {"connection_id":163467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:33:43] local.INFO: IMEI packet received {"connection_id":163467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":163467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:33:44] local.INFO: TCP Data received {"connection_id":163467,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:33:44] local.INFO: Processing buffer {"connection_id":163467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:33:44] local.INFO: Packet analysis {"connection_id":163467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b96"} 
[2026-08-26 06:33:44] local.INFO: Extracted packet for processing {"connection_id":163467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b96"} 
[2026-08-26 06:33:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652684544001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:33: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-26 06:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787706100000,"timestamp_ms":1787706100000,"timestamp_seconds":1787706100,"priority":1,"record_length":96,"hex_timestamp":"000001a03b964920"} 
[2026-08-26 06: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-26 06:33: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-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:33: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-26 06: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-26 06: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-26 06:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652684544001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652684544001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:33:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:33:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652684544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":163467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:33:44] local.INFO: GPS data processed {"connection_id":163467,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:33:44] local.INFO: Acknowledgment sent {"connection_id":163467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:34:15] local.INFO: TCP Data received {"connection_id":163467,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:34:15] local.INFO: Processing buffer {"connection_id":163467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:34:15] local.INFO: Packet analysis {"connection_id":163467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b96"} 
[2026-08-26 06:34:15] local.INFO: Extracted packet for processing {"connection_id":163467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b96"} 
[2026-08-26 06:34:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652684544001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06: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-26 06:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787706100000,"timestamp_ms":1787706100000,"timestamp_seconds":1787706100,"priority":1,"record_length":96,"hex_timestamp":"000001a03b964920"} 
[2026-08-26 06:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:34: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-26 06:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:34: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-26 06: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-26 06:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652684544001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652684544001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:34:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:34:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652684544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":163467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:34:15] local.INFO: GPS data processed {"connection_id":163467,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:34:15] local.INFO: Acknowledgment sent {"connection_id":163467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:34:37] local.INFO: TCP Data received {"connection_id":164829,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:34:37] local.INFO: Processing buffer {"connection_id":164829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:34:37] local.INFO: IMEI packet received {"connection_id":164829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":164829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:34:43] local.INFO: TCP Data received {"connection_id":164829,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:34:43] local.INFO: Processing buffer {"connection_id":164829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:34:43] local.INFO: IMEI packet received {"connection_id":164829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":164829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:34:44] local.INFO: TCP Data received {"connection_id":164829,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:34:44] local.INFO: Processing buffer {"connection_id":164829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:34:44] local.INFO: Packet analysis {"connection_id":164829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b96"} 
[2026-08-26 06:34:44] local.INFO: Extracted packet for processing {"connection_id":164829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b96"} 
[2026-08-26 06:34:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652684544001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:34: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-26 06:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787706100000,"timestamp_ms":1787706100000,"timestamp_seconds":1787706100,"priority":1,"record_length":96,"hex_timestamp":"000001a03b964920"} 
[2026-08-26 06: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-26 06:34: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-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:34: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-26 06: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-26 06: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-26 06:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652684544001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652684544001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:34:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:34:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652684544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":164829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:34:44] local.INFO: GPS data processed {"connection_id":164829,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:34:44] local.INFO: Acknowledgment sent {"connection_id":164829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:35:16] local.INFO: TCP Data received {"connection_id":164829,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:35:16] local.INFO: Processing buffer {"connection_id":164829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:35:16] local.INFO: Packet analysis {"connection_id":164829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b96"} 
[2026-08-26 06:35:16] local.INFO: Extracted packet for processing {"connection_id":164829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b96"} 
[2026-08-26 06:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652684544001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:35: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-26 06:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787706100000,"timestamp_ms":1787706100000,"timestamp_seconds":1787706100,"priority":1,"record_length":96,"hex_timestamp":"000001a03b964920"} 
[2026-08-26 06:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:35: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-26 06:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:35: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-26 06:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652684544001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652684544001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:35:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:35:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652684544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":164829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:35:16] local.INFO: GPS data processed {"connection_id":164829,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:35:16] local.INFO: Acknowledgment sent {"connection_id":164829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:35:37] local.INFO: TCP Data received {"connection_id":162232,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:35:37] local.INFO: Processing buffer {"connection_id":162232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:35:37] local.INFO: IMEI packet received {"connection_id":162232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":162232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:35:42] local.INFO: TCP Data received {"connection_id":162232,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:35:43] local.INFO: Processing buffer {"connection_id":162232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:35:43] local.INFO: IMEI packet received {"connection_id":162232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":162232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:35:44] local.INFO: TCP Data received {"connection_id":162232,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:35:44] local.INFO: Processing buffer {"connection_id":162232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:35:44] local.INFO: Packet analysis {"connection_id":162232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b96"} 
[2026-08-26 06:35:44] local.INFO: Extracted packet for processing {"connection_id":162232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b96"} 
[2026-08-26 06:35:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652684544001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:35: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-26 06:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787706100000,"timestamp_ms":1787706100000,"timestamp_seconds":1787706100,"priority":1,"record_length":96,"hex_timestamp":"000001a03b964920"} 
[2026-08-26 06: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-26 06:35: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-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:35: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-26 06: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-26 06: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-26 06:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652684544001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652684544001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:35:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:35:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652684544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":162232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:35:44] local.INFO: GPS data processed {"connection_id":162232,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:35:44] local.INFO: Acknowledgment sent {"connection_id":162232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:36:16] local.INFO: TCP Data received {"connection_id":162232,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:36:16] local.INFO: Processing buffer {"connection_id":162232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:36:16] local.INFO: Packet analysis {"connection_id":162232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b96"} 
[2026-08-26 06:36:16] local.INFO: Extracted packet for processing {"connection_id":162232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b96"} 
[2026-08-26 06:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652684544001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06: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-26 06:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787706100000,"timestamp_ms":1787706100000,"timestamp_seconds":1787706100,"priority":1,"record_length":96,"hex_timestamp":"000001a03b964920"} 
[2026-08-26 06: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-26 06:36: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-26 06: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-26 06: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-26 06: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-26 06: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-26 06:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652684544001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652684544001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:36:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652684544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":162232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:36:16] local.INFO: GPS data processed {"connection_id":162232,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:36:16] local.INFO: Acknowledgment sent {"connection_id":162232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:36:43] local.INFO: TCP Data received {"connection_id":162459,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:36:43] local.INFO: Processing buffer {"connection_id":162459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:36:43] local.INFO: IMEI packet received {"connection_id":162459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":162459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:36:48] local.INFO: TCP Data received {"connection_id":162459,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:36:48] local.INFO: Processing buffer {"connection_id":162459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:36:48] local.INFO: IMEI packet received {"connection_id":162459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":162459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:36:49] local.INFO: TCP Data received {"connection_id":162459,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:36:49] local.INFO: Processing buffer {"connection_id":162459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:36:49] local.INFO: Packet analysis {"connection_id":162459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b96"} 
[2026-08-26 06:36:49] local.INFO: Extracted packet for processing {"connection_id":162459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b96"} 
[2026-08-26 06:36:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652684544001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:36: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-26 06:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787706100000,"timestamp_ms":1787706100000,"timestamp_seconds":1787706100,"priority":1,"record_length":96,"hex_timestamp":"000001a03b964920"} 
[2026-08-26 06:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:36: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-26 06:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652684544001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652684544001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:36:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:36:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652684544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":162459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:36:49] local.INFO: GPS data processed {"connection_id":162459,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:36:49] local.INFO: Acknowledgment sent {"connection_id":162459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:36:54] local.INFO: TCP Data received {"connection_id":162459,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:36:54] local.INFO: Processing buffer {"connection_id":162459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b964920012d34c14006aa4818000600e62a..."} 
[2026-08-26 06:36:54] local.INFO: Packet analysis {"connection_id":162459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b96"} 
[2026-08-26 06:36:54] local.INFO: Extracted packet for processing {"connection_id":162459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b96"} 
[2026-08-26 06:36:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652684544001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 06:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787706100000,"timestamp_ms":1787706100000,"timestamp_seconds":1787706100,"priority":1,"record_length":96,"hex_timestamp":"000001a03b964920"} 
[2026-08-26 06: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-26 06:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 06: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-26 06: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-26 06:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652684544001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652684544001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:36:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:36:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652684544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":162459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:36:54] local.INFO: GPS data processed {"connection_id":162459,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:36:54] local.INFO: Acknowledgment sent {"connection_id":162459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:37:38] local.INFO: TCP Data received {"connection_id":163468,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:37:38] local.INFO: Processing buffer {"connection_id":163468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:37:38] local.INFO: IMEI packet received {"connection_id":163468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":163468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:37:43] local.INFO: TCP Data received {"connection_id":163468,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:37:43] local.INFO: Processing buffer {"connection_id":163468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:37:43] local.INFO: IMEI packet received {"connection_id":163468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":163468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:37:44] local.INFO: TCP Data received {"connection_id":163468,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:37:44] local.INFO: Processing buffer {"connection_id":163468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:37:44] local.INFO: Packet analysis {"connection_id":163468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b9a"} 
[2026-08-26 06:37:44] local.INFO: Extracted packet for processing {"connection_id":163468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b9a"} 
[2026-08-26 06:37:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652761600001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:37: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-26 06:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787706401000,"timestamp_ms":1787706401000,"timestamp_seconds":1787706401,"priority":1,"record_length":96,"hex_timestamp":"000001a03b9ae0e8"} 
[2026-08-26 06: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-26 06:37: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-26 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 06:37: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-26 06: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-26 06: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-26 06:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652761600001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652761600001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:37:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:37:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652761600001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":163468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:37:44] local.INFO: GPS data processed {"connection_id":163468,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:37:44] local.INFO: Acknowledgment sent {"connection_id":163468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:38:15] local.INFO: TCP Data received {"connection_id":163468,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:38:15] local.INFO: Processing buffer {"connection_id":163468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:38:15] local.INFO: Packet analysis {"connection_id":163468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b9a"} 
[2026-08-26 06:38:15] local.INFO: Extracted packet for processing {"connection_id":163468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b9a"} 
[2026-08-26 06:38:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652761600001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:38: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-26 06:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787706401000,"timestamp_ms":1787706401000,"timestamp_seconds":1787706401,"priority":1,"record_length":96,"hex_timestamp":"000001a03b9ae0e8"} 
[2026-08-26 06:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:38: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-26 06:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 06:38: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-26 06:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652761600001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652761600001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:38:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:38:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652761600001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":163468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:38:15] local.INFO: GPS data processed {"connection_id":163468,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:38:15] local.INFO: Acknowledgment sent {"connection_id":163468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:38:38] local.INFO: TCP Data received {"connection_id":162234,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:38:38] local.INFO: Processing buffer {"connection_id":162234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:38:38] local.INFO: IMEI packet received {"connection_id":162234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":162234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:38:43] local.INFO: TCP Data received {"connection_id":162234,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:38:43] local.INFO: Processing buffer {"connection_id":162234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:38:43] local.INFO: IMEI packet received {"connection_id":162234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":162234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:38:44] local.INFO: TCP Data received {"connection_id":162234,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:38:44] local.INFO: Processing buffer {"connection_id":162234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:38:44] local.INFO: Packet analysis {"connection_id":162234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b9a"} 
[2026-08-26 06:38:44] local.INFO: Extracted packet for processing {"connection_id":162234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b9a"} 
[2026-08-26 06:38:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652761600001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:38: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-26 06:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787706401000,"timestamp_ms":1787706401000,"timestamp_seconds":1787706401,"priority":1,"record_length":96,"hex_timestamp":"000001a03b9ae0e8"} 
[2026-08-26 06: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-26 06:38: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-26 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 06:38: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-26 06: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-26 06: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-26 06:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652761600001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652761600001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:38:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:38:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652761600001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":162234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:38:44] local.INFO: GPS data processed {"connection_id":162234,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:38:44] local.INFO: Acknowledgment sent {"connection_id":162234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:39:15] local.INFO: TCP Data received {"connection_id":162234,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:39:15] local.INFO: Processing buffer {"connection_id":162234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:39:15] local.INFO: Packet analysis {"connection_id":162234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b9a"} 
[2026-08-26 06:39:15] local.INFO: Extracted packet for processing {"connection_id":162234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b9a"} 
[2026-08-26 06:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652761600001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:39: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-26 06:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787706401000,"timestamp_ms":1787706401000,"timestamp_seconds":1787706401,"priority":1,"record_length":96,"hex_timestamp":"000001a03b9ae0e8"} 
[2026-08-26 06: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-26 06:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 06:39: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-26 06: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-26 06: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-26 06:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652761600001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652761600001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652761600001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":162234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:39:15] local.INFO: GPS data processed {"connection_id":162234,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:39:15] local.INFO: Acknowledgment sent {"connection_id":162234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:39:38] local.INFO: TCP Data received {"connection_id":164830,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:39:38] local.INFO: Processing buffer {"connection_id":164830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:39:38] local.INFO: IMEI packet received {"connection_id":164830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":164830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:39:43] local.INFO: TCP Data received {"connection_id":164830,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:39:43] local.INFO: Processing buffer {"connection_id":164830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:39:43] local.INFO: IMEI packet received {"connection_id":164830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":164830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:39:43] local.INFO: TCP Data received {"connection_id":164830,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:39:43] local.INFO: Processing buffer {"connection_id":164830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:39:43] local.INFO: Packet analysis {"connection_id":164830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b9a"} 
[2026-08-26 06:39:43] local.INFO: Extracted packet for processing {"connection_id":164830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b9a"} 
[2026-08-26 06:39:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652761600001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:39: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-26 06:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787706401000,"timestamp_ms":1787706401000,"timestamp_seconds":1787706401,"priority":1,"record_length":96,"hex_timestamp":"000001a03b9ae0e8"} 
[2026-08-26 06: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-26 06:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 06:39: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-26 06: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-26 06: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-26 06:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652761600001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652761600001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:39:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:39:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652761600001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":164830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:39:43] local.INFO: GPS data processed {"connection_id":164830,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:39:43] local.INFO: Acknowledgment sent {"connection_id":164830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:40:15] local.INFO: TCP Data received {"connection_id":164830,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:40:15] local.INFO: Processing buffer {"connection_id":164830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:40:15] local.INFO: Packet analysis {"connection_id":164830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b9a"} 
[2026-08-26 06:40:15] local.INFO: Extracted packet for processing {"connection_id":164830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b9a"} 
[2026-08-26 06:40:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652761600001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06: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-26 06:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787706401000,"timestamp_ms":1787706401000,"timestamp_seconds":1787706401,"priority":1,"record_length":96,"hex_timestamp":"000001a03b9ae0e8"} 
[2026-08-26 06:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 06:40: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-26 06:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652761600001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652761600001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:40:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:40:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652761600001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":164830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:40:15] local.INFO: GPS data processed {"connection_id":164830,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:40:15] local.INFO: Acknowledgment sent {"connection_id":164830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:40:37] local.INFO: TCP Data received {"connection_id":164831,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:40:37] local.INFO: Processing buffer {"connection_id":164831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:40:37] local.INFO: IMEI packet received {"connection_id":164831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":164831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:40:43] local.INFO: TCP Data received {"connection_id":164831,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:40:43] local.INFO: Processing buffer {"connection_id":164831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:40:43] local.INFO: IMEI packet received {"connection_id":164831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":164831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:40:44] local.INFO: TCP Data received {"connection_id":164831,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:40:44] local.INFO: Processing buffer {"connection_id":164831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:40:44] local.INFO: Packet analysis {"connection_id":164831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b9a"} 
[2026-08-26 06:40:44] local.INFO: Extracted packet for processing {"connection_id":164831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b9a"} 
[2026-08-26 06:40:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652761600001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:40: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-26 06:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787706401000,"timestamp_ms":1787706401000,"timestamp_seconds":1787706401,"priority":1,"record_length":96,"hex_timestamp":"000001a03b9ae0e8"} 
[2026-08-26 06: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-26 06:40: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-26 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 06:40: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-26 06:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06: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-26 06:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652761600001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652761600001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:40:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:40:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652761600001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":164831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:40:44] local.INFO: GPS data processed {"connection_id":164831,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:40:44] local.INFO: Acknowledgment sent {"connection_id":164831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:41:15] local.INFO: TCP Data received {"connection_id":164831,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:41:15] local.INFO: Processing buffer {"connection_id":164831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:41:15] local.INFO: Packet analysis {"connection_id":164831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b9a"} 
[2026-08-26 06:41:15] local.INFO: Extracted packet for processing {"connection_id":164831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b9a"} 
[2026-08-26 06:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652761600001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:41: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-26 06:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787706401000,"timestamp_ms":1787706401000,"timestamp_seconds":1787706401,"priority":1,"record_length":96,"hex_timestamp":"000001a03b9ae0e8"} 
[2026-08-26 06:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06: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-26 06:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 06:41: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-26 06:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652761600001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652761600001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:41:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652761600001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":164831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:41:15] local.INFO: GPS data processed {"connection_id":164831,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:41:15] local.INFO: Acknowledgment sent {"connection_id":164831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:41:43] local.INFO: TCP Data received {"connection_id":162235,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:41:43] local.INFO: Processing buffer {"connection_id":162235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:41:43] local.INFO: IMEI packet received {"connection_id":162235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":162235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:41:48] local.INFO: TCP Data received {"connection_id":162235,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:41:48] local.INFO: Processing buffer {"connection_id":162235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:41:48] local.INFO: IMEI packet received {"connection_id":162235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":162235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:41:49] local.INFO: TCP Data received {"connection_id":162235,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:41:49] local.INFO: Processing buffer {"connection_id":162235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:41:49] local.INFO: Packet analysis {"connection_id":162235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b9a"} 
[2026-08-26 06:41:49] local.INFO: Extracted packet for processing {"connection_id":162235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b9a"} 
[2026-08-26 06:41:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652761600001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:41: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-26 06:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787706401000,"timestamp_ms":1787706401000,"timestamp_seconds":1787706401,"priority":1,"record_length":96,"hex_timestamp":"000001a03b9ae0e8"} 
[2026-08-26 06:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:41: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-26 06:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 06:41: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-26 06:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652761600001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652761600001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:41:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:41:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652761600001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":162235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:41:49] local.INFO: GPS data processed {"connection_id":162235,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:41:49] local.INFO: Acknowledgment sent {"connection_id":162235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:41:53] local.INFO: TCP Data received {"connection_id":162235,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:41:53] local.INFO: Processing buffer {"connection_id":162235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b9ae0e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 06:41:53] local.INFO: Packet analysis {"connection_id":162235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b9a"} 
[2026-08-26 06:41:53] local.INFO: Extracted packet for processing {"connection_id":162235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b9a"} 
[2026-08-26 06:41:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652761600001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 06:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787706401000,"timestamp_ms":1787706401000,"timestamp_seconds":1787706401,"priority":1,"record_length":96,"hex_timestamp":"000001a03b9ae0e8"} 
[2026-08-26 06: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-26 06:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 06:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 06: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-26 06: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-26 06:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652761600001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652761600001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:41:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:41:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652761600001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":162235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:41:53] local.INFO: GPS data processed {"connection_id":162235,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:41:53] local.INFO: Acknowledgment sent {"connection_id":162235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:42:37] local.INFO: TCP Data received {"connection_id":163469,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:42:37] local.INFO: Processing buffer {"connection_id":163469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:42:37] local.INFO: IMEI packet received {"connection_id":163469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":163469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:42:43] local.INFO: TCP Data received {"connection_id":163469,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:42:43] local.INFO: Processing buffer {"connection_id":163469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:42:43] local.INFO: IMEI packet received {"connection_id":163469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":163469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:42:44] local.INFO: TCP Data received {"connection_id":163469,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:42:44] local.INFO: Processing buffer {"connection_id":163469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:42:44] local.INFO: Packet analysis {"connection_id":163469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b9f"} 
[2026-08-26 06:42:44] local.INFO: Extracted packet for processing {"connection_id":163469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b9f"} 
[2026-08-26 06:42:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652838656001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:42: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-26 06:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787706702000,"timestamp_ms":1787706702000,"timestamp_seconds":1787706702,"priority":1,"record_length":96,"hex_timestamp":"000001a03b9f78b0"} 
[2026-08-26 06: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-26 06:42: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-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:42: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-26 06: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-26 06: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-26 06:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652838656001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652838656001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:42:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:42:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652838656001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":163469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:42:44] local.INFO: GPS data processed {"connection_id":163469,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:42:44] local.INFO: Acknowledgment sent {"connection_id":163469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:43:15] local.INFO: TCP Data received {"connection_id":163469,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:43:15] local.INFO: Processing buffer {"connection_id":163469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:43:15] local.INFO: Packet analysis {"connection_id":163469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b9f"} 
[2026-08-26 06:43:15] local.INFO: Extracted packet for processing {"connection_id":163469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b9f"} 
[2026-08-26 06:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652838656001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:43: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-26 06:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787706702000,"timestamp_ms":1787706702000,"timestamp_seconds":1787706702,"priority":1,"record_length":96,"hex_timestamp":"000001a03b9f78b0"} 
[2026-08-26 06:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:43: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-26 06:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:43: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-26 06:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652838656001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652838656001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:43:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652838656001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":163469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:43:15] local.INFO: GPS data processed {"connection_id":163469,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:43:15] local.INFO: Acknowledgment sent {"connection_id":163469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:43:38] local.INFO: TCP Data received {"connection_id":164832,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:43:38] local.INFO: Processing buffer {"connection_id":164832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:43:38] local.INFO: IMEI packet received {"connection_id":164832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":164832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:43:42] local.INFO: TCP Data received {"connection_id":164832,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:43:42] local.INFO: Processing buffer {"connection_id":164832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:43:42] local.INFO: IMEI packet received {"connection_id":164832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":164832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:43:43] local.INFO: TCP Data received {"connection_id":164832,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:43:43] local.INFO: Processing buffer {"connection_id":164832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:43:43] local.INFO: Packet analysis {"connection_id":164832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b9f"} 
[2026-08-26 06:43:43] local.INFO: Extracted packet for processing {"connection_id":164832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b9f"} 
[2026-08-26 06:43:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652838656001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:43: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-26 06:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787706702000,"timestamp_ms":1787706702000,"timestamp_seconds":1787706702,"priority":1,"record_length":96,"hex_timestamp":"000001a03b9f78b0"} 
[2026-08-26 06:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:43: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-26 06:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:43: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-26 06:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652838656001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652838656001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:43:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:43:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652838656001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":164832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:43:43] local.INFO: GPS data processed {"connection_id":164832,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:43:43] local.INFO: Acknowledgment sent {"connection_id":164832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:44:15] local.INFO: TCP Data received {"connection_id":164832,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:44:15] local.INFO: Processing buffer {"connection_id":164832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:44:15] local.INFO: Packet analysis {"connection_id":164832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b9f"} 
[2026-08-26 06:44:15] local.INFO: Extracted packet for processing {"connection_id":164832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b9f"} 
[2026-08-26 06:44:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652838656001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:44: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-26 06:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787706702000,"timestamp_ms":1787706702000,"timestamp_seconds":1787706702,"priority":1,"record_length":96,"hex_timestamp":"000001a03b9f78b0"} 
[2026-08-26 06: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-26 06:44: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-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:44: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-26 06: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-26 06: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-26 06:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652838656001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652838656001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:44:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:44:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652838656001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":164832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:44:15] local.INFO: GPS data processed {"connection_id":164832,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:44:15] local.INFO: Acknowledgment sent {"connection_id":164832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:44:37] local.INFO: TCP Data received {"connection_id":163470,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:44:37] local.INFO: Processing buffer {"connection_id":163470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:44:37] local.INFO: IMEI packet received {"connection_id":163470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":163470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:44:43] local.INFO: TCP Data received {"connection_id":163470,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:44:43] local.INFO: Processing buffer {"connection_id":163470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:44:43] local.INFO: IMEI packet received {"connection_id":163470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":163470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:44:44] local.INFO: TCP Data received {"connection_id":163470,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:44:44] local.INFO: Processing buffer {"connection_id":163470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:44:44] local.INFO: Packet analysis {"connection_id":163470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b9f"} 
[2026-08-26 06:44:44] local.INFO: Extracted packet for processing {"connection_id":163470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b9f"} 
[2026-08-26 06:44:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652838656001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:44: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-26 06:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787706702000,"timestamp_ms":1787706702000,"timestamp_seconds":1787706702,"priority":1,"record_length":96,"hex_timestamp":"000001a03b9f78b0"} 
[2026-08-26 06: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-26 06:44: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-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:44: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-26 06: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-26 06: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-26 06:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652838656001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652838656001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:44:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:44:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652838656001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":163470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:44:44] local.INFO: GPS data processed {"connection_id":163470,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:44:44] local.INFO: Acknowledgment sent {"connection_id":163470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:45:15] local.INFO: TCP Data received {"connection_id":163470,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:45:15] local.INFO: Processing buffer {"connection_id":163470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:45:15] local.INFO: Packet analysis {"connection_id":163470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b9f"} 
[2026-08-26 06:45:15] local.INFO: Extracted packet for processing {"connection_id":163470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b9f"} 
[2026-08-26 06:45:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652838656001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:45: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-26 06:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787706702000,"timestamp_ms":1787706702000,"timestamp_seconds":1787706702,"priority":1,"record_length":96,"hex_timestamp":"000001a03b9f78b0"} 
[2026-08-26 06:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:45: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-26 06:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:45: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-26 06:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652838656001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652838656001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:45:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:45:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652838656001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":163470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:45:16] local.INFO: GPS data processed {"connection_id":163470,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:45:16] local.INFO: Acknowledgment sent {"connection_id":163470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:45:37] local.INFO: TCP Data received {"connection_id":164833,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:45:37] local.INFO: Processing buffer {"connection_id":164833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:45:37] local.INFO: IMEI packet received {"connection_id":164833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":164833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:45:43] local.INFO: TCP Data received {"connection_id":164833,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:45:43] local.INFO: Processing buffer {"connection_id":164833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:45:43] local.INFO: IMEI packet received {"connection_id":164833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":164833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:45:44] local.INFO: TCP Data received {"connection_id":164833,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:45:44] local.INFO: Processing buffer {"connection_id":164833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:45:44] local.INFO: Packet analysis {"connection_id":164833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b9f"} 
[2026-08-26 06:45:44] local.INFO: Extracted packet for processing {"connection_id":164833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b9f"} 
[2026-08-26 06:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652838656001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:45: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-26 06:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787706702000,"timestamp_ms":1787706702000,"timestamp_seconds":1787706702,"priority":1,"record_length":96,"hex_timestamp":"000001a03b9f78b0"} 
[2026-08-26 06:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:45: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-26 06:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:45: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-26 06:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652838656001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652838656001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:45:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652838656001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":164833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:45:44] local.INFO: GPS data processed {"connection_id":164833,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:45:44] local.INFO: Acknowledgment sent {"connection_id":164833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:46:16] local.INFO: TCP Data received {"connection_id":164833,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:46:16] local.INFO: Processing buffer {"connection_id":164833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:46:16] local.INFO: Packet analysis {"connection_id":164833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b9f"} 
[2026-08-26 06:46:16] local.INFO: Extracted packet for processing {"connection_id":164833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b9f"} 
[2026-08-26 06:46:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652838656001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:46: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-26 06:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787706702000,"timestamp_ms":1787706702000,"timestamp_seconds":1787706702,"priority":1,"record_length":96,"hex_timestamp":"000001a03b9f78b0"} 
[2026-08-26 06: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-26 06:46: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-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:46: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-26 06:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06: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-26 06:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652838656001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652838656001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:46:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:46:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652838656001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":164833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:46:16] local.INFO: GPS data processed {"connection_id":164833,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:46:16] local.INFO: Acknowledgment sent {"connection_id":164833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:46:43] local.INFO: TCP Data received {"connection_id":162236,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:46:43] local.INFO: Processing buffer {"connection_id":162236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:46:43] local.INFO: IMEI packet received {"connection_id":162236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":162236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:46:48] local.INFO: TCP Data received {"connection_id":162236,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:46:48] local.INFO: Processing buffer {"connection_id":162236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:46:48] local.INFO: IMEI packet received {"connection_id":162236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":162236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:46:49] local.INFO: TCP Data received {"connection_id":162236,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:46:49] local.INFO: Processing buffer {"connection_id":162236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:46:49] local.INFO: Packet analysis {"connection_id":162236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b9f"} 
[2026-08-26 06:46:49] local.INFO: Extracted packet for processing {"connection_id":162236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b9f"} 
[2026-08-26 06:46:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652838656001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:46: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-26 06:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787706702000,"timestamp_ms":1787706702000,"timestamp_seconds":1787706702,"priority":1,"record_length":96,"hex_timestamp":"000001a03b9f78b0"} 
[2026-08-26 06: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-26 06:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:46: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-26 06: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-26 06: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-26 06:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652838656001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652838656001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:46:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:46:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652838656001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":162236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:46:49] local.INFO: GPS data processed {"connection_id":162236,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:46:49] local.INFO: Acknowledgment sent {"connection_id":162236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:46:54] local.INFO: TCP Data received {"connection_id":162236,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:46:54] local.INFO: Processing buffer {"connection_id":162236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03b9f78b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 06:46:54] local.INFO: Packet analysis {"connection_id":162236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03b9f"} 
[2026-08-26 06:46:54] local.INFO: Extracted packet for processing {"connection_id":162236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03b9f"} 
[2026-08-26 06:46:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652838656001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 06:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787706702000,"timestamp_ms":1787706702000,"timestamp_seconds":1787706702,"priority":1,"record_length":96,"hex_timestamp":"000001a03b9f78b0"} 
[2026-08-26 06:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 06:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652838656001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652838656001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:46:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:46:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652838656001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":162236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:46:54] local.INFO: GPS data processed {"connection_id":162236,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:46:54] local.INFO: Acknowledgment sent {"connection_id":162236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:47:38] local.INFO: TCP Data received {"connection_id":162461,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:47:38] local.INFO: Processing buffer {"connection_id":162461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:47:38] local.INFO: IMEI packet received {"connection_id":162461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":162461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:47:42] local.INFO: TCP Data received {"connection_id":162461,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:47:42] local.INFO: Processing buffer {"connection_id":162461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:47:42] local.INFO: IMEI packet received {"connection_id":162461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":162461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:47:43] local.INFO: TCP Data received {"connection_id":162461,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:47:43] local.INFO: Processing buffer {"connection_id":162461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:47:43] local.INFO: Packet analysis {"connection_id":162461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ba4"} 
[2026-08-26 06:47:43] local.INFO: Extracted packet for processing {"connection_id":162461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ba4"} 
[2026-08-26 06:47:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652915712001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:47: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-26 06:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787707003000,"timestamp_ms":1787707003000,"timestamp_seconds":1787707003,"priority":1,"record_length":96,"hex_timestamp":"000001a03ba41078"} 
[2026-08-26 06: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-26 06:47: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-26 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 06:47:43] 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-26 06: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-26 06: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-26 06:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652915712001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652915712001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:47:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:47:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652915712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":162461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:47:44] local.INFO: GPS data processed {"connection_id":162461,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:47:44] local.INFO: Acknowledgment sent {"connection_id":162461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:48:15] local.INFO: TCP Data received {"connection_id":162461,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:48:15] local.INFO: Processing buffer {"connection_id":162461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:48:15] local.INFO: Packet analysis {"connection_id":162461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ba4"} 
[2026-08-26 06:48:15] local.INFO: Extracted packet for processing {"connection_id":162461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ba4"} 
[2026-08-26 06:48:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652915712001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:48: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-26 06:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787707003000,"timestamp_ms":1787707003000,"timestamp_seconds":1787707003,"priority":1,"record_length":96,"hex_timestamp":"000001a03ba41078"} 
[2026-08-26 06: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-26 06:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 06:48: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-26 06: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-26 06: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-26 06:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652915712001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652915712001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:48:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:48:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652915712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":162461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:48:15] local.INFO: GPS data processed {"connection_id":162461,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:48:15] local.INFO: Acknowledgment sent {"connection_id":162461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:48:38] local.INFO: TCP Data received {"connection_id":162237,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:48:38] local.INFO: Processing buffer {"connection_id":162237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:48:38] local.INFO: IMEI packet received {"connection_id":162237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":162237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:48:43] local.INFO: TCP Data received {"connection_id":162237,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:48:43] local.INFO: Processing buffer {"connection_id":162237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:48:43] local.INFO: IMEI packet received {"connection_id":162237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":162237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:48:44] local.INFO: TCP Data received {"connection_id":162237,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:48:44] local.INFO: Processing buffer {"connection_id":162237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:48:44] local.INFO: Packet analysis {"connection_id":162237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ba4"} 
[2026-08-26 06:48:44] local.INFO: Extracted packet for processing {"connection_id":162237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ba4"} 
[2026-08-26 06:48:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652915712001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:48: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-26 06:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787707003000,"timestamp_ms":1787707003000,"timestamp_seconds":1787707003,"priority":1,"record_length":96,"hex_timestamp":"000001a03ba41078"} 
[2026-08-26 06: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-26 06: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-26 06: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 06:48: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-26 06: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-26 06: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-26 06:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652915712001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652915712001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:48:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:48:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652915712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":162237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:48:44] local.INFO: GPS data processed {"connection_id":162237,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:48:44] local.INFO: Acknowledgment sent {"connection_id":162237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:49:15] local.INFO: TCP Data received {"connection_id":162237,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:49:15] local.INFO: Processing buffer {"connection_id":162237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:49:15] local.INFO: Packet analysis {"connection_id":162237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ba4"} 
[2026-08-26 06:49:15] local.INFO: Extracted packet for processing {"connection_id":162237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ba4"} 
[2026-08-26 06:49:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652915712001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06: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-26 06:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787707003000,"timestamp_ms":1787707003000,"timestamp_seconds":1787707003,"priority":1,"record_length":96,"hex_timestamp":"000001a03ba41078"} 
[2026-08-26 06:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:49: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-26 06:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 06:49: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-26 06:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652915712001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652915712001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:49:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:49:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652915712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":162237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:49:15] local.INFO: GPS data processed {"connection_id":162237,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:49:15] local.INFO: Acknowledgment sent {"connection_id":162237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:49:37] local.INFO: TCP Data received {"connection_id":163471,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:49:37] local.INFO: Processing buffer {"connection_id":163471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:49:37] local.INFO: IMEI packet received {"connection_id":163471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":163471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:49:43] local.INFO: TCP Data received {"connection_id":163471,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:49:43] local.INFO: Processing buffer {"connection_id":163471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:49:43] local.INFO: IMEI packet received {"connection_id":163471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":163471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:49:44] local.INFO: TCP Data received {"connection_id":163471,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:49:44] local.INFO: Processing buffer {"connection_id":163471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:49:44] local.INFO: Packet analysis {"connection_id":163471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ba4"} 
[2026-08-26 06:49:44] local.INFO: Extracted packet for processing {"connection_id":163471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ba4"} 
[2026-08-26 06:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652915712001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:49: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-26 06:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787707003000,"timestamp_ms":1787707003000,"timestamp_seconds":1787707003,"priority":1,"record_length":96,"hex_timestamp":"000001a03ba41078"} 
[2026-08-26 06: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-26 06:49: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-26 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 06:49: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-26 06: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-26 06: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-26 06:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652915712001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652915712001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:49:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:49:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652915712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":163471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:49:44] local.INFO: GPS data processed {"connection_id":163471,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:49:44] local.INFO: Acknowledgment sent {"connection_id":163471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:50:15] local.INFO: TCP Data received {"connection_id":163471,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:50:15] local.INFO: Processing buffer {"connection_id":163471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:50:15] local.INFO: Packet analysis {"connection_id":163471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ba4"} 
[2026-08-26 06:50:15] local.INFO: Extracted packet for processing {"connection_id":163471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ba4"} 
[2026-08-26 06:50:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652915712001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:50: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-26 06:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787707003000,"timestamp_ms":1787707003000,"timestamp_seconds":1787707003,"priority":1,"record_length":96,"hex_timestamp":"000001a03ba41078"} 
[2026-08-26 06:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:50: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-26 06:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 06:50: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-26 06:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652915712001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652915712001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:50:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:50:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652915712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":163471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:50:15] local.INFO: GPS data processed {"connection_id":163471,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:50:15] local.INFO: Acknowledgment sent {"connection_id":163471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:50:37] local.INFO: TCP Data received {"connection_id":162462,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:50:37] local.INFO: Processing buffer {"connection_id":162462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:50:37] local.INFO: IMEI packet received {"connection_id":162462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":162462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:50:43] local.INFO: TCP Data received {"connection_id":162462,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:50:43] local.INFO: Processing buffer {"connection_id":162462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:50:43] local.INFO: IMEI packet received {"connection_id":162462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":162462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:50:44] local.INFO: TCP Data received {"connection_id":162462,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:50:44] local.INFO: Processing buffer {"connection_id":162462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:50:44] local.INFO: Packet analysis {"connection_id":162462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ba4"} 
[2026-08-26 06:50:44] local.INFO: Extracted packet for processing {"connection_id":162462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ba4"} 
[2026-08-26 06:50:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652915712001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:50: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-26 06:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787707003000,"timestamp_ms":1787707003000,"timestamp_seconds":1787707003,"priority":1,"record_length":96,"hex_timestamp":"000001a03ba41078"} 
[2026-08-26 06:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:50: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-26 06:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 06:50: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-26 06:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652915712001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652915712001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:50:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:50:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652915712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":162462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:50:44] local.INFO: GPS data processed {"connection_id":162462,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:50:44] local.INFO: Acknowledgment sent {"connection_id":162462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:51:15] local.INFO: TCP Data received {"connection_id":162462,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:51:15] local.INFO: Processing buffer {"connection_id":162462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:51:15] local.INFO: Packet analysis {"connection_id":162462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ba4"} 
[2026-08-26 06:51:15] local.INFO: Extracted packet for processing {"connection_id":162462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ba4"} 
[2026-08-26 06:51:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 06:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652915712001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06: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-26 06:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787707003000,"timestamp_ms":1787707003000,"timestamp_seconds":1787707003,"priority":1,"record_length":96,"hex_timestamp":"000001a03ba41078"} 
[2026-08-26 06: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-26 06:51: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-26 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 06:51: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-26 06: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-26 06: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-26 06:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652915712001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652915712001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:51:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:51:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652915712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":162462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:51:15] local.INFO: GPS data processed {"connection_id":162462,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:51:15] local.INFO: Acknowledgment sent {"connection_id":162462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:51:43] local.INFO: TCP Data received {"connection_id":162239,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:51:43] local.INFO: Processing buffer {"connection_id":162239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:51:43] local.INFO: IMEI packet received {"connection_id":162239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":162239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:51:48] local.INFO: TCP Data received {"connection_id":162239,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:51:48] local.INFO: Processing buffer {"connection_id":162239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:51:48] local.INFO: IMEI packet received {"connection_id":162239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":162239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:51:49] local.INFO: TCP Data received {"connection_id":162239,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:51:49] local.INFO: Processing buffer {"connection_id":162239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:51:49] local.INFO: Packet analysis {"connection_id":162239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ba4"} 
[2026-08-26 06:51:49] local.INFO: Extracted packet for processing {"connection_id":162239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ba4"} 
[2026-08-26 06:51:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652915712001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:51: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-26 06:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787707003000,"timestamp_ms":1787707003000,"timestamp_seconds":1787707003,"priority":1,"record_length":96,"hex_timestamp":"000001a03ba41078"} 
[2026-08-26 06: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-26 06:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 06:51:49] 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-26 06: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-26 06: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-26 06:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652915712001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652915712001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:51:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:51:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652915712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":162239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:51:49] local.INFO: GPS data processed {"connection_id":162239,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:51:49] local.INFO: Acknowledgment sent {"connection_id":162239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:52:21] local.INFO: TCP Data received {"connection_id":162239,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:52:21] local.INFO: Processing buffer {"connection_id":162239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ba41078012d34c14006aa4818000a00e62c..."} 
[2026-08-26 06:52:21] local.INFO: Packet analysis {"connection_id":162239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ba4"} 
[2026-08-26 06:52:21] local.INFO: Extracted packet for processing {"connection_id":162239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ba4"} 
[2026-08-26 06:52:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652915712001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:52: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-26 06:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787707003000,"timestamp_ms":1787707003000,"timestamp_seconds":1787707003,"priority":1,"record_length":96,"hex_timestamp":"000001a03ba41078"} 
[2026-08-26 06: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-26 06:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 06:52:21] 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-26 06: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-26 06: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-26 06:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652915712001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652915712001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:52:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:52:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652915712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":162239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:52:21] local.INFO: GPS data processed {"connection_id":162239,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:52:21] local.INFO: Acknowledgment sent {"connection_id":162239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:52:37] local.INFO: TCP Data received {"connection_id":164834,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:52:37] local.INFO: Processing buffer {"connection_id":164834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:52:37] local.INFO: IMEI packet received {"connection_id":164834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":164834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:52:43] local.INFO: TCP Data received {"connection_id":164834,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:52:43] local.INFO: Processing buffer {"connection_id":164834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:52:43] local.INFO: IMEI packet received {"connection_id":164834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":164834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:52:44] local.INFO: TCP Data received {"connection_id":164834,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:52:44] local.INFO: Processing buffer {"connection_id":164834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:52:44] local.INFO: Packet analysis {"connection_id":164834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ba8"} 
[2026-08-26 06:52:44] local.INFO: Extracted packet for processing {"connection_id":164834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ba8"} 
[2026-08-26 06:52:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652992768001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:52: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-26 06:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787707304000,"timestamp_ms":1787707304000,"timestamp_seconds":1787707304,"priority":1,"record_length":96,"hex_timestamp":"000001a03ba8a840"} 
[2026-08-26 06: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-26 06:52: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-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:52: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-26 06: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-26 06: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-26 06:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652992768001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652992768001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:52:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:52:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652992768001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":164834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:52:44] local.INFO: GPS data processed {"connection_id":164834,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:52:44] local.INFO: Acknowledgment sent {"connection_id":164834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:53:15] local.INFO: TCP Data received {"connection_id":164834,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:53:15] local.INFO: Processing buffer {"connection_id":164834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:53:15] local.INFO: Packet analysis {"connection_id":164834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ba8"} 
[2026-08-26 06:53:15] local.INFO: Extracted packet for processing {"connection_id":164834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ba8"} 
[2026-08-26 06:53:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 06:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652992768001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 06:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787707304000,"timestamp_ms":1787707304000,"timestamp_seconds":1787707304,"priority":1,"record_length":96,"hex_timestamp":"000001a03ba8a840"} 
[2026-08-26 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-26 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-26 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":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:53: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-26 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-26 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-26 06:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652992768001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652992768001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:53:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:53:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652992768001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":164834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:53:15] local.INFO: GPS data processed {"connection_id":164834,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:53:15] local.INFO: Acknowledgment sent {"connection_id":164834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:53:37] local.INFO: TCP Data received {"connection_id":163472,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:53:37] local.INFO: Processing buffer {"connection_id":163472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:53:37] local.INFO: IMEI packet received {"connection_id":163472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":163472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:53:43] local.INFO: TCP Data received {"connection_id":163472,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:53:43] local.INFO: Processing buffer {"connection_id":163472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:53:43] local.INFO: IMEI packet received {"connection_id":163472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":163472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:53:44] local.INFO: TCP Data received {"connection_id":163472,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:53:44] local.INFO: Processing buffer {"connection_id":163472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:53:44] local.INFO: Packet analysis {"connection_id":163472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ba8"} 
[2026-08-26 06:53:44] local.INFO: Extracted packet for processing {"connection_id":163472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ba8"} 
[2026-08-26 06:53:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652992768001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:53: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-26 06:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787707304000,"timestamp_ms":1787707304000,"timestamp_seconds":1787707304,"priority":1,"record_length":96,"hex_timestamp":"000001a03ba8a840"} 
[2026-08-26 06: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-26 06:53: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-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:53: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-26 06: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-26 06: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-26 06:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652992768001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652992768001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:53:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:53:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652992768001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":163472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:53:44] local.INFO: GPS data processed {"connection_id":163472,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:53:44] local.INFO: Acknowledgment sent {"connection_id":163472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:54:16] local.INFO: TCP Data received {"connection_id":163472,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:54:16] local.INFO: Processing buffer {"connection_id":163472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:54:16] local.INFO: Packet analysis {"connection_id":163472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ba8"} 
[2026-08-26 06:54:16] local.INFO: Extracted packet for processing {"connection_id":163472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ba8"} 
[2026-08-26 06:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652992768001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:54: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-26 06:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787707304000,"timestamp_ms":1787707304000,"timestamp_seconds":1787707304,"priority":1,"record_length":96,"hex_timestamp":"000001a03ba8a840"} 
[2026-08-26 06:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:54: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-26 06:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652992768001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652992768001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:54:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:54:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652992768001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":163472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:54:16] local.INFO: GPS data processed {"connection_id":163472,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:54:16] local.INFO: Acknowledgment sent {"connection_id":163472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:54:43] local.INFO: TCP Data received {"connection_id":164835,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:54:43] local.INFO: Processing buffer {"connection_id":164835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:54:43] local.INFO: IMEI packet received {"connection_id":164835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":164835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:54:48] local.INFO: TCP Data received {"connection_id":164835,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:54:48] local.INFO: Processing buffer {"connection_id":164835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:54:48] local.INFO: IMEI packet received {"connection_id":164835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":164835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:54:49] local.INFO: TCP Data received {"connection_id":164835,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:54:49] local.INFO: Processing buffer {"connection_id":164835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:54:49] local.INFO: Packet analysis {"connection_id":164835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ba8"} 
[2026-08-26 06:54:49] local.INFO: Extracted packet for processing {"connection_id":164835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ba8"} 
[2026-08-26 06:54:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652992768001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:54: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-26 06:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787707304000,"timestamp_ms":1787707304000,"timestamp_seconds":1787707304,"priority":1,"record_length":96,"hex_timestamp":"000001a03ba8a840"} 
[2026-08-26 06:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:54: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-26 06:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:54: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-26 06:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652992768001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652992768001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:54:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:54:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652992768001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":164835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:54:49] local.INFO: GPS data processed {"connection_id":164835,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:54:49] local.INFO: Acknowledgment sent {"connection_id":164835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:54:55] local.INFO: TCP Data received {"connection_id":164835,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:54:55] local.INFO: Processing buffer {"connection_id":164835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:54:55] local.INFO: Packet analysis {"connection_id":164835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ba8"} 
[2026-08-26 06:54:55] local.INFO: Extracted packet for processing {"connection_id":164835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ba8"} 
[2026-08-26 06:54:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652992768001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:54: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-26 06:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787707304000,"timestamp_ms":1787707304000,"timestamp_seconds":1787707304,"priority":1,"record_length":96,"hex_timestamp":"000001a03ba8a840"} 
[2026-08-26 06:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:54: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-26 06:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 06:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652992768001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652992768001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:54:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:54:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652992768001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":164835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:54:55] local.INFO: GPS data processed {"connection_id":164835,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:54:55] local.INFO: Acknowledgment sent {"connection_id":164835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:55:38] local.INFO: TCP Data received {"connection_id":162463,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:55:38] local.INFO: Processing buffer {"connection_id":162463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:55:38] local.INFO: IMEI packet received {"connection_id":162463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":162463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:55:43] local.INFO: TCP Data received {"connection_id":162463,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:55:43] local.INFO: Processing buffer {"connection_id":162463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:55:43] local.INFO: IMEI packet received {"connection_id":162463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":162463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:55:44] local.INFO: TCP Data received {"connection_id":162463,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:55:44] local.INFO: Processing buffer {"connection_id":162463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:55:44] local.INFO: Packet analysis {"connection_id":162463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ba8"} 
[2026-08-26 06:55:44] local.INFO: Extracted packet for processing {"connection_id":162463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ba8"} 
[2026-08-26 06:55:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652992768001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:55: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-26 06:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787707304000,"timestamp_ms":1787707304000,"timestamp_seconds":1787707304,"priority":1,"record_length":96,"hex_timestamp":"000001a03ba8a840"} 
[2026-08-26 06:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:55: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-26 06:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:55: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-26 06:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652992768001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652992768001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:55:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:55:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652992768001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":162463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:55:44] local.INFO: GPS data processed {"connection_id":162463,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:55:44] local.INFO: Acknowledgment sent {"connection_id":162463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:56:15] local.INFO: TCP Data received {"connection_id":162463,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:56:15] local.INFO: Processing buffer {"connection_id":162463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:56:15] local.INFO: Packet analysis {"connection_id":162463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ba8"} 
[2026-08-26 06:56:15] local.INFO: Extracted packet for processing {"connection_id":162463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ba8"} 
[2026-08-26 06:56:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652992768001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:56: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-26 06:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787707304000,"timestamp_ms":1787707304000,"timestamp_seconds":1787707304,"priority":1,"record_length":96,"hex_timestamp":"000001a03ba8a840"} 
[2026-08-26 06: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-26 06:56: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-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:56: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-26 06: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-26 06: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-26 06:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652992768001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652992768001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:56:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:56:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652992768001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":162463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:56:15] local.INFO: GPS data processed {"connection_id":162463,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:56:15] local.INFO: Acknowledgment sent {"connection_id":162463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:56:38] local.INFO: TCP Data received {"connection_id":163473,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:56:38] local.INFO: Processing buffer {"connection_id":163473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:56:38] local.INFO: IMEI packet received {"connection_id":163473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":163473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:56:43] local.INFO: TCP Data received {"connection_id":163473,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:56:43] local.INFO: Processing buffer {"connection_id":163473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:56:43] local.INFO: IMEI packet received {"connection_id":163473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":163473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:56:43] local.INFO: TCP Data received {"connection_id":163473,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:56:43] local.INFO: Processing buffer {"connection_id":163473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:56:43] local.INFO: Packet analysis {"connection_id":163473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ba8"} 
[2026-08-26 06:56:43] local.INFO: Extracted packet for processing {"connection_id":163473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ba8"} 
[2026-08-26 06:56:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652992768001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:56: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-26 06:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787707304000,"timestamp_ms":1787707304000,"timestamp_seconds":1787707304,"priority":1,"record_length":96,"hex_timestamp":"000001a03ba8a840"} 
[2026-08-26 06: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-26 06:56: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-26 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:56: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-26 06: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-26 06: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-26 06:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652992768001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652992768001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:56:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:56:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652992768001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":163473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:56:44] local.INFO: GPS data processed {"connection_id":163473,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:56:44] local.INFO: Acknowledgment sent {"connection_id":163473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:57:15] local.INFO: TCP Data received {"connection_id":163473,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:57:15] local.INFO: Processing buffer {"connection_id":163473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ba8a840012d34c14006aa4818000300e62b..."} 
[2026-08-26 06:57:15] local.INFO: Packet analysis {"connection_id":163473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ba8"} 
[2026-08-26 06:57:15] local.INFO: Extracted packet for processing {"connection_id":163473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ba8"} 
[2026-08-26 06:57:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457652992768001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06: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-26 06:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787707304000,"timestamp_ms":1787707304000,"timestamp_seconds":1787707304,"priority":1,"record_length":96,"hex_timestamp":"000001a03ba8a840"} 
[2026-08-26 06: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-26 06:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 06:57: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-26 06: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-26 06: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-26 06:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457652992768001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457652992768001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:57:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:57:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457652992768001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":163473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:57:15] local.INFO: GPS data processed {"connection_id":163473,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:57:15] local.INFO: Acknowledgment sent {"connection_id":163473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:57:37] local.INFO: TCP Data received {"connection_id":162464,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:57:37] local.INFO: Processing buffer {"connection_id":162464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:57:37] local.INFO: IMEI packet received {"connection_id":162464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":162464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:57:43] local.INFO: TCP Data received {"connection_id":162464,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:57:43] local.INFO: Processing buffer {"connection_id":162464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:57:43] local.INFO: IMEI packet received {"connection_id":162464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":162464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:57:43] local.INFO: TCP Data received {"connection_id":162464,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 06:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 06:57:43] local.INFO: Processing buffer {"connection_id":162464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 06:57:43] local.INFO: Packet analysis {"connection_id":162464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bad"} 
[2026-08-26 06:57:43] local.INFO: Extracted packet for processing {"connection_id":162464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bad"} 
[2026-08-26 06:57:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653069824001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:57: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-26 06:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787707605000,"timestamp_ms":1787707605000,"timestamp_seconds":1787707605,"priority":1,"record_length":96,"hex_timestamp":"000001a03bad4008"} 
[2026-08-26 06: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-26 06:57: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-26 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 06:57: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-26 06: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-26 06: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-26 06:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653069824001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653069824001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:57:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:57:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653069824001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":162464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:57:43] local.INFO: GPS data processed {"connection_id":162464,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:57:43] local.INFO: Acknowledgment sent {"connection_id":162464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:58:15] local.INFO: TCP Data received {"connection_id":162464,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 06:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 06:58:15] local.INFO: Processing buffer {"connection_id":162464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 06:58:15] local.INFO: Packet analysis {"connection_id":162464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bad"} 
[2026-08-26 06:58:15] local.INFO: Extracted packet for processing {"connection_id":162464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bad"} 
[2026-08-26 06:58:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653069824001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06: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-26 06:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787707605000,"timestamp_ms":1787707605000,"timestamp_seconds":1787707605,"priority":1,"record_length":96,"hex_timestamp":"000001a03bad4008"} 
[2026-08-26 06: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-26 06: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-26 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 06:58: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-26 06: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-26 06: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-26 06:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653069824001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653069824001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:58:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:58:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653069824001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":162464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:58:15] local.INFO: GPS data processed {"connection_id":162464,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:58:15] local.INFO: Acknowledgment sent {"connection_id":162464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:58:37] local.INFO: TCP Data received {"connection_id":164836,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:58:37] local.INFO: Processing buffer {"connection_id":164836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:58:37] local.INFO: IMEI packet received {"connection_id":164836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":164836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:58:43] local.INFO: TCP Data received {"connection_id":164836,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:58:43] local.INFO: Processing buffer {"connection_id":164836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:58:43] local.INFO: IMEI packet received {"connection_id":164836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":164836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:58:44] local.INFO: TCP Data received {"connection_id":164836,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 06:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 06:58:44] local.INFO: Processing buffer {"connection_id":164836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 06:58:44] local.INFO: Packet analysis {"connection_id":164836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bad"} 
[2026-08-26 06:58:44] local.INFO: Extracted packet for processing {"connection_id":164836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bad"} 
[2026-08-26 06:58:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653069824001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:58: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-26 06:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787707605000,"timestamp_ms":1787707605000,"timestamp_seconds":1787707605,"priority":1,"record_length":96,"hex_timestamp":"000001a03bad4008"} 
[2026-08-26 06:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:58: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-26 06:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 06:58: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-26 06:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653069824001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653069824001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:58:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:58:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653069824001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":164836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:58:44] local.INFO: GPS data processed {"connection_id":164836,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:58:44] local.INFO: Acknowledgment sent {"connection_id":164836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:59:16] local.INFO: TCP Data received {"connection_id":164836,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 06:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 06:59:16] local.INFO: Processing buffer {"connection_id":164836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 06:59:16] local.INFO: Packet analysis {"connection_id":164836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bad"} 
[2026-08-26 06:59:16] local.INFO: Extracted packet for processing {"connection_id":164836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bad"} 
[2026-08-26 06:59:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653069824001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:59: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-26 06:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787707605000,"timestamp_ms":1787707605000,"timestamp_seconds":1787707605,"priority":1,"record_length":96,"hex_timestamp":"000001a03bad4008"} 
[2026-08-26 06: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-26 06:59: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-26 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 06:59: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-26 06: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-26 06: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-26 06:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653069824001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653069824001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:59:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:59:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653069824001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":164836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:59:16] local.INFO: GPS data processed {"connection_id":164836,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:59:16] local.INFO: Acknowledgment sent {"connection_id":164836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:59:43] local.INFO: TCP Data received {"connection_id":162465,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:59:43] local.INFO: Processing buffer {"connection_id":162465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:59:43] local.INFO: IMEI packet received {"connection_id":162465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 06:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":162465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 06:59:48] local.INFO: TCP Data received {"connection_id":162465,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:59:48] local.INFO: Processing buffer {"connection_id":162465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 06:59:48] local.INFO: IMEI packet received {"connection_id":162465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 06:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":162465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 06:59:49] local.INFO: TCP Data received {"connection_id":162465,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 06:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 06:59:49] local.INFO: Processing buffer {"connection_id":162465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 06:59:49] local.INFO: Packet analysis {"connection_id":162465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bad"} 
[2026-08-26 06:59:49] local.INFO: Extracted packet for processing {"connection_id":162465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bad"} 
[2026-08-26 06:59:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06: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-26 06:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653069824001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:59: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-26 06:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787707605000,"timestamp_ms":1787707605000,"timestamp_seconds":1787707605,"priority":1,"record_length":96,"hex_timestamp":"000001a03bad4008"} 
[2026-08-26 06: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-26 06:59: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-26 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 06:59: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-26 06: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-26 06: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-26 06:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653069824001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653069824001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:59:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:59:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653069824001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":162465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:59:49] local.INFO: GPS data processed {"connection_id":162465,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:59:49] local.INFO: Acknowledgment sent {"connection_id":162465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:59:53] local.INFO: TCP Data received {"connection_id":162465,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 06:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 06:59:53] local.INFO: Processing buffer {"connection_id":162465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 06:59:53] local.INFO: Packet analysis {"connection_id":162465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bad"} 
[2026-08-26 06:59:53] local.INFO: Extracted packet for processing {"connection_id":162465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bad"} 
[2026-08-26 06:59:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653069824001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 06:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787707605000,"timestamp_ms":1787707605000,"timestamp_seconds":1787707605,"priority":1,"record_length":96,"hex_timestamp":"000001a03bad4008"} 
[2026-08-26 06:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 06:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 06:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 06:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653069824001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653069824001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:59:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:59:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653069824001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":162465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:59:53] local.INFO: GPS data processed {"connection_id":162465,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:59:53] local.INFO: Acknowledgment sent {"connection_id":162465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 06:59:58] local.INFO: TCP Data received {"connection_id":162465,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 06:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 06:59:58] local.INFO: Processing buffer {"connection_id":162465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 06:59:58] local.INFO: Packet analysis {"connection_id":162465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bad"} 
[2026-08-26 06:59:58] local.INFO: Extracted packet for processing {"connection_id":162465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bad"} 
[2026-08-26 06:59:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 06:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 06:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653069824001,"note":"Value kept but may cause issues"} 
[2026-08-26 06:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 06:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 06:59: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-26 06:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787707605000,"timestamp_ms":1787707605000,"timestamp_seconds":1787707605,"priority":1,"record_length":96,"hex_timestamp":"000001a03bad4008"} 
[2026-08-26 06:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 06:59: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-26 06:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 06:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 06:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 06:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 06:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 06:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 06:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 06:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 06:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 06:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 06:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653069824001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 06:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 06:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 06:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653069824001,"description":"Unknown IO ID 0"} 
[2026-08-26 06:59:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 06:59:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 06:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 06:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 06:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653069824001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 06:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":162465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 06:59:58] local.INFO: GPS data processed {"connection_id":162465,"processed":1,"errors":0,"total":1} 
[2026-08-26 06:59:58] local.INFO: Acknowledgment sent {"connection_id":162465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:00:38] local.INFO: TCP Data received {"connection_id":162466,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:00:38] local.INFO: Processing buffer {"connection_id":162466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:00:38] local.INFO: IMEI packet received {"connection_id":162466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":162466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:00:43] local.INFO: TCP Data received {"connection_id":162466,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:00:43] local.INFO: Processing buffer {"connection_id":162466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:00:43] local.INFO: IMEI packet received {"connection_id":162466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":162466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:00:44] local.INFO: TCP Data received {"connection_id":162466,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 07:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 07:00:44] local.INFO: Processing buffer {"connection_id":162466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 07:00:44] local.INFO: Packet analysis {"connection_id":162466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bad"} 
[2026-08-26 07:00:44] local.INFO: Extracted packet for processing {"connection_id":162466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bad"} 
[2026-08-26 07:00:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653069824001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:00: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-26 07:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787707605000,"timestamp_ms":1787707605000,"timestamp_seconds":1787707605,"priority":1,"record_length":96,"hex_timestamp":"000001a03bad4008"} 
[2026-08-26 07:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:00: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-26 07:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 07:00: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-26 07:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653069824001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653069824001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:00:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:00:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653069824001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":162466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:00:44] local.INFO: GPS data processed {"connection_id":162466,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:00:44] local.INFO: Acknowledgment sent {"connection_id":162466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:00:48] local.INFO: TCP Data received {"connection_id":162466,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 07:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 07:00:48] local.INFO: Processing buffer {"connection_id":162466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 07:00:48] local.INFO: Packet analysis {"connection_id":162466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bad"} 
[2026-08-26 07:00:48] local.INFO: Extracted packet for processing {"connection_id":162466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bad"} 
[2026-08-26 07:00:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653069824001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 07:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787707605000,"timestamp_ms":1787707605000,"timestamp_seconds":1787707605,"priority":1,"record_length":96,"hex_timestamp":"000001a03bad4008"} 
[2026-08-26 07: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-26 07:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 07:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 07: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-26 07: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-26 07:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653069824001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653069824001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:00:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:00:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653069824001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":162466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:00:48] local.INFO: GPS data processed {"connection_id":162466,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:00:48] local.INFO: Acknowledgment sent {"connection_id":162466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:01:19] local.INFO: TCP Data received {"connection_id":162466,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 07:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 07:01:19] local.INFO: Processing buffer {"connection_id":162466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 07:01:19] local.INFO: Packet analysis {"connection_id":162466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bad"} 
[2026-08-26 07:01:19] local.INFO: Extracted packet for processing {"connection_id":162466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bad"} 
[2026-08-26 07:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653069824001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 07:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787707605000,"timestamp_ms":1787707605000,"timestamp_seconds":1787707605,"priority":1,"record_length":96,"hex_timestamp":"000001a03bad4008"} 
[2026-08-26 07: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-26 07:01: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-26 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 07:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 07: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-26 07: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-26 07:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653069824001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653069824001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:01:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653069824001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":162466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:01:20] local.INFO: GPS data processed {"connection_id":162466,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:01:20] local.INFO: Acknowledgment sent {"connection_id":162466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:01:38] local.INFO: TCP Data received {"connection_id":163474,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:01:38] local.INFO: Processing buffer {"connection_id":163474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:01:38] local.INFO: IMEI packet received {"connection_id":163474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":163474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:01:43] local.INFO: TCP Data received {"connection_id":163474,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:01:43] local.INFO: Processing buffer {"connection_id":163474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:01:43] local.INFO: IMEI packet received {"connection_id":163474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":163474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:01:44] local.INFO: TCP Data received {"connection_id":163474,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 07:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 07:01:44] local.INFO: Processing buffer {"connection_id":163474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 07:01:44] local.INFO: Packet analysis {"connection_id":163474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bad"} 
[2026-08-26 07:01:44] local.INFO: Extracted packet for processing {"connection_id":163474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bad"} 
[2026-08-26 07:01:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653069824001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:01: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-26 07:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787707605000,"timestamp_ms":1787707605000,"timestamp_seconds":1787707605,"priority":1,"record_length":96,"hex_timestamp":"000001a03bad4008"} 
[2026-08-26 07: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-26 07:01: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-26 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 07:01: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-26 07: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-26 07: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-26 07:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653069824001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653069824001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:01:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:01:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653069824001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":163474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:01:44] local.INFO: GPS data processed {"connection_id":163474,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:01:44] local.INFO: Acknowledgment sent {"connection_id":163474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:02:16] local.INFO: TCP Data received {"connection_id":163474,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 07:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 07:02:16] local.INFO: Processing buffer {"connection_id":163474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bad4008012d34c14006aa4818000b00e62d..."} 
[2026-08-26 07:02:16] local.INFO: Packet analysis {"connection_id":163474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bad"} 
[2026-08-26 07:02:16] local.INFO: Extracted packet for processing {"connection_id":163474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bad"} 
[2026-08-26 07:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653069824001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:02: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-26 07:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787707605000,"timestamp_ms":1787707605000,"timestamp_seconds":1787707605,"priority":1,"record_length":96,"hex_timestamp":"000001a03bad4008"} 
[2026-08-26 07:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:02: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-26 07:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 07:02: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-26 07:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653069824001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653069824001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:02:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:02:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653069824001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":163474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:02:16] local.INFO: GPS data processed {"connection_id":163474,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:02:16] local.INFO: Acknowledgment sent {"connection_id":163474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:02:38] local.INFO: TCP Data received {"connection_id":162241,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:02:38] local.INFO: Processing buffer {"connection_id":162241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:02:38] local.INFO: IMEI packet received {"connection_id":162241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":162241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:02:42] local.INFO: TCP Data received {"connection_id":162241,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:02:42] local.INFO: Processing buffer {"connection_id":162241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:02:42] local.INFO: IMEI packet received {"connection_id":162241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":162241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:02:43] local.INFO: TCP Data received {"connection_id":162241,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:02:43] local.INFO: Processing buffer {"connection_id":162241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:02:43] local.INFO: Packet analysis {"connection_id":162241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bb1"} 
[2026-08-26 07:02:43] local.INFO: Extracted packet for processing {"connection_id":162241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bb1"} 
[2026-08-26 07:02:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653146880001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:02: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-26 07:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787707906000,"timestamp_ms":1787707906000,"timestamp_seconds":1787707906,"priority":1,"record_length":96,"hex_timestamp":"000001a03bb1d7d0"} 
[2026-08-26 07:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:02: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-26 07:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:02: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-26 07:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653146880001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653146880001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:02:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:02:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653146880001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":162241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:02:43] local.INFO: GPS data processed {"connection_id":162241,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:02:43] local.INFO: Acknowledgment sent {"connection_id":162241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:03:15] local.INFO: TCP Data received {"connection_id":162241,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:03:15] local.INFO: Processing buffer {"connection_id":162241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:03:15] local.INFO: Packet analysis {"connection_id":162241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bb1"} 
[2026-08-26 07:03:15] local.INFO: Extracted packet for processing {"connection_id":162241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bb1"} 
[2026-08-26 07:03:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653146880001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:03: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-26 07:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787707906000,"timestamp_ms":1787707906000,"timestamp_seconds":1787707906,"priority":1,"record_length":96,"hex_timestamp":"000001a03bb1d7d0"} 
[2026-08-26 07:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:03: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-26 07:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:03: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-26 07:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653146880001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653146880001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:03:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:03:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653146880001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":162241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:03:15] local.INFO: GPS data processed {"connection_id":162241,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:03:15] local.INFO: Acknowledgment sent {"connection_id":162241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:03:37] local.INFO: TCP Data received {"connection_id":164837,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:03:37] local.INFO: Processing buffer {"connection_id":164837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:03:37] local.INFO: IMEI packet received {"connection_id":164837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":164837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:03:43] local.INFO: TCP Data received {"connection_id":164837,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:03:43] local.INFO: Processing buffer {"connection_id":164837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:03:43] local.INFO: IMEI packet received {"connection_id":164837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":164837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:03:44] local.INFO: TCP Data received {"connection_id":164837,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:03:44] local.INFO: Processing buffer {"connection_id":164837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:03:44] local.INFO: Packet analysis {"connection_id":164837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bb1"} 
[2026-08-26 07:03:44] local.INFO: Extracted packet for processing {"connection_id":164837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bb1"} 
[2026-08-26 07:03:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653146880001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:03: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-26 07:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787707906000,"timestamp_ms":1787707906000,"timestamp_seconds":1787707906,"priority":1,"record_length":96,"hex_timestamp":"000001a03bb1d7d0"} 
[2026-08-26 07:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:03: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-26 07:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:03: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-26 07:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653146880001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653146880001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:03:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:03:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653146880001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":164837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:03:44] local.INFO: GPS data processed {"connection_id":164837,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:03:44] local.INFO: Acknowledgment sent {"connection_id":164837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:04:15] local.INFO: TCP Data received {"connection_id":164837,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:04:15] local.INFO: Processing buffer {"connection_id":164837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:04:15] local.INFO: Packet analysis {"connection_id":164837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bb1"} 
[2026-08-26 07:04:15] local.INFO: Extracted packet for processing {"connection_id":164837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bb1"} 
[2026-08-26 07:04:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653146880001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:04: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-26 07:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787707906000,"timestamp_ms":1787707906000,"timestamp_seconds":1787707906,"priority":1,"record_length":96,"hex_timestamp":"000001a03bb1d7d0"} 
[2026-08-26 07:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:04: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-26 07:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:04: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-26 07:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653146880001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653146880001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:04:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:04:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653146880001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":164837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:04:15] local.INFO: GPS data processed {"connection_id":164837,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:04:15] local.INFO: Acknowledgment sent {"connection_id":164837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:04:43] local.INFO: TCP Data received {"connection_id":162242,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:04:43] local.INFO: Processing buffer {"connection_id":162242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:04:43] local.INFO: IMEI packet received {"connection_id":162242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":162242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:04:48] local.INFO: TCP Data received {"connection_id":162242,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:04:48] local.INFO: Processing buffer {"connection_id":162242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:04:48] local.INFO: IMEI packet received {"connection_id":162242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":162242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:04:49] local.INFO: TCP Data received {"connection_id":162242,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:04:49] local.INFO: Processing buffer {"connection_id":162242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:04:49] local.INFO: Packet analysis {"connection_id":162242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bb1"} 
[2026-08-26 07:04:49] local.INFO: Extracted packet for processing {"connection_id":162242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bb1"} 
[2026-08-26 07:04:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653146880001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:04: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-26 07:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787707906000,"timestamp_ms":1787707906000,"timestamp_seconds":1787707906,"priority":1,"record_length":96,"hex_timestamp":"000001a03bb1d7d0"} 
[2026-08-26 07:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:04: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-26 07:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653146880001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653146880001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:04:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:04:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653146880001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":162242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:04:49] local.INFO: GPS data processed {"connection_id":162242,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:04:49] local.INFO: Acknowledgment sent {"connection_id":162242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:04:54] local.INFO: TCP Data received {"connection_id":162242,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:04:54] local.INFO: Processing buffer {"connection_id":162242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:04:54] local.INFO: Packet analysis {"connection_id":162242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bb1"} 
[2026-08-26 07:04:54] local.INFO: Extracted packet for processing {"connection_id":162242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bb1"} 
[2026-08-26 07:04:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653146880001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 07:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787707906000,"timestamp_ms":1787707906000,"timestamp_seconds":1787707906,"priority":1,"record_length":96,"hex_timestamp":"000001a03bb1d7d0"} 
[2026-08-26 07:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 07:04:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653146880001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653146880001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:04:54] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:04:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653146880001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":162242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:04:54] local.INFO: GPS data processed {"connection_id":162242,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:04:54] local.INFO: Acknowledgment sent {"connection_id":162242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:05:38] local.INFO: TCP Data received {"connection_id":163475,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:05:38] local.INFO: Processing buffer {"connection_id":163475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:05:38] local.INFO: IMEI packet received {"connection_id":163475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":163475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:05:43] local.INFO: TCP Data received {"connection_id":163475,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:05:43] local.INFO: Processing buffer {"connection_id":163475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:05:43] local.INFO: IMEI packet received {"connection_id":163475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":163475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:05:44] local.INFO: TCP Data received {"connection_id":163475,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:05:44] local.INFO: Processing buffer {"connection_id":163475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:05:44] local.INFO: Packet analysis {"connection_id":163475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bb1"} 
[2026-08-26 07:05:44] local.INFO: Extracted packet for processing {"connection_id":163475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bb1"} 
[2026-08-26 07:05:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653146880001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:05: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-26 07:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787707906000,"timestamp_ms":1787707906000,"timestamp_seconds":1787707906,"priority":1,"record_length":96,"hex_timestamp":"000001a03bb1d7d0"} 
[2026-08-26 07: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-26 07:05: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-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:05: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-26 07: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-26 07: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-26 07:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653146880001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653146880001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:05:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:05:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653146880001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":163475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:05:44] local.INFO: GPS data processed {"connection_id":163475,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:05:44] local.INFO: Acknowledgment sent {"connection_id":163475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:05:48] local.INFO: TCP Data received {"connection_id":163475,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:05:48] local.INFO: Processing buffer {"connection_id":163475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:05:48] local.INFO: Packet analysis {"connection_id":163475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bb1"} 
[2026-08-26 07:05:48] local.INFO: Extracted packet for processing {"connection_id":163475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bb1"} 
[2026-08-26 07:05:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653146880001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 07:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787707906000,"timestamp_ms":1787707906000,"timestamp_seconds":1787707906,"priority":1,"record_length":96,"hex_timestamp":"000001a03bb1d7d0"} 
[2026-08-26 07: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-26 07:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 07: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-26 07: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-26 07:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653146880001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653146880001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:05:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:05:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653146880001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":163475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:05:48] local.INFO: GPS data processed {"connection_id":163475,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:05:48] local.INFO: Acknowledgment sent {"connection_id":163475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:06:20] local.INFO: TCP Data received {"connection_id":163475,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:06:20] local.INFO: Processing buffer {"connection_id":163475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:06:20] local.INFO: Packet analysis {"connection_id":163475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bb1"} 
[2026-08-26 07:06:20] local.INFO: Extracted packet for processing {"connection_id":163475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bb1"} 
[2026-08-26 07:06:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653146880001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:06: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-26 07:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787707906000,"timestamp_ms":1787707906000,"timestamp_seconds":1787707906,"priority":1,"record_length":96,"hex_timestamp":"000001a03bb1d7d0"} 
[2026-08-26 07: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-26 07:06: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-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 07: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-26 07: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-26 07:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653146880001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653146880001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:06:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:06:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653146880001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":163475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:06:20] local.INFO: GPS data processed {"connection_id":163475,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:06:20] local.INFO: Acknowledgment sent {"connection_id":163475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:06:38] local.INFO: TCP Data received {"connection_id":162468,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:06:38] local.INFO: Processing buffer {"connection_id":162468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:06:38] local.INFO: IMEI packet received {"connection_id":162468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":162468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:06:43] local.INFO: TCP Data received {"connection_id":162468,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:06:43] local.INFO: Processing buffer {"connection_id":162468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:06:43] local.INFO: IMEI packet received {"connection_id":162468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":162468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:06:44] local.INFO: TCP Data received {"connection_id":162468,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:06:44] local.INFO: Processing buffer {"connection_id":162468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:06:44] local.INFO: Packet analysis {"connection_id":162468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bb1"} 
[2026-08-26 07:06:44] local.INFO: Extracted packet for processing {"connection_id":162468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bb1"} 
[2026-08-26 07:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653146880001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:06: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-26 07:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787707906000,"timestamp_ms":1787707906000,"timestamp_seconds":1787707906,"priority":1,"record_length":96,"hex_timestamp":"000001a03bb1d7d0"} 
[2026-08-26 07:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:06: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-26 07:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:06: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-26 07:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653146880001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653146880001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:06:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:06:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653146880001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":162468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:06:44] local.INFO: GPS data processed {"connection_id":162468,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:06:44] local.INFO: Acknowledgment sent {"connection_id":162468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:07:15] local.INFO: TCP Data received {"connection_id":162468,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:07:15] local.INFO: Processing buffer {"connection_id":162468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bb1d7d0012d34c14006aa4818000400e62c..."} 
[2026-08-26 07:07:15] local.INFO: Packet analysis {"connection_id":162468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bb1"} 
[2026-08-26 07:07:15] local.INFO: Extracted packet for processing {"connection_id":162468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bb1"} 
[2026-08-26 07:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653146880001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07: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-26 07:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787707906000,"timestamp_ms":1787707906000,"timestamp_seconds":1787707906,"priority":1,"record_length":96,"hex_timestamp":"000001a03bb1d7d0"} 
[2026-08-26 07: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-26 07:07: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-26 07: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:07: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-26 07: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-26 07: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-26 07:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653146880001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653146880001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:07:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653146880001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":162468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:07:15] local.INFO: GPS data processed {"connection_id":162468,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:07:15] local.INFO: Acknowledgment sent {"connection_id":162468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:07:38] local.INFO: TCP Data received {"connection_id":164838,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:07:38] local.INFO: Processing buffer {"connection_id":164838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:07:38] local.INFO: IMEI packet received {"connection_id":164838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":164838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:07:43] local.INFO: TCP Data received {"connection_id":164838,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:07:43] local.INFO: Processing buffer {"connection_id":164838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:07:43] local.INFO: IMEI packet received {"connection_id":164838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":164838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:07:45] local.INFO: TCP Data received {"connection_id":164838,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:07:45] local.INFO: Processing buffer {"connection_id":164838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:07:45] local.INFO: Packet analysis {"connection_id":164838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bb6"} 
[2026-08-26 07:07:45] local.INFO: Extracted packet for processing {"connection_id":164838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bb6"} 
[2026-08-26 07:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653223936001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:07: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-26 07:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787708207000,"timestamp_ms":1787708207000,"timestamp_seconds":1787708207,"priority":1,"record_length":96,"hex_timestamp":"000001a03bb66f98"} 
[2026-08-26 07:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:07: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-26 07:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653223936001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653223936001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:07:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:07:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653223936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":164838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:07:45] local.INFO: GPS data processed {"connection_id":164838,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:07:45] local.INFO: Acknowledgment sent {"connection_id":164838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:08:16] local.INFO: TCP Data received {"connection_id":164838,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:08:16] local.INFO: Processing buffer {"connection_id":164838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:08:16] local.INFO: Packet analysis {"connection_id":164838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bb6"} 
[2026-08-26 07:08:16] local.INFO: Extracted packet for processing {"connection_id":164838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bb6"} 
[2026-08-26 07:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653223936001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07: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-26 07:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787708207000,"timestamp_ms":1787708207000,"timestamp_seconds":1787708207,"priority":1,"record_length":96,"hex_timestamp":"000001a03bb66f98"} 
[2026-08-26 07: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-26 07:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07: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-26 07: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-26 07: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-26 07:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653223936001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653223936001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:08:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653223936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":164838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:08:16] local.INFO: GPS data processed {"connection_id":164838,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:08:16] local.INFO: Acknowledgment sent {"connection_id":164838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:08:37] local.INFO: TCP Data received {"connection_id":162243,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:08:37] local.INFO: Processing buffer {"connection_id":162243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:08:37] local.INFO: IMEI packet received {"connection_id":162243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":162243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:08:43] local.INFO: TCP Data received {"connection_id":162243,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:08:43] local.INFO: Processing buffer {"connection_id":162243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:08:43] local.INFO: IMEI packet received {"connection_id":162243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":162243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:08:43] local.INFO: TCP Data received {"connection_id":162243,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:08:43] local.INFO: Processing buffer {"connection_id":162243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:08:43] local.INFO: Packet analysis {"connection_id":162243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bb6"} 
[2026-08-26 07:08:43] local.INFO: Extracted packet for processing {"connection_id":162243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bb6"} 
[2026-08-26 07:08:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653223936001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:08: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-26 07:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787708207000,"timestamp_ms":1787708207000,"timestamp_seconds":1787708207,"priority":1,"record_length":96,"hex_timestamp":"000001a03bb66f98"} 
[2026-08-26 07:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:08: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-26 07:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653223936001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653223936001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:08:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:08:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653223936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":162243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:08:43] local.INFO: GPS data processed {"connection_id":162243,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:08:43] local.INFO: Acknowledgment sent {"connection_id":162243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:09:15] local.INFO: TCP Data received {"connection_id":162243,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:09:15] local.INFO: Processing buffer {"connection_id":162243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:09:15] local.INFO: Packet analysis {"connection_id":162243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bb6"} 
[2026-08-26 07:09:15] local.INFO: Extracted packet for processing {"connection_id":162243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bb6"} 
[2026-08-26 07:09:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653223936001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:09: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-26 07:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787708207000,"timestamp_ms":1787708207000,"timestamp_seconds":1787708207,"priority":1,"record_length":96,"hex_timestamp":"000001a03bb66f98"} 
[2026-08-26 07:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:09: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-26 07:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:09: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-26 07:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653223936001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653223936001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:09:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:09:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653223936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":162243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:09:15] local.INFO: GPS data processed {"connection_id":162243,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:09:15] local.INFO: Acknowledgment sent {"connection_id":162243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:09:43] local.INFO: TCP Data received {"connection_id":162244,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:09:43] local.INFO: Processing buffer {"connection_id":162244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:09:43] local.INFO: IMEI packet received {"connection_id":162244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":162244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:09:48] local.INFO: TCP Data received {"connection_id":162244,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:09:48] local.INFO: Processing buffer {"connection_id":162244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:09:48] local.INFO: IMEI packet received {"connection_id":162244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":162244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:09:48] local.INFO: TCP Data received {"connection_id":162244,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:09:48] local.INFO: Processing buffer {"connection_id":162244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:09:48] local.INFO: Packet analysis {"connection_id":162244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bb6"} 
[2026-08-26 07:09:48] local.INFO: Extracted packet for processing {"connection_id":162244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bb6"} 
[2026-08-26 07:09:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653223936001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 07:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787708207000,"timestamp_ms":1787708207000,"timestamp_seconds":1787708207,"priority":1,"record_length":96,"hex_timestamp":"000001a03bb66f98"} 
[2026-08-26 07: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-26 07:09:48] 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-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 07: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-26 07: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-26 07:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653223936001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653223936001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:09:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:09:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653223936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":162244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:09:48] local.INFO: GPS data processed {"connection_id":162244,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:09:48] local.INFO: Acknowledgment sent {"connection_id":162244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:09:53] local.INFO: TCP Data received {"connection_id":162244,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:09:53] local.INFO: Processing buffer {"connection_id":162244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:09:53] local.INFO: Packet analysis {"connection_id":162244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bb6"} 
[2026-08-26 07:09:53] local.INFO: Extracted packet for processing {"connection_id":162244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bb6"} 
[2026-08-26 07:09:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653223936001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 07:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787708207000,"timestamp_ms":1787708207000,"timestamp_seconds":1787708207,"priority":1,"record_length":96,"hex_timestamp":"000001a03bb66f98"} 
[2026-08-26 07: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-26 07:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 07: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-26 07: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-26 07:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653223936001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653223936001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:09:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:09:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653223936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":162244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:09:53] local.INFO: GPS data processed {"connection_id":162244,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:09:53] local.INFO: Acknowledgment sent {"connection_id":162244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:09:58] local.INFO: TCP Data received {"connection_id":162244,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:09:58] local.INFO: Processing buffer {"connection_id":162244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:09:58] local.INFO: Packet analysis {"connection_id":162244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bb6"} 
[2026-08-26 07:09:58] local.INFO: Extracted packet for processing {"connection_id":162244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bb6"} 
[2026-08-26 07:09:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653223936001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:09: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-26 07:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787708207000,"timestamp_ms":1787708207000,"timestamp_seconds":1787708207,"priority":1,"record_length":96,"hex_timestamp":"000001a03bb66f98"} 
[2026-08-26 07:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:09: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-26 07:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653223936001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653223936001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:09:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:09:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653223936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":162244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:09:58] local.INFO: GPS data processed {"connection_id":162244,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:09:58] local.INFO: Acknowledgment sent {"connection_id":162244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:10:38] local.INFO: TCP Data received {"connection_id":162469,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:10:38] local.INFO: Processing buffer {"connection_id":162469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:10:38] local.INFO: IMEI packet received {"connection_id":162469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":162469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:10:43] local.INFO: TCP Data received {"connection_id":162469,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:10:43] local.INFO: Processing buffer {"connection_id":162469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:10:43] local.INFO: IMEI packet received {"connection_id":162469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":162469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:10:44] local.INFO: TCP Data received {"connection_id":162469,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:10:44] local.INFO: Processing buffer {"connection_id":162469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:10:44] local.INFO: Packet analysis {"connection_id":162469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bb6"} 
[2026-08-26 07:10:44] local.INFO: Extracted packet for processing {"connection_id":162469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bb6"} 
[2026-08-26 07:10:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653223936001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:10: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-26 07:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787708207000,"timestamp_ms":1787708207000,"timestamp_seconds":1787708207,"priority":1,"record_length":96,"hex_timestamp":"000001a03bb66f98"} 
[2026-08-26 07: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-26 07:10: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-26 07: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-26 07: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-26 07: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-26 07: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-26 07:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653223936001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653223936001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:10:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:10:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653223936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":162469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:10:44] local.INFO: GPS data processed {"connection_id":162469,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:10:44] local.INFO: Acknowledgment sent {"connection_id":162469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:10:48] local.INFO: TCP Data received {"connection_id":162469,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:10:48] local.INFO: Processing buffer {"connection_id":162469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:10:48] local.INFO: Packet analysis {"connection_id":162469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bb6"} 
[2026-08-26 07:10:48] local.INFO: Extracted packet for processing {"connection_id":162469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bb6"} 
[2026-08-26 07:10:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653223936001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 07:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787708207000,"timestamp_ms":1787708207000,"timestamp_seconds":1787708207,"priority":1,"record_length":96,"hex_timestamp":"000001a03bb66f98"} 
[2026-08-26 07: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-26 07:10:48] 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-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 07: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-26 07: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-26 07:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653223936001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653223936001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:10:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:10:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653223936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":162469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:10:48] local.INFO: GPS data processed {"connection_id":162469,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:10:48] local.INFO: Acknowledgment sent {"connection_id":162469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:11:19] local.INFO: TCP Data received {"connection_id":162469,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:11:19] local.INFO: Processing buffer {"connection_id":162469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:11:19] local.INFO: Packet analysis {"connection_id":162469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bb6"} 
[2026-08-26 07:11:19] local.INFO: Extracted packet for processing {"connection_id":162469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bb6"} 
[2026-08-26 07:11:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653223936001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 07:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787708207000,"timestamp_ms":1787708207000,"timestamp_seconds":1787708207,"priority":1,"record_length":96,"hex_timestamp":"000001a03bb66f98"} 
[2026-08-26 07:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:11: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-26 07:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 07: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-26 07:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653223936001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653223936001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:11:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:11:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653223936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":162469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:11:19] local.INFO: GPS data processed {"connection_id":162469,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:11:19] local.INFO: Acknowledgment sent {"connection_id":162469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:11:38] local.INFO: TCP Data received {"connection_id":164840,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:11:38] local.INFO: Processing buffer {"connection_id":164840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:11:38] local.INFO: IMEI packet received {"connection_id":164840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":164840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:11:43] local.INFO: TCP Data received {"connection_id":164840,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:11:43] local.INFO: Processing buffer {"connection_id":164840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:11:43] local.INFO: IMEI packet received {"connection_id":164840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":164840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:11:44] local.INFO: TCP Data received {"connection_id":164840,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:11:44] local.INFO: Processing buffer {"connection_id":164840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:11:44] local.INFO: Packet analysis {"connection_id":164840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bb6"} 
[2026-08-26 07:11:44] local.INFO: Extracted packet for processing {"connection_id":164840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bb6"} 
[2026-08-26 07:11:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653223936001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:11: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-26 07:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787708207000,"timestamp_ms":1787708207000,"timestamp_seconds":1787708207,"priority":1,"record_length":96,"hex_timestamp":"000001a03bb66f98"} 
[2026-08-26 07: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-26 07:11: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-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:11: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-26 07: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-26 07: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-26 07:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653223936001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653223936001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:11:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:11:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653223936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":164840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:11:44] local.INFO: GPS data processed {"connection_id":164840,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:11:44] local.INFO: Acknowledgment sent {"connection_id":164840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:12:15] local.INFO: TCP Data received {"connection_id":164840,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:12:15] local.INFO: Processing buffer {"connection_id":164840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bb66f98012d34c14006aa4818000200e62d..."} 
[2026-08-26 07:12:15] local.INFO: Packet analysis {"connection_id":164840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bb6"} 
[2026-08-26 07:12:15] local.INFO: Extracted packet for processing {"connection_id":164840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bb6"} 
[2026-08-26 07:12:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653223936001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07: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-26 07:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787708207000,"timestamp_ms":1787708207000,"timestamp_seconds":1787708207,"priority":1,"record_length":96,"hex_timestamp":"000001a03bb66f98"} 
[2026-08-26 07: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-26 07:12: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-26 07: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-26 07: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-26 07: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-26 07: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-26 07:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653223936001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653223936001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:12:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:12:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653223936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":164840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:12:15] local.INFO: GPS data processed {"connection_id":164840,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:12:15] local.INFO: Acknowledgment sent {"connection_id":164840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:12:38] local.INFO: TCP Data received {"connection_id":163476,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:12:38] local.INFO: Processing buffer {"connection_id":163476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:12:38] local.INFO: IMEI packet received {"connection_id":163476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":163476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:12:43] local.INFO: TCP Data received {"connection_id":163476,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:12:43] local.INFO: Processing buffer {"connection_id":163476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:12:43] local.INFO: IMEI packet received {"connection_id":163476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":163476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:12:44] local.INFO: TCP Data received {"connection_id":163476,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:12:44] local.INFO: Processing buffer {"connection_id":163476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:12:44] local.INFO: Packet analysis {"connection_id":163476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bbb"} 
[2026-08-26 07:12:44] local.INFO: Extracted packet for processing {"connection_id":163476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bbb"} 
[2026-08-26 07:12:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653300992001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:12: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-26 07:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787708508000,"timestamp_ms":1787708508000,"timestamp_seconds":1787708508,"priority":1,"record_length":96,"hex_timestamp":"000001a03bbb0760"} 
[2026-08-26 07: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-26 07:12: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-26 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 07:12: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-26 07: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-26 07: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-26 07:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653300992001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653300992001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:12:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:12:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653300992001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":163476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:12:44] local.INFO: GPS data processed {"connection_id":163476,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:12:44] local.INFO: Acknowledgment sent {"connection_id":163476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:13:16] local.INFO: TCP Data received {"connection_id":163476,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:13:16] local.INFO: Processing buffer {"connection_id":163476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:13:16] local.INFO: Packet analysis {"connection_id":163476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bbb"} 
[2026-08-26 07:13:16] local.INFO: Extracted packet for processing {"connection_id":163476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bbb"} 
[2026-08-26 07:13:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653300992001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07: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-26 07:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787708508000,"timestamp_ms":1787708508000,"timestamp_seconds":1787708508,"priority":1,"record_length":96,"hex_timestamp":"000001a03bbb0760"} 
[2026-08-26 07:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07: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-26 07:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 07: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-26 07:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653300992001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653300992001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:13:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:13:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653300992001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":163476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:13:16] local.INFO: GPS data processed {"connection_id":163476,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:13:16] local.INFO: Acknowledgment sent {"connection_id":163476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:13:37] local.INFO: TCP Data received {"connection_id":164841,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:13:37] local.INFO: Processing buffer {"connection_id":164841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:13:37] local.INFO: IMEI packet received {"connection_id":164841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":164841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:13:43] local.INFO: TCP Data received {"connection_id":164841,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:13:43] local.INFO: Processing buffer {"connection_id":164841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:13:43] local.INFO: IMEI packet received {"connection_id":164841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":164841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:13:44] local.INFO: TCP Data received {"connection_id":164841,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:13:44] local.INFO: Processing buffer {"connection_id":164841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:13:44] local.INFO: Packet analysis {"connection_id":164841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bbb"} 
[2026-08-26 07:13:44] local.INFO: Extracted packet for processing {"connection_id":164841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bbb"} 
[2026-08-26 07:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 07:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653300992001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 07:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787708508000,"timestamp_ms":1787708508000,"timestamp_seconds":1787708508,"priority":1,"record_length":96,"hex_timestamp":"000001a03bbb0760"} 
[2026-08-26 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-26 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-26 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":31,"data_length":795,"current_offset":136} 
[2026-08-26 07:13: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-26 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-26 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-26 07:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653300992001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653300992001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:13:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:13:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653300992001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":164841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:13:44] local.INFO: GPS data processed {"connection_id":164841,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:13:44] local.INFO: Acknowledgment sent {"connection_id":164841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:14:15] local.INFO: TCP Data received {"connection_id":164841,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:14:15] local.INFO: Processing buffer {"connection_id":164841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:14:15] local.INFO: Packet analysis {"connection_id":164841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bbb"} 
[2026-08-26 07:14:15] local.INFO: Extracted packet for processing {"connection_id":164841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bbb"} 
[2026-08-26 07:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653300992001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:14: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-26 07:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787708508000,"timestamp_ms":1787708508000,"timestamp_seconds":1787708508,"priority":1,"record_length":96,"hex_timestamp":"000001a03bbb0760"} 
[2026-08-26 07:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 07:14: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-26 07:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653300992001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653300992001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:14:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:14:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653300992001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":164841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:14:15] local.INFO: GPS data processed {"connection_id":164841,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:14:15] local.INFO: Acknowledgment sent {"connection_id":164841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:14:37] local.INFO: TCP Data received {"connection_id":162470,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:14:37] local.INFO: Processing buffer {"connection_id":162470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:14:37] local.INFO: IMEI packet received {"connection_id":162470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":162470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:14:43] local.INFO: TCP Data received {"connection_id":162470,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:14:43] local.INFO: Processing buffer {"connection_id":162470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:14:43] local.INFO: IMEI packet received {"connection_id":162470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":162470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:14:43] local.INFO: TCP Data received {"connection_id":162470,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:14:43] local.INFO: Processing buffer {"connection_id":162470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:14:43] local.INFO: Packet analysis {"connection_id":162470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bbb"} 
[2026-08-26 07:14:43] local.INFO: Extracted packet for processing {"connection_id":162470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bbb"} 
[2026-08-26 07:14:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653300992001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07: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-26 07:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787708508000,"timestamp_ms":1787708508000,"timestamp_seconds":1787708508,"priority":1,"record_length":96,"hex_timestamp":"000001a03bbb0760"} 
[2026-08-26 07: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-26 07:14: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-26 07: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-26 07: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-26 07: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-26 07: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-26 07:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653300992001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653300992001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:14:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:14:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653300992001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":162470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:14:44] local.INFO: GPS data processed {"connection_id":162470,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:14:44] local.INFO: Acknowledgment sent {"connection_id":162470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:15:15] local.INFO: TCP Data received {"connection_id":162470,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:15:15] local.INFO: Processing buffer {"connection_id":162470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:15:15] local.INFO: Packet analysis {"connection_id":162470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bbb"} 
[2026-08-26 07:15:15] local.INFO: Extracted packet for processing {"connection_id":162470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bbb"} 
[2026-08-26 07:15:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653300992001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:15: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-26 07:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787708508000,"timestamp_ms":1787708508000,"timestamp_seconds":1787708508,"priority":1,"record_length":96,"hex_timestamp":"000001a03bbb0760"} 
[2026-08-26 07: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-26 07:15: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-26 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 07:15: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-26 07: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-26 07: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-26 07:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653300992001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653300992001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:15:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:15:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653300992001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":162470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:15:15] local.INFO: GPS data processed {"connection_id":162470,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:15:15] local.INFO: Acknowledgment sent {"connection_id":162470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:15:43] local.INFO: TCP Data received {"connection_id":163477,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:15:43] local.INFO: Processing buffer {"connection_id":163477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:15:43] local.INFO: IMEI packet received {"connection_id":163477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":163477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:15:48] local.INFO: TCP Data received {"connection_id":163477,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:15:48] local.INFO: Processing buffer {"connection_id":163477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:15:48] local.INFO: IMEI packet received {"connection_id":163477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":163477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:15:49] local.INFO: TCP Data received {"connection_id":163477,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:15:49] local.INFO: Processing buffer {"connection_id":163477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:15:49] local.INFO: Packet analysis {"connection_id":163477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bbb"} 
[2026-08-26 07:15:49] local.INFO: Extracted packet for processing {"connection_id":163477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bbb"} 
[2026-08-26 07:15:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653300992001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:15: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-26 07:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787708508000,"timestamp_ms":1787708508000,"timestamp_seconds":1787708508,"priority":1,"record_length":96,"hex_timestamp":"000001a03bbb0760"} 
[2026-08-26 07: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-26 07:15: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-26 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 07:15: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-26 07: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-26 07: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-26 07:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653300992001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653300992001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:15:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:15:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653300992001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":163477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:15:49] local.INFO: GPS data processed {"connection_id":163477,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:15:49] local.INFO: Acknowledgment sent {"connection_id":163477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:15:53] local.INFO: TCP Data received {"connection_id":163477,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:15:53] local.INFO: Processing buffer {"connection_id":163477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:15:53] local.INFO: Packet analysis {"connection_id":163477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bbb"} 
[2026-08-26 07:15:53] local.INFO: Extracted packet for processing {"connection_id":163477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bbb"} 
[2026-08-26 07:15:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653300992001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 07:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787708508000,"timestamp_ms":1787708508000,"timestamp_seconds":1787708508,"priority":1,"record_length":96,"hex_timestamp":"000001a03bbb0760"} 
[2026-08-26 07: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-26 07:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 07:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 07: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-26 07: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-26 07:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653300992001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653300992001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:15:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:15:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653300992001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":163477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:15:53] local.INFO: GPS data processed {"connection_id":163477,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:15:53] local.INFO: Acknowledgment sent {"connection_id":163477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:16:38] local.INFO: TCP Data received {"connection_id":163478,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:16:38] local.INFO: Processing buffer {"connection_id":163478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:16:38] local.INFO: IMEI packet received {"connection_id":163478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":163478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:16:43] local.INFO: TCP Data received {"connection_id":163478,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:16:43] local.INFO: Processing buffer {"connection_id":163478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:16:43] local.INFO: IMEI packet received {"connection_id":163478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":163478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:16:44] local.INFO: TCP Data received {"connection_id":163478,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:16:44] local.INFO: Processing buffer {"connection_id":163478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:16:44] local.INFO: Packet analysis {"connection_id":163478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bbb"} 
[2026-08-26 07:16:44] local.INFO: Extracted packet for processing {"connection_id":163478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bbb"} 
[2026-08-26 07:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653300992001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:16: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-26 07:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787708508000,"timestamp_ms":1787708508000,"timestamp_seconds":1787708508,"priority":1,"record_length":96,"hex_timestamp":"000001a03bbb0760"} 
[2026-08-26 07:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:16: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-26 07:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 07:16: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-26 07:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653300992001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653300992001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:16:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:16:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653300992001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":163478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:16:44] local.INFO: GPS data processed {"connection_id":163478,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:16:44] local.INFO: Acknowledgment sent {"connection_id":163478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:17:15] local.INFO: TCP Data received {"connection_id":163478,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:17:15] local.INFO: Processing buffer {"connection_id":163478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bbb0760012d34c14006aa4818000500e62a..."} 
[2026-08-26 07:17:15] local.INFO: Packet analysis {"connection_id":163478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bbb"} 
[2026-08-26 07:17:15] local.INFO: Extracted packet for processing {"connection_id":163478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bbb"} 
[2026-08-26 07:17:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653300992001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07: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-26 07:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787708508000,"timestamp_ms":1787708508000,"timestamp_seconds":1787708508,"priority":1,"record_length":96,"hex_timestamp":"000001a03bbb0760"} 
[2026-08-26 07: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-26 07: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-26 07: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 07:17: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-26 07: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-26 07: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-26 07:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653300992001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653300992001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:17:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:17:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653300992001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":163478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:17:15] local.INFO: GPS data processed {"connection_id":163478,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:17:15] local.INFO: Acknowledgment sent {"connection_id":163478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:17:38] local.INFO: TCP Data received {"connection_id":164843,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:17:38] local.INFO: Processing buffer {"connection_id":164843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:17:38] local.INFO: IMEI packet received {"connection_id":164843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":164843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:17:43] local.INFO: TCP Data received {"connection_id":164843,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:17:43] local.INFO: Processing buffer {"connection_id":164843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:17:43] local.INFO: IMEI packet received {"connection_id":164843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":164843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:17:44] local.INFO: TCP Data received {"connection_id":164843,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:17:44] local.INFO: Processing buffer {"connection_id":164843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:17:44] local.INFO: Packet analysis {"connection_id":164843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bbf"} 
[2026-08-26 07:17:44] local.INFO: Extracted packet for processing {"connection_id":164843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bbf"} 
[2026-08-26 07:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653378048001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:17: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-26 07:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787708809000,"timestamp_ms":1787708809000,"timestamp_seconds":1787708809,"priority":1,"record_length":96,"hex_timestamp":"000001a03bbf9f28"} 
[2026-08-26 07:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:17: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-26 07:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 07:17: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-26 07:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653378048001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653378048001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:17:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653378048001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":164843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:17:44] local.INFO: GPS data processed {"connection_id":164843,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:17:44] local.INFO: Acknowledgment sent {"connection_id":164843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:18:15] local.INFO: TCP Data received {"connection_id":164843,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:18:15] local.INFO: Processing buffer {"connection_id":164843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:18:15] local.INFO: Packet analysis {"connection_id":164843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bbf"} 
[2026-08-26 07:18:15] local.INFO: Extracted packet for processing {"connection_id":164843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bbf"} 
[2026-08-26 07:18:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653378048001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:18: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-26 07:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787708809000,"timestamp_ms":1787708809000,"timestamp_seconds":1787708809,"priority":1,"record_length":96,"hex_timestamp":"000001a03bbf9f28"} 
[2026-08-26 07:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:18: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-26 07:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 07:18: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-26 07:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653378048001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653378048001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:18:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:18:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653378048001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":164843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:18:15] local.INFO: GPS data processed {"connection_id":164843,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:18:15] local.INFO: Acknowledgment sent {"connection_id":164843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:18:37] local.INFO: TCP Data received {"connection_id":163479,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:18:37] local.INFO: Processing buffer {"connection_id":163479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:18:37] local.INFO: IMEI packet received {"connection_id":163479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":163479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:18:43] local.INFO: TCP Data received {"connection_id":163479,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:18:43] local.INFO: Processing buffer {"connection_id":163479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:18:43] local.INFO: IMEI packet received {"connection_id":163479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":163479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:18:44] local.INFO: TCP Data received {"connection_id":163479,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:18:44] local.INFO: Processing buffer {"connection_id":163479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:18:44] local.INFO: Packet analysis {"connection_id":163479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bbf"} 
[2026-08-26 07:18:44] local.INFO: Extracted packet for processing {"connection_id":163479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bbf"} 
[2026-08-26 07:18:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653378048001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:18: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-26 07:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787708809000,"timestamp_ms":1787708809000,"timestamp_seconds":1787708809,"priority":1,"record_length":96,"hex_timestamp":"000001a03bbf9f28"} 
[2026-08-26 07: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-26 07:18: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-26 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 07:18: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-26 07: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-26 07: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-26 07:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653378048001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653378048001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:18:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:18:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653378048001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":163479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:18:44] local.INFO: GPS data processed {"connection_id":163479,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:18:44] local.INFO: Acknowledgment sent {"connection_id":163479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:19:15] local.INFO: TCP Data received {"connection_id":163479,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:19:15] local.INFO: Processing buffer {"connection_id":163479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:19:15] local.INFO: Packet analysis {"connection_id":163479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bbf"} 
[2026-08-26 07:19:15] local.INFO: Extracted packet for processing {"connection_id":163479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bbf"} 
[2026-08-26 07:19:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653378048001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:19: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-26 07:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787708809000,"timestamp_ms":1787708809000,"timestamp_seconds":1787708809,"priority":1,"record_length":96,"hex_timestamp":"000001a03bbf9f28"} 
[2026-08-26 07:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:19: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-26 07:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 07:19: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-26 07:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653378048001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653378048001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:19:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:19:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653378048001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":163479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:19:15] local.INFO: GPS data processed {"connection_id":163479,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:19:15] local.INFO: Acknowledgment sent {"connection_id":163479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:19:43] local.INFO: TCP Data received {"connection_id":163480,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:19:43] local.INFO: Processing buffer {"connection_id":163480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:19:43] local.INFO: IMEI packet received {"connection_id":163480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":163480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:19:48] local.INFO: TCP Data received {"connection_id":163480,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:19:48] local.INFO: Processing buffer {"connection_id":163480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:19:48] local.INFO: IMEI packet received {"connection_id":163480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":163480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:19:48] local.INFO: TCP Data received {"connection_id":163480,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:19:48] local.INFO: Processing buffer {"connection_id":163480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:19:48] local.INFO: Packet analysis {"connection_id":163480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bbf"} 
[2026-08-26 07:19:48] local.INFO: Extracted packet for processing {"connection_id":163480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bbf"} 
[2026-08-26 07:19:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653378048001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 07:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787708809000,"timestamp_ms":1787708809000,"timestamp_seconds":1787708809,"priority":1,"record_length":96,"hex_timestamp":"000001a03bbf9f28"} 
[2026-08-26 07: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-26 07:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 07:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 07: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-26 07: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-26 07:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653378048001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653378048001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:19:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:19:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653378048001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":163480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:19:48] local.INFO: GPS data processed {"connection_id":163480,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:19:48] local.INFO: Acknowledgment sent {"connection_id":163480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:19:53] local.INFO: TCP Data received {"connection_id":163480,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:19:53] local.INFO: Processing buffer {"connection_id":163480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:19:53] local.INFO: Packet analysis {"connection_id":163480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bbf"} 
[2026-08-26 07:19:53] local.INFO: Extracted packet for processing {"connection_id":163480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bbf"} 
[2026-08-26 07:19:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653378048001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 07:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787708809000,"timestamp_ms":1787708809000,"timestamp_seconds":1787708809,"priority":1,"record_length":96,"hex_timestamp":"000001a03bbf9f28"} 
[2026-08-26 07: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-26 07:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 07:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 07: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-26 07: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-26 07:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653378048001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653378048001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:19:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:19:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653378048001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":163480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:19:53] local.INFO: GPS data processed {"connection_id":163480,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:19:53] local.INFO: Acknowledgment sent {"connection_id":163480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:20:38] local.INFO: TCP Data received {"connection_id":162471,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:20:38] local.INFO: Processing buffer {"connection_id":162471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:20:38] local.INFO: IMEI packet received {"connection_id":162471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":162471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:20:43] local.INFO: TCP Data received {"connection_id":162471,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:20:43] local.INFO: Processing buffer {"connection_id":162471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:20:43] local.INFO: IMEI packet received {"connection_id":162471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":162471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:20:43] local.INFO: TCP Data received {"connection_id":162471,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:20:43] local.INFO: Processing buffer {"connection_id":162471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:20:43] local.INFO: Packet analysis {"connection_id":162471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bbf"} 
[2026-08-26 07:20:43] local.INFO: Extracted packet for processing {"connection_id":162471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bbf"} 
[2026-08-26 07:20:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653378048001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:20: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-26 07:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787708809000,"timestamp_ms":1787708809000,"timestamp_seconds":1787708809,"priority":1,"record_length":96,"hex_timestamp":"000001a03bbf9f28"} 
[2026-08-26 07: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-26 07:20: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-26 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 07:20: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-26 07: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-26 07: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-26 07:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653378048001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653378048001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:20:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:20:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653378048001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":162471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:20:43] local.INFO: GPS data processed {"connection_id":162471,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:20:43] local.INFO: Acknowledgment sent {"connection_id":162471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:21:15] local.INFO: TCP Data received {"connection_id":162471,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:21:15] local.INFO: Processing buffer {"connection_id":162471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:21:15] local.INFO: Packet analysis {"connection_id":162471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bbf"} 
[2026-08-26 07:21:15] local.INFO: Extracted packet for processing {"connection_id":162471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bbf"} 
[2026-08-26 07:21:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653378048001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:21: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-26 07:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787708809000,"timestamp_ms":1787708809000,"timestamp_seconds":1787708809,"priority":1,"record_length":96,"hex_timestamp":"000001a03bbf9f28"} 
[2026-08-26 07:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07: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-26 07:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 07:21: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-26 07:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653378048001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653378048001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:21:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:21:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653378048001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":162471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:21:15] local.INFO: GPS data processed {"connection_id":162471,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:21:15] local.INFO: Acknowledgment sent {"connection_id":162471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:21:38] local.INFO: TCP Data received {"connection_id":164844,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:21:38] local.INFO: Processing buffer {"connection_id":164844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:21:38] local.INFO: IMEI packet received {"connection_id":164844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":164844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:21:41] local.INFO: TCP Data received {"connection_id":164845,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 07:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164845,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 07:21:41] local.INFO: Processing buffer {"connection_id":164845,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 07:21:41] local.INFO: Packet analysis {"connection_id":164845,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 07:21:41] local.INFO: Extracted packet for processing {"connection_id":164845,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 07:21: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-26 07:21:41] 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-26 07:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-26 07:21:41] 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-26 07:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-26 07:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-26 07:21:41] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":164845,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-26 07:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":164845,"device_imei":null,"avl_records_count":1} 
[2026-08-26 07:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":164845,"device_imei":null,"avl_records_count":1} 
[2026-08-26 07:21:41] 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-26 07:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":164845,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-26 07:21:41] local.INFO: GPS data processed {"connection_id":164845,"processed":0,"errors":0,"total":1} 
[2026-08-26 07:21:41] local.INFO: Acknowledgment sent {"connection_id":164845,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:21:41] local.INFO: TCP Data received {"connection_id":162246,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 07:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162246,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 07:21:41] local.INFO: Processing buffer {"connection_id":162246,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 07:21:41] local.INFO: Packet analysis {"connection_id":162246,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 07:21:41] local.INFO: Extracted packet for processing {"connection_id":162246,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 07:21: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-26 07:21:41] 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-26 07:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-26 07:21:41] 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-26 07:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-26 07:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-26 07:21:41] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162246,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-26 07:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162246,"device_imei":null,"avl_records_count":1} 
[2026-08-26 07:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162246,"device_imei":null,"avl_records_count":1} 
[2026-08-26 07:21:41] 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-26 07:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":162246,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-26 07:21:41] local.INFO: GPS data processed {"connection_id":162246,"processed":0,"errors":0,"total":1} 
[2026-08-26 07:21:41] local.INFO: Acknowledgment sent {"connection_id":162246,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:21:44] local.INFO: TCP Data received {"connection_id":164844,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:21:44] local.INFO: Processing buffer {"connection_id":164844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:21:44] local.INFO: IMEI packet received {"connection_id":164844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":164844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:21:45] local.INFO: TCP Data received {"connection_id":164844,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:21:45] local.INFO: Processing buffer {"connection_id":164844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:21:45] local.INFO: Packet analysis {"connection_id":164844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bbf"} 
[2026-08-26 07:21:45] local.INFO: Extracted packet for processing {"connection_id":164844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bbf"} 
[2026-08-26 07:21:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653378048001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:21: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-26 07:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787708809000,"timestamp_ms":1787708809000,"timestamp_seconds":1787708809,"priority":1,"record_length":96,"hex_timestamp":"000001a03bbf9f28"} 
[2026-08-26 07: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-26 07:21: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-26 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 07:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 07: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-26 07: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-26 07:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653378048001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653378048001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:21:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:21:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653378048001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":164844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:21:45] local.INFO: GPS data processed {"connection_id":164844,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:21:45] local.INFO: Acknowledgment sent {"connection_id":164844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:21:45] local.INFO: TCP Data received {"connection_id":162247,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 07:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162247,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 07:21:45] local.INFO: Processing buffer {"connection_id":162247,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 07:21:45] local.INFO: Packet analysis {"connection_id":162247,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 07:21:45] local.INFO: Extracted packet for processing {"connection_id":162247,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 07:21:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-26 07:21:45] 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-26 07:21:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-26 07:21:45] 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-26 07:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-26 07:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-26 07:21:45] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162247,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-26 07:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162247,"device_imei":null,"avl_records_count":1} 
[2026-08-26 07:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162247,"device_imei":null,"avl_records_count":1} 
[2026-08-26 07:21:45] 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-26 07:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":162247,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-26 07:21:45] local.INFO: GPS data processed {"connection_id":162247,"processed":0,"errors":0,"total":1} 
[2026-08-26 07:21:45] local.INFO: Acknowledgment sent {"connection_id":162247,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:21:45] local.INFO: TCP Data received {"connection_id":162472,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 07:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162472,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 07:21:45] local.INFO: Processing buffer {"connection_id":162472,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 07:21:45] local.INFO: Packet analysis {"connection_id":162472,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 07:21:45] local.INFO: Extracted packet for processing {"connection_id":162472,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 07:21:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-26 07:21:45] 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-26 07:21:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-26 07:21:45] 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-26 07:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-26 07:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-26 07:21:45] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162472,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-26 07:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162472,"device_imei":null,"avl_records_count":1} 
[2026-08-26 07:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162472,"device_imei":null,"avl_records_count":1} 
[2026-08-26 07:21:45] 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-26 07:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":162472,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-26 07:21:45] local.INFO: GPS data processed {"connection_id":162472,"processed":0,"errors":0,"total":1} 
[2026-08-26 07:21:45] local.INFO: Acknowledgment sent {"connection_id":162472,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:22:17] local.INFO: TCP Data received {"connection_id":164844,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:22:17] local.INFO: Processing buffer {"connection_id":164844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bbf9f28012d34c14006aa4818000800e628..."} 
[2026-08-26 07:22:17] local.INFO: Packet analysis {"connection_id":164844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bbf"} 
[2026-08-26 07:22:17] local.INFO: Extracted packet for processing {"connection_id":164844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bbf"} 
[2026-08-26 07:22:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653378048001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:22: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-26 07:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787708809000,"timestamp_ms":1787708809000,"timestamp_seconds":1787708809,"priority":1,"record_length":96,"hex_timestamp":"000001a03bbf9f28"} 
[2026-08-26 07:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:22: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-26 07:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 07:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 07:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653378048001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653378048001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:22:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:22:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653378048001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":164844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:22:17] local.INFO: GPS data processed {"connection_id":164844,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:22:17] local.INFO: Acknowledgment sent {"connection_id":164844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:22:37] local.INFO: TCP Data received {"connection_id":163481,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:22:37] local.INFO: Processing buffer {"connection_id":163481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:22:37] local.INFO: IMEI packet received {"connection_id":163481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":163481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:22:43] local.INFO: TCP Data received {"connection_id":163481,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:22:43] local.INFO: Processing buffer {"connection_id":163481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:22:43] local.INFO: IMEI packet received {"connection_id":163481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":163481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:22:44] local.INFO: TCP Data received {"connection_id":163481,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:22:44] local.INFO: Processing buffer {"connection_id":163481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:22:44] local.INFO: Packet analysis {"connection_id":163481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bc4"} 
[2026-08-26 07:22:44] local.INFO: Extracted packet for processing {"connection_id":163481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bc4"} 
[2026-08-26 07:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653455104001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:22: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-26 07:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787709109000,"timestamp_ms":1787709109000,"timestamp_seconds":1787709109,"priority":1,"record_length":96,"hex_timestamp":"000001a03bc43308"} 
[2026-08-26 07: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-26 07:22: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-26 07: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 07:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 07: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-26 07: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-26 07:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653455104001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653455104001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:22:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653455104001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":163481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:22:44] local.INFO: GPS data processed {"connection_id":163481,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:22:44] local.INFO: Acknowledgment sent {"connection_id":163481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:23:15] local.INFO: TCP Data received {"connection_id":163481,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:23:15] local.INFO: Processing buffer {"connection_id":163481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:23:15] local.INFO: Packet analysis {"connection_id":163481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bc4"} 
[2026-08-26 07:23:15] local.INFO: Extracted packet for processing {"connection_id":163481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bc4"} 
[2026-08-26 07:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 07:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653455104001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 07:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787709109000,"timestamp_ms":1787709109000,"timestamp_seconds":1787709109,"priority":1,"record_length":96,"hex_timestamp":"000001a03bc43308"} 
[2026-08-26 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-26 07:23: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-26 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":255,"data_length":795,"current_offset":136} 
[2026-08-26 07:23: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-26 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-26 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-26 07:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653455104001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653455104001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653455104001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":163481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:23:15] local.INFO: GPS data processed {"connection_id":163481,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:23:15] local.INFO: Acknowledgment sent {"connection_id":163481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:23:42] local.INFO: TCP Data received {"connection_id":163482,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:23:42] local.INFO: Processing buffer {"connection_id":163482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:23:42] local.INFO: IMEI packet received {"connection_id":163482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":163482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:23:48] local.INFO: TCP Data received {"connection_id":163482,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:23:48] local.INFO: Processing buffer {"connection_id":163482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:23:48] local.INFO: IMEI packet received {"connection_id":163482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":163482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:23:48] local.INFO: TCP Data received {"connection_id":163482,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:23:48] local.INFO: Processing buffer {"connection_id":163482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:23:48] local.INFO: Packet analysis {"connection_id":163482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bc4"} 
[2026-08-26 07:23:48] local.INFO: Extracted packet for processing {"connection_id":163482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bc4"} 
[2026-08-26 07:23:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653455104001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 07:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787709109000,"timestamp_ms":1787709109000,"timestamp_seconds":1787709109,"priority":1,"record_length":96,"hex_timestamp":"000001a03bc43308"} 
[2026-08-26 07: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-26 07:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 07:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 07: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-26 07: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-26 07:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653455104001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653455104001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:23:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:23:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653455104001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":163482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:23:48] local.INFO: GPS data processed {"connection_id":163482,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:23:48] local.INFO: Acknowledgment sent {"connection_id":163482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:24:20] local.INFO: TCP Data received {"connection_id":163482,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:24:20] local.INFO: Processing buffer {"connection_id":163482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:24:20] local.INFO: Packet analysis {"connection_id":163482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bc4"} 
[2026-08-26 07:24:20] local.INFO: Extracted packet for processing {"connection_id":163482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bc4"} 
[2026-08-26 07:24:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653455104001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:24: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-26 07:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787709109000,"timestamp_ms":1787709109000,"timestamp_seconds":1787709109,"priority":1,"record_length":96,"hex_timestamp":"000001a03bc43308"} 
[2026-08-26 07: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-26 07:24: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-26 07: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 07:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 07: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-26 07: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-26 07:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653455104001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653455104001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:24:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:24:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653455104001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":163482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:24:20] local.INFO: GPS data processed {"connection_id":163482,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:24:20] local.INFO: Acknowledgment sent {"connection_id":163482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:24:38] local.INFO: TCP Data received {"connection_id":164846,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:24:38] local.INFO: Processing buffer {"connection_id":164846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:24:38] local.INFO: IMEI packet received {"connection_id":164846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":164846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:24:43] local.INFO: TCP Data received {"connection_id":164846,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:24:43] local.INFO: Processing buffer {"connection_id":164846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:24:43] local.INFO: IMEI packet received {"connection_id":164846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":164846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:24:43] local.INFO: TCP Data received {"connection_id":164846,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:24:43] local.INFO: Processing buffer {"connection_id":164846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:24:43] local.INFO: Packet analysis {"connection_id":164846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bc4"} 
[2026-08-26 07:24:43] local.INFO: Extracted packet for processing {"connection_id":164846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bc4"} 
[2026-08-26 07:24:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653455104001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:24: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-26 07:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787709109000,"timestamp_ms":1787709109000,"timestamp_seconds":1787709109,"priority":1,"record_length":96,"hex_timestamp":"000001a03bc43308"} 
[2026-08-26 07: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-26 07: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-26 07: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":255,"data_length":795,"current_offset":136} 
[2026-08-26 07:24: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-26 07: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-26 07: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-26 07:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653455104001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653455104001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:24:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:24:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653455104001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":164846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:24:43] local.INFO: GPS data processed {"connection_id":164846,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:24:43] local.INFO: Acknowledgment sent {"connection_id":164846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:25:15] local.INFO: TCP Data received {"connection_id":164846,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:25:15] local.INFO: Processing buffer {"connection_id":164846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:25:15] local.INFO: Packet analysis {"connection_id":164846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bc4"} 
[2026-08-26 07:25:15] local.INFO: Extracted packet for processing {"connection_id":164846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bc4"} 
[2026-08-26 07:25:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653455104001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:25: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-26 07:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787709109000,"timestamp_ms":1787709109000,"timestamp_seconds":1787709109,"priority":1,"record_length":96,"hex_timestamp":"000001a03bc43308"} 
[2026-08-26 07: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-26 07: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-26 07: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 07:25: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-26 07: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-26 07: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-26 07:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653455104001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653455104001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:25:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:25:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653455104001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":164846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:25:15] local.INFO: GPS data processed {"connection_id":164846,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:25:15] local.INFO: Acknowledgment sent {"connection_id":164846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:25:37] local.INFO: TCP Data received {"connection_id":162473,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:25:37] local.INFO: Processing buffer {"connection_id":162473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:25:37] local.INFO: IMEI packet received {"connection_id":162473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":162473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:25:43] local.INFO: TCP Data received {"connection_id":162473,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:25:43] local.INFO: Processing buffer {"connection_id":162473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:25:43] local.INFO: IMEI packet received {"connection_id":162473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":162473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:25:44] local.INFO: TCP Data received {"connection_id":162473,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:25:44] local.INFO: Processing buffer {"connection_id":162473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:25:44] local.INFO: Packet analysis {"connection_id":162473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bc4"} 
[2026-08-26 07:25:44] local.INFO: Extracted packet for processing {"connection_id":162473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bc4"} 
[2026-08-26 07:25:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653455104001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07: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-26 07:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787709109000,"timestamp_ms":1787709109000,"timestamp_seconds":1787709109,"priority":1,"record_length":96,"hex_timestamp":"000001a03bc43308"} 
[2026-08-26 07: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-26 07:25: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-26 07: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 07:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 07: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-26 07: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-26 07:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653455104001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653455104001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:25:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:25:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653455104001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":162473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:25:44] local.INFO: GPS data processed {"connection_id":162473,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:25:44] local.INFO: Acknowledgment sent {"connection_id":162473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:26:16] local.INFO: TCP Data received {"connection_id":162473,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:26:16] local.INFO: Processing buffer {"connection_id":162473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:26:16] local.INFO: Packet analysis {"connection_id":162473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bc4"} 
[2026-08-26 07:26:16] local.INFO: Extracted packet for processing {"connection_id":162473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bc4"} 
[2026-08-26 07:26:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653455104001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07: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-26 07:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787709109000,"timestamp_ms":1787709109000,"timestamp_seconds":1787709109,"priority":1,"record_length":96,"hex_timestamp":"000001a03bc43308"} 
[2026-08-26 07: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-26 07:26: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-26 07: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 07:26: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-26 07: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-26 07: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-26 07:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653455104001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653455104001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:26:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:26:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653455104001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":162473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:26:16] local.INFO: GPS data processed {"connection_id":162473,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:26:16] local.INFO: Acknowledgment sent {"connection_id":162473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:26:37] local.INFO: TCP Data received {"connection_id":162248,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:26:37] local.INFO: Processing buffer {"connection_id":162248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:26:37] local.INFO: IMEI packet received {"connection_id":162248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":162248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:26:43] local.INFO: TCP Data received {"connection_id":162248,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:26:43] local.INFO: Processing buffer {"connection_id":162248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:26:43] local.INFO: IMEI packet received {"connection_id":162248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":162248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:26:44] local.INFO: TCP Data received {"connection_id":162248,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:26:44] local.INFO: Processing buffer {"connection_id":162248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:26:44] local.INFO: Packet analysis {"connection_id":162248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bc4"} 
[2026-08-26 07:26:44] local.INFO: Extracted packet for processing {"connection_id":162248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bc4"} 
[2026-08-26 07:26:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653455104001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:26: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-26 07:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787709109000,"timestamp_ms":1787709109000,"timestamp_seconds":1787709109,"priority":1,"record_length":96,"hex_timestamp":"000001a03bc43308"} 
[2026-08-26 07: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-26 07:26: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-26 07: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 07:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 07: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-26 07: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-26 07:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653455104001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653455104001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:26:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:26:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653455104001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":162248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:26:44] local.INFO: GPS data processed {"connection_id":162248,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:26:44] local.INFO: Acknowledgment sent {"connection_id":162248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:27:15] local.INFO: TCP Data received {"connection_id":162248,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:27:15] local.INFO: Processing buffer {"connection_id":162248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bc43308012d34c14006aa4818000a00e627..."} 
[2026-08-26 07:27:15] local.INFO: Packet analysis {"connection_id":162248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bc4"} 
[2026-08-26 07:27:15] local.INFO: Extracted packet for processing {"connection_id":162248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bc4"} 
[2026-08-26 07:27:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653455104001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:27: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-26 07:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787709109000,"timestamp_ms":1787709109000,"timestamp_seconds":1787709109,"priority":1,"record_length":96,"hex_timestamp":"000001a03bc43308"} 
[2026-08-26 07:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07: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-26 07:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 07: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-26 07:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653455104001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653455104001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:27:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:27:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653455104001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":162248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:27:15] local.INFO: GPS data processed {"connection_id":162248,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:27:15] local.INFO: Acknowledgment sent {"connection_id":162248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:27:37] local.INFO: TCP Data received {"connection_id":162249,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:27:37] local.INFO: Processing buffer {"connection_id":162249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:27:37] local.INFO: IMEI packet received {"connection_id":162249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":162249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:27:43] local.INFO: TCP Data received {"connection_id":162249,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:27:43] local.INFO: Processing buffer {"connection_id":162249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:27:43] local.INFO: IMEI packet received {"connection_id":162249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":162249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:27:44] local.INFO: TCP Data received {"connection_id":162249,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:27:44] local.INFO: Processing buffer {"connection_id":162249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:27:44] local.INFO: Packet analysis {"connection_id":162249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bc8"} 
[2026-08-26 07:27:44] local.INFO: Extracted packet for processing {"connection_id":162249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bc8"} 
[2026-08-26 07:27:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653531904001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:27: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-26 07:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787709410000,"timestamp_ms":1787709410000,"timestamp_seconds":1787709410,"priority":1,"record_length":96,"hex_timestamp":"000001a03bc8cad0"} 
[2026-08-26 07: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-26 07:27: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-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:27: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-26 07: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-26 07: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-26 07:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653531904001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653531904001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:27:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:27:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653531904001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":162249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:27:44] local.INFO: GPS data processed {"connection_id":162249,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:27:44] local.INFO: Acknowledgment sent {"connection_id":162249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:28:15] local.INFO: TCP Data received {"connection_id":162249,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:28:15] local.INFO: Processing buffer {"connection_id":162249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:28:15] local.INFO: Packet analysis {"connection_id":162249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bc8"} 
[2026-08-26 07:28:15] local.INFO: Extracted packet for processing {"connection_id":162249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bc8"} 
[2026-08-26 07:28:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653531904001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07: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-26 07:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787709410000,"timestamp_ms":1787709410000,"timestamp_seconds":1787709410,"priority":1,"record_length":96,"hex_timestamp":"000001a03bc8cad0"} 
[2026-08-26 07: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-26 07: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-26 07: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:28: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-26 07: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-26 07: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-26 07:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653531904001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653531904001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:28:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:28:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653531904001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":162249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:28:15] local.INFO: GPS data processed {"connection_id":162249,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:28:15] local.INFO: Acknowledgment sent {"connection_id":162249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:28:38] local.INFO: TCP Data received {"connection_id":163484,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:28:38] local.INFO: Processing buffer {"connection_id":163484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:28:38] local.INFO: IMEI packet received {"connection_id":163484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":163484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:28:43] local.INFO: TCP Data received {"connection_id":163484,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:28:43] local.INFO: Processing buffer {"connection_id":163484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:28:43] local.INFO: IMEI packet received {"connection_id":163484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":163484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:28:44] local.INFO: TCP Data received {"connection_id":163484,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:28:44] local.INFO: Processing buffer {"connection_id":163484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:28:44] local.INFO: Packet analysis {"connection_id":163484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bc8"} 
[2026-08-26 07:28:44] local.INFO: Extracted packet for processing {"connection_id":163484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bc8"} 
[2026-08-26 07:28:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653531904001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:28: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-26 07:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787709410000,"timestamp_ms":1787709410000,"timestamp_seconds":1787709410,"priority":1,"record_length":96,"hex_timestamp":"000001a03bc8cad0"} 
[2026-08-26 07: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-26 07:28: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-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:28: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-26 07: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-26 07: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-26 07:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653531904001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653531904001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:28:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:28:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653531904001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":163484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:28:44] local.INFO: GPS data processed {"connection_id":163484,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:28:44] local.INFO: Acknowledgment sent {"connection_id":163484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:29:15] local.INFO: TCP Data received {"connection_id":163484,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:29:15] local.INFO: Processing buffer {"connection_id":163484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:29:15] local.INFO: Packet analysis {"connection_id":163484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bc8"} 
[2026-08-26 07:29:15] local.INFO: Extracted packet for processing {"connection_id":163484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bc8"} 
[2026-08-26 07:29:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653531904001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07: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-26 07:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787709410000,"timestamp_ms":1787709410000,"timestamp_seconds":1787709410,"priority":1,"record_length":96,"hex_timestamp":"000001a03bc8cad0"} 
[2026-08-26 07:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07: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-26 07:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07: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-26 07:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653531904001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653531904001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:29:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:29:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653531904001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":163484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:29:15] local.INFO: GPS data processed {"connection_id":163484,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:29:15] local.INFO: Acknowledgment sent {"connection_id":163484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:29:38] local.INFO: TCP Data received {"connection_id":162250,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:29:38] local.INFO: Processing buffer {"connection_id":162250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:29:38] local.INFO: IMEI packet received {"connection_id":162250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":162250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:29:42] local.INFO: TCP Data received {"connection_id":162250,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:29:42] local.INFO: Processing buffer {"connection_id":162250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:29:42] local.INFO: IMEI packet received {"connection_id":162250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":162250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:29:43] local.INFO: TCP Data received {"connection_id":162250,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:29:43] local.INFO: Processing buffer {"connection_id":162250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:29:43] local.INFO: Packet analysis {"connection_id":162250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bc8"} 
[2026-08-26 07:29:43] local.INFO: Extracted packet for processing {"connection_id":162250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bc8"} 
[2026-08-26 07:29:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653531904001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:29: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-26 07:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787709410000,"timestamp_ms":1787709410000,"timestamp_seconds":1787709410,"priority":1,"record_length":96,"hex_timestamp":"000001a03bc8cad0"} 
[2026-08-26 07: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-26 07:29: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-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:29: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-26 07: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-26 07: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-26 07:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653531904001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653531904001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:29:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:29:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653531904001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":162250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:29:43] local.INFO: GPS data processed {"connection_id":162250,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:29:43] local.INFO: Acknowledgment sent {"connection_id":162250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:30:15] local.INFO: TCP Data received {"connection_id":162250,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:30:15] local.INFO: Processing buffer {"connection_id":162250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:30:15] local.INFO: Packet analysis {"connection_id":162250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bc8"} 
[2026-08-26 07:30:15] local.INFO: Extracted packet for processing {"connection_id":162250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bc8"} 
[2026-08-26 07:30:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653531904001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:30: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-26 07:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787709410000,"timestamp_ms":1787709410000,"timestamp_seconds":1787709410,"priority":1,"record_length":96,"hex_timestamp":"000001a03bc8cad0"} 
[2026-08-26 07: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-26 07:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:30: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-26 07: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-26 07: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-26 07:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653531904001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653531904001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:30:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:30:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653531904001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":162250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:30:15] local.INFO: GPS data processed {"connection_id":162250,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:30:15] local.INFO: Acknowledgment sent {"connection_id":162250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:30:37] local.INFO: TCP Data received {"connection_id":163485,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:30:37] local.INFO: Processing buffer {"connection_id":163485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:30:37] local.INFO: IMEI packet received {"connection_id":163485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":163485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:30:43] local.INFO: TCP Data received {"connection_id":163485,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:30:43] local.INFO: Processing buffer {"connection_id":163485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:30:43] local.INFO: IMEI packet received {"connection_id":163485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":163485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:30:44] local.INFO: TCP Data received {"connection_id":163485,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:30:44] local.INFO: Processing buffer {"connection_id":163485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:30:44] local.INFO: Packet analysis {"connection_id":163485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bc8"} 
[2026-08-26 07:30:44] local.INFO: Extracted packet for processing {"connection_id":163485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bc8"} 
[2026-08-26 07:30:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653531904001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:30: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-26 07:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787709410000,"timestamp_ms":1787709410000,"timestamp_seconds":1787709410,"priority":1,"record_length":96,"hex_timestamp":"000001a03bc8cad0"} 
[2026-08-26 07: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-26 07:30: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-26 07: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:30: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-26 07: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-26 07: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-26 07:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653531904001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653531904001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:30:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:30:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653531904001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":163485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:30:44] local.INFO: GPS data processed {"connection_id":163485,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:30:44] local.INFO: Acknowledgment sent {"connection_id":163485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:31:15] local.INFO: TCP Data received {"connection_id":163485,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:31:15] local.INFO: Processing buffer {"connection_id":163485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:31:15] local.INFO: Packet analysis {"connection_id":163485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bc8"} 
[2026-08-26 07:31:15] local.INFO: Extracted packet for processing {"connection_id":163485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bc8"} 
[2026-08-26 07:31:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653531904001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07: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-26 07:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787709410000,"timestamp_ms":1787709410000,"timestamp_seconds":1787709410,"priority":1,"record_length":96,"hex_timestamp":"000001a03bc8cad0"} 
[2026-08-26 07: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-26 07: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-26 07: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:31: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-26 07: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-26 07: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-26 07:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653531904001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653531904001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:31:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:31:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653531904001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":163485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:31:15] local.INFO: GPS data processed {"connection_id":163485,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:31:15] local.INFO: Acknowledgment sent {"connection_id":163485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:31:37] local.INFO: TCP Data received {"connection_id":163486,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:31:37] local.INFO: Processing buffer {"connection_id":163486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:31:37] local.INFO: IMEI packet received {"connection_id":163486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":163486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:31:43] local.INFO: TCP Data received {"connection_id":163486,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:31:43] local.INFO: Processing buffer {"connection_id":163486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:31:43] local.INFO: IMEI packet received {"connection_id":163486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":163486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:31:44] local.INFO: TCP Data received {"connection_id":163486,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:31:44] local.INFO: Processing buffer {"connection_id":163486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:31:44] local.INFO: Packet analysis {"connection_id":163486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bc8"} 
[2026-08-26 07:31:44] local.INFO: Extracted packet for processing {"connection_id":163486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bc8"} 
[2026-08-26 07:31:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653531904001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:31: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-26 07:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787709410000,"timestamp_ms":1787709410000,"timestamp_seconds":1787709410,"priority":1,"record_length":96,"hex_timestamp":"000001a03bc8cad0"} 
[2026-08-26 07: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-26 07:31: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-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:31: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-26 07: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-26 07: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-26 07:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653531904001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653531904001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:31:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:31:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653531904001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":163486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:31:44] local.INFO: GPS data processed {"connection_id":163486,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:31:44] local.INFO: Acknowledgment sent {"connection_id":163486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:32:15] local.INFO: TCP Data received {"connection_id":163486,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:32:15] local.INFO: Processing buffer {"connection_id":163486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bc8cad0012d34c14006aa4818000700e628..."} 
[2026-08-26 07:32:15] local.INFO: Packet analysis {"connection_id":163486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bc8"} 
[2026-08-26 07:32:15] local.INFO: Extracted packet for processing {"connection_id":163486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bc8"} 
[2026-08-26 07:32:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653531904001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07: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-26 07:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787709410000,"timestamp_ms":1787709410000,"timestamp_seconds":1787709410,"priority":1,"record_length":96,"hex_timestamp":"000001a03bc8cad0"} 
[2026-08-26 07: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-26 07: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-26 07: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:32: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-26 07: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-26 07: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-26 07:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653531904001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653531904001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:32:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:32:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653531904001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":163486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:32:15] local.INFO: GPS data processed {"connection_id":163486,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:32:15] local.INFO: Acknowledgment sent {"connection_id":163486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:32:37] local.INFO: TCP Data received {"connection_id":163487,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:32:37] local.INFO: Processing buffer {"connection_id":163487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:32:37] local.INFO: IMEI packet received {"connection_id":163487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":163487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:32:43] local.INFO: TCP Data received {"connection_id":163487,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:32:43] local.INFO: Processing buffer {"connection_id":163487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:32:43] local.INFO: IMEI packet received {"connection_id":163487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":163487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:32:43] local.INFO: TCP Data received {"connection_id":163487,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:32:43] local.INFO: Processing buffer {"connection_id":163487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:32:43] local.INFO: Packet analysis {"connection_id":163487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bcd"} 
[2026-08-26 07:32:43] local.INFO: Extracted packet for processing {"connection_id":163487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bcd"} 
[2026-08-26 07:32:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653608960001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07: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-26 07:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787709711000,"timestamp_ms":1787709711000,"timestamp_seconds":1787709711,"priority":1,"record_length":96,"hex_timestamp":"000001a03bcd6298"} 
[2026-08-26 07: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-26 07:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07: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":75,"data_length":795,"current_offset":136} 
[2026-08-26 07:32:43] 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-26 07: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-26 07: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-26 07:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653608960001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653608960001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:32:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:32:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653608960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":163487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:32:44] local.INFO: GPS data processed {"connection_id":163487,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:32:44] local.INFO: Acknowledgment sent {"connection_id":163487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:33:15] local.INFO: TCP Data received {"connection_id":163487,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:33:15] local.INFO: Processing buffer {"connection_id":163487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:33:15] local.INFO: Packet analysis {"connection_id":163487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bcd"} 
[2026-08-26 07:33:15] local.INFO: Extracted packet for processing {"connection_id":163487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bcd"} 
[2026-08-26 07:33:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 07:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653608960001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 07:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787709711000,"timestamp_ms":1787709711000,"timestamp_seconds":1787709711,"priority":1,"record_length":96,"hex_timestamp":"000001a03bcd6298"} 
[2026-08-26 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-26 07:33: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-26 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 07:33:15] 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-26 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-26 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-26 07:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653608960001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653608960001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:33:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:33:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653608960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":163487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:33:15] local.INFO: GPS data processed {"connection_id":163487,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:33:15] local.INFO: Acknowledgment sent {"connection_id":163487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:33:38] local.INFO: TCP Data received {"connection_id":162474,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:33:38] local.INFO: Processing buffer {"connection_id":162474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:33:38] local.INFO: IMEI packet received {"connection_id":162474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":162474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:33:42] local.INFO: TCP Data received {"connection_id":162474,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:33:42] local.INFO: Processing buffer {"connection_id":162474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:33:42] local.INFO: IMEI packet received {"connection_id":162474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":162474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:33:44] local.INFO: TCP Data received {"connection_id":162474,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:33:44] local.INFO: Processing buffer {"connection_id":162474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:33:44] local.INFO: Packet analysis {"connection_id":162474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bcd"} 
[2026-08-26 07:33:44] local.INFO: Extracted packet for processing {"connection_id":162474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bcd"} 
[2026-08-26 07:33:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653608960001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:33: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-26 07:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787709711000,"timestamp_ms":1787709711000,"timestamp_seconds":1787709711,"priority":1,"record_length":96,"hex_timestamp":"000001a03bcd6298"} 
[2026-08-26 07: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-26 07:33: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-26 07: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 07:33:44] 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-26 07: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-26 07: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-26 07:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653608960001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653608960001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:33:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:33:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653608960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":162474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:33:44] local.INFO: GPS data processed {"connection_id":162474,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:33:44] local.INFO: Acknowledgment sent {"connection_id":162474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:34:15] local.INFO: TCP Data received {"connection_id":162474,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:34:15] local.INFO: Processing buffer {"connection_id":162474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:34:15] local.INFO: Packet analysis {"connection_id":162474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bcd"} 
[2026-08-26 07:34:15] local.INFO: Extracted packet for processing {"connection_id":162474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bcd"} 
[2026-08-26 07:34:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653608960001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07: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-26 07:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787709711000,"timestamp_ms":1787709711000,"timestamp_seconds":1787709711,"priority":1,"record_length":96,"hex_timestamp":"000001a03bcd6298"} 
[2026-08-26 07: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-26 07:34: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-26 07: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":75,"data_length":795,"current_offset":136} 
[2026-08-26 07:34:15] 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-26 07: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-26 07: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-26 07:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653608960001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653608960001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:34:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:34:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653608960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":162474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:34:15] local.INFO: GPS data processed {"connection_id":162474,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:34:15] local.INFO: Acknowledgment sent {"connection_id":162474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:34:38] local.INFO: TCP Data received {"connection_id":162252,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:34:38] local.INFO: Processing buffer {"connection_id":162252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:34:38] local.INFO: IMEI packet received {"connection_id":162252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":162252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:34:43] local.INFO: TCP Data received {"connection_id":162252,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:34:43] local.INFO: Processing buffer {"connection_id":162252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:34:43] local.INFO: IMEI packet received {"connection_id":162252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":162252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:34:45] local.INFO: TCP Data received {"connection_id":162252,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:34:45] local.INFO: Processing buffer {"connection_id":162252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:34:45] local.INFO: Packet analysis {"connection_id":162252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bcd"} 
[2026-08-26 07:34:45] local.INFO: Extracted packet for processing {"connection_id":162252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bcd"} 
[2026-08-26 07:34:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653608960001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:34: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-26 07:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787709711000,"timestamp_ms":1787709711000,"timestamp_seconds":1787709711,"priority":1,"record_length":96,"hex_timestamp":"000001a03bcd6298"} 
[2026-08-26 07:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 07:34:45] 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-26 07:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653608960001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653608960001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:34:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:34:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653608960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":162252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:34:45] local.INFO: GPS data processed {"connection_id":162252,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:34:45] local.INFO: Acknowledgment sent {"connection_id":162252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:35:16] local.INFO: TCP Data received {"connection_id":162252,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:35:16] local.INFO: Processing buffer {"connection_id":162252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:35:16] local.INFO: Packet analysis {"connection_id":162252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bcd"} 
[2026-08-26 07:35:16] local.INFO: Extracted packet for processing {"connection_id":162252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bcd"} 
[2026-08-26 07:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653608960001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:35: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-26 07:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787709711000,"timestamp_ms":1787709711000,"timestamp_seconds":1787709711,"priority":1,"record_length":96,"hex_timestamp":"000001a03bcd6298"} 
[2026-08-26 07:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 07:35: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-26 07:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653608960001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653608960001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:35:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:35:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653608960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":162252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:35:16] local.INFO: GPS data processed {"connection_id":162252,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:35:16] local.INFO: Acknowledgment sent {"connection_id":162252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:35:37] local.INFO: TCP Data received {"connection_id":163488,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:35:37] local.INFO: Processing buffer {"connection_id":163488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:35:37] local.INFO: IMEI packet received {"connection_id":163488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":163488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:35:43] local.INFO: TCP Data received {"connection_id":163488,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:35:43] local.INFO: Processing buffer {"connection_id":163488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:35:43] local.INFO: IMEI packet received {"connection_id":163488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":163488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:35:44] local.INFO: TCP Data received {"connection_id":163488,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:35:44] local.INFO: Processing buffer {"connection_id":163488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:35:44] local.INFO: Packet analysis {"connection_id":163488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bcd"} 
[2026-08-26 07:35:44] local.INFO: Extracted packet for processing {"connection_id":163488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bcd"} 
[2026-08-26 07:35:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653608960001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:35: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-26 07:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787709711000,"timestamp_ms":1787709711000,"timestamp_seconds":1787709711,"priority":1,"record_length":96,"hex_timestamp":"000001a03bcd6298"} 
[2026-08-26 07: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-26 07:35: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-26 07: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 07:35:44] 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-26 07: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-26 07: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-26 07:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653608960001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653608960001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:35:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:35:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653608960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":163488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:35:44] local.INFO: GPS data processed {"connection_id":163488,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:35:44] local.INFO: Acknowledgment sent {"connection_id":163488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:36:16] local.INFO: TCP Data received {"connection_id":163488,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:36:16] local.INFO: Processing buffer {"connection_id":163488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:36:16] local.INFO: Packet analysis {"connection_id":163488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bcd"} 
[2026-08-26 07:36:16] local.INFO: Extracted packet for processing {"connection_id":163488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bcd"} 
[2026-08-26 07:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653608960001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07: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-26 07:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787709711000,"timestamp_ms":1787709711000,"timestamp_seconds":1787709711,"priority":1,"record_length":96,"hex_timestamp":"000001a03bcd6298"} 
[2026-08-26 07:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 07:36: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-26 07:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653608960001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653608960001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:36:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653608960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":163488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:36:16] local.INFO: GPS data processed {"connection_id":163488,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:36:16] local.INFO: Acknowledgment sent {"connection_id":163488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:36:37] local.INFO: TCP Data received {"connection_id":162475,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:36:37] local.INFO: Processing buffer {"connection_id":162475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:36:37] local.INFO: IMEI packet received {"connection_id":162475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":162475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:36:43] local.INFO: TCP Data received {"connection_id":162475,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:36:43] local.INFO: Processing buffer {"connection_id":162475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:36:43] local.INFO: IMEI packet received {"connection_id":162475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":162475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:36:43] local.INFO: TCP Data received {"connection_id":162475,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:36:43] local.INFO: Processing buffer {"connection_id":162475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:36:43] local.INFO: Packet analysis {"connection_id":162475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bcd"} 
[2026-08-26 07:36:43] local.INFO: Extracted packet for processing {"connection_id":162475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bcd"} 
[2026-08-26 07:36:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653608960001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:36: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-26 07:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787709711000,"timestamp_ms":1787709711000,"timestamp_seconds":1787709711,"priority":1,"record_length":96,"hex_timestamp":"000001a03bcd6298"} 
[2026-08-26 07:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 07:36:43] 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-26 07:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653608960001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653608960001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:36:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:36:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653608960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":162475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:36:43] local.INFO: GPS data processed {"connection_id":162475,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:36:43] local.INFO: Acknowledgment sent {"connection_id":162475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:37:15] local.INFO: TCP Data received {"connection_id":162475,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:37:15] local.INFO: Processing buffer {"connection_id":162475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bcd6298012d34c14006aa4818000300e628..."} 
[2026-08-26 07:37:15] local.INFO: Packet analysis {"connection_id":162475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bcd"} 
[2026-08-26 07:37:15] local.INFO: Extracted packet for processing {"connection_id":162475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bcd"} 
[2026-08-26 07:37:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653608960001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:37: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-26 07:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787709711000,"timestamp_ms":1787709711000,"timestamp_seconds":1787709711,"priority":1,"record_length":96,"hex_timestamp":"000001a03bcd6298"} 
[2026-08-26 07:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:37: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-26 07:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 07:37:15] 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-26 07:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653608960001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653608960001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:37:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:37:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653608960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":162475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:37:15] local.INFO: GPS data processed {"connection_id":162475,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:37:15] local.INFO: Acknowledgment sent {"connection_id":162475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:37:42] local.INFO: TCP Data received {"connection_id":164847,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:37:42] local.INFO: Processing buffer {"connection_id":164847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:37:42] local.INFO: IMEI packet received {"connection_id":164847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":164847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:37:48] local.INFO: TCP Data received {"connection_id":164847,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:37:48] local.INFO: Processing buffer {"connection_id":164847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:37:48] local.INFO: IMEI packet received {"connection_id":164847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":164847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:37:49] local.INFO: TCP Data received {"connection_id":164847,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:37:49] local.INFO: Processing buffer {"connection_id":164847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:37:49] local.INFO: Packet analysis {"connection_id":164847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bd1"} 
[2026-08-26 07:37:49] local.INFO: Extracted packet for processing {"connection_id":164847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bd1"} 
[2026-08-26 07:37:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653686016001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:37: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-26 07:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787710012000,"timestamp_ms":1787710012000,"timestamp_seconds":1787710012,"priority":1,"record_length":96,"hex_timestamp":"000001a03bd1fa60"} 
[2026-08-26 07:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:37: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-26 07:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:37: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-26 07:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653686016001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653686016001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:37:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:37:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653686016001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":164847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:37:49] local.INFO: GPS data processed {"connection_id":164847,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:37:49] local.INFO: Acknowledgment sent {"connection_id":164847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:37:53] local.INFO: TCP Data received {"connection_id":164847,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:37:53] local.INFO: Processing buffer {"connection_id":164847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:37:53] local.INFO: Packet analysis {"connection_id":164847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bd1"} 
[2026-08-26 07:37:53] local.INFO: Extracted packet for processing {"connection_id":164847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bd1"} 
[2026-08-26 07:37:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653686016001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 07:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787710012000,"timestamp_ms":1787710012000,"timestamp_seconds":1787710012,"priority":1,"record_length":96,"hex_timestamp":"000001a03bd1fa60"} 
[2026-08-26 07: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-26 07:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 07: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-26 07: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-26 07:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653686016001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653686016001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:37:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:37:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653686016001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":164847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:37:53] local.INFO: GPS data processed {"connection_id":164847,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:37:53] local.INFO: Acknowledgment sent {"connection_id":164847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:38:38] local.INFO: TCP Data received {"connection_id":162476,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:38:38] local.INFO: Processing buffer {"connection_id":162476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:38:38] local.INFO: IMEI packet received {"connection_id":162476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":162476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:38:43] local.INFO: TCP Data received {"connection_id":162476,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:38:43] local.INFO: Processing buffer {"connection_id":162476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:38:43] local.INFO: IMEI packet received {"connection_id":162476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":162476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:38:43] local.INFO: TCP Data received {"connection_id":162476,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:38:43] local.INFO: Processing buffer {"connection_id":162476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:38:43] local.INFO: Packet analysis {"connection_id":162476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bd1"} 
[2026-08-26 07:38:43] local.INFO: Extracted packet for processing {"connection_id":162476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bd1"} 
[2026-08-26 07:38:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653686016001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07: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-26 07:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787710012000,"timestamp_ms":1787710012000,"timestamp_seconds":1787710012,"priority":1,"record_length":96,"hex_timestamp":"000001a03bd1fa60"} 
[2026-08-26 07: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-26 07:38: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-26 07: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-26 07: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-26 07: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-26 07: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-26 07:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653686016001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653686016001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:38:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:38:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653686016001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":162476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:38:43] local.INFO: GPS data processed {"connection_id":162476,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:38:43] local.INFO: Acknowledgment sent {"connection_id":162476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:39:15] local.INFO: TCP Data received {"connection_id":162476,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:39:15] local.INFO: Processing buffer {"connection_id":162476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:39:15] local.INFO: Packet analysis {"connection_id":162476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bd1"} 
[2026-08-26 07:39:15] local.INFO: Extracted packet for processing {"connection_id":162476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bd1"} 
[2026-08-26 07:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653686016001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:39: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-26 07:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787710012000,"timestamp_ms":1787710012000,"timestamp_seconds":1787710012,"priority":1,"record_length":96,"hex_timestamp":"000001a03bd1fa60"} 
[2026-08-26 07:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:39: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-26 07:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653686016001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653686016001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653686016001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":162476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:39:15] local.INFO: GPS data processed {"connection_id":162476,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:39:15] local.INFO: Acknowledgment sent {"connection_id":162476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:39:37] local.INFO: TCP Data received {"connection_id":163490,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:39:37] local.INFO: Processing buffer {"connection_id":163490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:39:37] local.INFO: IMEI packet received {"connection_id":163490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":163490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:39:42] local.INFO: TCP Data received {"connection_id":163490,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:39:42] local.INFO: Processing buffer {"connection_id":163490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:39:42] local.INFO: IMEI packet received {"connection_id":163490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":163490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:39:44] local.INFO: TCP Data received {"connection_id":163490,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:39:44] local.INFO: Processing buffer {"connection_id":163490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:39:44] local.INFO: Packet analysis {"connection_id":163490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bd1"} 
[2026-08-26 07:39:44] local.INFO: Extracted packet for processing {"connection_id":163490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bd1"} 
[2026-08-26 07:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653686016001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:39: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-26 07:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787710012000,"timestamp_ms":1787710012000,"timestamp_seconds":1787710012,"priority":1,"record_length":96,"hex_timestamp":"000001a03bd1fa60"} 
[2026-08-26 07:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:39: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-26 07:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:39: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-26 07:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653686016001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653686016001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:39:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:39:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653686016001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":163490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:39:44] local.INFO: GPS data processed {"connection_id":163490,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:39:44] local.INFO: Acknowledgment sent {"connection_id":163490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:40:15] local.INFO: TCP Data received {"connection_id":163490,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:40:15] local.INFO: Processing buffer {"connection_id":163490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:40:15] local.INFO: Packet analysis {"connection_id":163490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bd1"} 
[2026-08-26 07:40:15] local.INFO: Extracted packet for processing {"connection_id":163490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bd1"} 
[2026-08-26 07:40:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653686016001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07: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-26 07:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787710012000,"timestamp_ms":1787710012000,"timestamp_seconds":1787710012,"priority":1,"record_length":96,"hex_timestamp":"000001a03bd1fa60"} 
[2026-08-26 07: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-26 07: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-26 07: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-26 07: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-26 07: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-26 07: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-26 07:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653686016001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653686016001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:40:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:40:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653686016001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":163490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:40:15] local.INFO: GPS data processed {"connection_id":163490,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:40:15] local.INFO: Acknowledgment sent {"connection_id":163490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:40:37] local.INFO: TCP Data received {"connection_id":164848,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:40:37] local.INFO: Processing buffer {"connection_id":164848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:40:37] local.INFO: IMEI packet received {"connection_id":164848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":164848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:40:43] local.INFO: TCP Data received {"connection_id":164848,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:40:43] local.INFO: Processing buffer {"connection_id":164848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:40:43] local.INFO: IMEI packet received {"connection_id":164848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":164848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:40:44] local.INFO: TCP Data received {"connection_id":164848,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:40:44] local.INFO: Processing buffer {"connection_id":164848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:40:44] local.INFO: Packet analysis {"connection_id":164848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bd1"} 
[2026-08-26 07:40:44] local.INFO: Extracted packet for processing {"connection_id":164848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bd1"} 
[2026-08-26 07:40:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653686016001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:40: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-26 07:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787710012000,"timestamp_ms":1787710012000,"timestamp_seconds":1787710012,"priority":1,"record_length":96,"hex_timestamp":"000001a03bd1fa60"} 
[2026-08-26 07: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-26 07:40: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-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:40: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-26 07:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07: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-26 07:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653686016001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653686016001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:40:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:40:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653686016001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":164848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:40:44] local.INFO: GPS data processed {"connection_id":164848,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:40:44] local.INFO: Acknowledgment sent {"connection_id":164848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:41:15] local.INFO: TCP Data received {"connection_id":164848,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:41:15] local.INFO: Processing buffer {"connection_id":164848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:41:15] local.INFO: Packet analysis {"connection_id":164848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bd1"} 
[2026-08-26 07:41:15] local.INFO: Extracted packet for processing {"connection_id":164848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bd1"} 
[2026-08-26 07:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653686016001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:41: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-26 07:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787710012000,"timestamp_ms":1787710012000,"timestamp_seconds":1787710012,"priority":1,"record_length":96,"hex_timestamp":"000001a03bd1fa60"} 
[2026-08-26 07: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-26 07: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-26 07: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:41: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-26 07: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-26 07: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-26 07:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653686016001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653686016001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:41:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653686016001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":164848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:41:15] local.INFO: GPS data processed {"connection_id":164848,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:41:15] local.INFO: Acknowledgment sent {"connection_id":164848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:41:37] local.INFO: TCP Data received {"connection_id":162477,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:41:37] local.INFO: Processing buffer {"connection_id":162477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:41:37] local.INFO: IMEI packet received {"connection_id":162477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":162477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:41:43] local.INFO: TCP Data received {"connection_id":162477,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:41:43] local.INFO: Processing buffer {"connection_id":162477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:41:43] local.INFO: IMEI packet received {"connection_id":162477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":162477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:41:43] local.INFO: TCP Data received {"connection_id":162477,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:41:43] local.INFO: Processing buffer {"connection_id":162477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:41:43] local.INFO: Packet analysis {"connection_id":162477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bd1"} 
[2026-08-26 07:41:43] local.INFO: Extracted packet for processing {"connection_id":162477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bd1"} 
[2026-08-26 07:41:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653686016001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:41: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-26 07:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787710012000,"timestamp_ms":1787710012000,"timestamp_seconds":1787710012,"priority":1,"record_length":96,"hex_timestamp":"000001a03bd1fa60"} 
[2026-08-26 07:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:41: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-26 07:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:41: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-26 07:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653686016001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653686016001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:41:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:41:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653686016001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":162477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:41:44] local.INFO: GPS data processed {"connection_id":162477,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:41:44] local.INFO: Acknowledgment sent {"connection_id":162477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:42:15] local.INFO: TCP Data received {"connection_id":162477,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:42:15] local.INFO: Processing buffer {"connection_id":162477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bd1fa60012d34c14006aa4818000500e627..."} 
[2026-08-26 07:42:15] local.INFO: Packet analysis {"connection_id":162477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bd1"} 
[2026-08-26 07:42:15] local.INFO: Extracted packet for processing {"connection_id":162477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bd1"} 
[2026-08-26 07:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653686016001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07: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-26 07:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787710012000,"timestamp_ms":1787710012000,"timestamp_seconds":1787710012,"priority":1,"record_length":96,"hex_timestamp":"000001a03bd1fa60"} 
[2026-08-26 07:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:42: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-26 07:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653686016001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653686016001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:42:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653686016001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":162477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:42:15] local.INFO: GPS data processed {"connection_id":162477,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:42:15] local.INFO: Acknowledgment sent {"connection_id":162477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:42:43] local.INFO: TCP Data received {"connection_id":162253,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:42:43] local.INFO: Processing buffer {"connection_id":162253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:42:43] local.INFO: IMEI packet received {"connection_id":162253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":162253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:42:48] local.INFO: TCP Data received {"connection_id":162253,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:42:48] local.INFO: Processing buffer {"connection_id":162253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:42:48] local.INFO: IMEI packet received {"connection_id":162253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":162253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:42:49] local.INFO: TCP Data received {"connection_id":162253,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:42:49] local.INFO: Processing buffer {"connection_id":162253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:42:49] local.INFO: Packet analysis {"connection_id":162253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bd6"} 
[2026-08-26 07:42:49] local.INFO: Extracted packet for processing {"connection_id":162253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bd6"} 
[2026-08-26 07:42:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653763072001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:42: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-26 07:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787710313000,"timestamp_ms":1787710313000,"timestamp_seconds":1787710313,"priority":1,"record_length":96,"hex_timestamp":"000001a03bd69228"} 
[2026-08-26 07: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-26 07:42: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-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:42: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-26 07: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-26 07: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-26 07:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653763072001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653763072001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:42:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:42:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653763072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":162253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:42:49] local.INFO: GPS data processed {"connection_id":162253,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:42:49] local.INFO: Acknowledgment sent {"connection_id":162253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:42:53] local.INFO: TCP Data received {"connection_id":162253,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:42:53] local.INFO: Processing buffer {"connection_id":162253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:42:53] local.INFO: Packet analysis {"connection_id":162253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bd6"} 
[2026-08-26 07:42:53] local.INFO: Extracted packet for processing {"connection_id":162253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bd6"} 
[2026-08-26 07:42:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653763072001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 07:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787710313000,"timestamp_ms":1787710313000,"timestamp_seconds":1787710313,"priority":1,"record_length":96,"hex_timestamp":"000001a03bd69228"} 
[2026-08-26 07: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-26 07:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 07: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-26 07: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-26 07:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653763072001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653763072001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:42:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:42:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653763072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":162253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:42:53] local.INFO: GPS data processed {"connection_id":162253,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:42:53] local.INFO: Acknowledgment sent {"connection_id":162253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:43:37] local.INFO: TCP Data received {"connection_id":164849,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:43:37] local.INFO: Processing buffer {"connection_id":164849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:43:37] local.INFO: IMEI packet received {"connection_id":164849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":164849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:43:42] local.INFO: TCP Data received {"connection_id":164849,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:43:42] local.INFO: Processing buffer {"connection_id":164849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:43:42] local.INFO: IMEI packet received {"connection_id":164849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":164849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:43:43] local.INFO: TCP Data received {"connection_id":164849,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:43:43] local.INFO: Processing buffer {"connection_id":164849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:43:43] local.INFO: Packet analysis {"connection_id":164849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bd6"} 
[2026-08-26 07:43:43] local.INFO: Extracted packet for processing {"connection_id":164849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bd6"} 
[2026-08-26 07:43:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653763072001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:43: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-26 07:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787710313000,"timestamp_ms":1787710313000,"timestamp_seconds":1787710313,"priority":1,"record_length":96,"hex_timestamp":"000001a03bd69228"} 
[2026-08-26 07:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:43: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-26 07:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:43: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-26 07:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653763072001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653763072001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:43:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:43:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653763072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":164849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:43:43] local.INFO: GPS data processed {"connection_id":164849,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:43:43] local.INFO: Acknowledgment sent {"connection_id":164849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:44:14] local.INFO: TCP Data received {"connection_id":164849,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:44:14] local.INFO: Processing buffer {"connection_id":164849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:44:14] local.INFO: Packet analysis {"connection_id":164849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bd6"} 
[2026-08-26 07:44:14] local.INFO: Extracted packet for processing {"connection_id":164849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bd6"} 
[2026-08-26 07:44:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653763072001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:44: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-26 07:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787710313000,"timestamp_ms":1787710313000,"timestamp_seconds":1787710313,"priority":1,"record_length":96,"hex_timestamp":"000001a03bd69228"} 
[2026-08-26 07: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-26 07:44: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-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:44: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-26 07: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-26 07: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-26 07:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653763072001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653763072001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:44:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:44:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653763072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":164849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:44:15] local.INFO: GPS data processed {"connection_id":164849,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:44:15] local.INFO: Acknowledgment sent {"connection_id":164849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:44:37] local.INFO: TCP Data received {"connection_id":162254,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:44:37] local.INFO: Processing buffer {"connection_id":162254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:44:37] local.INFO: IMEI packet received {"connection_id":162254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":162254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:44:43] local.INFO: TCP Data received {"connection_id":162254,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:44:43] local.INFO: Processing buffer {"connection_id":162254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:44:43] local.INFO: IMEI packet received {"connection_id":162254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":162254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:44:43] local.INFO: TCP Data received {"connection_id":162254,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:44:43] local.INFO: Processing buffer {"connection_id":162254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:44:43] local.INFO: Packet analysis {"connection_id":162254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bd6"} 
[2026-08-26 07:44:43] local.INFO: Extracted packet for processing {"connection_id":162254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bd6"} 
[2026-08-26 07:44:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653763072001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:44: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-26 07:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787710313000,"timestamp_ms":1787710313000,"timestamp_seconds":1787710313,"priority":1,"record_length":96,"hex_timestamp":"000001a03bd69228"} 
[2026-08-26 07:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:44: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-26 07:44:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653763072001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653763072001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:44:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:44:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653763072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":162254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:44:43] local.INFO: GPS data processed {"connection_id":162254,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:44:43] local.INFO: Acknowledgment sent {"connection_id":162254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:45:15] local.INFO: TCP Data received {"connection_id":162254,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:45:15] local.INFO: Processing buffer {"connection_id":162254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:45:15] local.INFO: Packet analysis {"connection_id":162254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bd6"} 
[2026-08-26 07:45:15] local.INFO: Extracted packet for processing {"connection_id":162254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bd6"} 
[2026-08-26 07:45:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653763072001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:45: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-26 07:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787710313000,"timestamp_ms":1787710313000,"timestamp_seconds":1787710313,"priority":1,"record_length":96,"hex_timestamp":"000001a03bd69228"} 
[2026-08-26 07:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:45: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-26 07:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653763072001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653763072001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:45:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:45:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653763072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":162254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:45:15] local.INFO: GPS data processed {"connection_id":162254,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:45:15] local.INFO: Acknowledgment sent {"connection_id":162254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:45:38] local.INFO: TCP Data received {"connection_id":162479,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:45:38] local.INFO: Processing buffer {"connection_id":162479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:45:38] local.INFO: IMEI packet received {"connection_id":162479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":162479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:45:42] local.INFO: TCP Data received {"connection_id":162479,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:45:42] local.INFO: Processing buffer {"connection_id":162479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:45:42] local.INFO: IMEI packet received {"connection_id":162479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":162479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:45:44] local.INFO: TCP Data received {"connection_id":162479,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:45:44] local.INFO: Processing buffer {"connection_id":162479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:45:44] local.INFO: Packet analysis {"connection_id":162479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bd6"} 
[2026-08-26 07:45:44] local.INFO: Extracted packet for processing {"connection_id":162479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bd6"} 
[2026-08-26 07:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653763072001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:45: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-26 07:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787710313000,"timestamp_ms":1787710313000,"timestamp_seconds":1787710313,"priority":1,"record_length":96,"hex_timestamp":"000001a03bd69228"} 
[2026-08-26 07:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:45: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-26 07:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:45: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-26 07:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653763072001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653763072001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:45:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653763072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":162479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:45:44] local.INFO: GPS data processed {"connection_id":162479,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:45:44] local.INFO: Acknowledgment sent {"connection_id":162479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:46:15] local.INFO: TCP Data received {"connection_id":162479,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:46:15] local.INFO: Processing buffer {"connection_id":162479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:46:15] local.INFO: Packet analysis {"connection_id":162479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bd6"} 
[2026-08-26 07:46:15] local.INFO: Extracted packet for processing {"connection_id":162479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bd6"} 
[2026-08-26 07:46:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653763072001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:46: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-26 07:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787710313000,"timestamp_ms":1787710313000,"timestamp_seconds":1787710313,"priority":1,"record_length":96,"hex_timestamp":"000001a03bd69228"} 
[2026-08-26 07:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:46: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-26 07:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:46: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-26 07:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653763072001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653763072001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:46:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:46:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653763072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":162479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:46:15] local.INFO: GPS data processed {"connection_id":162479,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:46:15] local.INFO: Acknowledgment sent {"connection_id":162479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:46:43] local.INFO: TCP Data received {"connection_id":163491,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:46:43] local.INFO: Processing buffer {"connection_id":163491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:46:43] local.INFO: IMEI packet received {"connection_id":163491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":163491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:46:48] local.INFO: TCP Data received {"connection_id":163491,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:46:48] local.INFO: Processing buffer {"connection_id":163491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:46:48] local.INFO: IMEI packet received {"connection_id":163491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":163491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:46:49] local.INFO: TCP Data received {"connection_id":163491,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:46:49] local.INFO: Processing buffer {"connection_id":163491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:46:49] local.INFO: Packet analysis {"connection_id":163491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bd6"} 
[2026-08-26 07:46:49] local.INFO: Extracted packet for processing {"connection_id":163491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bd6"} 
[2026-08-26 07:46:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653763072001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:46: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-26 07:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787710313000,"timestamp_ms":1787710313000,"timestamp_seconds":1787710313,"priority":1,"record_length":96,"hex_timestamp":"000001a03bd69228"} 
[2026-08-26 07: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-26 07:46: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-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:46: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-26 07: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-26 07: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-26 07:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653763072001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653763072001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:46:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:46:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653763072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":163491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:46:49] local.INFO: GPS data processed {"connection_id":163491,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:46:49] local.INFO: Acknowledgment sent {"connection_id":163491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:46:53] local.INFO: TCP Data received {"connection_id":163491,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:46:53] local.INFO: Processing buffer {"connection_id":163491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bd69228012d34c14006aa4818000100e627..."} 
[2026-08-26 07:46:53] local.INFO: Packet analysis {"connection_id":163491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bd6"} 
[2026-08-26 07:46:53] local.INFO: Extracted packet for processing {"connection_id":163491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bd6"} 
[2026-08-26 07:46:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653763072001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 07:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787710313000,"timestamp_ms":1787710313000,"timestamp_seconds":1787710313,"priority":1,"record_length":96,"hex_timestamp":"000001a03bd69228"} 
[2026-08-26 07:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 07:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653763072001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653763072001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:46:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:46:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653763072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":163491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:46:53] local.INFO: GPS data processed {"connection_id":163491,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:46:53] local.INFO: Acknowledgment sent {"connection_id":163491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:47:38] local.INFO: TCP Data received {"connection_id":164850,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:47:38] local.INFO: Processing buffer {"connection_id":164850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:47:38] local.INFO: IMEI packet received {"connection_id":164850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":164850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:47:43] local.INFO: TCP Data received {"connection_id":164850,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:47:43] local.INFO: Processing buffer {"connection_id":164850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:47:43] local.INFO: IMEI packet received {"connection_id":164850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":164850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:47:44] local.INFO: TCP Data received {"connection_id":164850,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:47:44] local.INFO: Processing buffer {"connection_id":164850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:47:44] local.INFO: Packet analysis {"connection_id":164850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bdb"} 
[2026-08-26 07:47:44] local.INFO: Extracted packet for processing {"connection_id":164850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bdb"} 
[2026-08-26 07:47:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653840128001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:47: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-26 07:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787710614000,"timestamp_ms":1787710614000,"timestamp_seconds":1787710614,"priority":1,"record_length":96,"hex_timestamp":"000001a03bdb29f0"} 
[2026-08-26 07:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:47: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-26 07:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 07:47: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-26 07:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653840128001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653840128001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:47:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:47:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653840128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":164850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:47:44] local.INFO: GPS data processed {"connection_id":164850,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:47:44] local.INFO: Acknowledgment sent {"connection_id":164850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:48:15] local.INFO: TCP Data received {"connection_id":164850,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:48:15] local.INFO: Processing buffer {"connection_id":164850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:48:15] local.INFO: Packet analysis {"connection_id":164850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bdb"} 
[2026-08-26 07:48:15] local.INFO: Extracted packet for processing {"connection_id":164850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bdb"} 
[2026-08-26 07:48:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653840128001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:48: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-26 07:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787710614000,"timestamp_ms":1787710614000,"timestamp_seconds":1787710614,"priority":1,"record_length":96,"hex_timestamp":"000001a03bdb29f0"} 
[2026-08-26 07: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-26 07:48: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-26 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 07:48: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-26 07: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-26 07: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-26 07:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653840128001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653840128001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:48:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:48:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653840128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":164850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:48:15] local.INFO: GPS data processed {"connection_id":164850,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:48:15] local.INFO: Acknowledgment sent {"connection_id":164850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:48:37] local.INFO: TCP Data received {"connection_id":163492,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:48:37] local.INFO: Processing buffer {"connection_id":163492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:48:37] local.INFO: IMEI packet received {"connection_id":163492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":163492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:48:43] local.INFO: TCP Data received {"connection_id":163492,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:48:43] local.INFO: Processing buffer {"connection_id":163492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:48:43] local.INFO: IMEI packet received {"connection_id":163492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":163492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:48:44] local.INFO: TCP Data received {"connection_id":163492,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:48:44] local.INFO: Processing buffer {"connection_id":163492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:48:44] local.INFO: Packet analysis {"connection_id":163492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bdb"} 
[2026-08-26 07:48:44] local.INFO: Extracted packet for processing {"connection_id":163492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bdb"} 
[2026-08-26 07:48:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653840128001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:48: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-26 07:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787710614000,"timestamp_ms":1787710614000,"timestamp_seconds":1787710614,"priority":1,"record_length":96,"hex_timestamp":"000001a03bdb29f0"} 
[2026-08-26 07: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-26 07:48: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-26 07: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 07:48: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-26 07: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-26 07: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-26 07:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653840128001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653840128001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:48:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:48:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653840128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":163492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:48:44] local.INFO: GPS data processed {"connection_id":163492,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:48:44] local.INFO: Acknowledgment sent {"connection_id":163492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:49:16] local.INFO: TCP Data received {"connection_id":163492,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:49:16] local.INFO: Processing buffer {"connection_id":163492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:49:16] local.INFO: Packet analysis {"connection_id":163492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bdb"} 
[2026-08-26 07:49:16] local.INFO: Extracted packet for processing {"connection_id":163492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bdb"} 
[2026-08-26 07:49:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653840128001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:49: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-26 07:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787710614000,"timestamp_ms":1787710614000,"timestamp_seconds":1787710614,"priority":1,"record_length":96,"hex_timestamp":"000001a03bdb29f0"} 
[2026-08-26 07:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:49: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-26 07:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 07:49: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-26 07:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653840128001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653840128001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:49:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:49:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653840128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":163492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:49:16] local.INFO: GPS data processed {"connection_id":163492,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:49:16] local.INFO: Acknowledgment sent {"connection_id":163492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:49:37] local.INFO: TCP Data received {"connection_id":162480,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:49:37] local.INFO: Processing buffer {"connection_id":162480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:49:37] local.INFO: IMEI packet received {"connection_id":162480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":162480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:49:42] local.INFO: TCP Data received {"connection_id":162480,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:49:42] local.INFO: Processing buffer {"connection_id":162480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:49:42] local.INFO: IMEI packet received {"connection_id":162480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":162480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:49:43] local.INFO: TCP Data received {"connection_id":162480,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:49:43] local.INFO: Processing buffer {"connection_id":162480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:49:43] local.INFO: Packet analysis {"connection_id":162480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bdb"} 
[2026-08-26 07:49:43] local.INFO: Extracted packet for processing {"connection_id":162480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bdb"} 
[2026-08-26 07:49:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653840128001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:49: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-26 07:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787710614000,"timestamp_ms":1787710614000,"timestamp_seconds":1787710614,"priority":1,"record_length":96,"hex_timestamp":"000001a03bdb29f0"} 
[2026-08-26 07: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-26 07:49: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-26 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 07:49:43] 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-26 07: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-26 07: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-26 07:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653840128001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653840128001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:49:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:49:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653840128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":162480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:49:43] local.INFO: GPS data processed {"connection_id":162480,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:49:43] local.INFO: Acknowledgment sent {"connection_id":162480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:50:16] local.INFO: TCP Data received {"connection_id":162480,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:50:16] local.INFO: Processing buffer {"connection_id":162480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:50:16] local.INFO: Packet analysis {"connection_id":162480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bdb"} 
[2026-08-26 07:50:16] local.INFO: Extracted packet for processing {"connection_id":162480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bdb"} 
[2026-08-26 07:50:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653840128001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:50: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-26 07:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787710614000,"timestamp_ms":1787710614000,"timestamp_seconds":1787710614,"priority":1,"record_length":96,"hex_timestamp":"000001a03bdb29f0"} 
[2026-08-26 07:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:50: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-26 07:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 07:50: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-26 07:50:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653840128001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653840128001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:50:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:50:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653840128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":162480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:50:16] local.INFO: GPS data processed {"connection_id":162480,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:50:16] local.INFO: Acknowledgment sent {"connection_id":162480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:50:37] local.INFO: TCP Data received {"connection_id":164852,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:50:37] local.INFO: Processing buffer {"connection_id":164852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:50:37] local.INFO: IMEI packet received {"connection_id":164852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":164852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:50:43] local.INFO: TCP Data received {"connection_id":164852,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:50:43] local.INFO: Processing buffer {"connection_id":164852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:50:43] local.INFO: IMEI packet received {"connection_id":164852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":164852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:50:43] local.INFO: TCP Data received {"connection_id":164852,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:50:43] local.INFO: Processing buffer {"connection_id":164852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:50:43] local.INFO: Packet analysis {"connection_id":164852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bdb"} 
[2026-08-26 07:50:43] local.INFO: Extracted packet for processing {"connection_id":164852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bdb"} 
[2026-08-26 07:50:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653840128001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:50: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-26 07:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787710614000,"timestamp_ms":1787710614000,"timestamp_seconds":1787710614,"priority":1,"record_length":96,"hex_timestamp":"000001a03bdb29f0"} 
[2026-08-26 07: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-26 07:50: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-26 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 07:50:43] 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-26 07: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-26 07: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-26 07:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653840128001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653840128001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:50:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:50:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653840128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":164852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:50:43] local.INFO: GPS data processed {"connection_id":164852,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:50:43] local.INFO: Acknowledgment sent {"connection_id":164852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:51:15] local.INFO: TCP Data received {"connection_id":164852,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:51:15] local.INFO: Processing buffer {"connection_id":164852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:51:15] local.INFO: Packet analysis {"connection_id":164852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bdb"} 
[2026-08-26 07:51:15] local.INFO: Extracted packet for processing {"connection_id":164852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bdb"} 
[2026-08-26 07:51:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653840128001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07: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-26 07:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787710614000,"timestamp_ms":1787710614000,"timestamp_seconds":1787710614,"priority":1,"record_length":96,"hex_timestamp":"000001a03bdb29f0"} 
[2026-08-26 07: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-26 07: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-26 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 07:51: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-26 07: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-26 07: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-26 07:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653840128001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653840128001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:51:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:51:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653840128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":164852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:51:15] local.INFO: GPS data processed {"connection_id":164852,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:51:15] local.INFO: Acknowledgment sent {"connection_id":164852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:51:43] local.INFO: TCP Data received {"connection_id":163493,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:51:43] local.INFO: Processing buffer {"connection_id":163493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:51:43] local.INFO: IMEI packet received {"connection_id":163493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":163493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:51:47] local.INFO: TCP Data received {"connection_id":163493,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:51:47] local.INFO: Processing buffer {"connection_id":163493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:51:47] local.INFO: IMEI packet received {"connection_id":163493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":163493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:51:49] local.INFO: TCP Data received {"connection_id":163493,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:51:49] local.INFO: Processing buffer {"connection_id":163493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:51:49] local.INFO: Packet analysis {"connection_id":163493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bdb"} 
[2026-08-26 07:51:49] local.INFO: Extracted packet for processing {"connection_id":163493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bdb"} 
[2026-08-26 07:51:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653840128001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:51: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-26 07:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787710614000,"timestamp_ms":1787710614000,"timestamp_seconds":1787710614,"priority":1,"record_length":96,"hex_timestamp":"000001a03bdb29f0"} 
[2026-08-26 07: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-26 07:51: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-26 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 07:51:49] 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-26 07: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-26 07: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-26 07:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653840128001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653840128001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:51:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:51:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653840128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":163493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:51:49] local.INFO: GPS data processed {"connection_id":163493,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:51:49] local.INFO: Acknowledgment sent {"connection_id":163493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:51:53] local.INFO: TCP Data received {"connection_id":163493,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:51:53] local.INFO: Processing buffer {"connection_id":163493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bdb29f0012d34c14006aa4818000500e628..."} 
[2026-08-26 07:51:53] local.INFO: Packet analysis {"connection_id":163493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bdb"} 
[2026-08-26 07:51:53] local.INFO: Extracted packet for processing {"connection_id":163493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bdb"} 
[2026-08-26 07:51:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653840128001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 07:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787710614000,"timestamp_ms":1787710614000,"timestamp_seconds":1787710614,"priority":1,"record_length":96,"hex_timestamp":"000001a03bdb29f0"} 
[2026-08-26 07: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-26 07:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 07:51:53] 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-26 07: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-26 07: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-26 07:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653840128001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653840128001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:51:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:51:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653840128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":163493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:51:53] local.INFO: GPS data processed {"connection_id":163493,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:51:53] local.INFO: Acknowledgment sent {"connection_id":163493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:52:38] local.INFO: TCP Data received {"connection_id":162481,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:52:38] local.INFO: Processing buffer {"connection_id":162481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:52:38] local.INFO: IMEI packet received {"connection_id":162481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":162481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:52:43] local.INFO: TCP Data received {"connection_id":162481,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:52:43] local.INFO: Processing buffer {"connection_id":162481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:52:43] local.INFO: IMEI packet received {"connection_id":162481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":162481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:52:44] local.INFO: TCP Data received {"connection_id":162481,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:52:44] local.INFO: Processing buffer {"connection_id":162481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:52:44] local.INFO: Packet analysis {"connection_id":162481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bdf"} 
[2026-08-26 07:52:44] local.INFO: Extracted packet for processing {"connection_id":162481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bdf"} 
[2026-08-26 07:52:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653917184001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:52: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-26 07:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787710915000,"timestamp_ms":1787710915000,"timestamp_seconds":1787710915,"priority":1,"record_length":96,"hex_timestamp":"000001a03bdfc1b8"} 
[2026-08-26 07: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-26 07:52: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-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:52: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-26 07: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-26 07: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-26 07:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653917184001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653917184001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:52:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:52:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653917184001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":162481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:52:44] local.INFO: GPS data processed {"connection_id":162481,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:52:44] local.INFO: Acknowledgment sent {"connection_id":162481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:53:16] local.INFO: TCP Data received {"connection_id":162481,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:53:16] local.INFO: Processing buffer {"connection_id":162481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:53:16] local.INFO: Packet analysis {"connection_id":162481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bdf"} 
[2026-08-26 07:53:16] local.INFO: Extracted packet for processing {"connection_id":162481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bdf"} 
[2026-08-26 07:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653917184001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07: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-26 07:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787710915000,"timestamp_ms":1787710915000,"timestamp_seconds":1787710915,"priority":1,"record_length":96,"hex_timestamp":"000001a03bdfc1b8"} 
[2026-08-26 07:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07: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-26 07:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:53: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-26 07:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653917184001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653917184001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:53:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653917184001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":162481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:53:16] local.INFO: GPS data processed {"connection_id":162481,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:53:16] local.INFO: Acknowledgment sent {"connection_id":162481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:53:37] local.INFO: TCP Data received {"connection_id":163494,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:53:37] local.INFO: Processing buffer {"connection_id":163494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:53:37] local.INFO: IMEI packet received {"connection_id":163494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":163494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:53:43] local.INFO: TCP Data received {"connection_id":163494,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:53:43] local.INFO: Processing buffer {"connection_id":163494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:53:43] local.INFO: IMEI packet received {"connection_id":163494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":163494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:53:43] local.INFO: TCP Data received {"connection_id":163494,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:53:43] local.INFO: Processing buffer {"connection_id":163494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:53:43] local.INFO: Packet analysis {"connection_id":163494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bdf"} 
[2026-08-26 07:53:43] local.INFO: Extracted packet for processing {"connection_id":163494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bdf"} 
[2026-08-26 07:53:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653917184001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:53: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-26 07:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787710915000,"timestamp_ms":1787710915000,"timestamp_seconds":1787710915,"priority":1,"record_length":96,"hex_timestamp":"000001a03bdfc1b8"} 
[2026-08-26 07: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-26 07: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-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:53: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-26 07: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-26 07: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-26 07:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653917184001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653917184001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:53:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:53:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653917184001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":163494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:53:43] local.INFO: GPS data processed {"connection_id":163494,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:53:43] local.INFO: Acknowledgment sent {"connection_id":163494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:54:16] local.INFO: TCP Data received {"connection_id":163494,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:54:16] local.INFO: Processing buffer {"connection_id":163494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:54:16] local.INFO: Packet analysis {"connection_id":163494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bdf"} 
[2026-08-26 07:54:16] local.INFO: Extracted packet for processing {"connection_id":163494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bdf"} 
[2026-08-26 07:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653917184001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:54: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-26 07:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787710915000,"timestamp_ms":1787710915000,"timestamp_seconds":1787710915,"priority":1,"record_length":96,"hex_timestamp":"000001a03bdfc1b8"} 
[2026-08-26 07:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:54: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-26 07:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653917184001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653917184001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:54:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:54:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653917184001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":163494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:54:16] local.INFO: GPS data processed {"connection_id":163494,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:54:16] local.INFO: Acknowledgment sent {"connection_id":163494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:54:37] local.INFO: TCP Data received {"connection_id":162482,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:54:37] local.INFO: Processing buffer {"connection_id":162482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:54:37] local.INFO: IMEI packet received {"connection_id":162482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":162482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:54:42] local.INFO: TCP Data received {"connection_id":162482,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:54:42] local.INFO: Processing buffer {"connection_id":162482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:54:42] local.INFO: IMEI packet received {"connection_id":162482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":162482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:54:43] local.INFO: TCP Data received {"connection_id":162482,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:54:43] local.INFO: Processing buffer {"connection_id":162482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:54:43] local.INFO: Packet analysis {"connection_id":162482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bdf"} 
[2026-08-26 07:54:43] local.INFO: Extracted packet for processing {"connection_id":162482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bdf"} 
[2026-08-26 07:54:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653917184001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:54: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-26 07:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787710915000,"timestamp_ms":1787710915000,"timestamp_seconds":1787710915,"priority":1,"record_length":96,"hex_timestamp":"000001a03bdfc1b8"} 
[2026-08-26 07:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:54: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-26 07:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:54: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-26 07:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653917184001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653917184001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:54:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:54:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653917184001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":162482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:54:43] local.INFO: GPS data processed {"connection_id":162482,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:54:43] local.INFO: Acknowledgment sent {"connection_id":162482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:55:15] local.INFO: TCP Data received {"connection_id":162482,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:55:15] local.INFO: Processing buffer {"connection_id":162482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:55:15] local.INFO: Packet analysis {"connection_id":162482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bdf"} 
[2026-08-26 07:55:15] local.INFO: Extracted packet for processing {"connection_id":162482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bdf"} 
[2026-08-26 07:55:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653917184001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:55: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-26 07:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787710915000,"timestamp_ms":1787710915000,"timestamp_seconds":1787710915,"priority":1,"record_length":96,"hex_timestamp":"000001a03bdfc1b8"} 
[2026-08-26 07: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-26 07:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:55: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-26 07: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-26 07: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-26 07:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653917184001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653917184001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:55:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:55:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653917184001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":162482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:55:15] local.INFO: GPS data processed {"connection_id":162482,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:55:15] local.INFO: Acknowledgment sent {"connection_id":162482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:55:43] local.INFO: TCP Data received {"connection_id":162255,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:55:43] local.INFO: Processing buffer {"connection_id":162255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:55:43] local.INFO: IMEI packet received {"connection_id":162255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":162255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:55:48] local.INFO: TCP Data received {"connection_id":162255,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:55:48] local.INFO: Processing buffer {"connection_id":162255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:55:48] local.INFO: IMEI packet received {"connection_id":162255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":162255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:55:48] local.INFO: TCP Data received {"connection_id":162255,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:55:48] local.INFO: Processing buffer {"connection_id":162255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:55:48] local.INFO: Packet analysis {"connection_id":162255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bdf"} 
[2026-08-26 07:55:48] local.INFO: Extracted packet for processing {"connection_id":162255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bdf"} 
[2026-08-26 07:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653917184001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 07:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787710915000,"timestamp_ms":1787710915000,"timestamp_seconds":1787710915,"priority":1,"record_length":96,"hex_timestamp":"000001a03bdfc1b8"} 
[2026-08-26 07: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-26 07:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 07: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-26 07: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-26 07:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653917184001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653917184001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:55:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:55:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653917184001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":162255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:55:48] local.INFO: GPS data processed {"connection_id":162255,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:55:48] local.INFO: Acknowledgment sent {"connection_id":162255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:55:53] local.INFO: TCP Data received {"connection_id":162255,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:55:53] local.INFO: Processing buffer {"connection_id":162255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:55:53] local.INFO: Packet analysis {"connection_id":162255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bdf"} 
[2026-08-26 07:55:53] local.INFO: Extracted packet for processing {"connection_id":162255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bdf"} 
[2026-08-26 07:55:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653917184001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 07:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787710915000,"timestamp_ms":1787710915000,"timestamp_seconds":1787710915,"priority":1,"record_length":96,"hex_timestamp":"000001a03bdfc1b8"} 
[2026-08-26 07:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 07:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653917184001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653917184001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:55:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:55:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653917184001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":162255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:55:53] local.INFO: GPS data processed {"connection_id":162255,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:55:53] local.INFO: Acknowledgment sent {"connection_id":162255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:56:38] local.INFO: TCP Data received {"connection_id":163496,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:56:38] local.INFO: Processing buffer {"connection_id":163496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:56:38] local.INFO: IMEI packet received {"connection_id":163496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":163496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:56:43] local.INFO: TCP Data received {"connection_id":163496,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:56:43] local.INFO: Processing buffer {"connection_id":163496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:56:43] local.INFO: IMEI packet received {"connection_id":163496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":163496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:56:44] local.INFO: TCP Data received {"connection_id":163496,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:56:44] local.INFO: Processing buffer {"connection_id":163496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:56:44] local.INFO: Packet analysis {"connection_id":163496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bdf"} 
[2026-08-26 07:56:44] local.INFO: Extracted packet for processing {"connection_id":163496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bdf"} 
[2026-08-26 07:56:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653917184001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:56: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-26 07:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787710915000,"timestamp_ms":1787710915000,"timestamp_seconds":1787710915,"priority":1,"record_length":96,"hex_timestamp":"000001a03bdfc1b8"} 
[2026-08-26 07:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:56: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-26 07:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:56: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-26 07:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653917184001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653917184001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:56:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:56:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653917184001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":163496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:56:44] local.INFO: GPS data processed {"connection_id":163496,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:56:44] local.INFO: Acknowledgment sent {"connection_id":163496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:57:18] local.INFO: TCP Data received {"connection_id":163496,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:57:18] local.INFO: Processing buffer {"connection_id":163496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bdfc1b8012d34c14006aa4818000300e627..."} 
[2026-08-26 07:57:18] local.INFO: Packet analysis {"connection_id":163496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bdf"} 
[2026-08-26 07:57:18] local.INFO: Extracted packet for processing {"connection_id":163496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bdf"} 
[2026-08-26 07:57:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653917184001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:57: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-26 07:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787710915000,"timestamp_ms":1787710915000,"timestamp_seconds":1787710915,"priority":1,"record_length":96,"hex_timestamp":"000001a03bdfc1b8"} 
[2026-08-26 07: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-26 07:57: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-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 07: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-26 07: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-26 07:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653917184001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653917184001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:57:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:57:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653917184001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":163496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:57:18] local.INFO: GPS data processed {"connection_id":163496,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:57:18] local.INFO: Acknowledgment sent {"connection_id":163496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:57:34] local.INFO: TCP Data received {"connection_id":164853,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:57:34] local.INFO: Processing buffer {"connection_id":164853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:57:34] local.INFO: IMEI packet received {"connection_id":164853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":164853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:57:38] local.INFO: TCP Data received {"connection_id":164853,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:57:38] local.INFO: Processing buffer {"connection_id":164853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:57:38] local.INFO: IMEI packet received {"connection_id":164853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":164853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:57:42] local.INFO: TCP Data received {"connection_id":164853,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:57:42] local.INFO: Processing buffer {"connection_id":164853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:57:42] local.INFO: IMEI packet received {"connection_id":164853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":164853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:57:43] local.INFO: TCP Data received {"connection_id":164853,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 07:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 07:57:43] local.INFO: Processing buffer {"connection_id":164853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 07:57:43] local.INFO: Packet analysis {"connection_id":164853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03be4"} 
[2026-08-26 07:57:43] local.INFO: Extracted packet for processing {"connection_id":164853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03be4"} 
[2026-08-26 07:57:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653994240001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:57: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-26 07:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787711216000,"timestamp_ms":1787711216000,"timestamp_seconds":1787711216,"priority":1,"record_length":96,"hex_timestamp":"000001a03be45980"} 
[2026-08-26 07: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-26 07:57: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-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:57: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-26 07: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-26 07: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-26 07:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653994240001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653994240001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:57:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:57:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653994240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":164853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:57:43] local.INFO: GPS data processed {"connection_id":164853,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:57:43] local.INFO: Acknowledgment sent {"connection_id":164853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:58:15] local.INFO: TCP Data received {"connection_id":164853,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 07:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 07:58:15] local.INFO: Processing buffer {"connection_id":164853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 07:58:15] local.INFO: Packet analysis {"connection_id":164853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03be4"} 
[2026-08-26 07:58:15] local.INFO: Extracted packet for processing {"connection_id":164853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03be4"} 
[2026-08-26 07:58:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653994240001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07: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-26 07:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787711216000,"timestamp_ms":1787711216000,"timestamp_seconds":1787711216,"priority":1,"record_length":96,"hex_timestamp":"000001a03be45980"} 
[2026-08-26 07: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-26 07: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-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:58: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-26 07: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-26 07: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-26 07:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653994240001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653994240001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:58:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:58:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653994240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":164853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:58:15] local.INFO: GPS data processed {"connection_id":164853,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:58:15] local.INFO: Acknowledgment sent {"connection_id":164853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:58:37] local.INFO: TCP Data received {"connection_id":162483,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:58:37] local.INFO: Processing buffer {"connection_id":162483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:58:37] local.INFO: IMEI packet received {"connection_id":162483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":162483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:58:43] local.INFO: TCP Data received {"connection_id":162483,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:58:43] local.INFO: Processing buffer {"connection_id":162483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:58:43] local.INFO: IMEI packet received {"connection_id":162483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":162483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:58:44] local.INFO: TCP Data received {"connection_id":162483,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 07:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 07:58:44] local.INFO: Processing buffer {"connection_id":162483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 07:58:44] local.INFO: Packet analysis {"connection_id":162483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03be4"} 
[2026-08-26 07:58:44] local.INFO: Extracted packet for processing {"connection_id":162483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03be4"} 
[2026-08-26 07:58:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653994240001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:58: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-26 07:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787711216000,"timestamp_ms":1787711216000,"timestamp_seconds":1787711216,"priority":1,"record_length":96,"hex_timestamp":"000001a03be45980"} 
[2026-08-26 07: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-26 07:58: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-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:58: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-26 07: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-26 07: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-26 07:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653994240001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653994240001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:58:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:58:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653994240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":162483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:58:44] local.INFO: GPS data processed {"connection_id":162483,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:58:44] local.INFO: Acknowledgment sent {"connection_id":162483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:59:15] local.INFO: TCP Data received {"connection_id":162483,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 07:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 07:59:15] local.INFO: Processing buffer {"connection_id":162483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 07:59:15] local.INFO: Packet analysis {"connection_id":162483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03be4"} 
[2026-08-26 07:59:15] local.INFO: Extracted packet for processing {"connection_id":162483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03be4"} 
[2026-08-26 07:59:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 07:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653994240001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07:59: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-26 07:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787711216000,"timestamp_ms":1787711216000,"timestamp_seconds":1787711216,"priority":1,"record_length":96,"hex_timestamp":"000001a03be45980"} 
[2026-08-26 07:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 07:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 07:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:59: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-26 07:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 07:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 07:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653994240001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653994240001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:59:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:59:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653994240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":162483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:59:15] local.INFO: GPS data processed {"connection_id":162483,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:59:15] local.INFO: Acknowledgment sent {"connection_id":162483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 07:59:37] local.INFO: TCP Data received {"connection_id":162256,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:59:37] local.INFO: Processing buffer {"connection_id":162256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:59:37] local.INFO: IMEI packet received {"connection_id":162256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 07:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":162256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 07:59:42] local.INFO: TCP Data received {"connection_id":162256,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:59:42] local.INFO: Processing buffer {"connection_id":162256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 07:59:42] local.INFO: IMEI packet received {"connection_id":162256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 07:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":162256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 07:59:43] local.INFO: TCP Data received {"connection_id":162256,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 07:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 07:59:43] local.INFO: Processing buffer {"connection_id":162256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 07:59:43] local.INFO: Packet analysis {"connection_id":162256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03be4"} 
[2026-08-26 07:59:43] local.INFO: Extracted packet for processing {"connection_id":162256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03be4"} 
[2026-08-26 07:59:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 07: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-26 07:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653994240001,"note":"Value kept but may cause issues"} 
[2026-08-26 07:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 07:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 07: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-26 07:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787711216000,"timestamp_ms":1787711216000,"timestamp_seconds":1787711216,"priority":1,"record_length":96,"hex_timestamp":"000001a03be45980"} 
[2026-08-26 07: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-26 07:59: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-26 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 07:59: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-26 07: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-26 07: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-26 07:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 07:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 07:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 07:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 07:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 07:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 07:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653994240001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 07:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 07:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 07:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653994240001,"description":"Unknown IO ID 0"} 
[2026-08-26 07:59:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 07:59:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 07:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 07:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 07:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653994240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 07:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":162256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 07:59:43] local.INFO: GPS data processed {"connection_id":162256,"processed":1,"errors":0,"total":1} 
[2026-08-26 07:59:43] local.INFO: Acknowledgment sent {"connection_id":162256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:00:15] local.INFO: TCP Data received {"connection_id":162256,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 08:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 08:00:15] local.INFO: Processing buffer {"connection_id":162256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 08:00:15] local.INFO: Packet analysis {"connection_id":162256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03be4"} 
[2026-08-26 08:00:15] local.INFO: Extracted packet for processing {"connection_id":162256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03be4"} 
[2026-08-26 08:00:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653994240001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:00: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-26 08:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787711216000,"timestamp_ms":1787711216000,"timestamp_seconds":1787711216,"priority":1,"record_length":96,"hex_timestamp":"000001a03be45980"} 
[2026-08-26 08: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-26 08:00: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-26 08: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:00: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-26 08: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-26 08: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-26 08:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653994240001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653994240001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:00:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:00:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653994240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":162256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:00:15] local.INFO: GPS data processed {"connection_id":162256,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:00:15] local.INFO: Acknowledgment sent {"connection_id":162256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:00:43] local.INFO: TCP Data received {"connection_id":163497,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:00:43] local.INFO: Processing buffer {"connection_id":163497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:00:43] local.INFO: IMEI packet received {"connection_id":163497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":163497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:00:48] local.INFO: TCP Data received {"connection_id":163497,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:00:48] local.INFO: Processing buffer {"connection_id":163497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:00:48] local.INFO: IMEI packet received {"connection_id":163497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":163497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:00:48] local.INFO: TCP Data received {"connection_id":163497,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 08:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 08:00:48] local.INFO: Processing buffer {"connection_id":163497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 08:00:48] local.INFO: Packet analysis {"connection_id":163497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03be4"} 
[2026-08-26 08:00:48] local.INFO: Extracted packet for processing {"connection_id":163497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03be4"} 
[2026-08-26 08:00:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653994240001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 08:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787711216000,"timestamp_ms":1787711216000,"timestamp_seconds":1787711216,"priority":1,"record_length":96,"hex_timestamp":"000001a03be45980"} 
[2026-08-26 08: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-26 08:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 08: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-26 08: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-26 08:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653994240001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653994240001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:00:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:00:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653994240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":163497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:00:48] local.INFO: GPS data processed {"connection_id":163497,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:00:48] local.INFO: Acknowledgment sent {"connection_id":163497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:00:53] local.INFO: TCP Data received {"connection_id":163497,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 08:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 08:00:53] local.INFO: Processing buffer {"connection_id":163497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 08:00:53] local.INFO: Packet analysis {"connection_id":163497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03be4"} 
[2026-08-26 08:00:53] local.INFO: Extracted packet for processing {"connection_id":163497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03be4"} 
[2026-08-26 08:00:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653994240001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 08:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787711216000,"timestamp_ms":1787711216000,"timestamp_seconds":1787711216,"priority":1,"record_length":96,"hex_timestamp":"000001a03be45980"} 
[2026-08-26 08: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-26 08:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 08: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-26 08: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-26 08:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653994240001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653994240001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:00:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:00:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653994240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":163497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:00:53] local.INFO: GPS data processed {"connection_id":163497,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:00:53] local.INFO: Acknowledgment sent {"connection_id":163497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:01:38] local.INFO: TCP Data received {"connection_id":164854,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:01:38] local.INFO: Processing buffer {"connection_id":164854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:01:38] local.INFO: IMEI packet received {"connection_id":164854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":164854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:01:43] local.INFO: TCP Data received {"connection_id":164854,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:01:43] local.INFO: Processing buffer {"connection_id":164854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:01:43] local.INFO: IMEI packet received {"connection_id":164854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":164854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:01:44] local.INFO: TCP Data received {"connection_id":164854,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 08:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 08:01:44] local.INFO: Processing buffer {"connection_id":164854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 08:01:44] local.INFO: Packet analysis {"connection_id":164854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03be4"} 
[2026-08-26 08:01:44] local.INFO: Extracted packet for processing {"connection_id":164854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03be4"} 
[2026-08-26 08:01:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653994240001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:01: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-26 08:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787711216000,"timestamp_ms":1787711216000,"timestamp_seconds":1787711216,"priority":1,"record_length":96,"hex_timestamp":"000001a03be45980"} 
[2026-08-26 08: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-26 08:01: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-26 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:01: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-26 08: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-26 08: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-26 08:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653994240001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653994240001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:01:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:01:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653994240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":164854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:01:44] local.INFO: GPS data processed {"connection_id":164854,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:01:44] local.INFO: Acknowledgment sent {"connection_id":164854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:01:48] local.INFO: TCP Data received {"connection_id":164854,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 08:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 08:01:48] local.INFO: Processing buffer {"connection_id":164854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 08:01:48] local.INFO: Packet analysis {"connection_id":164854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03be4"} 
[2026-08-26 08:01:48] local.INFO: Extracted packet for processing {"connection_id":164854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03be4"} 
[2026-08-26 08:01:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653994240001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 08:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787711216000,"timestamp_ms":1787711216000,"timestamp_seconds":1787711216,"priority":1,"record_length":96,"hex_timestamp":"000001a03be45980"} 
[2026-08-26 08: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-26 08:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 08: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-26 08: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-26 08:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653994240001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653994240001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:01:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:01:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653994240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":164854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:01:48] local.INFO: GPS data processed {"connection_id":164854,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:01:48] local.INFO: Acknowledgment sent {"connection_id":164854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:02:20] local.INFO: TCP Data received {"connection_id":164854,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 08:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 08:02:20] local.INFO: Processing buffer {"connection_id":164854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03be45980012d34c14006aa4818000200e629..."} 
[2026-08-26 08:02:20] local.INFO: Packet analysis {"connection_id":164854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03be4"} 
[2026-08-26 08:02:20] local.INFO: Extracted packet for processing {"connection_id":164854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03be4"} 
[2026-08-26 08:02:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457653994240001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:02: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-26 08:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787711216000,"timestamp_ms":1787711216000,"timestamp_seconds":1787711216,"priority":1,"record_length":96,"hex_timestamp":"000001a03be45980"} 
[2026-08-26 08:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:02: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-26 08:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 08:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457653994240001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457653994240001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:02:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:02:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457653994240001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":164854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:02:20] local.INFO: GPS data processed {"connection_id":164854,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:02:20] local.INFO: Acknowledgment sent {"connection_id":164854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:02:35] local.INFO: TCP Data received {"connection_id":162258,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:02:35] local.INFO: Processing buffer {"connection_id":162258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:02:35] local.INFO: IMEI packet received {"connection_id":162258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":162258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:02:37] local.INFO: TCP Data received {"connection_id":162258,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:02:37] local.INFO: Processing buffer {"connection_id":162258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:02:37] local.INFO: IMEI packet received {"connection_id":162258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":162258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:02:42] local.INFO: TCP Data received {"connection_id":162258,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:02:42] local.INFO: Processing buffer {"connection_id":162258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:02:42] local.INFO: IMEI packet received {"connection_id":162258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":162258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:02:43] local.INFO: TCP Data received {"connection_id":162258,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:02:43] local.INFO: Processing buffer {"connection_id":162258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:02:43] local.INFO: Packet analysis {"connection_id":162258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03be8"} 
[2026-08-26 08:02:43] local.INFO: Extracted packet for processing {"connection_id":162258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03be8"} 
[2026-08-26 08:02:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654071296001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:02: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-26 08:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787711517000,"timestamp_ms":1787711517000,"timestamp_seconds":1787711517,"priority":1,"record_length":96,"hex_timestamp":"000001a03be8f148"} 
[2026-08-26 08:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:02: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-26 08:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:02: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-26 08:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654071296001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654071296001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:02:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:02:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654071296001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":162258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:02:43] local.INFO: GPS data processed {"connection_id":162258,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:02:43] local.INFO: Acknowledgment sent {"connection_id":162258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:03:15] local.INFO: TCP Data received {"connection_id":162258,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:03:15] local.INFO: Processing buffer {"connection_id":162258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:03:15] local.INFO: Packet analysis {"connection_id":162258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03be8"} 
[2026-08-26 08:03:15] local.INFO: Extracted packet for processing {"connection_id":162258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03be8"} 
[2026-08-26 08:03:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654071296001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:03: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-26 08:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787711517000,"timestamp_ms":1787711517000,"timestamp_seconds":1787711517,"priority":1,"record_length":96,"hex_timestamp":"000001a03be8f148"} 
[2026-08-26 08:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:03: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-26 08:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:03: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-26 08:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654071296001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654071296001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:03:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:03:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654071296001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":162258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:03:15] local.INFO: GPS data processed {"connection_id":162258,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:03:15] local.INFO: Acknowledgment sent {"connection_id":162258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:03:37] local.INFO: TCP Data received {"connection_id":164855,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:03:37] local.INFO: Processing buffer {"connection_id":164855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:03:37] local.INFO: IMEI packet received {"connection_id":164855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":164855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:03:42] local.INFO: TCP Data received {"connection_id":164855,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:03:42] local.INFO: Processing buffer {"connection_id":164855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:03:42] local.INFO: IMEI packet received {"connection_id":164855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":164855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:03:43] local.INFO: TCP Data received {"connection_id":164855,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:03:43] local.INFO: Processing buffer {"connection_id":164855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:03:43] local.INFO: Packet analysis {"connection_id":164855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03be8"} 
[2026-08-26 08:03:43] local.INFO: Extracted packet for processing {"connection_id":164855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03be8"} 
[2026-08-26 08:03:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654071296001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:03: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-26 08:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787711517000,"timestamp_ms":1787711517000,"timestamp_seconds":1787711517,"priority":1,"record_length":96,"hex_timestamp":"000001a03be8f148"} 
[2026-08-26 08:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:03: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-26 08:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:03: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-26 08:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654071296001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654071296001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:03:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:03:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654071296001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":164855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:03:43] local.INFO: GPS data processed {"connection_id":164855,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:03:43] local.INFO: Acknowledgment sent {"connection_id":164855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:04:15] local.INFO: TCP Data received {"connection_id":164855,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:04:15] local.INFO: Processing buffer {"connection_id":164855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:04:15] local.INFO: Packet analysis {"connection_id":164855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03be8"} 
[2026-08-26 08:04:15] local.INFO: Extracted packet for processing {"connection_id":164855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03be8"} 
[2026-08-26 08:04:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654071296001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:04: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-26 08:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787711517000,"timestamp_ms":1787711517000,"timestamp_seconds":1787711517,"priority":1,"record_length":96,"hex_timestamp":"000001a03be8f148"} 
[2026-08-26 08: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-26 08:04: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-26 08: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-26 08: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-26 08: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-26 08: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-26 08:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654071296001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654071296001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:04:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:04:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654071296001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":164855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:04:15] local.INFO: GPS data processed {"connection_id":164855,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:04:15] local.INFO: Acknowledgment sent {"connection_id":164855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:04:37] local.INFO: TCP Data received {"connection_id":164856,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:04:37] local.INFO: Processing buffer {"connection_id":164856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:04:37] local.INFO: IMEI packet received {"connection_id":164856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":164856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:04:42] local.INFO: TCP Data received {"connection_id":164856,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:04:43] local.INFO: Processing buffer {"connection_id":164856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:04:43] local.INFO: IMEI packet received {"connection_id":164856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":164856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:04:44] local.INFO: TCP Data received {"connection_id":164856,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:04:44] local.INFO: Processing buffer {"connection_id":164856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:04:44] local.INFO: Packet analysis {"connection_id":164856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03be8"} 
[2026-08-26 08:04:44] local.INFO: Extracted packet for processing {"connection_id":164856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03be8"} 
[2026-08-26 08:04:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654071296001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:04: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-26 08:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787711517000,"timestamp_ms":1787711517000,"timestamp_seconds":1787711517,"priority":1,"record_length":96,"hex_timestamp":"000001a03be8f148"} 
[2026-08-26 08: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-26 08:04: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-26 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:04: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-26 08:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08: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-26 08:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654071296001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654071296001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:04:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:04:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654071296001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":164856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:04:44] local.INFO: GPS data processed {"connection_id":164856,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:04:44] local.INFO: Acknowledgment sent {"connection_id":164856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:05:15] local.INFO: TCP Data received {"connection_id":164856,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:05:15] local.INFO: Processing buffer {"connection_id":164856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:05:15] local.INFO: Packet analysis {"connection_id":164856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03be8"} 
[2026-08-26 08:05:15] local.INFO: Extracted packet for processing {"connection_id":164856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03be8"} 
[2026-08-26 08:05:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654071296001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:05: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-26 08:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787711517000,"timestamp_ms":1787711517000,"timestamp_seconds":1787711517,"priority":1,"record_length":96,"hex_timestamp":"000001a03be8f148"} 
[2026-08-26 08:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:05: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-26 08:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:05: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-26 08:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654071296001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654071296001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:05:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:05:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654071296001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":164856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:05:15] local.INFO: GPS data processed {"connection_id":164856,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:05:15] local.INFO: Acknowledgment sent {"connection_id":164856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:05:42] local.INFO: TCP Data received {"connection_id":162484,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:05:42] local.INFO: Processing buffer {"connection_id":162484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:05:42] local.INFO: IMEI packet received {"connection_id":162484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":162484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:05:48] local.INFO: TCP Data received {"connection_id":162484,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:05:48] local.INFO: Processing buffer {"connection_id":162484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:05:48] local.INFO: IMEI packet received {"connection_id":162484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":162484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:05:48] local.INFO: TCP Data received {"connection_id":162484,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:05:48] local.INFO: Processing buffer {"connection_id":162484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:05:48] local.INFO: Packet analysis {"connection_id":162484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03be8"} 
[2026-08-26 08:05:48] local.INFO: Extracted packet for processing {"connection_id":162484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03be8"} 
[2026-08-26 08:05:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654071296001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 08:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787711517000,"timestamp_ms":1787711517000,"timestamp_seconds":1787711517,"priority":1,"record_length":96,"hex_timestamp":"000001a03be8f148"} 
[2026-08-26 08: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-26 08:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 08: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-26 08: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-26 08:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654071296001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654071296001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:05:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:05:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654071296001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":162484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:05:48] local.INFO: GPS data processed {"connection_id":162484,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:05:48] local.INFO: Acknowledgment sent {"connection_id":162484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:06:20] local.INFO: TCP Data received {"connection_id":162484,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:06:20] local.INFO: Processing buffer {"connection_id":162484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:06:20] local.INFO: Packet analysis {"connection_id":162484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03be8"} 
[2026-08-26 08:06:20] local.INFO: Extracted packet for processing {"connection_id":162484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03be8"} 
[2026-08-26 08:06:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654071296001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:06: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-26 08:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787711517000,"timestamp_ms":1787711517000,"timestamp_seconds":1787711517,"priority":1,"record_length":96,"hex_timestamp":"000001a03be8f148"} 
[2026-08-26 08: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-26 08:06: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-26 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 08: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-26 08: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-26 08:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654071296001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654071296001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:06:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:06:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654071296001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":162484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:06:20] local.INFO: GPS data processed {"connection_id":162484,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:06:20] local.INFO: Acknowledgment sent {"connection_id":162484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:06:38] local.INFO: TCP Data received {"connection_id":163498,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:06:38] local.INFO: Processing buffer {"connection_id":163498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:06:38] local.INFO: IMEI packet received {"connection_id":163498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":163498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:06:43] local.INFO: TCP Data received {"connection_id":163498,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:06:43] local.INFO: Processing buffer {"connection_id":163498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:06:43] local.INFO: IMEI packet received {"connection_id":163498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":163498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:06:44] local.INFO: TCP Data received {"connection_id":163498,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:06:44] local.INFO: Processing buffer {"connection_id":163498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:06:44] local.INFO: Packet analysis {"connection_id":163498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03be8"} 
[2026-08-26 08:06:44] local.INFO: Extracted packet for processing {"connection_id":163498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03be8"} 
[2026-08-26 08:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654071296001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:06: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-26 08:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787711517000,"timestamp_ms":1787711517000,"timestamp_seconds":1787711517,"priority":1,"record_length":96,"hex_timestamp":"000001a03be8f148"} 
[2026-08-26 08:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:06: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-26 08:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:06: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-26 08:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654071296001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654071296001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:06:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:06:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654071296001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":163498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:06:44] local.INFO: GPS data processed {"connection_id":163498,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:06:44] local.INFO: Acknowledgment sent {"connection_id":163498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:07:16] local.INFO: TCP Data received {"connection_id":163498,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:07:16] local.INFO: Processing buffer {"connection_id":163498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03be8f148012d34c14006aa4818000500e628..."} 
[2026-08-26 08:07:16] local.INFO: Packet analysis {"connection_id":163498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03be8"} 
[2026-08-26 08:07:16] local.INFO: Extracted packet for processing {"connection_id":163498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03be8"} 
[2026-08-26 08:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654071296001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:07: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-26 08:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787711517000,"timestamp_ms":1787711517000,"timestamp_seconds":1787711517,"priority":1,"record_length":96,"hex_timestamp":"000001a03be8f148"} 
[2026-08-26 08:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:07: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-26 08:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:07: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-26 08:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654071296001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654071296001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:07:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:07:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654071296001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":163498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:07:16] local.INFO: GPS data processed {"connection_id":163498,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:07:16] local.INFO: Acknowledgment sent {"connection_id":163498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:07:36] local.INFO: TCP Data received {"connection_id":162259,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:07:36] local.INFO: Processing buffer {"connection_id":162259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:07:36] local.INFO: IMEI packet received {"connection_id":162259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":162259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:07:37] local.INFO: TCP Data received {"connection_id":162259,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:07:37] local.INFO: Processing buffer {"connection_id":162259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:07:37] local.INFO: IMEI packet received {"connection_id":162259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":162259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:07:43] local.INFO: TCP Data received {"connection_id":162259,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:07:43] local.INFO: Processing buffer {"connection_id":162259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:07:43] local.INFO: IMEI packet received {"connection_id":162259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":162259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:07:44] local.INFO: TCP Data received {"connection_id":162259,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:07:44] local.INFO: Processing buffer {"connection_id":162259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:07:44] local.INFO: Packet analysis {"connection_id":162259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bed"} 
[2026-08-26 08:07:44] local.INFO: Extracted packet for processing {"connection_id":162259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bed"} 
[2026-08-26 08:07:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654148352001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:07: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-26 08:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787711818000,"timestamp_ms":1787711818000,"timestamp_seconds":1787711818,"priority":1,"record_length":96,"hex_timestamp":"000001a03bed8910"} 
[2026-08-26 08:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:07: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-26 08:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:07: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-26 08:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654148352001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654148352001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:07:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:07:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654148352001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":162259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:07:44] local.INFO: GPS data processed {"connection_id":162259,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:07:44] local.INFO: Acknowledgment sent {"connection_id":162259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:08:15] local.INFO: TCP Data received {"connection_id":162259,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:08:15] local.INFO: Processing buffer {"connection_id":162259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:08:15] local.INFO: Packet analysis {"connection_id":162259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bed"} 
[2026-08-26 08:08:15] local.INFO: Extracted packet for processing {"connection_id":162259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bed"} 
[2026-08-26 08:08:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 08:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654148352001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 08:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787711818000,"timestamp_ms":1787711818000,"timestamp_seconds":1787711818,"priority":1,"record_length":96,"hex_timestamp":"000001a03bed8910"} 
[2026-08-26 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-26 08: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-26 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:08: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-26 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-26 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-26 08:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654148352001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654148352001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:08:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:08:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654148352001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":162259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:08:15] local.INFO: GPS data processed {"connection_id":162259,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:08:15] local.INFO: Acknowledgment sent {"connection_id":162259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:08:37] local.INFO: TCP Data received {"connection_id":164858,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:08:37] local.INFO: Processing buffer {"connection_id":164858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:08:37] local.INFO: IMEI packet received {"connection_id":164858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":164858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:08:42] local.INFO: TCP Data received {"connection_id":164858,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:08:42] local.INFO: Processing buffer {"connection_id":164858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:08:42] local.INFO: IMEI packet received {"connection_id":164858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":164858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:08:43] local.INFO: TCP Data received {"connection_id":164858,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:08:43] local.INFO: Processing buffer {"connection_id":164858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:08:43] local.INFO: Packet analysis {"connection_id":164858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bed"} 
[2026-08-26 08:08:43] local.INFO: Extracted packet for processing {"connection_id":164858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bed"} 
[2026-08-26 08:08:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654148352001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:08: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-26 08:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787711818000,"timestamp_ms":1787711818000,"timestamp_seconds":1787711818,"priority":1,"record_length":96,"hex_timestamp":"000001a03bed8910"} 
[2026-08-26 08:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:08: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-26 08:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:08: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-26 08:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654148352001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654148352001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:08:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:08:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654148352001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":164858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:08:43] local.INFO: GPS data processed {"connection_id":164858,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:08:43] local.INFO: Acknowledgment sent {"connection_id":164858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:09:15] local.INFO: TCP Data received {"connection_id":164858,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:09:15] local.INFO: Processing buffer {"connection_id":164858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:09:15] local.INFO: Packet analysis {"connection_id":164858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bed"} 
[2026-08-26 08:09:15] local.INFO: Extracted packet for processing {"connection_id":164858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bed"} 
[2026-08-26 08:09:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654148352001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:09: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-26 08:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787711818000,"timestamp_ms":1787711818000,"timestamp_seconds":1787711818,"priority":1,"record_length":96,"hex_timestamp":"000001a03bed8910"} 
[2026-08-26 08:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:09: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-26 08:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:09: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-26 08:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654148352001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654148352001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:09:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:09:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654148352001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":164858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:09:15] local.INFO: GPS data processed {"connection_id":164858,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:09:15] local.INFO: Acknowledgment sent {"connection_id":164858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:09:42] local.INFO: TCP Data received {"connection_id":162485,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:09:42] local.INFO: Processing buffer {"connection_id":162485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:09:42] local.INFO: IMEI packet received {"connection_id":162485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":162485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:09:47] local.INFO: TCP Data received {"connection_id":162485,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:09:47] local.INFO: Processing buffer {"connection_id":162485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:09:47] local.INFO: IMEI packet received {"connection_id":162485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":162485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:09:48] local.INFO: TCP Data received {"connection_id":162485,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:09:48] local.INFO: Processing buffer {"connection_id":162485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:09:48] local.INFO: Packet analysis {"connection_id":162485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bed"} 
[2026-08-26 08:09:48] local.INFO: Extracted packet for processing {"connection_id":162485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bed"} 
[2026-08-26 08:09:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654148352001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 08:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787711818000,"timestamp_ms":1787711818000,"timestamp_seconds":1787711818,"priority":1,"record_length":96,"hex_timestamp":"000001a03bed8910"} 
[2026-08-26 08: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-26 08:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 08: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-26 08: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-26 08:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654148352001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654148352001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:09:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:09:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654148352001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":162485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:09:48] local.INFO: GPS data processed {"connection_id":162485,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:09:48] local.INFO: Acknowledgment sent {"connection_id":162485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:09:53] local.INFO: TCP Data received {"connection_id":162485,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:09:53] local.INFO: Processing buffer {"connection_id":162485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:09:53] local.INFO: Packet analysis {"connection_id":162485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bed"} 
[2026-08-26 08:09:53] local.INFO: Extracted packet for processing {"connection_id":162485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bed"} 
[2026-08-26 08:09:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 08:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654148352001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 08:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787711818000,"timestamp_ms":1787711818000,"timestamp_seconds":1787711818,"priority":1,"record_length":96,"hex_timestamp":"000001a03bed8910"} 
[2026-08-26 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-26 08:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 08:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654148352001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654148352001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:09:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:09:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654148352001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":162485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:09:53] local.INFO: GPS data processed {"connection_id":162485,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:09:53] local.INFO: Acknowledgment sent {"connection_id":162485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:10:38] local.INFO: TCP Data received {"connection_id":164859,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:10:38] local.INFO: Processing buffer {"connection_id":164859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:10:38] local.INFO: IMEI packet received {"connection_id":164859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":164859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:10:42] local.INFO: TCP Data received {"connection_id":164859,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:10:42] local.INFO: Processing buffer {"connection_id":164859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:10:42] local.INFO: IMEI packet received {"connection_id":164859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":164859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:10:43] local.INFO: TCP Data received {"connection_id":164859,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:10:43] local.INFO: Processing buffer {"connection_id":164859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:10:43] local.INFO: Packet analysis {"connection_id":164859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bed"} 
[2026-08-26 08:10:43] local.INFO: Extracted packet for processing {"connection_id":164859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bed"} 
[2026-08-26 08:10:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654148352001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:10: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-26 08:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787711818000,"timestamp_ms":1787711818000,"timestamp_seconds":1787711818,"priority":1,"record_length":96,"hex_timestamp":"000001a03bed8910"} 
[2026-08-26 08: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-26 08: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-26 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:10: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-26 08: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-26 08: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-26 08:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654148352001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654148352001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:10:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:10:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654148352001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":164859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:10:43] local.INFO: GPS data processed {"connection_id":164859,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:10:43] local.INFO: Acknowledgment sent {"connection_id":164859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:11:15] local.INFO: TCP Data received {"connection_id":164859,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:11:15] local.INFO: Processing buffer {"connection_id":164859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:11:15] local.INFO: Packet analysis {"connection_id":164859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bed"} 
[2026-08-26 08:11:15] local.INFO: Extracted packet for processing {"connection_id":164859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bed"} 
[2026-08-26 08:11:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654148352001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:11: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-26 08:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787711818000,"timestamp_ms":1787711818000,"timestamp_seconds":1787711818,"priority":1,"record_length":96,"hex_timestamp":"000001a03bed8910"} 
[2026-08-26 08: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-26 08:11: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-26 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:11: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-26 08: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-26 08: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-26 08:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654148352001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654148352001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:11:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:11:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654148352001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":164859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:11:15] local.INFO: GPS data processed {"connection_id":164859,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:11:15] local.INFO: Acknowledgment sent {"connection_id":164859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:11:38] local.INFO: TCP Data received {"connection_id":163499,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:11:38] local.INFO: Processing buffer {"connection_id":163499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:11:38] local.INFO: IMEI packet received {"connection_id":163499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":163499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:11:42] local.INFO: TCP Data received {"connection_id":163499,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:11:42] local.INFO: Processing buffer {"connection_id":163499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:11:42] local.INFO: IMEI packet received {"connection_id":163499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":163499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:11:43] local.INFO: TCP Data received {"connection_id":163499,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:11:43] local.INFO: Processing buffer {"connection_id":163499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:11:43] local.INFO: Packet analysis {"connection_id":163499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bed"} 
[2026-08-26 08:11:43] local.INFO: Extracted packet for processing {"connection_id":163499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bed"} 
[2026-08-26 08:11:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654148352001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:11: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-26 08:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787711818000,"timestamp_ms":1787711818000,"timestamp_seconds":1787711818,"priority":1,"record_length":96,"hex_timestamp":"000001a03bed8910"} 
[2026-08-26 08: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-26 08: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-26 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:11: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-26 08: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-26 08: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-26 08:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654148352001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654148352001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:11:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:11:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654148352001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":163499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:11:43] local.INFO: GPS data processed {"connection_id":163499,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:11:43] local.INFO: Acknowledgment sent {"connection_id":163499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:12:15] local.INFO: TCP Data received {"connection_id":163499,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:12:15] local.INFO: Processing buffer {"connection_id":163499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bed8910012d34c14006aa4818000b00e629..."} 
[2026-08-26 08:12:15] local.INFO: Packet analysis {"connection_id":163499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bed"} 
[2026-08-26 08:12:15] local.INFO: Extracted packet for processing {"connection_id":163499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bed"} 
[2026-08-26 08:12:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654148352001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08: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-26 08:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787711818000,"timestamp_ms":1787711818000,"timestamp_seconds":1787711818,"priority":1,"record_length":96,"hex_timestamp":"000001a03bed8910"} 
[2026-08-26 08:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:12: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-26 08:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:12: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-26 08:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654148352001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654148352001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:12:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:12:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654148352001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":163499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:12:15] local.INFO: GPS data processed {"connection_id":163499,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:12:15] local.INFO: Acknowledgment sent {"connection_id":163499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:12:37] local.INFO: TCP Data received {"connection_id":163500,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:12:37] local.INFO: Processing buffer {"connection_id":163500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:12:37] local.INFO: IMEI packet received {"connection_id":163500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":163500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:12:38] local.INFO: TCP Data received {"connection_id":163500,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:12:38] local.INFO: Processing buffer {"connection_id":163500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:12:38] local.INFO: IMEI packet received {"connection_id":163500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":163500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:12:42] local.INFO: TCP Data received {"connection_id":163500,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:12:42] local.INFO: Processing buffer {"connection_id":163500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:12:42] local.INFO: IMEI packet received {"connection_id":163500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":163500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:12:43] local.INFO: TCP Data received {"connection_id":163500,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:12:43] local.INFO: Processing buffer {"connection_id":163500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:12:43] local.INFO: Packet analysis {"connection_id":163500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bf2"} 
[2026-08-26 08:12:43] local.INFO: Extracted packet for processing {"connection_id":163500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bf2"} 
[2026-08-26 08:12:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654225408001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08: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-26 08:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787712119000,"timestamp_ms":1787712119000,"timestamp_seconds":1787712119,"priority":1,"record_length":96,"hex_timestamp":"000001a03bf220d8"} 
[2026-08-26 08: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-26 08: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-26 08: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":233,"data_length":795,"current_offset":136} 
[2026-08-26 08:12: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-26 08: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-26 08: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-26 08:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654225408001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654225408001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:12:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:12:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654225408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":163500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:12:43] local.INFO: GPS data processed {"connection_id":163500,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:12:43] local.INFO: Acknowledgment sent {"connection_id":163500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:13:15] local.INFO: TCP Data received {"connection_id":163500,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:13:15] local.INFO: Processing buffer {"connection_id":163500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:13:15] local.INFO: Packet analysis {"connection_id":163500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bf2"} 
[2026-08-26 08:13:15] local.INFO: Extracted packet for processing {"connection_id":163500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bf2"} 
[2026-08-26 08:13:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654225408001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:13: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-26 08:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787712119000,"timestamp_ms":1787712119000,"timestamp_seconds":1787712119,"priority":1,"record_length":96,"hex_timestamp":"000001a03bf220d8"} 
[2026-08-26 08:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:13: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-26 08:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 08:13: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-26 08:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654225408001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654225408001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:13:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:13:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654225408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":163500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:13:15] local.INFO: GPS data processed {"connection_id":163500,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:13:15] local.INFO: Acknowledgment sent {"connection_id":163500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:13:37] local.INFO: TCP Data received {"connection_id":164860,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:13:37] local.INFO: Processing buffer {"connection_id":164860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:13:37] local.INFO: IMEI packet received {"connection_id":164860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":164860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:13:43] local.INFO: TCP Data received {"connection_id":164860,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:13:43] local.INFO: Processing buffer {"connection_id":164860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:13:43] local.INFO: IMEI packet received {"connection_id":164860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":164860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:13:44] local.INFO: TCP Data received {"connection_id":164860,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:13:44] local.INFO: Processing buffer {"connection_id":164860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:13:44] local.INFO: Packet analysis {"connection_id":164860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bf2"} 
[2026-08-26 08:13:44] local.INFO: Extracted packet for processing {"connection_id":164860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bf2"} 
[2026-08-26 08:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654225408001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08: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-26 08:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787712119000,"timestamp_ms":1787712119000,"timestamp_seconds":1787712119,"priority":1,"record_length":96,"hex_timestamp":"000001a03bf220d8"} 
[2026-08-26 08: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-26 08:13: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-26 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 08:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 08: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-26 08: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-26 08:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654225408001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654225408001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:13:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:13:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654225408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":164860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:13:44] local.INFO: GPS data processed {"connection_id":164860,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:13:44] local.INFO: Acknowledgment sent {"connection_id":164860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:14:15] local.INFO: TCP Data received {"connection_id":164860,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:14:15] local.INFO: Processing buffer {"connection_id":164860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:14:15] local.INFO: Packet analysis {"connection_id":164860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bf2"} 
[2026-08-26 08:14:15] local.INFO: Extracted packet for processing {"connection_id":164860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bf2"} 
[2026-08-26 08:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654225408001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:14: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-26 08:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787712119000,"timestamp_ms":1787712119000,"timestamp_seconds":1787712119,"priority":1,"record_length":96,"hex_timestamp":"000001a03bf220d8"} 
[2026-08-26 08:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:14: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-26 08:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 08:14: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-26 08:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654225408001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654225408001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:14:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:14:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654225408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":164860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:14:15] local.INFO: GPS data processed {"connection_id":164860,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:14:15] local.INFO: Acknowledgment sent {"connection_id":164860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:14:43] local.INFO: TCP Data received {"connection_id":163501,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:14:43] local.INFO: Processing buffer {"connection_id":163501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:14:43] local.INFO: IMEI packet received {"connection_id":163501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":163501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:14:47] local.INFO: TCP Data received {"connection_id":163501,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:14:47] local.INFO: Processing buffer {"connection_id":163501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:14:47] local.INFO: IMEI packet received {"connection_id":163501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":163501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:14:49] local.INFO: TCP Data received {"connection_id":163501,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:14:49] local.INFO: Processing buffer {"connection_id":163501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:14:49] local.INFO: Packet analysis {"connection_id":163501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bf2"} 
[2026-08-26 08:14:49] local.INFO: Extracted packet for processing {"connection_id":163501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bf2"} 
[2026-08-26 08:14:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654225408001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:14: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-26 08:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787712119000,"timestamp_ms":1787712119000,"timestamp_seconds":1787712119,"priority":1,"record_length":96,"hex_timestamp":"000001a03bf220d8"} 
[2026-08-26 08:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 08:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 08:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 08:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654225408001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654225408001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:14:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:14:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654225408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":163501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:14:49] local.INFO: GPS data processed {"connection_id":163501,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:14:49] local.INFO: Acknowledgment sent {"connection_id":163501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:14:53] local.INFO: TCP Data received {"connection_id":163501,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:14:53] local.INFO: Processing buffer {"connection_id":163501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:14:53] local.INFO: Packet analysis {"connection_id":163501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bf2"} 
[2026-08-26 08:14:53] local.INFO: Extracted packet for processing {"connection_id":163501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bf2"} 
[2026-08-26 08:14:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 08:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654225408001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 08:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787712119000,"timestamp_ms":1787712119000,"timestamp_seconds":1787712119,"priority":1,"record_length":96,"hex_timestamp":"000001a03bf220d8"} 
[2026-08-26 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-26 08:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 08:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 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-26 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-26 08:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654225408001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654225408001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:14:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:14:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654225408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":163501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:14:53] local.INFO: GPS data processed {"connection_id":163501,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:14:53] local.INFO: Acknowledgment sent {"connection_id":163501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:15:38] local.INFO: TCP Data received {"connection_id":162486,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:15:38] local.INFO: Processing buffer {"connection_id":162486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:15:38] local.INFO: IMEI packet received {"connection_id":162486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":162486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:15:43] local.INFO: TCP Data received {"connection_id":162486,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:15:43] local.INFO: Processing buffer {"connection_id":162486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:15:43] local.INFO: IMEI packet received {"connection_id":162486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":162486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:15:44] local.INFO: TCP Data received {"connection_id":162486,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:15:44] local.INFO: Processing buffer {"connection_id":162486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:15:44] local.INFO: Packet analysis {"connection_id":162486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bf2"} 
[2026-08-26 08:15:44] local.INFO: Extracted packet for processing {"connection_id":162486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bf2"} 
[2026-08-26 08:15:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654225408001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:15: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-26 08:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787712119000,"timestamp_ms":1787712119000,"timestamp_seconds":1787712119,"priority":1,"record_length":96,"hex_timestamp":"000001a03bf220d8"} 
[2026-08-26 08: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-26 08:15: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-26 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 08:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 08: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-26 08: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-26 08:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654225408001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654225408001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:15:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:15:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654225408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":162486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:15:44] local.INFO: GPS data processed {"connection_id":162486,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:15:44] local.INFO: Acknowledgment sent {"connection_id":162486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:16:16] local.INFO: TCP Data received {"connection_id":162486,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:16:16] local.INFO: Processing buffer {"connection_id":162486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:16:16] local.INFO: Packet analysis {"connection_id":162486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bf2"} 
[2026-08-26 08:16:16] local.INFO: Extracted packet for processing {"connection_id":162486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bf2"} 
[2026-08-26 08:16:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654225408001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:16: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-26 08:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787712119000,"timestamp_ms":1787712119000,"timestamp_seconds":1787712119,"priority":1,"record_length":96,"hex_timestamp":"000001a03bf220d8"} 
[2026-08-26 08:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:16: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-26 08:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 08:16: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-26 08:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654225408001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654225408001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:16:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:16:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654225408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":162486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:16:16] local.INFO: GPS data processed {"connection_id":162486,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:16:16] local.INFO: Acknowledgment sent {"connection_id":162486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:16:38] local.INFO: TCP Data received {"connection_id":163502,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:16:38] local.INFO: Processing buffer {"connection_id":163502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:16:38] local.INFO: IMEI packet received {"connection_id":163502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":163502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:16:42] local.INFO: TCP Data received {"connection_id":163502,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:16:42] local.INFO: Processing buffer {"connection_id":163502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:16:42] local.INFO: IMEI packet received {"connection_id":163502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":163502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:16:44] local.INFO: TCP Data received {"connection_id":163502,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:16:44] local.INFO: Processing buffer {"connection_id":163502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:16:44] local.INFO: Packet analysis {"connection_id":163502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bf2"} 
[2026-08-26 08:16:44] local.INFO: Extracted packet for processing {"connection_id":163502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bf2"} 
[2026-08-26 08:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654225408001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:16: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-26 08:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787712119000,"timestamp_ms":1787712119000,"timestamp_seconds":1787712119,"priority":1,"record_length":96,"hex_timestamp":"000001a03bf220d8"} 
[2026-08-26 08:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:16: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-26 08:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 08:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 08:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654225408001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654225408001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:16:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:16:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654225408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":163502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:16:44] local.INFO: GPS data processed {"connection_id":163502,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:16:44] local.INFO: Acknowledgment sent {"connection_id":163502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:17:16] local.INFO: TCP Data received {"connection_id":163502,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:17:16] local.INFO: Processing buffer {"connection_id":163502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bf220d8012d34c14006aa4818000a00e629..."} 
[2026-08-26 08:17:16] local.INFO: Packet analysis {"connection_id":163502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bf2"} 
[2026-08-26 08:17:16] local.INFO: Extracted packet for processing {"connection_id":163502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bf2"} 
[2026-08-26 08:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654225408001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:17: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-26 08:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787712119000,"timestamp_ms":1787712119000,"timestamp_seconds":1787712119,"priority":1,"record_length":96,"hex_timestamp":"000001a03bf220d8"} 
[2026-08-26 08:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:17: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-26 08:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 08:17: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-26 08:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654225408001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654225408001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:17:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:17:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654225408001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":163502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:17:16] local.INFO: GPS data processed {"connection_id":163502,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:17:16] local.INFO: Acknowledgment sent {"connection_id":163502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:17:37] local.INFO: TCP Data received {"connection_id":163503,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:17:37] local.INFO: Processing buffer {"connection_id":163503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:17:37] local.INFO: IMEI packet received {"connection_id":163503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":163503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:17:38] local.INFO: TCP Data received {"connection_id":163503,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:17:38] local.INFO: Processing buffer {"connection_id":163503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:17:38] local.INFO: IMEI packet received {"connection_id":163503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":163503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:17:43] local.INFO: TCP Data received {"connection_id":163503,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:17:43] local.INFO: Processing buffer {"connection_id":163503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:17:43] local.INFO: IMEI packet received {"connection_id":163503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":163503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:17:44] local.INFO: TCP Data received {"connection_id":163503,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:17:44] local.INFO: Processing buffer {"connection_id":163503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:17:44] local.INFO: Packet analysis {"connection_id":163503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bf6"} 
[2026-08-26 08:17:44] local.INFO: Extracted packet for processing {"connection_id":163503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bf6"} 
[2026-08-26 08:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654302464001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:17: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-26 08:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787712420000,"timestamp_ms":1787712420000,"timestamp_seconds":1787712420,"priority":1,"record_length":96,"hex_timestamp":"000001a03bf6b8a0"} 
[2026-08-26 08:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:17: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-26 08:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:17: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-26 08:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654302464001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654302464001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:17:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654302464001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":163503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:17:44] local.INFO: GPS data processed {"connection_id":163503,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:17:44] local.INFO: Acknowledgment sent {"connection_id":163503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:18:15] local.INFO: TCP Data received {"connection_id":163503,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:18:15] local.INFO: Processing buffer {"connection_id":163503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:18:15] local.INFO: Packet analysis {"connection_id":163503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bf6"} 
[2026-08-26 08:18:15] local.INFO: Extracted packet for processing {"connection_id":163503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bf6"} 
[2026-08-26 08:18:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654302464001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:18: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-26 08:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787712420000,"timestamp_ms":1787712420000,"timestamp_seconds":1787712420,"priority":1,"record_length":96,"hex_timestamp":"000001a03bf6b8a0"} 
[2026-08-26 08:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 08:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:18: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-26 08:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654302464001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654302464001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:18:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:18:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654302464001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":163503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:18:15] local.INFO: GPS data processed {"connection_id":163503,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:18:15] local.INFO: Acknowledgment sent {"connection_id":163503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:18:43] local.INFO: TCP Data received {"connection_id":162260,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:18:43] local.INFO: Processing buffer {"connection_id":162260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:18:43] local.INFO: IMEI packet received {"connection_id":162260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":162260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:18:47] local.INFO: TCP Data received {"connection_id":162260,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:18:47] local.INFO: Processing buffer {"connection_id":162260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:18:47] local.INFO: IMEI packet received {"connection_id":162260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":162260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:18:49] local.INFO: TCP Data received {"connection_id":162260,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:18:49] local.INFO: Processing buffer {"connection_id":162260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:18:49] local.INFO: Packet analysis {"connection_id":162260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bf6"} 
[2026-08-26 08:18:49] local.INFO: Extracted packet for processing {"connection_id":162260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bf6"} 
[2026-08-26 08:18:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:18: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-26 08:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654302464001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:18: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-26 08:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787712420000,"timestamp_ms":1787712420000,"timestamp_seconds":1787712420,"priority":1,"record_length":96,"hex_timestamp":"000001a03bf6b8a0"} 
[2026-08-26 08:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:18: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-26 08:18: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-26 08:18: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-26 08:18: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-26 08:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654302464001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654302464001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:18:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:18:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654302464001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":162260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:18:49] local.INFO: GPS data processed {"connection_id":162260,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:18:49] local.INFO: Acknowledgment sent {"connection_id":162260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:18:53] local.INFO: TCP Data received {"connection_id":162260,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:18:53] local.INFO: Processing buffer {"connection_id":162260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:18:53] local.INFO: Packet analysis {"connection_id":162260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bf6"} 
[2026-08-26 08:18:53] local.INFO: Extracted packet for processing {"connection_id":162260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bf6"} 
[2026-08-26 08:18:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654302464001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 08:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787712420000,"timestamp_ms":1787712420000,"timestamp_seconds":1787712420,"priority":1,"record_length":96,"hex_timestamp":"000001a03bf6b8a0"} 
[2026-08-26 08: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-26 08:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 08: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-26 08: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-26 08:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654302464001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654302464001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:18:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:18:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654302464001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":162260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:18:53] local.INFO: GPS data processed {"connection_id":162260,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:18:53] local.INFO: Acknowledgment sent {"connection_id":162260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:19:37] local.INFO: TCP Data received {"connection_id":163504,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:19:37] local.INFO: Processing buffer {"connection_id":163504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:19:37] local.INFO: IMEI packet received {"connection_id":163504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":163504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:19:43] local.INFO: TCP Data received {"connection_id":163504,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:19:43] local.INFO: Processing buffer {"connection_id":163504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:19:43] local.INFO: IMEI packet received {"connection_id":163504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":163504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:19:43] local.INFO: TCP Data received {"connection_id":163504,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:19:43] local.INFO: Processing buffer {"connection_id":163504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:19:43] local.INFO: Packet analysis {"connection_id":163504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bf6"} 
[2026-08-26 08:19:43] local.INFO: Extracted packet for processing {"connection_id":163504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bf6"} 
[2026-08-26 08:19:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654302464001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08: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-26 08:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787712420000,"timestamp_ms":1787712420000,"timestamp_seconds":1787712420,"priority":1,"record_length":96,"hex_timestamp":"000001a03bf6b8a0"} 
[2026-08-26 08: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-26 08: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-26 08: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-26 08: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-26 08: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-26 08: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-26 08:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654302464001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654302464001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:19:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:19:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654302464001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":163504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:19:43] local.INFO: GPS data processed {"connection_id":163504,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:19:43] local.INFO: Acknowledgment sent {"connection_id":163504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:20:16] local.INFO: TCP Data received {"connection_id":163504,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:20:16] local.INFO: Processing buffer {"connection_id":163504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:20:16] local.INFO: Packet analysis {"connection_id":163504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bf6"} 
[2026-08-26 08:20:16] local.INFO: Extracted packet for processing {"connection_id":163504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bf6"} 
[2026-08-26 08:20:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654302464001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:20: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-26 08:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787712420000,"timestamp_ms":1787712420000,"timestamp_seconds":1787712420,"priority":1,"record_length":96,"hex_timestamp":"000001a03bf6b8a0"} 
[2026-08-26 08:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:20: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-26 08:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:20: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-26 08:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654302464001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654302464001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:20:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:20:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654302464001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":163504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:20:16] local.INFO: GPS data processed {"connection_id":163504,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:20:16] local.INFO: Acknowledgment sent {"connection_id":163504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:20:38] local.INFO: TCP Data received {"connection_id":162261,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:20:38] local.INFO: Processing buffer {"connection_id":162261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:20:38] local.INFO: IMEI packet received {"connection_id":162261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":162261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:20:42] local.INFO: TCP Data received {"connection_id":162261,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:20:42] local.INFO: Processing buffer {"connection_id":162261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:20:42] local.INFO: IMEI packet received {"connection_id":162261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":162261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:20:43] local.INFO: TCP Data received {"connection_id":162261,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:20:43] local.INFO: Processing buffer {"connection_id":162261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:20:43] local.INFO: Packet analysis {"connection_id":162261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bf6"} 
[2026-08-26 08:20:43] local.INFO: Extracted packet for processing {"connection_id":162261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bf6"} 
[2026-08-26 08:20:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654302464001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:20: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-26 08:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787712420000,"timestamp_ms":1787712420000,"timestamp_seconds":1787712420,"priority":1,"record_length":96,"hex_timestamp":"000001a03bf6b8a0"} 
[2026-08-26 08:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:20: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-26 08:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:20: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-26 08:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654302464001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654302464001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:20:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:20:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654302464001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":162261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:20:43] local.INFO: GPS data processed {"connection_id":162261,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:20:43] local.INFO: Acknowledgment sent {"connection_id":162261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:21:15] local.INFO: TCP Data received {"connection_id":162261,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:21:15] local.INFO: Processing buffer {"connection_id":162261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:21:15] local.INFO: Packet analysis {"connection_id":162261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bf6"} 
[2026-08-26 08:21:15] local.INFO: Extracted packet for processing {"connection_id":162261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bf6"} 
[2026-08-26 08:21:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654302464001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:21: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-26 08:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787712420000,"timestamp_ms":1787712420000,"timestamp_seconds":1787712420,"priority":1,"record_length":96,"hex_timestamp":"000001a03bf6b8a0"} 
[2026-08-26 08: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-26 08:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:21: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-26 08: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-26 08: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-26 08:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654302464001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654302464001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:21:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:21:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654302464001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":162261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:21:15] local.INFO: GPS data processed {"connection_id":162261,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:21:15] local.INFO: Acknowledgment sent {"connection_id":162261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:21:37] local.INFO: TCP Data received {"connection_id":163505,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:21:37] local.INFO: Processing buffer {"connection_id":163505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:21:37] local.INFO: IMEI packet received {"connection_id":163505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":163505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:21:42] local.INFO: TCP Data received {"connection_id":163505,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:21:42] local.INFO: Processing buffer {"connection_id":163505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:21:42] local.INFO: IMEI packet received {"connection_id":163505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":163505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:21:43] local.INFO: TCP Data received {"connection_id":163505,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:21:43] local.INFO: Processing buffer {"connection_id":163505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:21:43] local.INFO: Packet analysis {"connection_id":163505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bf6"} 
[2026-08-26 08:21:43] local.INFO: Extracted packet for processing {"connection_id":163505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bf6"} 
[2026-08-26 08:21:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654302464001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:21: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-26 08:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787712420000,"timestamp_ms":1787712420000,"timestamp_seconds":1787712420,"priority":1,"record_length":96,"hex_timestamp":"000001a03bf6b8a0"} 
[2026-08-26 08:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:21: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-26 08:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:21: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-26 08:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654302464001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654302464001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:21:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:21:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654302464001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":163505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:21:43] local.INFO: GPS data processed {"connection_id":163505,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:21:43] local.INFO: Acknowledgment sent {"connection_id":163505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:22:15] local.INFO: TCP Data received {"connection_id":163505,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:22:15] local.INFO: Processing buffer {"connection_id":163505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bf6b8a0012d34c14006aa4818000900e628..."} 
[2026-08-26 08:22:15] local.INFO: Packet analysis {"connection_id":163505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bf6"} 
[2026-08-26 08:22:15] local.INFO: Extracted packet for processing {"connection_id":163505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bf6"} 
[2026-08-26 08:22:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654302464001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08: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-26 08:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787712420000,"timestamp_ms":1787712420000,"timestamp_seconds":1787712420,"priority":1,"record_length":96,"hex_timestamp":"000001a03bf6b8a0"} 
[2026-08-26 08: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-26 08: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-26 08: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-26 08: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-26 08: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-26 08: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-26 08:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654302464001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654302464001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:22:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:22:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654302464001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":163505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:22:15] local.INFO: GPS data processed {"connection_id":163505,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:22:15] local.INFO: Acknowledgment sent {"connection_id":163505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:22:37] local.INFO: TCP Data received {"connection_id":163506,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:22:37] local.INFO: Processing buffer {"connection_id":163506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:22:37] local.INFO: IMEI packet received {"connection_id":163506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":163506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:22:39] local.INFO: TCP Data received {"connection_id":163506,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:22:39] local.INFO: Processing buffer {"connection_id":163506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:22:39] local.INFO: IMEI packet received {"connection_id":163506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":163506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:22:43] local.INFO: TCP Data received {"connection_id":163506,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:22:43] local.INFO: Processing buffer {"connection_id":163506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:22:43] local.INFO: IMEI packet received {"connection_id":163506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":163506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:22:44] local.INFO: TCP Data received {"connection_id":163506,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:22:44] local.INFO: Processing buffer {"connection_id":163506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:22:44] local.INFO: Packet analysis {"connection_id":163506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bfb"} 
[2026-08-26 08:22:44] local.INFO: Extracted packet for processing {"connection_id":163506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bfb"} 
[2026-08-26 08:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654379520001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:22: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-26 08:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787712721000,"timestamp_ms":1787712721000,"timestamp_seconds":1787712721,"priority":1,"record_length":96,"hex_timestamp":"000001a03bfb5068"} 
[2026-08-26 08: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-26 08:22: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-26 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:22: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-26 08: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-26 08: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-26 08:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654379520001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654379520001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:22:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654379520001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":163506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:22:44] local.INFO: GPS data processed {"connection_id":163506,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:22:44] local.INFO: Acknowledgment sent {"connection_id":163506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:23:15] local.INFO: TCP Data received {"connection_id":163506,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:23:15] local.INFO: Processing buffer {"connection_id":163506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:23:15] local.INFO: Packet analysis {"connection_id":163506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bfb"} 
[2026-08-26 08:23:15] local.INFO: Extracted packet for processing {"connection_id":163506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bfb"} 
[2026-08-26 08:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654379520001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08: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-26 08:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787712721000,"timestamp_ms":1787712721000,"timestamp_seconds":1787712721,"priority":1,"record_length":96,"hex_timestamp":"000001a03bfb5068"} 
[2026-08-26 08: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-26 08:23: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-26 08: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:23: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-26 08: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-26 08: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-26 08:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654379520001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654379520001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654379520001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":163506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:23:15] local.INFO: GPS data processed {"connection_id":163506,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:23:15] local.INFO: Acknowledgment sent {"connection_id":163506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:23:43] local.INFO: TCP Data received {"connection_id":162262,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:23:43] local.INFO: Processing buffer {"connection_id":162262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:23:43] local.INFO: IMEI packet received {"connection_id":162262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":162262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:23:48] local.INFO: TCP Data received {"connection_id":162262,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:23:48] local.INFO: Processing buffer {"connection_id":162262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:23:48] local.INFO: IMEI packet received {"connection_id":162262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":162262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:23:49] local.INFO: TCP Data received {"connection_id":162262,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:23:49] local.INFO: Processing buffer {"connection_id":162262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:23:49] local.INFO: Packet analysis {"connection_id":162262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bfb"} 
[2026-08-26 08:23:49] local.INFO: Extracted packet for processing {"connection_id":162262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bfb"} 
[2026-08-26 08:23:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654379520001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:23: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-26 08:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787712721000,"timestamp_ms":1787712721000,"timestamp_seconds":1787712721,"priority":1,"record_length":96,"hex_timestamp":"000001a03bfb5068"} 
[2026-08-26 08:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 08:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:23: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-26 08:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654379520001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654379520001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:23:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:23:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654379520001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":162262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:23:49] local.INFO: GPS data processed {"connection_id":162262,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:23:49] local.INFO: Acknowledgment sent {"connection_id":162262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:23:53] local.INFO: TCP Data received {"connection_id":162262,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:23:53] local.INFO: Processing buffer {"connection_id":162262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:23:53] local.INFO: Packet analysis {"connection_id":162262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bfb"} 
[2026-08-26 08:23:53] local.INFO: Extracted packet for processing {"connection_id":162262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bfb"} 
[2026-08-26 08:23:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654379520001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 08:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787712721000,"timestamp_ms":1787712721000,"timestamp_seconds":1787712721,"priority":1,"record_length":96,"hex_timestamp":"000001a03bfb5068"} 
[2026-08-26 08: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-26 08:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 08: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-26 08: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-26 08:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654379520001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654379520001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:23:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:23:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654379520001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":162262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:23:53] local.INFO: GPS data processed {"connection_id":162262,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:23:53] local.INFO: Acknowledgment sent {"connection_id":162262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:24:38] local.INFO: TCP Data received {"connection_id":162488,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:24:38] local.INFO: Processing buffer {"connection_id":162488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:24:38] local.INFO: IMEI packet received {"connection_id":162488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":162488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:24:42] local.INFO: TCP Data received {"connection_id":162488,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:24:42] local.INFO: Processing buffer {"connection_id":162488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:24:42] local.INFO: IMEI packet received {"connection_id":162488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":162488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:24:44] local.INFO: TCP Data received {"connection_id":162488,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:24:44] local.INFO: Processing buffer {"connection_id":162488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:24:44] local.INFO: Packet analysis {"connection_id":162488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bfb"} 
[2026-08-26 08:24:44] local.INFO: Extracted packet for processing {"connection_id":162488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bfb"} 
[2026-08-26 08:24:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654379520001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:24: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-26 08:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787712721000,"timestamp_ms":1787712721000,"timestamp_seconds":1787712721,"priority":1,"record_length":96,"hex_timestamp":"000001a03bfb5068"} 
[2026-08-26 08: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-26 08:24: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-26 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:24: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-26 08: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-26 08: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-26 08:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654379520001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654379520001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:24:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:24:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654379520001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":162488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:24:44] local.INFO: GPS data processed {"connection_id":162488,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:24:44] local.INFO: Acknowledgment sent {"connection_id":162488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:25:15] local.INFO: TCP Data received {"connection_id":162488,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:25:15] local.INFO: Processing buffer {"connection_id":162488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:25:15] local.INFO: Packet analysis {"connection_id":162488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bfb"} 
[2026-08-26 08:25:15] local.INFO: Extracted packet for processing {"connection_id":162488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bfb"} 
[2026-08-26 08:25:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654379520001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:25: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-26 08:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787712721000,"timestamp_ms":1787712721000,"timestamp_seconds":1787712721,"priority":1,"record_length":96,"hex_timestamp":"000001a03bfb5068"} 
[2026-08-26 08: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-26 08: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-26 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:25: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-26 08: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-26 08: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-26 08:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654379520001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654379520001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:25:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:25:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654379520001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":162488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:25:15] local.INFO: GPS data processed {"connection_id":162488,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:25:15] local.INFO: Acknowledgment sent {"connection_id":162488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:25:37] local.INFO: TCP Data received {"connection_id":162263,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:25:37] local.INFO: Processing buffer {"connection_id":162263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:25:37] local.INFO: IMEI packet received {"connection_id":162263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":162263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:25:43] local.INFO: TCP Data received {"connection_id":162263,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:25:43] local.INFO: Processing buffer {"connection_id":162263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:25:43] local.INFO: IMEI packet received {"connection_id":162263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":162263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:25:44] local.INFO: TCP Data received {"connection_id":162263,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:25:44] local.INFO: Processing buffer {"connection_id":162263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:25:44] local.INFO: Packet analysis {"connection_id":162263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bfb"} 
[2026-08-26 08:25:44] local.INFO: Extracted packet for processing {"connection_id":162263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bfb"} 
[2026-08-26 08:25:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654379520001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08: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-26 08:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787712721000,"timestamp_ms":1787712721000,"timestamp_seconds":1787712721,"priority":1,"record_length":96,"hex_timestamp":"000001a03bfb5068"} 
[2026-08-26 08: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-26 08:25: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-26 08: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-26 08: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-26 08: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-26 08: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-26 08:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654379520001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654379520001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:25:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:25:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654379520001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":162263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:25:44] local.INFO: GPS data processed {"connection_id":162263,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:25:44] local.INFO: Acknowledgment sent {"connection_id":162263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:26:16] local.INFO: TCP Data received {"connection_id":162263,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:26:16] local.INFO: Processing buffer {"connection_id":162263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:26:16] local.INFO: Packet analysis {"connection_id":162263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bfb"} 
[2026-08-26 08:26:16] local.INFO: Extracted packet for processing {"connection_id":162263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bfb"} 
[2026-08-26 08:26:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654379520001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08: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-26 08:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787712721000,"timestamp_ms":1787712721000,"timestamp_seconds":1787712721,"priority":1,"record_length":96,"hex_timestamp":"000001a03bfb5068"} 
[2026-08-26 08:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:26: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-26 08:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:26: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-26 08:26:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654379520001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654379520001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:26:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:26:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654379520001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":162263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:26:16] local.INFO: GPS data processed {"connection_id":162263,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:26:16] local.INFO: Acknowledgment sent {"connection_id":162263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:26:37] local.INFO: TCP Data received {"connection_id":163507,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:26:37] local.INFO: Processing buffer {"connection_id":163507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:26:37] local.INFO: IMEI packet received {"connection_id":163507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":163507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:26:45] local.INFO: TCP Data received {"connection_id":163507,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:26:45] local.INFO: Processing buffer {"connection_id":163507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:26:45] local.INFO: IMEI packet received {"connection_id":163507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":163507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:26:46] local.INFO: TCP Data received {"connection_id":163507,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:26:46] local.INFO: Processing buffer {"connection_id":163507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:26:46] local.INFO: Packet analysis {"connection_id":163507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bfb"} 
[2026-08-26 08:26:46] local.INFO: Extracted packet for processing {"connection_id":163507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bfb"} 
[2026-08-26 08:26:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654379520001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 08:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787712721000,"timestamp_ms":1787712721000,"timestamp_seconds":1787712721,"priority":1,"record_length":96,"hex_timestamp":"000001a03bfb5068"} 
[2026-08-26 08: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-26 08:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 08: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-26 08: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-26 08:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654379520001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654379520001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:26:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:26:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654379520001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":163507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:26:46] local.INFO: GPS data processed {"connection_id":163507,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:26:46] local.INFO: Acknowledgment sent {"connection_id":163507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:27:17] local.INFO: TCP Data received {"connection_id":163507,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:27:17] local.INFO: Processing buffer {"connection_id":163507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bfb5068012d34c14006aa4818000d00e625..."} 
[2026-08-26 08:27:17] local.INFO: Packet analysis {"connection_id":163507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bfb"} 
[2026-08-26 08:27:17] local.INFO: Extracted packet for processing {"connection_id":163507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bfb"} 
[2026-08-26 08:27:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654379520001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:27: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-26 08:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787712721000,"timestamp_ms":1787712721000,"timestamp_seconds":1787712721,"priority":1,"record_length":96,"hex_timestamp":"000001a03bfb5068"} 
[2026-08-26 08: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-26 08:27: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-26 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 08:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 08: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-26 08: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-26 08:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654379520001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654379520001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:27:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:27:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654379520001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":163507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:27:17] local.INFO: GPS data processed {"connection_id":163507,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:27:17] local.INFO: Acknowledgment sent {"connection_id":163507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:27:37] local.INFO: TCP Data received {"connection_id":164862,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:27:37] local.INFO: Processing buffer {"connection_id":164862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:27:37] local.INFO: IMEI packet received {"connection_id":164862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":164862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:27:40] local.INFO: TCP Data received {"connection_id":164862,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:27:40] local.INFO: Processing buffer {"connection_id":164862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:27:40] local.INFO: IMEI packet received {"connection_id":164862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":164862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:27:42] local.INFO: TCP Data received {"connection_id":164862,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:27:42] local.INFO: Processing buffer {"connection_id":164862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:27:42] local.INFO: IMEI packet received {"connection_id":164862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":164862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:27:43] local.INFO: TCP Data received {"connection_id":164862,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03bffe830012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bffe830012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:27:43] local.INFO: Processing buffer {"connection_id":164862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bffe830012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:27:43] local.INFO: Packet analysis {"connection_id":164862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bff"} 
[2026-08-26 08:27:43] local.INFO: Extracted packet for processing {"connection_id":164862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bff"} 
[2026-08-26 08:27:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654456576001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:27: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-26 08:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787713022000,"timestamp_ms":1787713022000,"timestamp_seconds":1787713022,"priority":1,"record_length":96,"hex_timestamp":"000001a03bffe830"} 
[2026-08-26 08: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-26 08:27: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-26 08: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 08:27: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-26 08:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08: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-26 08:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654456576001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654456576001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:27:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:27:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654456576001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":164862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:27:43] local.INFO: GPS data processed {"connection_id":164862,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:27:43] local.INFO: Acknowledgment sent {"connection_id":164862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:28:45] local.INFO: TCP Data received {"connection_id":164862,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03bffe830012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bffe830012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:28:45] local.INFO: Processing buffer {"connection_id":164862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bffe830012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:28:45] local.INFO: Packet analysis {"connection_id":164862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bff"} 
[2026-08-26 08:28:45] local.INFO: Extracted packet for processing {"connection_id":164862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bff"} 
[2026-08-26 08:28:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:28: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-26 08:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654456576001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:28: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-26 08:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787713022000,"timestamp_ms":1787713022000,"timestamp_seconds":1787713022,"priority":1,"record_length":96,"hex_timestamp":"000001a03bffe830"} 
[2026-08-26 08:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:28: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-26 08:28: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-26 08:28: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-26 08:28: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-26 08:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654456576001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654456576001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:28:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:28:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654456576001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":164862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:28:45] local.INFO: GPS data processed {"connection_id":164862,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:28:45] local.INFO: Acknowledgment sent {"connection_id":164862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:29:03] local.INFO: TCP Data received {"connection_id":164863,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:29:03] local.INFO: Processing buffer {"connection_id":164863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:29:03] local.INFO: IMEI packet received {"connection_id":164863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":164863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:29:08] local.INFO: TCP Data received {"connection_id":164863,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:29:08] local.INFO: Processing buffer {"connection_id":164863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:29:08] local.INFO: IMEI packet received {"connection_id":164863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":164863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:29:11] local.INFO: TCP Data received {"connection_id":164863,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03bffe830012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bffe830012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:29:11] local.INFO: Processing buffer {"connection_id":164863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bffe830012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:29:11] local.INFO: Packet analysis {"connection_id":164863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bff"} 
[2026-08-26 08:29:11] local.INFO: Extracted packet for processing {"connection_id":164863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bff"} 
[2026-08-26 08:29:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 08:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654456576001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 08:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787713022000,"timestamp_ms":1787713022000,"timestamp_seconds":1787713022,"priority":1,"record_length":96,"hex_timestamp":"000001a03bffe830"} 
[2026-08-26 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-26 08:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 08:29: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-26 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-26 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-26 08:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654456576001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654456576001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:29:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:29:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654456576001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":164863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:29:11] local.INFO: GPS data processed {"connection_id":164863,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:29:11] local.INFO: Acknowledgment sent {"connection_id":164863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:29:25] local.INFO: TCP Data received {"connection_id":164863,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03bffe830012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03bffe830012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:29:25] local.INFO: Processing buffer {"connection_id":164863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03bffe830012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:29:25] local.INFO: Packet analysis {"connection_id":164863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03bff"} 
[2026-08-26 08:29:25] local.INFO: Extracted packet for processing {"connection_id":164863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03bff"} 
[2026-08-26 08:29:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654456576001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:29: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-26 08:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787713022000,"timestamp_ms":1787713022000,"timestamp_seconds":1787713022,"priority":1,"record_length":96,"hex_timestamp":"000001a03bffe830"} 
[2026-08-26 08: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-26 08:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 08: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 08:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 08: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-26 08: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-26 08:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654456576001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654456576001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:29:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:29:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654456576001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":164863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:29:25] local.INFO: GPS data processed {"connection_id":164863,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:29:25] local.INFO: Acknowledgment sent {"connection_id":164863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:29:42] local.INFO: TCP Data received {"connection_id":162489,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:29:42] local.INFO: Processing buffer {"connection_id":162489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:29:42] local.INFO: IMEI packet received {"connection_id":162489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":162489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:31:16] local.INFO: TCP Data received {"connection_id":162489,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:31:16] local.INFO: Processing buffer {"connection_id":162489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:31:16] local.INFO: IMEI packet received {"connection_id":162489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":162489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:31:24] local.INFO: TCP Data received {"connection_id":162489,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:31:24] local.INFO: Processing buffer {"connection_id":162489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:31:24] local.INFO: IMEI packet received {"connection_id":162489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":162489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:31:32] local.INFO: TCP Data received {"connection_id":162490,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:31:32] local.INFO: Processing buffer {"connection_id":162490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:31:32] local.INFO: IMEI packet received {"connection_id":162490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":162490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:36:42] local.INFO: TCP Data received {"connection_id":164865,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:36:42] local.INFO: Processing buffer {"connection_id":164865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:36:42] local.INFO: IMEI packet received {"connection_id":164865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":164865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:36:48] local.INFO: TCP Data received {"connection_id":164865,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:36:48] local.INFO: Processing buffer {"connection_id":164865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:36:48] local.INFO: IMEI packet received {"connection_id":164865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":164865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:36:51] local.INFO: TCP Data received {"connection_id":164865,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c047ff8012d34c14006aa4818000400e628..."} 
[2026-08-26 08:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c047ff8012d34c14006aa4818000400e628..."} 
[2026-08-26 08:36:51] local.INFO: Processing buffer {"connection_id":164865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c047ff8012d34c14006aa4818000400e628..."} 
[2026-08-26 08:36:51] local.INFO: Packet analysis {"connection_id":164865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c04"} 
[2026-08-26 08:36:51] local.INFO: Extracted packet for processing {"connection_id":164865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c04"} 
[2026-08-26 08:36:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:36: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-26 08:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654533632001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 08:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787713323000,"timestamp_ms":1787713323000,"timestamp_seconds":1787713323,"priority":1,"record_length":96,"hex_timestamp":"000001a03c047ff8"} 
[2026-08-26 08:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 08:36: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 08:36: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-26 08:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654533632001,"66":25397,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 08:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654533632001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:36:51] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 08:36:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654533632001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":164865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:36:51] local.INFO: GPS data processed {"connection_id":164865,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:36:51] local.INFO: Acknowledgment sent {"connection_id":164865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:37:22] local.INFO: TCP Data received {"connection_id":164865,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c047ff8012d34c14006aa4818000400e628..."} 
[2026-08-26 08:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c047ff8012d34c14006aa4818000400e628..."} 
[2026-08-26 08:37:22] local.INFO: Processing buffer {"connection_id":164865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c047ff8012d34c14006aa4818000400e628..."} 
[2026-08-26 08:37:22] local.INFO: Packet analysis {"connection_id":164865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c04"} 
[2026-08-26 08:37:22] local.INFO: Extracted packet for processing {"connection_id":164865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c04"} 
[2026-08-26 08:37:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:37: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-26 08:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654533632001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 08:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787713323000,"timestamp_ms":1787713323000,"timestamp_seconds":1787713323,"priority":1,"record_length":96,"hex_timestamp":"000001a03c047ff8"} 
[2026-08-26 08:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:37: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-26 08:37: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 08:37: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-26 08:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654533632001,"66":25397,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 08:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654533632001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:37:22] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 08:37:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654533632001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":164865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:37:22] local.INFO: GPS data processed {"connection_id":164865,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:37:22] local.INFO: Acknowledgment sent {"connection_id":164865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:37:37] local.INFO: TCP Data received {"connection_id":162491,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:37:37] local.INFO: Processing buffer {"connection_id":162491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:37:37] local.INFO: IMEI packet received {"connection_id":162491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":162491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:37:42] local.INFO: TCP Data received {"connection_id":162491,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:37:42] local.INFO: Processing buffer {"connection_id":162491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:37:42] local.INFO: IMEI packet received {"connection_id":162491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":162491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:37:43] local.INFO: TCP Data received {"connection_id":162491,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:37:43] local.INFO: Processing buffer {"connection_id":162491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:37:43] local.INFO: Packet analysis {"connection_id":162491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c09"} 
[2026-08-26 08:37:43] local.INFO: Extracted packet for processing {"connection_id":162491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c09"} 
[2026-08-26 08:37:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654610688001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:37: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-26 08:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787713624000,"timestamp_ms":1787713624000,"timestamp_seconds":1787713624,"priority":1,"record_length":96,"hex_timestamp":"000001a03c0917c0"} 
[2026-08-26 08: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-26 08:37: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-26 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:37: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-26 08: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-26 08: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-26 08:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654610688001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654610688001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:37:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:37:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654610688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":162491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:37:43] local.INFO: GPS data processed {"connection_id":162491,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:37:43] local.INFO: Acknowledgment sent {"connection_id":162491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:38:15] local.INFO: TCP Data received {"connection_id":162491,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:38:15] local.INFO: Processing buffer {"connection_id":162491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:38:15] local.INFO: Packet analysis {"connection_id":162491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c09"} 
[2026-08-26 08:38:15] local.INFO: Extracted packet for processing {"connection_id":162491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c09"} 
[2026-08-26 08:38:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654610688001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:38: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-26 08:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787713624000,"timestamp_ms":1787713624000,"timestamp_seconds":1787713624,"priority":1,"record_length":96,"hex_timestamp":"000001a03c0917c0"} 
[2026-08-26 08:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:38: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-26 08:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:38: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-26 08:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654610688001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654610688001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:38:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:38:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654610688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":162491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:38:15] local.INFO: GPS data processed {"connection_id":162491,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:38:15] local.INFO: Acknowledgment sent {"connection_id":162491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:38:37] local.INFO: TCP Data received {"connection_id":163510,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:38:37] local.INFO: Processing buffer {"connection_id":163510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:38:37] local.INFO: IMEI packet received {"connection_id":163510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":163510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:38:42] local.INFO: TCP Data received {"connection_id":163510,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:38:42] local.INFO: Processing buffer {"connection_id":163510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:38:42] local.INFO: IMEI packet received {"connection_id":163510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":163510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:38:43] local.INFO: TCP Data received {"connection_id":163510,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:38:43] local.INFO: Processing buffer {"connection_id":163510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:38:43] local.INFO: Packet analysis {"connection_id":163510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c09"} 
[2026-08-26 08:38:43] local.INFO: Extracted packet for processing {"connection_id":163510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c09"} 
[2026-08-26 08:38:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654610688001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08: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-26 08:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787713624000,"timestamp_ms":1787713624000,"timestamp_seconds":1787713624,"priority":1,"record_length":96,"hex_timestamp":"000001a03c0917c0"} 
[2026-08-26 08: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-26 08:38: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-26 08: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-26 08: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-26 08: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-26 08: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-26 08:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654610688001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654610688001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:38:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:38:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654610688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":163510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:38:43] local.INFO: GPS data processed {"connection_id":163510,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:38:43] local.INFO: Acknowledgment sent {"connection_id":163510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:39:14] local.INFO: TCP Data received {"connection_id":163510,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:39:14] local.INFO: Processing buffer {"connection_id":163510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:39:14] local.INFO: Packet analysis {"connection_id":163510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c09"} 
[2026-08-26 08:39:14] local.INFO: Extracted packet for processing {"connection_id":163510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c09"} 
[2026-08-26 08:39:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654610688001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:39: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-26 08:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787713624000,"timestamp_ms":1787713624000,"timestamp_seconds":1787713624,"priority":1,"record_length":96,"hex_timestamp":"000001a03c0917c0"} 
[2026-08-26 08: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-26 08:39: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-26 08: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:39: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-26 08: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-26 08: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-26 08:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654610688001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654610688001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:39:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:39:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654610688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":163510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:39:15] local.INFO: GPS data processed {"connection_id":163510,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:39:15] local.INFO: Acknowledgment sent {"connection_id":163510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:39:37] local.INFO: TCP Data received {"connection_id":164867,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:39:37] local.INFO: Processing buffer {"connection_id":164867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:39:37] local.INFO: IMEI packet received {"connection_id":164867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":164867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:39:42] local.INFO: TCP Data received {"connection_id":164867,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:39:42] local.INFO: Processing buffer {"connection_id":164867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:39:42] local.INFO: IMEI packet received {"connection_id":164867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":164867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:39:43] local.INFO: TCP Data received {"connection_id":164867,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:39:43] local.INFO: Processing buffer {"connection_id":164867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:39:43] local.INFO: Packet analysis {"connection_id":164867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c09"} 
[2026-08-26 08:39:43] local.INFO: Extracted packet for processing {"connection_id":164867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c09"} 
[2026-08-26 08:39:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654610688001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:39: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-26 08:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787713624000,"timestamp_ms":1787713624000,"timestamp_seconds":1787713624,"priority":1,"record_length":96,"hex_timestamp":"000001a03c0917c0"} 
[2026-08-26 08: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-26 08:39: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-26 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:39: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-26 08: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-26 08: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-26 08:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654610688001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654610688001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:39:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:39:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654610688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":164867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:39:43] local.INFO: GPS data processed {"connection_id":164867,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:39:43] local.INFO: Acknowledgment sent {"connection_id":164867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:40:15] local.INFO: TCP Data received {"connection_id":164867,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:40:15] local.INFO: Processing buffer {"connection_id":164867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:40:15] local.INFO: Packet analysis {"connection_id":164867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c09"} 
[2026-08-26 08:40:15] local.INFO: Extracted packet for processing {"connection_id":164867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c09"} 
[2026-08-26 08:40:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654610688001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08: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-26 08:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787713624000,"timestamp_ms":1787713624000,"timestamp_seconds":1787713624,"priority":1,"record_length":96,"hex_timestamp":"000001a03c0917c0"} 
[2026-08-26 08: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-26 08:40: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-26 08: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-26 08: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-26 08: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-26 08: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-26 08:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654610688001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654610688001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:40:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:40:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654610688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":164867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:40:15] local.INFO: GPS data processed {"connection_id":164867,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:40:15] local.INFO: Acknowledgment sent {"connection_id":164867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:40:37] local.INFO: TCP Data received {"connection_id":163511,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:40:37] local.INFO: Processing buffer {"connection_id":163511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:40:37] local.INFO: IMEI packet received {"connection_id":163511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":163511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:40:43] local.INFO: TCP Data received {"connection_id":163511,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:40:43] local.INFO: Processing buffer {"connection_id":163511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:40:43] local.INFO: IMEI packet received {"connection_id":163511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":163511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:40:44] local.INFO: TCP Data received {"connection_id":163511,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:40:44] local.INFO: Processing buffer {"connection_id":163511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:40:44] local.INFO: Packet analysis {"connection_id":163511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c09"} 
[2026-08-26 08:40:44] local.INFO: Extracted packet for processing {"connection_id":163511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c09"} 
[2026-08-26 08:40:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654610688001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:40: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-26 08:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787713624000,"timestamp_ms":1787713624000,"timestamp_seconds":1787713624,"priority":1,"record_length":96,"hex_timestamp":"000001a03c0917c0"} 
[2026-08-26 08: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-26 08:40: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-26 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:40: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-26 08:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08: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-26 08:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654610688001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654610688001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:40:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:40:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654610688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":163511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:40:44] local.INFO: GPS data processed {"connection_id":163511,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:40:44] local.INFO: Acknowledgment sent {"connection_id":163511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:41:15] local.INFO: TCP Data received {"connection_id":163511,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:41:15] local.INFO: Processing buffer {"connection_id":163511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:41:15] local.INFO: Packet analysis {"connection_id":163511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c09"} 
[2026-08-26 08:41:15] local.INFO: Extracted packet for processing {"connection_id":163511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c09"} 
[2026-08-26 08:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654610688001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:41: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-26 08:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787713624000,"timestamp_ms":1787713624000,"timestamp_seconds":1787713624,"priority":1,"record_length":96,"hex_timestamp":"000001a03c0917c0"} 
[2026-08-26 08: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-26 08:41: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-26 08: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:41: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-26 08: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-26 08: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-26 08:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654610688001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654610688001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:41:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654610688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":163511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:41:15] local.INFO: GPS data processed {"connection_id":163511,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:41:15] local.INFO: Acknowledgment sent {"connection_id":163511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:41:42] local.INFO: TCP Data received {"connection_id":164868,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:41:42] local.INFO: Processing buffer {"connection_id":164868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:41:42] local.INFO: IMEI packet received {"connection_id":164868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":164868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:41:47] local.INFO: TCP Data received {"connection_id":164868,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:41:47] local.INFO: Processing buffer {"connection_id":164868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:41:47] local.INFO: IMEI packet received {"connection_id":164868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":164868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:41:48] local.INFO: TCP Data received {"connection_id":164868,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:41:48] local.INFO: Processing buffer {"connection_id":164868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:41:48] local.INFO: Packet analysis {"connection_id":164868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c09"} 
[2026-08-26 08:41:48] local.INFO: Extracted packet for processing {"connection_id":164868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c09"} 
[2026-08-26 08:41:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654610688001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 08:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787713624000,"timestamp_ms":1787713624000,"timestamp_seconds":1787713624,"priority":1,"record_length":96,"hex_timestamp":"000001a03c0917c0"} 
[2026-08-26 08: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-26 08:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 08: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-26 08: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-26 08:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654610688001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654610688001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:41:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:41:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654610688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":164868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:41:48] local.INFO: GPS data processed {"connection_id":164868,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:41:48] local.INFO: Acknowledgment sent {"connection_id":164868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:42:20] local.INFO: TCP Data received {"connection_id":164868,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:42:20] local.INFO: Processing buffer {"connection_id":164868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:42:20] local.INFO: Packet analysis {"connection_id":164868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c09"} 
[2026-08-26 08:42:20] local.INFO: Extracted packet for processing {"connection_id":164868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c09"} 
[2026-08-26 08:42:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 08:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654610688001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:42: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-26 08:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787713624000,"timestamp_ms":1787713624000,"timestamp_seconds":1787713624,"priority":1,"record_length":96,"hex_timestamp":"000001a03c0917c0"} 
[2026-08-26 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-26 08:42: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-26 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 08:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654610688001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654610688001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:42:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:42:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654610688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":164868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:42:20] local.INFO: GPS data processed {"connection_id":164868,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:42:20] local.INFO: Acknowledgment sent {"connection_id":164868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:42:38] local.INFO: TCP Data received {"connection_id":163512,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:42:38] local.INFO: Processing buffer {"connection_id":163512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:42:38] local.INFO: IMEI packet received {"connection_id":163512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":163512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:42:42] local.INFO: TCP Data received {"connection_id":163512,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:42:42] local.INFO: Processing buffer {"connection_id":163512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:42:42] local.INFO: IMEI packet received {"connection_id":163512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":163512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:42:43] local.INFO: TCP Data received {"connection_id":163512,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:42:43] local.INFO: Processing buffer {"connection_id":163512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c0917c0012d34c14006aa4818000a00e626..."} 
[2026-08-26 08:42:43] local.INFO: Packet analysis {"connection_id":163512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c09"} 
[2026-08-26 08:42:43] local.INFO: Extracted packet for processing {"connection_id":163512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c09"} 
[2026-08-26 08:42:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654610688001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08: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-26 08:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787713624000,"timestamp_ms":1787713624000,"timestamp_seconds":1787713624,"priority":1,"record_length":96,"hex_timestamp":"000001a03c0917c0"} 
[2026-08-26 08: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-26 08:42: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-26 08: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-26 08: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-26 08: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-26 08: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-26 08:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654610688001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654610688001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:42:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:42:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654610688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":163512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:42:43] local.INFO: GPS data processed {"connection_id":163512,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:42:43] local.INFO: Acknowledgment sent {"connection_id":163512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:43:15] local.INFO: TCP Data received {"connection_id":163512,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:43:15] local.INFO: Processing buffer {"connection_id":163512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:43:15] local.INFO: Packet analysis {"connection_id":163512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c0d"} 
[2026-08-26 08:43:15] local.INFO: Extracted packet for processing {"connection_id":163512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c0d"} 
[2026-08-26 08:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654687744001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:43: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-26 08:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787713925000,"timestamp_ms":1787713925000,"timestamp_seconds":1787713925,"priority":1,"record_length":96,"hex_timestamp":"000001a03c0daf88"} 
[2026-08-26 08:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:43: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-26 08:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 08:43: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-26 08:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654687744001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654687744001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:43:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654687744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":163512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:43:15] local.INFO: GPS data processed {"connection_id":163512,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:43:15] local.INFO: Acknowledgment sent {"connection_id":163512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:43:37] local.INFO: TCP Data received {"connection_id":164869,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:43:37] local.INFO: Processing buffer {"connection_id":164869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:43:37] local.INFO: IMEI packet received {"connection_id":164869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":164869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:43:42] local.INFO: TCP Data received {"connection_id":164869,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:43:42] local.INFO: Processing buffer {"connection_id":164869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:43:42] local.INFO: IMEI packet received {"connection_id":164869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":164869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:43:43] local.INFO: TCP Data received {"connection_id":164869,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:43:43] local.INFO: Processing buffer {"connection_id":164869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:43:43] local.INFO: Packet analysis {"connection_id":164869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c0d"} 
[2026-08-26 08:43:43] local.INFO: Extracted packet for processing {"connection_id":164869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c0d"} 
[2026-08-26 08:43:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654687744001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:43: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-26 08:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787713925000,"timestamp_ms":1787713925000,"timestamp_seconds":1787713925,"priority":1,"record_length":96,"hex_timestamp":"000001a03c0daf88"} 
[2026-08-26 08:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:43: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-26 08:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 08:43:43] 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-26 08:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654687744001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654687744001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:43:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:43:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654687744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":164869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:43:43] local.INFO: GPS data processed {"connection_id":164869,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:43:43] local.INFO: Acknowledgment sent {"connection_id":164869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:44:14] local.INFO: TCP Data received {"connection_id":164869,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:44:14] local.INFO: Processing buffer {"connection_id":164869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:44:14] local.INFO: Packet analysis {"connection_id":164869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c0d"} 
[2026-08-26 08:44:14] local.INFO: Extracted packet for processing {"connection_id":164869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c0d"} 
[2026-08-26 08:44:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654687744001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:44: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-26 08:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787713925000,"timestamp_ms":1787713925000,"timestamp_seconds":1787713925,"priority":1,"record_length":96,"hex_timestamp":"000001a03c0daf88"} 
[2026-08-26 08: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-26 08:44: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-26 08: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 08:44: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-26 08: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-26 08: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-26 08:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654687744001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654687744001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:44:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:44:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654687744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":164869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:44:14] local.INFO: GPS data processed {"connection_id":164869,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:44:14] local.INFO: Acknowledgment sent {"connection_id":164869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:44:37] local.INFO: TCP Data received {"connection_id":163513,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:44:37] local.INFO: Processing buffer {"connection_id":163513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:44:37] local.INFO: IMEI packet received {"connection_id":163513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":163513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:44:42] local.INFO: TCP Data received {"connection_id":163513,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:44:42] local.INFO: Processing buffer {"connection_id":163513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:44:42] local.INFO: IMEI packet received {"connection_id":163513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":163513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:44:43] local.INFO: TCP Data received {"connection_id":163513,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:44:43] local.INFO: Processing buffer {"connection_id":163513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:44:43] local.INFO: Packet analysis {"connection_id":163513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c0d"} 
[2026-08-26 08:44:43] local.INFO: Extracted packet for processing {"connection_id":163513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c0d"} 
[2026-08-26 08:44:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654687744001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:44: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-26 08:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787713925000,"timestamp_ms":1787713925000,"timestamp_seconds":1787713925,"priority":1,"record_length":96,"hex_timestamp":"000001a03c0daf88"} 
[2026-08-26 08:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 08:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 08:44:43] 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-26 08:44:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654687744001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654687744001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:44:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:44:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654687744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":163513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:44:43] local.INFO: GPS data processed {"connection_id":163513,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:44:43] local.INFO: Acknowledgment sent {"connection_id":163513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:45:15] local.INFO: TCP Data received {"connection_id":163513,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:45:15] local.INFO: Processing buffer {"connection_id":163513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:45:15] local.INFO: Packet analysis {"connection_id":163513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c0d"} 
[2026-08-26 08:45:15] local.INFO: Extracted packet for processing {"connection_id":163513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c0d"} 
[2026-08-26 08:45:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654687744001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:45: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-26 08:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787713925000,"timestamp_ms":1787713925000,"timestamp_seconds":1787713925,"priority":1,"record_length":96,"hex_timestamp":"000001a03c0daf88"} 
[2026-08-26 08:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 08:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 08:45: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-26 08:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654687744001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654687744001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:45:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:45:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654687744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":163513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:45:15] local.INFO: GPS data processed {"connection_id":163513,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:45:15] local.INFO: Acknowledgment sent {"connection_id":163513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:45:42] local.INFO: TCP Data received {"connection_id":163514,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:45:42] local.INFO: Processing buffer {"connection_id":163514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:45:42] local.INFO: IMEI packet received {"connection_id":163514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":163514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:45:47] local.INFO: TCP Data received {"connection_id":163514,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:45:47] local.INFO: Processing buffer {"connection_id":163514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:45:47] local.INFO: IMEI packet received {"connection_id":163514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":163514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:45:48] local.INFO: TCP Data received {"connection_id":163514,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:45:48] local.INFO: Processing buffer {"connection_id":163514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:45:48] local.INFO: Packet analysis {"connection_id":163514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c0d"} 
[2026-08-26 08:45:48] local.INFO: Extracted packet for processing {"connection_id":163514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c0d"} 
[2026-08-26 08:45:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654687744001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 08:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787713925000,"timestamp_ms":1787713925000,"timestamp_seconds":1787713925,"priority":1,"record_length":96,"hex_timestamp":"000001a03c0daf88"} 
[2026-08-26 08: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-26 08:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 08: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 08:45:48] 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-26 08: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-26 08: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-26 08:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654687744001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654687744001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:45:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:45:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654687744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":163514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:45:48] local.INFO: GPS data processed {"connection_id":163514,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:45:48] local.INFO: Acknowledgment sent {"connection_id":163514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:45:53] local.INFO: TCP Data received {"connection_id":163514,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:45:53] local.INFO: Processing buffer {"connection_id":163514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:45:53] local.INFO: Packet analysis {"connection_id":163514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c0d"} 
[2026-08-26 08:45:53] local.INFO: Extracted packet for processing {"connection_id":163514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c0d"} 
[2026-08-26 08:45:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654687744001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 08:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787713925000,"timestamp_ms":1787713925000,"timestamp_seconds":1787713925,"priority":1,"record_length":96,"hex_timestamp":"000001a03c0daf88"} 
[2026-08-26 08:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 08:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 08:45:53] 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-26 08:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654687744001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654687744001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:45:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:45:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654687744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":163514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:45:53] local.INFO: GPS data processed {"connection_id":163514,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:45:53] local.INFO: Acknowledgment sent {"connection_id":163514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:46:37] local.INFO: TCP Data received {"connection_id":163515,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:46:37] local.INFO: Processing buffer {"connection_id":163515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:46:37] local.INFO: IMEI packet received {"connection_id":163515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":163515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:46:42] local.INFO: TCP Data received {"connection_id":163515,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:46:42] local.INFO: Processing buffer {"connection_id":163515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:46:42] local.INFO: IMEI packet received {"connection_id":163515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":163515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:46:44] local.INFO: TCP Data received {"connection_id":163515,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:46:44] local.INFO: Processing buffer {"connection_id":163515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:46:44] local.INFO: Packet analysis {"connection_id":163515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c0d"} 
[2026-08-26 08:46:44] local.INFO: Extracted packet for processing {"connection_id":163515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c0d"} 
[2026-08-26 08:46:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654687744001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:46: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-26 08:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787713925000,"timestamp_ms":1787713925000,"timestamp_seconds":1787713925,"priority":1,"record_length":96,"hex_timestamp":"000001a03c0daf88"} 
[2026-08-26 08: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-26 08:46: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-26 08: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 08:46: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-26 08: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-26 08: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-26 08:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654687744001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654687744001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:46:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:46:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654687744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":163515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:46:44] local.INFO: GPS data processed {"connection_id":163515,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:46:44] local.INFO: Acknowledgment sent {"connection_id":163515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:47:15] local.INFO: TCP Data received {"connection_id":163515,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:47:15] local.INFO: Processing buffer {"connection_id":163515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:47:15] local.INFO: Packet analysis {"connection_id":163515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c0d"} 
[2026-08-26 08:47:15] local.INFO: Extracted packet for processing {"connection_id":163515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c0d"} 
[2026-08-26 08:47:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654687744001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08: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-26 08:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787713925000,"timestamp_ms":1787713925000,"timestamp_seconds":1787713925,"priority":1,"record_length":96,"hex_timestamp":"000001a03c0daf88"} 
[2026-08-26 08: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-26 08: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-26 08: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 08:47: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-26 08: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-26 08: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-26 08:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654687744001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654687744001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:47:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:47:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654687744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":163515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:47:15] local.INFO: GPS data processed {"connection_id":163515,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:47:15] local.INFO: Acknowledgment sent {"connection_id":163515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:47:37] local.INFO: TCP Data received {"connection_id":162267,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:47:37] local.INFO: Processing buffer {"connection_id":162267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:47:37] local.INFO: IMEI packet received {"connection_id":162267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":162267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:47:42] local.INFO: TCP Data received {"connection_id":162267,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:47:42] local.INFO: Processing buffer {"connection_id":162267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:47:42] local.INFO: IMEI packet received {"connection_id":162267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":162267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:47:43] local.INFO: TCP Data received {"connection_id":162267,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:47:43] local.INFO: Processing buffer {"connection_id":162267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c0daf88012d34c14006aa4818000600e626..."} 
[2026-08-26 08:47:43] local.INFO: Packet analysis {"connection_id":162267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c0d"} 
[2026-08-26 08:47:43] local.INFO: Extracted packet for processing {"connection_id":162267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c0d"} 
[2026-08-26 08:47:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654687744001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:47: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-26 08:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787713925000,"timestamp_ms":1787713925000,"timestamp_seconds":1787713925,"priority":1,"record_length":96,"hex_timestamp":"000001a03c0daf88"} 
[2026-08-26 08: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-26 08:47: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-26 08: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 08:47:43] 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-26 08: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-26 08: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-26 08:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654687744001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654687744001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:47:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:47:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654687744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":162267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:47:43] local.INFO: GPS data processed {"connection_id":162267,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:47:43] local.INFO: Acknowledgment sent {"connection_id":162267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:48:15] local.INFO: TCP Data received {"connection_id":162267,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:48:15] local.INFO: Processing buffer {"connection_id":162267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:48:15] local.INFO: Packet analysis {"connection_id":162267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c12"} 
[2026-08-26 08:48:15] local.INFO: Extracted packet for processing {"connection_id":162267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c12"} 
[2026-08-26 08:48:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654764800001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:48: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-26 08:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787714226000,"timestamp_ms":1787714226000,"timestamp_seconds":1787714226,"priority":1,"record_length":96,"hex_timestamp":"000001a03c124750"} 
[2026-08-26 08: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-26 08:48: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-26 08: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 08:48: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-26 08: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-26 08: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-26 08:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654764800001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654764800001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:48:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:48:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654764800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":162267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:48:15] local.INFO: GPS data processed {"connection_id":162267,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:48:15] local.INFO: Acknowledgment sent {"connection_id":162267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:48:37] local.INFO: TCP Data received {"connection_id":164870,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:48:37] local.INFO: Processing buffer {"connection_id":164870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:48:37] local.INFO: IMEI packet received {"connection_id":164870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":164870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:48:42] local.INFO: TCP Data received {"connection_id":164870,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:48:42] local.INFO: Processing buffer {"connection_id":164870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:48:42] local.INFO: IMEI packet received {"connection_id":164870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":164870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:48:43] local.INFO: TCP Data received {"connection_id":164870,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:48:43] local.INFO: Processing buffer {"connection_id":164870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:48:43] local.INFO: Packet analysis {"connection_id":164870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c12"} 
[2026-08-26 08:48:43] local.INFO: Extracted packet for processing {"connection_id":164870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c12"} 
[2026-08-26 08:48:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654764800001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:48: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-26 08:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787714226000,"timestamp_ms":1787714226000,"timestamp_seconds":1787714226,"priority":1,"record_length":96,"hex_timestamp":"000001a03c124750"} 
[2026-08-26 08:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:48: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-26 08:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 08:48:43] 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-26 08:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654764800001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654764800001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:48:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:48:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654764800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":164870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:48:43] local.INFO: GPS data processed {"connection_id":164870,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:48:43] local.INFO: Acknowledgment sent {"connection_id":164870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:49:15] local.INFO: TCP Data received {"connection_id":164870,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:49:15] local.INFO: Processing buffer {"connection_id":164870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:49:15] local.INFO: Packet analysis {"connection_id":164870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c12"} 
[2026-08-26 08:49:15] local.INFO: Extracted packet for processing {"connection_id":164870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c12"} 
[2026-08-26 08:49:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654764800001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08: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-26 08:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787714226000,"timestamp_ms":1787714226000,"timestamp_seconds":1787714226,"priority":1,"record_length":96,"hex_timestamp":"000001a03c124750"} 
[2026-08-26 08: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-26 08: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-26 08: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 08:49: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-26 08: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-26 08: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-26 08:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654764800001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654764800001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:49:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:49:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654764800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":164870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:49:15] local.INFO: GPS data processed {"connection_id":164870,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:49:15] local.INFO: Acknowledgment sent {"connection_id":164870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:49:42] local.INFO: TCP Data received {"connection_id":163516,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:49:42] local.INFO: Processing buffer {"connection_id":163516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:49:42] local.INFO: IMEI packet received {"connection_id":163516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":163516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:49:48] local.INFO: TCP Data received {"connection_id":163516,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:49:48] local.INFO: Processing buffer {"connection_id":163516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:49:48] local.INFO: IMEI packet received {"connection_id":163516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":163516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:49:49] local.INFO: TCP Data received {"connection_id":163516,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:49:49] local.INFO: Processing buffer {"connection_id":163516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:49:49] local.INFO: Packet analysis {"connection_id":163516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c12"} 
[2026-08-26 08:49:49] local.INFO: Extracted packet for processing {"connection_id":163516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c12"} 
[2026-08-26 08:49:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654764800001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:49: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-26 08:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787714226000,"timestamp_ms":1787714226000,"timestamp_seconds":1787714226,"priority":1,"record_length":96,"hex_timestamp":"000001a03c124750"} 
[2026-08-26 08:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:49: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-26 08:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 08:49:49] 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-26 08:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654764800001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654764800001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:49:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:49:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654764800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":163516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:49:49] local.INFO: GPS data processed {"connection_id":163516,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:49:49] local.INFO: Acknowledgment sent {"connection_id":163516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:50:20] local.INFO: TCP Data received {"connection_id":163516,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:50:20] local.INFO: Processing buffer {"connection_id":163516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:50:20] local.INFO: Packet analysis {"connection_id":163516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c12"} 
[2026-08-26 08:50:20] local.INFO: Extracted packet for processing {"connection_id":163516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c12"} 
[2026-08-26 08:50:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654764800001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:50: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-26 08:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787714226000,"timestamp_ms":1787714226000,"timestamp_seconds":1787714226,"priority":1,"record_length":96,"hex_timestamp":"000001a03c124750"} 
[2026-08-26 08: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-26 08:50: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-26 08: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 08:50: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-26 08: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-26 08: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-26 08:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654764800001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654764800001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:50:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:50:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654764800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":163516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:50:20] local.INFO: GPS data processed {"connection_id":163516,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:50:20] local.INFO: Acknowledgment sent {"connection_id":163516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:50:38] local.INFO: TCP Data received {"connection_id":162493,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:50:38] local.INFO: Processing buffer {"connection_id":162493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:50:38] local.INFO: IMEI packet received {"connection_id":162493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":162493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:50:43] local.INFO: TCP Data received {"connection_id":162493,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:50:43] local.INFO: Processing buffer {"connection_id":162493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:50:43] local.INFO: IMEI packet received {"connection_id":162493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":162493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:50:45] local.INFO: TCP Data received {"connection_id":162493,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:50:45] local.INFO: Processing buffer {"connection_id":162493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:50:45] local.INFO: Packet analysis {"connection_id":162493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c12"} 
[2026-08-26 08:50:45] local.INFO: Extracted packet for processing {"connection_id":162493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c12"} 
[2026-08-26 08:50:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654764800001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:50: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-26 08:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787714226000,"timestamp_ms":1787714226000,"timestamp_seconds":1787714226,"priority":1,"record_length":96,"hex_timestamp":"000001a03c124750"} 
[2026-08-26 08: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-26 08:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 08: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 08:50:45] 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-26 08: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-26 08: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-26 08:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654764800001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654764800001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:50:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:50:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654764800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":162493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:50:45] local.INFO: GPS data processed {"connection_id":162493,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:50:45] local.INFO: Acknowledgment sent {"connection_id":162493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:51:16] local.INFO: TCP Data received {"connection_id":162493,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:51:16] local.INFO: Processing buffer {"connection_id":162493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:51:16] local.INFO: Packet analysis {"connection_id":162493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c12"} 
[2026-08-26 08:51:16] local.INFO: Extracted packet for processing {"connection_id":162493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c12"} 
[2026-08-26 08:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654764800001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:51: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-26 08:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787714226000,"timestamp_ms":1787714226000,"timestamp_seconds":1787714226,"priority":1,"record_length":96,"hex_timestamp":"000001a03c124750"} 
[2026-08-26 08:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:51: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-26 08:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 08:51: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-26 08:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654764800001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654764800001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:51:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:51:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654764800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":162493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:51:16] local.INFO: GPS data processed {"connection_id":162493,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:51:16] local.INFO: Acknowledgment sent {"connection_id":162493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:51:37] local.INFO: TCP Data received {"connection_id":164871,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:51:37] local.INFO: Processing buffer {"connection_id":164871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:51:37] local.INFO: IMEI packet received {"connection_id":164871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":164871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:51:42] local.INFO: TCP Data received {"connection_id":164871,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:51:42] local.INFO: Processing buffer {"connection_id":164871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:51:42] local.INFO: IMEI packet received {"connection_id":164871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":164871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:51:43] local.INFO: TCP Data received {"connection_id":164871,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:51:43] local.INFO: Processing buffer {"connection_id":164871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:51:43] local.INFO: Packet analysis {"connection_id":164871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c12"} 
[2026-08-26 08:51:43] local.INFO: Extracted packet for processing {"connection_id":164871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c12"} 
[2026-08-26 08:51:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654764800001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08: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-26 08:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787714226000,"timestamp_ms":1787714226000,"timestamp_seconds":1787714226,"priority":1,"record_length":96,"hex_timestamp":"000001a03c124750"} 
[2026-08-26 08: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-26 08: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-26 08: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 08:51:43] 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-26 08: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-26 08: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-26 08:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654764800001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654764800001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:51:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:51:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654764800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":164871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:51:43] local.INFO: GPS data processed {"connection_id":164871,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:51:43] local.INFO: Acknowledgment sent {"connection_id":164871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:52:15] local.INFO: TCP Data received {"connection_id":164871,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:52:15] local.INFO: Processing buffer {"connection_id":164871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:52:15] local.INFO: Packet analysis {"connection_id":164871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c12"} 
[2026-08-26 08:52:15] local.INFO: Extracted packet for processing {"connection_id":164871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c12"} 
[2026-08-26 08:52:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654764800001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:52: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-26 08:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787714226000,"timestamp_ms":1787714226000,"timestamp_seconds":1787714226,"priority":1,"record_length":96,"hex_timestamp":"000001a03c124750"} 
[2026-08-26 08:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 08:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 08:52: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-26 08:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654764800001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654764800001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:52:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:52:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654764800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":164871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:52:15] local.INFO: GPS data processed {"connection_id":164871,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:52:15] local.INFO: Acknowledgment sent {"connection_id":164871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:52:37] local.INFO: TCP Data received {"connection_id":162269,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:52:37] local.INFO: Processing buffer {"connection_id":162269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:52:37] local.INFO: IMEI packet received {"connection_id":162269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":162269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:52:42] local.INFO: TCP Data received {"connection_id":162269,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:52:42] local.INFO: Processing buffer {"connection_id":162269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:52:42] local.INFO: IMEI packet received {"connection_id":162269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":162269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:52:43] local.INFO: TCP Data received {"connection_id":162269,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:52:43] local.INFO: Processing buffer {"connection_id":162269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c124750012d34c14006aa4818000b00e628..."} 
[2026-08-26 08:52:43] local.INFO: Packet analysis {"connection_id":162269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c12"} 
[2026-08-26 08:52:43] local.INFO: Extracted packet for processing {"connection_id":162269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c12"} 
[2026-08-26 08:52:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654764800001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:52: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-26 08:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787714226000,"timestamp_ms":1787714226000,"timestamp_seconds":1787714226,"priority":1,"record_length":96,"hex_timestamp":"000001a03c124750"} 
[2026-08-26 08:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:52:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 08:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 08:52:43] 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-26 08:52:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654764800001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654764800001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:52:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:52:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654764800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":162269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:52:43] local.INFO: GPS data processed {"connection_id":162269,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:52:43] local.INFO: Acknowledgment sent {"connection_id":162269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:53:15] local.INFO: TCP Data received {"connection_id":162269,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:53:15] local.INFO: Processing buffer {"connection_id":162269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:53:15] local.INFO: Packet analysis {"connection_id":162269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c16"} 
[2026-08-26 08:53:15] local.INFO: Extracted packet for processing {"connection_id":162269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c16"} 
[2026-08-26 08:53:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654841856001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08: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-26 08:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787714527000,"timestamp_ms":1787714527000,"timestamp_seconds":1787714527,"priority":1,"record_length":96,"hex_timestamp":"000001a03c16df18"} 
[2026-08-26 08: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-26 08: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-26 08: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:53: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-26 08: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-26 08: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-26 08:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654841856001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654841856001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:53:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:53:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654841856001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":162269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:53:15] local.INFO: GPS data processed {"connection_id":162269,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:53:15] local.INFO: Acknowledgment sent {"connection_id":162269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:53:37] local.INFO: TCP Data received {"connection_id":162494,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:53:37] local.INFO: Processing buffer {"connection_id":162494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:53:37] local.INFO: IMEI packet received {"connection_id":162494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":162494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:53:42] local.INFO: TCP Data received {"connection_id":162494,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:53:43] local.INFO: Processing buffer {"connection_id":162494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:53:43] local.INFO: IMEI packet received {"connection_id":162494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":162494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:53:43] local.INFO: TCP Data received {"connection_id":162494,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:53:43] local.INFO: Processing buffer {"connection_id":162494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:53:43] local.INFO: Packet analysis {"connection_id":162494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c16"} 
[2026-08-26 08:53:43] local.INFO: Extracted packet for processing {"connection_id":162494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c16"} 
[2026-08-26 08:53:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654841856001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:53: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-26 08:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787714527000,"timestamp_ms":1787714527000,"timestamp_seconds":1787714527,"priority":1,"record_length":96,"hex_timestamp":"000001a03c16df18"} 
[2026-08-26 08: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-26 08: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-26 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:53: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-26 08: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-26 08: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-26 08:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654841856001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654841856001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:53:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:53:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654841856001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":162494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:53:43] local.INFO: GPS data processed {"connection_id":162494,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:53:43] local.INFO: Acknowledgment sent {"connection_id":162494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:54:15] local.INFO: TCP Data received {"connection_id":162494,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:54:15] local.INFO: Processing buffer {"connection_id":162494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:54:15] local.INFO: Packet analysis {"connection_id":162494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c16"} 
[2026-08-26 08:54:15] local.INFO: Extracted packet for processing {"connection_id":162494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c16"} 
[2026-08-26 08:54:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654841856001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:54: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-26 08:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787714527000,"timestamp_ms":1787714527000,"timestamp_seconds":1787714527,"priority":1,"record_length":96,"hex_timestamp":"000001a03c16df18"} 
[2026-08-26 08: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-26 08:54: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-26 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:54: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-26 08: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-26 08: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-26 08:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654841856001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654841856001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:54:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:54:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654841856001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":162494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:54:15] local.INFO: GPS data processed {"connection_id":162494,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:54:15] local.INFO: Acknowledgment sent {"connection_id":162494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:54:38] local.INFO: TCP Data received {"connection_id":164872,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:54:38] local.INFO: Processing buffer {"connection_id":164872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:54:38] local.INFO: IMEI packet received {"connection_id":164872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":164872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:54:42] local.INFO: TCP Data received {"connection_id":164872,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:54:42] local.INFO: Processing buffer {"connection_id":164872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:54:42] local.INFO: IMEI packet received {"connection_id":164872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":164872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:54:44] local.INFO: TCP Data received {"connection_id":164872,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:54:44] local.INFO: Processing buffer {"connection_id":164872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:54:44] local.INFO: Packet analysis {"connection_id":164872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c16"} 
[2026-08-26 08:54:44] local.INFO: Extracted packet for processing {"connection_id":164872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c16"} 
[2026-08-26 08:54:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654841856001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:54: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-26 08:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787714527000,"timestamp_ms":1787714527000,"timestamp_seconds":1787714527,"priority":1,"record_length":96,"hex_timestamp":"000001a03c16df18"} 
[2026-08-26 08:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:54: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-26 08:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:54: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-26 08:54:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654841856001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654841856001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:54:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:54:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654841856001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":164872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:54:44] local.INFO: GPS data processed {"connection_id":164872,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:54:44] local.INFO: Acknowledgment sent {"connection_id":164872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:55:15] local.INFO: TCP Data received {"connection_id":164872,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:55:15] local.INFO: Processing buffer {"connection_id":164872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:55:15] local.INFO: Packet analysis {"connection_id":164872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c16"} 
[2026-08-26 08:55:15] local.INFO: Extracted packet for processing {"connection_id":164872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c16"} 
[2026-08-26 08:55:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654841856001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:55: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-26 08:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787714527000,"timestamp_ms":1787714527000,"timestamp_seconds":1787714527,"priority":1,"record_length":96,"hex_timestamp":"000001a03c16df18"} 
[2026-08-26 08: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-26 08:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 08: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:55: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-26 08: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-26 08: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-26 08:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654841856001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654841856001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:55:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:55:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654841856001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":164872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:55:15] local.INFO: GPS data processed {"connection_id":164872,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:55:15] local.INFO: Acknowledgment sent {"connection_id":164872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:55:37] local.INFO: TCP Data received {"connection_id":162495,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:55:37] local.INFO: Processing buffer {"connection_id":162495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:55:37] local.INFO: IMEI packet received {"connection_id":162495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":162495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:55:42] local.INFO: TCP Data received {"connection_id":162495,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:55:42] local.INFO: Processing buffer {"connection_id":162495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:55:42] local.INFO: IMEI packet received {"connection_id":162495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":162495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:55:43] local.INFO: TCP Data received {"connection_id":162495,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:55:43] local.INFO: Processing buffer {"connection_id":162495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:55:43] local.INFO: Packet analysis {"connection_id":162495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c16"} 
[2026-08-26 08:55:43] local.INFO: Extracted packet for processing {"connection_id":162495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c16"} 
[2026-08-26 08:55:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654841856001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:55: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-26 08:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787714527000,"timestamp_ms":1787714527000,"timestamp_seconds":1787714527,"priority":1,"record_length":96,"hex_timestamp":"000001a03c16df18"} 
[2026-08-26 08:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:55: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-26 08:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:55: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-26 08:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654841856001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654841856001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:55:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:55:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654841856001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":162495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:55:43] local.INFO: GPS data processed {"connection_id":162495,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:55:43] local.INFO: Acknowledgment sent {"connection_id":162495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:56:15] local.INFO: TCP Data received {"connection_id":162495,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:56:15] local.INFO: Processing buffer {"connection_id":162495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:56:15] local.INFO: Packet analysis {"connection_id":162495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c16"} 
[2026-08-26 08:56:15] local.INFO: Extracted packet for processing {"connection_id":162495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c16"} 
[2026-08-26 08:56:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654841856001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:56: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-26 08:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787714527000,"timestamp_ms":1787714527000,"timestamp_seconds":1787714527,"priority":1,"record_length":96,"hex_timestamp":"000001a03c16df18"} 
[2026-08-26 08: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-26 08:56: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-26 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:56: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-26 08: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-26 08: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-26 08:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654841856001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654841856001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:56:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:56:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654841856001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":162495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:56:15] local.INFO: GPS data processed {"connection_id":162495,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:56:15] local.INFO: Acknowledgment sent {"connection_id":162495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:56:37] local.INFO: TCP Data received {"connection_id":163517,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:56:37] local.INFO: Processing buffer {"connection_id":163517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:56:37] local.INFO: IMEI packet received {"connection_id":163517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":163517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:56:42] local.INFO: TCP Data received {"connection_id":163517,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:56:42] local.INFO: Processing buffer {"connection_id":163517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:56:42] local.INFO: IMEI packet received {"connection_id":163517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":163517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:56:44] local.INFO: TCP Data received {"connection_id":163517,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:56:44] local.INFO: Processing buffer {"connection_id":163517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:56:44] local.INFO: Packet analysis {"connection_id":163517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c16"} 
[2026-08-26 08:56:44] local.INFO: Extracted packet for processing {"connection_id":163517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c16"} 
[2026-08-26 08:56:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654841856001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:56: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-26 08:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787714527000,"timestamp_ms":1787714527000,"timestamp_seconds":1787714527,"priority":1,"record_length":96,"hex_timestamp":"000001a03c16df18"} 
[2026-08-26 08:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:56: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-26 08:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:56: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-26 08:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654841856001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654841856001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:56:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:56:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654841856001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":163517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:56:44] local.INFO: GPS data processed {"connection_id":163517,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:56:44] local.INFO: Acknowledgment sent {"connection_id":163517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:57:15] local.INFO: TCP Data received {"connection_id":163517,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:57:15] local.INFO: Processing buffer {"connection_id":163517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:57:15] local.INFO: Packet analysis {"connection_id":163517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c16"} 
[2026-08-26 08:57:15] local.INFO: Extracted packet for processing {"connection_id":163517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c16"} 
[2026-08-26 08:57:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654841856001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08: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-26 08:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787714527000,"timestamp_ms":1787714527000,"timestamp_seconds":1787714527,"priority":1,"record_length":96,"hex_timestamp":"000001a03c16df18"} 
[2026-08-26 08: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-26 08:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 08: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:57: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-26 08: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-26 08: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-26 08:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654841856001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654841856001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:57:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:57:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654841856001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":163517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:57:15] local.INFO: GPS data processed {"connection_id":163517,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:57:15] local.INFO: Acknowledgment sent {"connection_id":163517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:57:37] local.INFO: TCP Data received {"connection_id":162496,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:57:37] local.INFO: Processing buffer {"connection_id":162496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:57:37] local.INFO: IMEI packet received {"connection_id":162496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":162496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:57:42] local.INFO: TCP Data received {"connection_id":162496,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:57:42] local.INFO: Processing buffer {"connection_id":162496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:57:42] local.INFO: IMEI packet received {"connection_id":162496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":162496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:57:43] local.INFO: TCP Data received {"connection_id":162496,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:57:43] local.INFO: Processing buffer {"connection_id":162496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c16df18012d34c14006aa4818000400e628..."} 
[2026-08-26 08:57:43] local.INFO: Packet analysis {"connection_id":162496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c16"} 
[2026-08-26 08:57:43] local.INFO: Extracted packet for processing {"connection_id":162496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c16"} 
[2026-08-26 08:57:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654841856001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:57: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-26 08:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787714527000,"timestamp_ms":1787714527000,"timestamp_seconds":1787714527,"priority":1,"record_length":96,"hex_timestamp":"000001a03c16df18"} 
[2026-08-26 08: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-26 08:57: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-26 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 08:57: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-26 08: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-26 08: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-26 08:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654841856001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654841856001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:57:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:57:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654841856001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":162496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:57:43] local.INFO: GPS data processed {"connection_id":162496,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:57:43] local.INFO: Acknowledgment sent {"connection_id":162496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:58:15] local.INFO: TCP Data received {"connection_id":162496,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 08:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 08:58:15] local.INFO: Processing buffer {"connection_id":162496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 08:58:15] local.INFO: Packet analysis {"connection_id":162496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c1b"} 
[2026-08-26 08:58:15] local.INFO: Extracted packet for processing {"connection_id":162496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c1b"} 
[2026-08-26 08:58:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654918912001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08: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-26 08:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787714828000,"timestamp_ms":1787714828000,"timestamp_seconds":1787714828,"priority":1,"record_length":96,"hex_timestamp":"000001a03c1b76e0"} 
[2026-08-26 08: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-26 08:58: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-26 08: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 08:58: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-26 08: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-26 08: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-26 08:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654918912001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654918912001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:58:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:58:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654918912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":162496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:58:15] local.INFO: GPS data processed {"connection_id":162496,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:58:15] local.INFO: Acknowledgment sent {"connection_id":162496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:58:37] local.INFO: TCP Data received {"connection_id":163518,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:58:37] local.INFO: Processing buffer {"connection_id":163518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:58:37] local.INFO: IMEI packet received {"connection_id":163518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":163518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:58:42] local.INFO: TCP Data received {"connection_id":163518,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:58:42] local.INFO: Processing buffer {"connection_id":163518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:58:42] local.INFO: IMEI packet received {"connection_id":163518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":163518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:58:43] local.INFO: TCP Data received {"connection_id":163518,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 08:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 08:58:43] local.INFO: Processing buffer {"connection_id":163518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 08:58:43] local.INFO: Packet analysis {"connection_id":163518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c1b"} 
[2026-08-26 08:58:43] local.INFO: Extracted packet for processing {"connection_id":163518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c1b"} 
[2026-08-26 08:58:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654918912001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08: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-26 08:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787714828000,"timestamp_ms":1787714828000,"timestamp_seconds":1787714828,"priority":1,"record_length":96,"hex_timestamp":"000001a03c1b76e0"} 
[2026-08-26 08: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-26 08:58: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-26 08: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 08:58:43] 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-26 08: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-26 08: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-26 08:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654918912001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654918912001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:58:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:58:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654918912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":163518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:58:43] local.INFO: GPS data processed {"connection_id":163518,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:58:43] local.INFO: Acknowledgment sent {"connection_id":163518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:59:15] local.INFO: TCP Data received {"connection_id":163518,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 08:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 08:59:15] local.INFO: Processing buffer {"connection_id":163518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 08:59:15] local.INFO: Packet analysis {"connection_id":163518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c1b"} 
[2026-08-26 08:59:15] local.INFO: Extracted packet for processing {"connection_id":163518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c1b"} 
[2026-08-26 08:59:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 08:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654918912001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:59: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-26 08:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787714828000,"timestamp_ms":1787714828000,"timestamp_seconds":1787714828,"priority":1,"record_length":96,"hex_timestamp":"000001a03c1b76e0"} 
[2026-08-26 08:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 08:59: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-26 08:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 08:59: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-26 08:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 08:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 08:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654918912001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654918912001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:59:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:59:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654918912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":163518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:59:15] local.INFO: GPS data processed {"connection_id":163518,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:59:15] local.INFO: Acknowledgment sent {"connection_id":163518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 08:59:38] local.INFO: TCP Data received {"connection_id":162497,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:59:38] local.INFO: Processing buffer {"connection_id":162497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:59:38] local.INFO: IMEI packet received {"connection_id":162497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 08:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":162497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 08:59:43] local.INFO: TCP Data received {"connection_id":162497,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:59:43] local.INFO: Processing buffer {"connection_id":162497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 08:59:43] local.INFO: IMEI packet received {"connection_id":162497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 08:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":162497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 08:59:44] local.INFO: TCP Data received {"connection_id":162497,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 08:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 08:59:44] local.INFO: Processing buffer {"connection_id":162497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 08:59:44] local.INFO: Packet analysis {"connection_id":162497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c1b"} 
[2026-08-26 08:59:44] local.INFO: Extracted packet for processing {"connection_id":162497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c1b"} 
[2026-08-26 08:59:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 08: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-26 08:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654918912001,"note":"Value kept but may cause issues"} 
[2026-08-26 08:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 08:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 08:59: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-26 08:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787714828000,"timestamp_ms":1787714828000,"timestamp_seconds":1787714828,"priority":1,"record_length":96,"hex_timestamp":"000001a03c1b76e0"} 
[2026-08-26 08: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-26 08:59: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-26 08: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 08:59: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-26 08: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-26 08: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-26 08:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 08:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 08:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 08:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 08:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 08:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 08:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654918912001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 08:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 08:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 08:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654918912001,"description":"Unknown IO ID 0"} 
[2026-08-26 08:59:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 08:59:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 08:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 08:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 08:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654918912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 08:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":162497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 08:59:44] local.INFO: GPS data processed {"connection_id":162497,"processed":1,"errors":0,"total":1} 
[2026-08-26 08:59:44] local.INFO: Acknowledgment sent {"connection_id":162497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:00:16] local.INFO: TCP Data received {"connection_id":162497,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 09:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 09:00:16] local.INFO: Processing buffer {"connection_id":162497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 09:00:16] local.INFO: Packet analysis {"connection_id":162497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c1b"} 
[2026-08-26 09:00:16] local.INFO: Extracted packet for processing {"connection_id":162497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c1b"} 
[2026-08-26 09:00:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654918912001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09: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-26 09:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787714828000,"timestamp_ms":1787714828000,"timestamp_seconds":1787714828,"priority":1,"record_length":96,"hex_timestamp":"000001a03c1b76e0"} 
[2026-08-26 09: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-26 09:00: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-26 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:00: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-26 09: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-26 09: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-26 09:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654918912001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654918912001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:00:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:00:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654918912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":162497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:00:16] local.INFO: GPS data processed {"connection_id":162497,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:00:16] local.INFO: Acknowledgment sent {"connection_id":162497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:00:37] local.INFO: TCP Data received {"connection_id":163519,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:00:37] local.INFO: Processing buffer {"connection_id":163519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:00:37] local.INFO: IMEI packet received {"connection_id":163519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":163519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:00:43] local.INFO: TCP Data received {"connection_id":163519,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:00:43] local.INFO: Processing buffer {"connection_id":163519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:00:43] local.INFO: IMEI packet received {"connection_id":163519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":163519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:00:44] local.INFO: TCP Data received {"connection_id":163519,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 09:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 09:00:44] local.INFO: Processing buffer {"connection_id":163519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 09:00:44] local.INFO: Packet analysis {"connection_id":163519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c1b"} 
[2026-08-26 09:00:44] local.INFO: Extracted packet for processing {"connection_id":163519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c1b"} 
[2026-08-26 09:00:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654918912001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:00: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-26 09:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787714828000,"timestamp_ms":1787714828000,"timestamp_seconds":1787714828,"priority":1,"record_length":96,"hex_timestamp":"000001a03c1b76e0"} 
[2026-08-26 09:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:00: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-26 09:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:00: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-26 09:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654918912001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654918912001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:00:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:00:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654918912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":163519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:00:44] local.INFO: GPS data processed {"connection_id":163519,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:00:44] local.INFO: Acknowledgment sent {"connection_id":163519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:01:15] local.INFO: TCP Data received {"connection_id":163519,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 09:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 09:01:15] local.INFO: Processing buffer {"connection_id":163519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 09:01:15] local.INFO: Packet analysis {"connection_id":163519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c1b"} 
[2026-08-26 09:01:15] local.INFO: Extracted packet for processing {"connection_id":163519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c1b"} 
[2026-08-26 09:01:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654918912001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09: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-26 09:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787714828000,"timestamp_ms":1787714828000,"timestamp_seconds":1787714828,"priority":1,"record_length":96,"hex_timestamp":"000001a03c1b76e0"} 
[2026-08-26 09: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-26 09:01: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-26 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:01: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-26 09: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-26 09: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-26 09:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654918912001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654918912001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:01:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:01:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654918912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":163519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:01:15] local.INFO: GPS data processed {"connection_id":163519,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:01:15] local.INFO: Acknowledgment sent {"connection_id":163519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:01:37] local.INFO: TCP Data received {"connection_id":162498,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:01:37] local.INFO: Processing buffer {"connection_id":162498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:01:37] local.INFO: IMEI packet received {"connection_id":162498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":162498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:01:42] local.INFO: TCP Data received {"connection_id":162498,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:01:42] local.INFO: Processing buffer {"connection_id":162498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:01:42] local.INFO: IMEI packet received {"connection_id":162498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":162498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:01:43] local.INFO: TCP Data received {"connection_id":162498,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 09:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 09:01:43] local.INFO: Processing buffer {"connection_id":162498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 09:01:43] local.INFO: Packet analysis {"connection_id":162498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c1b"} 
[2026-08-26 09:01:43] local.INFO: Extracted packet for processing {"connection_id":162498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c1b"} 
[2026-08-26 09:01:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654918912001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:01: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-26 09:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787714828000,"timestamp_ms":1787714828000,"timestamp_seconds":1787714828,"priority":1,"record_length":96,"hex_timestamp":"000001a03c1b76e0"} 
[2026-08-26 09:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:01: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-26 09:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:01:43] 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-26 09:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654918912001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654918912001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:01:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:01:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654918912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":162498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:01:43] local.INFO: GPS data processed {"connection_id":162498,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:01:43] local.INFO: Acknowledgment sent {"connection_id":162498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:02:15] local.INFO: TCP Data received {"connection_id":162498,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 09:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 09:02:15] local.INFO: Processing buffer {"connection_id":162498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c1b76e0012d34c14006aa4818000400e627..."} 
[2026-08-26 09:02:15] local.INFO: Packet analysis {"connection_id":162498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c1b"} 
[2026-08-26 09:02:15] local.INFO: Extracted packet for processing {"connection_id":162498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c1b"} 
[2026-08-26 09:02:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 09:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654918912001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 09:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787714828000,"timestamp_ms":1787714828000,"timestamp_seconds":1787714828,"priority":1,"record_length":96,"hex_timestamp":"000001a03c1b76e0"} 
[2026-08-26 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-26 09: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-26 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":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:02: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-26 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-26 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-26 09:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654918912001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654918912001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:02:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:02:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654918912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":162498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:02:15] local.INFO: GPS data processed {"connection_id":162498,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:02:15] local.INFO: Acknowledgment sent {"connection_id":162498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:02:42] local.INFO: TCP Data received {"connection_id":164874,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:02:42] local.INFO: Processing buffer {"connection_id":164874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:02:42] local.INFO: IMEI packet received {"connection_id":164874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":164874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:02:47] local.INFO: TCP Data received {"connection_id":164874,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:02:47] local.INFO: Processing buffer {"connection_id":164874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:02:47] local.INFO: IMEI packet received {"connection_id":164874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":164874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:02:49] local.INFO: TCP Data received {"connection_id":164874,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:02:49] local.INFO: Processing buffer {"connection_id":164874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:02:49] local.INFO: Packet analysis {"connection_id":164874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c20"} 
[2026-08-26 09:02:49] local.INFO: Extracted packet for processing {"connection_id":164874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c20"} 
[2026-08-26 09:02:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654995968001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:02: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-26 09:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787715129000,"timestamp_ms":1787715129000,"timestamp_seconds":1787715129,"priority":1,"record_length":96,"hex_timestamp":"000001a03c200ea8"} 
[2026-08-26 09:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 09:02: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-26 09:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654995968001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654995968001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:02:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:02:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654995968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":164874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:02:49] local.INFO: GPS data processed {"connection_id":164874,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:02:49] local.INFO: Acknowledgment sent {"connection_id":164874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:02:50] local.INFO: TCP Data received {"connection_id":164874,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:02:50] local.INFO: Processing buffer {"connection_id":164874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:02:50] local.INFO: Packet analysis {"connection_id":164874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c20"} 
[2026-08-26 09:02:50] local.INFO: Extracted packet for processing {"connection_id":164874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c20"} 
[2026-08-26 09:02:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654995968001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787715129000,"timestamp_ms":1787715129000,"timestamp_seconds":1787715129,"priority":1,"record_length":96,"hex_timestamp":"000001a03c200ea8"} 
[2026-08-26 09:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 09:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654995968001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654995968001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:02:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:02:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654995968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":164874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:02:50] local.INFO: GPS data processed {"connection_id":164874,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:02:50] local.INFO: Acknowledgment sent {"connection_id":164874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:03:22] local.INFO: TCP Data received {"connection_id":164874,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:03:22] local.INFO: Processing buffer {"connection_id":164874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:03:22] local.INFO: Packet analysis {"connection_id":164874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c20"} 
[2026-08-26 09:03:22] local.INFO: Extracted packet for processing {"connection_id":164874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c20"} 
[2026-08-26 09:03:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654995968001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:03: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-26 09:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787715129000,"timestamp_ms":1787715129000,"timestamp_seconds":1787715129,"priority":1,"record_length":96,"hex_timestamp":"000001a03c200ea8"} 
[2026-08-26 09: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-26 09:03: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-26 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 09:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09: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-26 09: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-26 09:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654995968001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654995968001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:03:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:03:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654995968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":164874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:03:22] local.INFO: GPS data processed {"connection_id":164874,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:03:22] local.INFO: Acknowledgment sent {"connection_id":164874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:03:38] local.INFO: TCP Data received {"connection_id":162499,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:03:38] local.INFO: Processing buffer {"connection_id":162499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:03:38] local.INFO: IMEI packet received {"connection_id":162499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":162499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:03:42] local.INFO: TCP Data received {"connection_id":162499,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:03:42] local.INFO: Processing buffer {"connection_id":162499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:03:42] local.INFO: IMEI packet received {"connection_id":162499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":162499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:03:43] local.INFO: TCP Data received {"connection_id":162499,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:03:43] local.INFO: Processing buffer {"connection_id":162499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:03:43] local.INFO: Packet analysis {"connection_id":162499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c20"} 
[2026-08-26 09:03:43] local.INFO: Extracted packet for processing {"connection_id":162499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c20"} 
[2026-08-26 09:03:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654995968001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:03: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-26 09:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787715129000,"timestamp_ms":1787715129000,"timestamp_seconds":1787715129,"priority":1,"record_length":96,"hex_timestamp":"000001a03c200ea8"} 
[2026-08-26 09:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:03: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-26 09:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 09:03: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-26 09:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654995968001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654995968001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:03:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:03:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654995968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":162499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:03:43] local.INFO: GPS data processed {"connection_id":162499,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:03:43] local.INFO: Acknowledgment sent {"connection_id":162499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:04:15] local.INFO: TCP Data received {"connection_id":162499,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:04:15] local.INFO: Processing buffer {"connection_id":162499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:04:15] local.INFO: Packet analysis {"connection_id":162499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c20"} 
[2026-08-26 09:04:15] local.INFO: Extracted packet for processing {"connection_id":162499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c20"} 
[2026-08-26 09:04:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654995968001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:04: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-26 09:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787715129000,"timestamp_ms":1787715129000,"timestamp_seconds":1787715129,"priority":1,"record_length":96,"hex_timestamp":"000001a03c200ea8"} 
[2026-08-26 09: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-26 09:04: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-26 09: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 09:04: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-26 09: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-26 09: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-26 09:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654995968001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654995968001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:04:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:04:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654995968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":162499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:04:15] local.INFO: GPS data processed {"connection_id":162499,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:04:15] local.INFO: Acknowledgment sent {"connection_id":162499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:04:37] local.INFO: TCP Data received {"connection_id":162270,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:04:37] local.INFO: Processing buffer {"connection_id":162270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:04:37] local.INFO: IMEI packet received {"connection_id":162270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":162270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:04:42] local.INFO: TCP Data received {"connection_id":162270,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:04:42] local.INFO: Processing buffer {"connection_id":162270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:04:42] local.INFO: IMEI packet received {"connection_id":162270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":162270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:04:43] local.INFO: TCP Data received {"connection_id":162270,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:04:43] local.INFO: Processing buffer {"connection_id":162270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:04:43] local.INFO: Packet analysis {"connection_id":162270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c20"} 
[2026-08-26 09:04:43] local.INFO: Extracted packet for processing {"connection_id":162270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c20"} 
[2026-08-26 09:04:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654995968001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:04: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-26 09:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787715129000,"timestamp_ms":1787715129000,"timestamp_seconds":1787715129,"priority":1,"record_length":96,"hex_timestamp":"000001a03c200ea8"} 
[2026-08-26 09:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:04: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-26 09:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 09:04: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-26 09:04: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-26 09:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654995968001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654995968001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:04:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:04:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654995968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":162270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:04:43] local.INFO: GPS data processed {"connection_id":162270,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:04:43] local.INFO: Acknowledgment sent {"connection_id":162270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:05:15] local.INFO: TCP Data received {"connection_id":162270,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:05:15] local.INFO: Processing buffer {"connection_id":162270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:05:15] local.INFO: Packet analysis {"connection_id":162270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c20"} 
[2026-08-26 09:05:15] local.INFO: Extracted packet for processing {"connection_id":162270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c20"} 
[2026-08-26 09:05:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654995968001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:05: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-26 09:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787715129000,"timestamp_ms":1787715129000,"timestamp_seconds":1787715129,"priority":1,"record_length":96,"hex_timestamp":"000001a03c200ea8"} 
[2026-08-26 09:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:05: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-26 09:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 09:05: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-26 09:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654995968001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654995968001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:05:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:05:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654995968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":162270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:05:15] local.INFO: GPS data processed {"connection_id":162270,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:05:15] local.INFO: Acknowledgment sent {"connection_id":162270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:05:37] local.INFO: TCP Data received {"connection_id":162500,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:05:37] local.INFO: Processing buffer {"connection_id":162500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:05:37] local.INFO: IMEI packet received {"connection_id":162500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":162500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:05:43] local.INFO: TCP Data received {"connection_id":162500,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:05:43] local.INFO: Processing buffer {"connection_id":162500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:05:43] local.INFO: IMEI packet received {"connection_id":162500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":162500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:05:46] local.INFO: TCP Data received {"connection_id":162500,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:05:46] local.INFO: Processing buffer {"connection_id":162500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:05:46] local.INFO: Packet analysis {"connection_id":162500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c20"} 
[2026-08-26 09:05:46] local.INFO: Extracted packet for processing {"connection_id":162500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c20"} 
[2026-08-26 09:05:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654995968001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787715129000,"timestamp_ms":1787715129000,"timestamp_seconds":1787715129,"priority":1,"record_length":96,"hex_timestamp":"000001a03c200ea8"} 
[2026-08-26 09: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-26 09:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 09:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09: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-26 09: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-26 09:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654995968001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654995968001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:05:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:05:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654995968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":162500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:05:46] local.INFO: GPS data processed {"connection_id":162500,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:05:46] local.INFO: Acknowledgment sent {"connection_id":162500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:06:17] local.INFO: TCP Data received {"connection_id":162500,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:06:17] local.INFO: Processing buffer {"connection_id":162500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:06:17] local.INFO: Packet analysis {"connection_id":162500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c20"} 
[2026-08-26 09:06:17] local.INFO: Extracted packet for processing {"connection_id":162500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c20"} 
[2026-08-26 09:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654995968001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:06: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-26 09:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787715129000,"timestamp_ms":1787715129000,"timestamp_seconds":1787715129,"priority":1,"record_length":96,"hex_timestamp":"000001a03c200ea8"} 
[2026-08-26 09: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-26 09:06: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-26 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 09:06: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-26 09: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-26 09: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-26 09:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654995968001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654995968001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:06:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:06:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654995968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":162500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:06:17] local.INFO: GPS data processed {"connection_id":162500,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:06:17] local.INFO: Acknowledgment sent {"connection_id":162500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:06:37] local.INFO: TCP Data received {"connection_id":163521,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:06:37] local.INFO: Processing buffer {"connection_id":163521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:06:37] local.INFO: IMEI packet received {"connection_id":163521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":163521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:06:42] local.INFO: TCP Data received {"connection_id":163521,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:06:42] local.INFO: Processing buffer {"connection_id":163521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:06:42] local.INFO: IMEI packet received {"connection_id":163521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":163521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:06:43] local.INFO: TCP Data received {"connection_id":163521,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:06:43] local.INFO: Processing buffer {"connection_id":163521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:06:43] local.INFO: Packet analysis {"connection_id":163521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c20"} 
[2026-08-26 09:06:43] local.INFO: Extracted packet for processing {"connection_id":163521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c20"} 
[2026-08-26 09:06:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654995968001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:06: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-26 09:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787715129000,"timestamp_ms":1787715129000,"timestamp_seconds":1787715129,"priority":1,"record_length":96,"hex_timestamp":"000001a03c200ea8"} 
[2026-08-26 09:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:06: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-26 09:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 09:06: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-26 09:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654995968001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654995968001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:06:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:06:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654995968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":163521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:06:43] local.INFO: GPS data processed {"connection_id":163521,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:06:43] local.INFO: Acknowledgment sent {"connection_id":163521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:07:15] local.INFO: TCP Data received {"connection_id":163521,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:07:15] local.INFO: Processing buffer {"connection_id":163521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:07:15] local.INFO: Packet analysis {"connection_id":163521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c20"} 
[2026-08-26 09:07:15] local.INFO: Extracted packet for processing {"connection_id":163521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c20"} 
[2026-08-26 09:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654995968001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09: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-26 09:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787715129000,"timestamp_ms":1787715129000,"timestamp_seconds":1787715129,"priority":1,"record_length":96,"hex_timestamp":"000001a03c200ea8"} 
[2026-08-26 09: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-26 09:07: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-26 09: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 09:07: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-26 09: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-26 09: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-26 09:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654995968001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654995968001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:07:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654995968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":163521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:07:15] local.INFO: GPS data processed {"connection_id":163521,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:07:15] local.INFO: Acknowledgment sent {"connection_id":163521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:07:43] local.INFO: TCP Data received {"connection_id":164875,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:07:43] local.INFO: Processing buffer {"connection_id":164875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:07:43] local.INFO: IMEI packet received {"connection_id":164875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":164875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:07:47] local.INFO: TCP Data received {"connection_id":164875,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:07:47] local.INFO: Processing buffer {"connection_id":164875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:07:47] local.INFO: IMEI packet received {"connection_id":164875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":164875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:07:48] local.INFO: TCP Data received {"connection_id":164875,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:07:48] local.INFO: Processing buffer {"connection_id":164875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c200ea8012d34c14006aa4818000800e628..."} 
[2026-08-26 09:07:48] local.INFO: Packet analysis {"connection_id":164875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c20"} 
[2026-08-26 09:07:48] local.INFO: Extracted packet for processing {"connection_id":164875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c20"} 
[2026-08-26 09:07:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457654995968001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787715129000,"timestamp_ms":1787715129000,"timestamp_seconds":1787715129,"priority":1,"record_length":96,"hex_timestamp":"000001a03c200ea8"} 
[2026-08-26 09: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-26 09:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 09:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09: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-26 09: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-26 09:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457654995968001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457654995968001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:07:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:07:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457654995968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":164875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:07:48] local.INFO: GPS data processed {"connection_id":164875,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:07:48] local.INFO: Acknowledgment sent {"connection_id":164875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:07:50] local.INFO: TCP Data received {"connection_id":164875,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:07:50] local.INFO: Processing buffer {"connection_id":164875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:07:50] local.INFO: Packet analysis {"connection_id":164875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c24"} 
[2026-08-26 09:07:50] local.INFO: Extracted packet for processing {"connection_id":164875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c24"} 
[2026-08-26 09:07:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655073024001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787715430000,"timestamp_ms":1787715430000,"timestamp_seconds":1787715430,"priority":1,"record_length":96,"hex_timestamp":"000001a03c24a670"} 
[2026-08-26 09: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-26 09:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:07:50] 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-26 09: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-26 09: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-26 09:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655073024001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655073024001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:07:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:07:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655073024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":164875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:07:50] local.INFO: GPS data processed {"connection_id":164875,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:07:50] local.INFO: Acknowledgment sent {"connection_id":164875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:08:22] local.INFO: TCP Data received {"connection_id":164875,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:08:22] local.INFO: Processing buffer {"connection_id":164875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:08:22] local.INFO: Packet analysis {"connection_id":164875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c24"} 
[2026-08-26 09:08:22] local.INFO: Extracted packet for processing {"connection_id":164875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c24"} 
[2026-08-26 09:08:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655073024001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:08: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-26 09:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787715430000,"timestamp_ms":1787715430000,"timestamp_seconds":1787715430,"priority":1,"record_length":96,"hex_timestamp":"000001a03c24a670"} 
[2026-08-26 09:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:08: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-26 09:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:08:22] 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-26 09:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655073024001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655073024001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:08:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:08:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655073024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":164875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:08:22] local.INFO: GPS data processed {"connection_id":164875,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:08:22] local.INFO: Acknowledgment sent {"connection_id":164875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:08:37] local.INFO: TCP Data received {"connection_id":162271,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:08:37] local.INFO: Processing buffer {"connection_id":162271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:08:37] local.INFO: IMEI packet received {"connection_id":162271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":162271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:08:42] local.INFO: TCP Data received {"connection_id":162271,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:08:42] local.INFO: Processing buffer {"connection_id":162271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:08:42] local.INFO: IMEI packet received {"connection_id":162271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":162271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:08:43] local.INFO: TCP Data received {"connection_id":162271,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:08:43] local.INFO: Processing buffer {"connection_id":162271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:08:43] local.INFO: Packet analysis {"connection_id":162271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c24"} 
[2026-08-26 09:08:43] local.INFO: Extracted packet for processing {"connection_id":162271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c24"} 
[2026-08-26 09:08:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655073024001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:08: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-26 09:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787715430000,"timestamp_ms":1787715430000,"timestamp_seconds":1787715430,"priority":1,"record_length":96,"hex_timestamp":"000001a03c24a670"} 
[2026-08-26 09:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:08: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-26 09:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:08:43] 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-26 09:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655073024001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655073024001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:08:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:08:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655073024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":162271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:08:44] local.INFO: GPS data processed {"connection_id":162271,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:08:44] local.INFO: Acknowledgment sent {"connection_id":162271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:09:15] local.INFO: TCP Data received {"connection_id":162271,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:09:15] local.INFO: Processing buffer {"connection_id":162271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:09:15] local.INFO: Packet analysis {"connection_id":162271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c24"} 
[2026-08-26 09:09:15] local.INFO: Extracted packet for processing {"connection_id":162271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c24"} 
[2026-08-26 09:09:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655073024001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:09: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-26 09:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787715430000,"timestamp_ms":1787715430000,"timestamp_seconds":1787715430,"priority":1,"record_length":96,"hex_timestamp":"000001a03c24a670"} 
[2026-08-26 09:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:09: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-26 09:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:09: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-26 09:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655073024001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655073024001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:09:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:09:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655073024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":162271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:09:15] local.INFO: GPS data processed {"connection_id":162271,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:09:15] local.INFO: Acknowledgment sent {"connection_id":162271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:09:37] local.INFO: TCP Data received {"connection_id":164876,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:09:37] local.INFO: Processing buffer {"connection_id":164876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:09:37] local.INFO: IMEI packet received {"connection_id":164876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":164876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:09:42] local.INFO: TCP Data received {"connection_id":164876,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:09:43] local.INFO: Processing buffer {"connection_id":164876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:09:43] local.INFO: IMEI packet received {"connection_id":164876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":164876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:09:43] local.INFO: TCP Data received {"connection_id":164876,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:09:43] local.INFO: Processing buffer {"connection_id":164876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:09:43] local.INFO: Packet analysis {"connection_id":164876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c24"} 
[2026-08-26 09:09:43] local.INFO: Extracted packet for processing {"connection_id":164876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c24"} 
[2026-08-26 09:09:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655073024001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:09: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-26 09:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787715430000,"timestamp_ms":1787715430000,"timestamp_seconds":1787715430,"priority":1,"record_length":96,"hex_timestamp":"000001a03c24a670"} 
[2026-08-26 09: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-26 09:09: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-26 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:09:43] 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-26 09: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-26 09: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-26 09:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655073024001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655073024001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:09:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:09:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655073024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":164876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:09:43] local.INFO: GPS data processed {"connection_id":164876,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:09:43] local.INFO: Acknowledgment sent {"connection_id":164876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:10:15] local.INFO: TCP Data received {"connection_id":164876,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:10:15] local.INFO: Processing buffer {"connection_id":164876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:10:15] local.INFO: Packet analysis {"connection_id":164876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c24"} 
[2026-08-26 09:10:15] local.INFO: Extracted packet for processing {"connection_id":164876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c24"} 
[2026-08-26 09:10:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655073024001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:10: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-26 09:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787715430000,"timestamp_ms":1787715430000,"timestamp_seconds":1787715430,"priority":1,"record_length":96,"hex_timestamp":"000001a03c24a670"} 
[2026-08-26 09:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:10: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-26 09:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:10: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-26 09:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655073024001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655073024001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:10:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:10:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655073024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":164876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:10:15] local.INFO: GPS data processed {"connection_id":164876,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:10:15] local.INFO: Acknowledgment sent {"connection_id":164876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:10:37] local.INFO: TCP Data received {"connection_id":162501,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:10:37] local.INFO: Processing buffer {"connection_id":162501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:10:37] local.INFO: IMEI packet received {"connection_id":162501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":162501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:10:42] local.INFO: TCP Data received {"connection_id":162501,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:10:42] local.INFO: Processing buffer {"connection_id":162501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:10:42] local.INFO: IMEI packet received {"connection_id":162501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":162501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:10:44] local.INFO: TCP Data received {"connection_id":162501,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:10:44] local.INFO: Processing buffer {"connection_id":162501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:10:44] local.INFO: Packet analysis {"connection_id":162501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c24"} 
[2026-08-26 09:10:44] local.INFO: Extracted packet for processing {"connection_id":162501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c24"} 
[2026-08-26 09:10:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655073024001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:10: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-26 09:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787715430000,"timestamp_ms":1787715430000,"timestamp_seconds":1787715430,"priority":1,"record_length":96,"hex_timestamp":"000001a03c24a670"} 
[2026-08-26 09: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-26 09:10: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-26 09: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:10: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-26 09: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-26 09: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-26 09:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655073024001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655073024001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:10:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:10:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655073024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":162501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:10:44] local.INFO: GPS data processed {"connection_id":162501,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:10:44] local.INFO: Acknowledgment sent {"connection_id":162501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:11:15] local.INFO: TCP Data received {"connection_id":162501,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:11:15] local.INFO: Processing buffer {"connection_id":162501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:11:15] local.INFO: Packet analysis {"connection_id":162501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c24"} 
[2026-08-26 09:11:15] local.INFO: Extracted packet for processing {"connection_id":162501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c24"} 
[2026-08-26 09:11:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655073024001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:11: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-26 09:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787715430000,"timestamp_ms":1787715430000,"timestamp_seconds":1787715430,"priority":1,"record_length":96,"hex_timestamp":"000001a03c24a670"} 
[2026-08-26 09: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-26 09:11: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-26 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:11: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-26 09: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-26 09: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-26 09:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655073024001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655073024001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:11:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:11:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655073024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":162501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:11:15] local.INFO: GPS data processed {"connection_id":162501,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:11:15] local.INFO: Acknowledgment sent {"connection_id":162501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:11:37] local.INFO: TCP Data received {"connection_id":162502,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:11:37] local.INFO: Processing buffer {"connection_id":162502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:11:37] local.INFO: IMEI packet received {"connection_id":162502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":162502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:11:43] local.INFO: TCP Data received {"connection_id":162502,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:11:43] local.INFO: Processing buffer {"connection_id":162502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:11:43] local.INFO: IMEI packet received {"connection_id":162502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":162502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:11:44] local.INFO: TCP Data received {"connection_id":162502,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:11:44] local.INFO: Processing buffer {"connection_id":162502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:11:44] local.INFO: Packet analysis {"connection_id":162502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c24"} 
[2026-08-26 09:11:44] local.INFO: Extracted packet for processing {"connection_id":162502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c24"} 
[2026-08-26 09:11:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655073024001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:11: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-26 09:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787715430000,"timestamp_ms":1787715430000,"timestamp_seconds":1787715430,"priority":1,"record_length":96,"hex_timestamp":"000001a03c24a670"} 
[2026-08-26 09: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-26 09:11: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-26 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:11: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-26 09: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-26 09: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-26 09:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655073024001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655073024001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:11:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:11:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655073024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":162502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:11:44] local.INFO: GPS data processed {"connection_id":162502,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:11:44] local.INFO: Acknowledgment sent {"connection_id":162502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:12:15] local.INFO: TCP Data received {"connection_id":162502,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:12:15] local.INFO: Processing buffer {"connection_id":162502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:12:15] local.INFO: Packet analysis {"connection_id":162502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c24"} 
[2026-08-26 09:12:15] local.INFO: Extracted packet for processing {"connection_id":162502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c24"} 
[2026-08-26 09:12:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655073024001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09: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-26 09:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787715430000,"timestamp_ms":1787715430000,"timestamp_seconds":1787715430,"priority":1,"record_length":96,"hex_timestamp":"000001a03c24a670"} 
[2026-08-26 09: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-26 09:12: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-26 09: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:12: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-26 09: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-26 09: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-26 09:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655073024001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655073024001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:12:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:12:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655073024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":162502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:12:15] local.INFO: GPS data processed {"connection_id":162502,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:12:15] local.INFO: Acknowledgment sent {"connection_id":162502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:12:42] local.INFO: TCP Data received {"connection_id":164877,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:12:42] local.INFO: Processing buffer {"connection_id":164877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:12:42] local.INFO: IMEI packet received {"connection_id":164877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":164877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:12:47] local.INFO: TCP Data received {"connection_id":164877,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:12:47] local.INFO: Processing buffer {"connection_id":164877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:12:47] local.INFO: IMEI packet received {"connection_id":164877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":164877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:12:48] local.INFO: TCP Data received {"connection_id":164877,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:12:48] local.INFO: Processing buffer {"connection_id":164877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c24a670012d34c14006aa4818000500e628..."} 
[2026-08-26 09:12:48] local.INFO: Packet analysis {"connection_id":164877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c24"} 
[2026-08-26 09:12:48] local.INFO: Extracted packet for processing {"connection_id":164877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c24"} 
[2026-08-26 09:12:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655073024001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787715430000,"timestamp_ms":1787715430000,"timestamp_seconds":1787715430,"priority":1,"record_length":96,"hex_timestamp":"000001a03c24a670"} 
[2026-08-26 09: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-26 09:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:12:48] 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-26 09: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-26 09: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-26 09:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655073024001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655073024001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:12:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:12:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655073024001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":164877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:12:48] local.INFO: GPS data processed {"connection_id":164877,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:12:48] local.INFO: Acknowledgment sent {"connection_id":164877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:12:50] local.INFO: TCP Data received {"connection_id":164877,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:12:50] local.INFO: Processing buffer {"connection_id":164877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:12:50] local.INFO: Packet analysis {"connection_id":164877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c29"} 
[2026-08-26 09:12:50] local.INFO: Extracted packet for processing {"connection_id":164877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c29"} 
[2026-08-26 09:12:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655150080001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787715731000,"timestamp_ms":1787715731000,"timestamp_seconds":1787715731,"priority":1,"record_length":96,"hex_timestamp":"000001a03c293e38"} 
[2026-08-26 09: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-26 09:12: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-26 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 09:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 09: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-26 09: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-26 09:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655150080001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655150080001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:12:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:12:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655150080001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":164877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:12:50] local.INFO: GPS data processed {"connection_id":164877,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:12:50] local.INFO: Acknowledgment sent {"connection_id":164877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:13:21] local.INFO: TCP Data received {"connection_id":164877,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:13:21] local.INFO: Processing buffer {"connection_id":164877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:13:21] local.INFO: Packet analysis {"connection_id":164877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c29"} 
[2026-08-26 09:13:21] local.INFO: Extracted packet for processing {"connection_id":164877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c29"} 
[2026-08-26 09:13:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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":795,"current_offset":40} 
[2026-08-26 09:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655150080001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:13: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-26 09:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787715731000,"timestamp_ms":1787715731000,"timestamp_seconds":1787715731,"priority":1,"record_length":96,"hex_timestamp":"000001a03c293e38"} 
[2026-08-26 09:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:13: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-26 09:13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 09:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 09:13: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-26 09:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655150080001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655150080001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:13:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:13:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655150080001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":164877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:13:21] local.INFO: GPS data processed {"connection_id":164877,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:13:21] local.INFO: Acknowledgment sent {"connection_id":164877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:13:37] local.INFO: TCP Data received {"connection_id":163523,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:13:37] local.INFO: Processing buffer {"connection_id":163523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:13:37] local.INFO: IMEI packet received {"connection_id":163523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":163523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:13:42] local.INFO: TCP Data received {"connection_id":163523,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:13:42] local.INFO: Processing buffer {"connection_id":163523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:13:42] local.INFO: IMEI packet received {"connection_id":163523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":163523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:13:43] local.INFO: TCP Data received {"connection_id":163523,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:13:43] local.INFO: Processing buffer {"connection_id":163523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:13:43] local.INFO: Packet analysis {"connection_id":163523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c29"} 
[2026-08-26 09:13:43] local.INFO: Extracted packet for processing {"connection_id":163523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c29"} 
[2026-08-26 09:13:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655150080001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09: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-26 09:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787715731000,"timestamp_ms":1787715731000,"timestamp_seconds":1787715731,"priority":1,"record_length":96,"hex_timestamp":"000001a03c293e38"} 
[2026-08-26 09: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-26 09: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-26 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 09:13: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-26 09: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-26 09: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-26 09:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655150080001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655150080001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:13:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:13:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655150080001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":163523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:13:43] local.INFO: GPS data processed {"connection_id":163523,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:13:43] local.INFO: Acknowledgment sent {"connection_id":163523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:14:15] local.INFO: TCP Data received {"connection_id":163523,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:14:15] local.INFO: Processing buffer {"connection_id":163523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:14:15] local.INFO: Packet analysis {"connection_id":163523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c29"} 
[2026-08-26 09:14:15] local.INFO: Extracted packet for processing {"connection_id":163523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c29"} 
[2026-08-26 09:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655150080001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:14: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-26 09:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787715731000,"timestamp_ms":1787715731000,"timestamp_seconds":1787715731,"priority":1,"record_length":96,"hex_timestamp":"000001a03c293e38"} 
[2026-08-26 09:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 09:14: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-26 09:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655150080001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655150080001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:14:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:14:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655150080001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":163523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:14:15] local.INFO: GPS data processed {"connection_id":163523,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:14:15] local.INFO: Acknowledgment sent {"connection_id":163523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:14:37] local.INFO: TCP Data received {"connection_id":162503,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:14:37] local.INFO: Processing buffer {"connection_id":162503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:14:37] local.INFO: IMEI packet received {"connection_id":162503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":162503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:14:42] local.INFO: TCP Data received {"connection_id":162503,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:14:42] local.INFO: Processing buffer {"connection_id":162503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:14:42] local.INFO: IMEI packet received {"connection_id":162503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":162503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:14:44] local.INFO: TCP Data received {"connection_id":162503,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:14:44] local.INFO: Processing buffer {"connection_id":162503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:14:44] local.INFO: Packet analysis {"connection_id":162503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c29"} 
[2026-08-26 09:14:44] local.INFO: Extracted packet for processing {"connection_id":162503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c29"} 
[2026-08-26 09:14:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655150080001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09: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-26 09:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787715731000,"timestamp_ms":1787715731000,"timestamp_seconds":1787715731,"priority":1,"record_length":96,"hex_timestamp":"000001a03c293e38"} 
[2026-08-26 09: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-26 09:14: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-26 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 09:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 09: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-26 09: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-26 09:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655150080001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655150080001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:14:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:14:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655150080001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":162503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:14:44] local.INFO: GPS data processed {"connection_id":162503,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:14:44] local.INFO: Acknowledgment sent {"connection_id":162503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:15:16] local.INFO: TCP Data received {"connection_id":162503,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:15:16] local.INFO: Processing buffer {"connection_id":162503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:15:16] local.INFO: Packet analysis {"connection_id":162503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c29"} 
[2026-08-26 09:15:16] local.INFO: Extracted packet for processing {"connection_id":162503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c29"} 
[2026-08-26 09:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 09:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655150080001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:15: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-26 09:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787715731000,"timestamp_ms":1787715731000,"timestamp_seconds":1787715731,"priority":1,"record_length":96,"hex_timestamp":"000001a03c293e38"} 
[2026-08-26 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-26 09:15: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-26 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 09:15: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-26 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-26 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-26 09:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655150080001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655150080001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:15:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655150080001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":162503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:15:16] local.INFO: GPS data processed {"connection_id":162503,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:15:16] local.INFO: Acknowledgment sent {"connection_id":162503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:15:37] local.INFO: TCP Data received {"connection_id":164878,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:15:37] local.INFO: Processing buffer {"connection_id":164878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:15:37] local.INFO: IMEI packet received {"connection_id":164878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":164878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:15:42] local.INFO: TCP Data received {"connection_id":164878,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:15:42] local.INFO: Processing buffer {"connection_id":164878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:15:42] local.INFO: IMEI packet received {"connection_id":164878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":164878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:15:43] local.INFO: TCP Data received {"connection_id":164878,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:15:43] local.INFO: Processing buffer {"connection_id":164878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:15:43] local.INFO: Packet analysis {"connection_id":164878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c29"} 
[2026-08-26 09:15:43] local.INFO: Extracted packet for processing {"connection_id":164878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c29"} 
[2026-08-26 09:15:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655150080001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:15: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-26 09:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787715731000,"timestamp_ms":1787715731000,"timestamp_seconds":1787715731,"priority":1,"record_length":96,"hex_timestamp":"000001a03c293e38"} 
[2026-08-26 09:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 09:15: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-26 09:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655150080001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655150080001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:15:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:15:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655150080001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":164878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:15:43] local.INFO: GPS data processed {"connection_id":164878,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:15:43] local.INFO: Acknowledgment sent {"connection_id":164878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:16:14] local.INFO: TCP Data received {"connection_id":164878,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:16:14] local.INFO: Processing buffer {"connection_id":164878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:16:14] local.INFO: Packet analysis {"connection_id":164878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c29"} 
[2026-08-26 09:16:14] local.INFO: Extracted packet for processing {"connection_id":164878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c29"} 
[2026-08-26 09:16:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655150080001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:16: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-26 09:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787715731000,"timestamp_ms":1787715731000,"timestamp_seconds":1787715731,"priority":1,"record_length":96,"hex_timestamp":"000001a03c293e38"} 
[2026-08-26 09: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-26 09:16: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-26 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 09:16: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-26 09: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-26 09: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-26 09:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655150080001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655150080001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:16:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:16:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655150080001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":164878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:16:14] local.INFO: GPS data processed {"connection_id":164878,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:16:14] local.INFO: Acknowledgment sent {"connection_id":164878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:16:37] local.INFO: TCP Data received {"connection_id":163525,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:16:37] local.INFO: Processing buffer {"connection_id":163525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:16:37] local.INFO: IMEI packet received {"connection_id":163525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":163525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:16:42] local.INFO: TCP Data received {"connection_id":163525,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:16:42] local.INFO: Processing buffer {"connection_id":163525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:16:42] local.INFO: IMEI packet received {"connection_id":163525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":163525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:16:43] local.INFO: TCP Data received {"connection_id":163525,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:16:43] local.INFO: Processing buffer {"connection_id":163525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:16:43] local.INFO: Packet analysis {"connection_id":163525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c29"} 
[2026-08-26 09:16:43] local.INFO: Extracted packet for processing {"connection_id":163525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c29"} 
[2026-08-26 09:16:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655150080001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:16: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-26 09:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787715731000,"timestamp_ms":1787715731000,"timestamp_seconds":1787715731,"priority":1,"record_length":96,"hex_timestamp":"000001a03c293e38"} 
[2026-08-26 09: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-26 09:16: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-26 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 09:16: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-26 09: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-26 09: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-26 09:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655150080001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655150080001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:16:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:16:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655150080001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":163525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:16:43] local.INFO: GPS data processed {"connection_id":163525,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:16:43] local.INFO: Acknowledgment sent {"connection_id":163525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:17:15] local.INFO: TCP Data received {"connection_id":163525,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:17:15] local.INFO: Processing buffer {"connection_id":163525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:17:15] local.INFO: Packet analysis {"connection_id":163525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c29"} 
[2026-08-26 09:17:15] local.INFO: Extracted packet for processing {"connection_id":163525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c29"} 
[2026-08-26 09:17:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 09:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655150080001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 09:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787715731000,"timestamp_ms":1787715731000,"timestamp_seconds":1787715731,"priority":1,"record_length":96,"hex_timestamp":"000001a03c293e38"} 
[2026-08-26 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-26 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-26 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 09:17: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-26 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-26 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-26 09:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655150080001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655150080001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:17:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:17:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655150080001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":163525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:17:15] local.INFO: GPS data processed {"connection_id":163525,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:17:15] local.INFO: Acknowledgment sent {"connection_id":163525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:17:43] local.INFO: TCP Data received {"connection_id":164879,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:17:43] local.INFO: Processing buffer {"connection_id":164879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:17:43] local.INFO: IMEI packet received {"connection_id":164879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":164879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:17:48] local.INFO: TCP Data received {"connection_id":164879,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:17:48] local.INFO: Processing buffer {"connection_id":164879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:17:48] local.INFO: IMEI packet received {"connection_id":164879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":164879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:17:49] local.INFO: TCP Data received {"connection_id":164879,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:17:49] local.INFO: Processing buffer {"connection_id":164879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c293e38012d34c14006aa4818000600e626..."} 
[2026-08-26 09:17:49] local.INFO: Packet analysis {"connection_id":164879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c29"} 
[2026-08-26 09:17:49] local.INFO: Extracted packet for processing {"connection_id":164879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c29"} 
[2026-08-26 09:17:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655150080001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:17: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-26 09:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787715731000,"timestamp_ms":1787715731000,"timestamp_seconds":1787715731,"priority":1,"record_length":96,"hex_timestamp":"000001a03c293e38"} 
[2026-08-26 09:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:17: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-26 09:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 09:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 09:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655150080001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655150080001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:17:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:17:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655150080001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":164879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:17:49] local.INFO: GPS data processed {"connection_id":164879,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:17:49] local.INFO: Acknowledgment sent {"connection_id":164879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:17:51] local.INFO: TCP Data received {"connection_id":164879,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:17:51] local.INFO: Processing buffer {"connection_id":164879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:17:51] local.INFO: Packet analysis {"connection_id":164879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c2d"} 
[2026-08-26 09:17:51] local.INFO: Extracted packet for processing {"connection_id":164879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c2d"} 
[2026-08-26 09:17:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:17: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-26 09:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655227136001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787716032000,"timestamp_ms":1787716032000,"timestamp_seconds":1787716032,"priority":1,"record_length":96,"hex_timestamp":"000001a03c2dd600"} 
[2026-08-26 09:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09:17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 09:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 09:17: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-26 09:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655227136001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655227136001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:17:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:17:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655227136001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":164879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:17:51] local.INFO: GPS data processed {"connection_id":164879,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:17:51] local.INFO: Acknowledgment sent {"connection_id":164879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:18:22] local.INFO: TCP Data received {"connection_id":164879,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:18:22] local.INFO: Processing buffer {"connection_id":164879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:18:22] local.INFO: Packet analysis {"connection_id":164879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c2d"} 
[2026-08-26 09:18:22] local.INFO: Extracted packet for processing {"connection_id":164879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c2d"} 
[2026-08-26 09:18:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655227136001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:18: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-26 09:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787716032000,"timestamp_ms":1787716032000,"timestamp_seconds":1787716032,"priority":1,"record_length":96,"hex_timestamp":"000001a03c2dd600"} 
[2026-08-26 09: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-26 09:18: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-26 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 09:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 09: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-26 09: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-26 09:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655227136001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655227136001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:18:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:18:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655227136001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":164879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:18:22] local.INFO: GPS data processed {"connection_id":164879,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:18:22] local.INFO: Acknowledgment sent {"connection_id":164879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:18:37] local.INFO: TCP Data received {"connection_id":162504,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:18:37] local.INFO: Processing buffer {"connection_id":162504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:18:37] local.INFO: IMEI packet received {"connection_id":162504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":162504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:18:42] local.INFO: TCP Data received {"connection_id":162504,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:18:42] local.INFO: Processing buffer {"connection_id":162504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:18:42] local.INFO: IMEI packet received {"connection_id":162504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":162504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:18:43] local.INFO: TCP Data received {"connection_id":162504,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:18:43] local.INFO: Processing buffer {"connection_id":162504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:18:43] local.INFO: Packet analysis {"connection_id":162504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c2d"} 
[2026-08-26 09:18:43] local.INFO: Extracted packet for processing {"connection_id":162504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c2d"} 
[2026-08-26 09:18:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655227136001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:18: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-26 09:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787716032000,"timestamp_ms":1787716032000,"timestamp_seconds":1787716032,"priority":1,"record_length":96,"hex_timestamp":"000001a03c2dd600"} 
[2026-08-26 09:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:18: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-26 09:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 09:18: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-26 09:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655227136001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655227136001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:18:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:18:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655227136001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":162504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:18:43] local.INFO: GPS data processed {"connection_id":162504,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:18:43] local.INFO: Acknowledgment sent {"connection_id":162504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:19:15] local.INFO: TCP Data received {"connection_id":162504,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:19:15] local.INFO: Processing buffer {"connection_id":162504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:19:15] local.INFO: Packet analysis {"connection_id":162504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c2d"} 
[2026-08-26 09:19:15] local.INFO: Extracted packet for processing {"connection_id":162504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c2d"} 
[2026-08-26 09:19:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655227136001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:19: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-26 09:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787716032000,"timestamp_ms":1787716032000,"timestamp_seconds":1787716032,"priority":1,"record_length":96,"hex_timestamp":"000001a03c2dd600"} 
[2026-08-26 09:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:19: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-26 09:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 09:19: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-26 09:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655227136001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655227136001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:19:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:19:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655227136001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":162504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:19:15] local.INFO: GPS data processed {"connection_id":162504,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:19:15] local.INFO: Acknowledgment sent {"connection_id":162504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:19:37] local.INFO: TCP Data received {"connection_id":164880,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:19:37] local.INFO: Processing buffer {"connection_id":164880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:19:37] local.INFO: IMEI packet received {"connection_id":164880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":164880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:19:43] local.INFO: TCP Data received {"connection_id":164880,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:19:43] local.INFO: Processing buffer {"connection_id":164880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:19:43] local.INFO: IMEI packet received {"connection_id":164880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":164880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:19:43] local.INFO: TCP Data received {"connection_id":164880,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:19:43] local.INFO: Processing buffer {"connection_id":164880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:19:43] local.INFO: Packet analysis {"connection_id":164880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c2d"} 
[2026-08-26 09:19:43] local.INFO: Extracted packet for processing {"connection_id":164880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c2d"} 
[2026-08-26 09:19:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655227136001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09: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-26 09:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787716032000,"timestamp_ms":1787716032000,"timestamp_seconds":1787716032,"priority":1,"record_length":96,"hex_timestamp":"000001a03c2dd600"} 
[2026-08-26 09: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-26 09: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-26 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 09:19: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-26 09: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-26 09: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-26 09:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655227136001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655227136001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:19:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:19:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655227136001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":164880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:19:44] local.INFO: GPS data processed {"connection_id":164880,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:19:44] local.INFO: Acknowledgment sent {"connection_id":164880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:20:15] local.INFO: TCP Data received {"connection_id":164880,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:20:15] local.INFO: Processing buffer {"connection_id":164880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:20:15] local.INFO: Packet analysis {"connection_id":164880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c2d"} 
[2026-08-26 09:20:15] local.INFO: Extracted packet for processing {"connection_id":164880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c2d"} 
[2026-08-26 09:20:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655227136001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:20: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-26 09:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787716032000,"timestamp_ms":1787716032000,"timestamp_seconds":1787716032,"priority":1,"record_length":96,"hex_timestamp":"000001a03c2dd600"} 
[2026-08-26 09: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-26 09:20: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-26 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 09:20: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-26 09: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-26 09: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-26 09:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655227136001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655227136001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:20:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:20:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655227136001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":164880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:20:15] local.INFO: GPS data processed {"connection_id":164880,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:20:15] local.INFO: Acknowledgment sent {"connection_id":164880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:20:37] local.INFO: TCP Data received {"connection_id":164881,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:20:37] local.INFO: Processing buffer {"connection_id":164881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:20:37] local.INFO: IMEI packet received {"connection_id":164881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":164881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:20:42] local.INFO: TCP Data received {"connection_id":164881,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:20:42] local.INFO: Processing buffer {"connection_id":164881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:20:42] local.INFO: IMEI packet received {"connection_id":164881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":164881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:20:44] local.INFO: TCP Data received {"connection_id":164881,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:20:44] local.INFO: Processing buffer {"connection_id":164881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:20:44] local.INFO: Packet analysis {"connection_id":164881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c2d"} 
[2026-08-26 09:20:44] local.INFO: Extracted packet for processing {"connection_id":164881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c2d"} 
[2026-08-26 09:20:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655227136001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:20: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-26 09:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787716032000,"timestamp_ms":1787716032000,"timestamp_seconds":1787716032,"priority":1,"record_length":96,"hex_timestamp":"000001a03c2dd600"} 
[2026-08-26 09: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-26 09:20: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-26 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 09:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 09: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-26 09: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-26 09:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655227136001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655227136001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:20:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:20:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655227136001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":164881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:20:44] local.INFO: GPS data processed {"connection_id":164881,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:20:44] local.INFO: Acknowledgment sent {"connection_id":164881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:21:15] local.INFO: TCP Data received {"connection_id":164881,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:21:15] local.INFO: Processing buffer {"connection_id":164881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:21:15] local.INFO: Packet analysis {"connection_id":164881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c2d"} 
[2026-08-26 09:21:15] local.INFO: Extracted packet for processing {"connection_id":164881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c2d"} 
[2026-08-26 09:21:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655227136001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:21: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-26 09:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787716032000,"timestamp_ms":1787716032000,"timestamp_seconds":1787716032,"priority":1,"record_length":96,"hex_timestamp":"000001a03c2dd600"} 
[2026-08-26 09:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 09:21: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-26 09:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655227136001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655227136001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:21:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:21:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655227136001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":164881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:21:15] local.INFO: GPS data processed {"connection_id":164881,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:21:15] local.INFO: Acknowledgment sent {"connection_id":164881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:21:43] local.INFO: TCP Data received {"connection_id":164882,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:21:43] local.INFO: Processing buffer {"connection_id":164882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:21:43] local.INFO: IMEI packet received {"connection_id":164882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":164882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:21:47] local.INFO: TCP Data received {"connection_id":164882,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:21:47] local.INFO: Processing buffer {"connection_id":164882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:21:47] local.INFO: IMEI packet received {"connection_id":164882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":164882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:21:48] local.INFO: TCP Data received {"connection_id":164882,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:21:48] local.INFO: Processing buffer {"connection_id":164882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:21:48] local.INFO: Packet analysis {"connection_id":164882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c2d"} 
[2026-08-26 09:21:48] local.INFO: Extracted packet for processing {"connection_id":164882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c2d"} 
[2026-08-26 09:21:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655227136001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787716032000,"timestamp_ms":1787716032000,"timestamp_seconds":1787716032,"priority":1,"record_length":96,"hex_timestamp":"000001a03c2dd600"} 
[2026-08-26 09: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-26 09:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 09:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 09: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-26 09: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-26 09:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655227136001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655227136001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:21:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:21:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655227136001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":164882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:21:48] local.INFO: GPS data processed {"connection_id":164882,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:21:48] local.INFO: Acknowledgment sent {"connection_id":164882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:21:53] local.INFO: TCP Data received {"connection_id":164882,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:21:53] local.INFO: Processing buffer {"connection_id":164882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:21:53] local.INFO: Packet analysis {"connection_id":164882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c2d"} 
[2026-08-26 09:21:53] local.INFO: Extracted packet for processing {"connection_id":164882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c2d"} 
[2026-08-26 09:21:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655227136001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787716032000,"timestamp_ms":1787716032000,"timestamp_seconds":1787716032,"priority":1,"record_length":96,"hex_timestamp":"000001a03c2dd600"} 
[2026-08-26 09:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 09:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 09:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655227136001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655227136001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:21:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:21:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655227136001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":164882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:21:53] local.INFO: GPS data processed {"connection_id":164882,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:21:53] local.INFO: Acknowledgment sent {"connection_id":164882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:22:37] local.INFO: TCP Data received {"connection_id":163526,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:22:37] local.INFO: Processing buffer {"connection_id":163526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:22:37] local.INFO: IMEI packet received {"connection_id":163526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":163526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:22:42] local.INFO: TCP Data received {"connection_id":163526,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:22:42] local.INFO: Processing buffer {"connection_id":163526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:22:42] local.INFO: IMEI packet received {"connection_id":163526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":163526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:22:44] local.INFO: TCP Data received {"connection_id":163526,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:22:44] local.INFO: Processing buffer {"connection_id":163526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c2dd600012d34c14006aa4818000400e627..."} 
[2026-08-26 09:22:44] local.INFO: Packet analysis {"connection_id":163526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c2d"} 
[2026-08-26 09:22:44] local.INFO: Extracted packet for processing {"connection_id":163526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c2d"} 
[2026-08-26 09:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655227136001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:22: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-26 09:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787716032000,"timestamp_ms":1787716032000,"timestamp_seconds":1787716032,"priority":1,"record_length":96,"hex_timestamp":"000001a03c2dd600"} 
[2026-08-26 09: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-26 09:22: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-26 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 09:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 09: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-26 09: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-26 09:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655227136001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655227136001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:22:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655227136001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":163526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:22:44] local.INFO: GPS data processed {"connection_id":163526,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:22:44] local.INFO: Acknowledgment sent {"connection_id":163526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:23:15] local.INFO: TCP Data received {"connection_id":163526,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:23:15] local.INFO: Processing buffer {"connection_id":163526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:23:15] local.INFO: Packet analysis {"connection_id":163526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c32"} 
[2026-08-26 09:23:15] local.INFO: Extracted packet for processing {"connection_id":163526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c32"} 
[2026-08-26 09:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 09:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655304192001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 09:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787716333000,"timestamp_ms":1787716333000,"timestamp_seconds":1787716333,"priority":1,"record_length":96,"hex_timestamp":"000001a03c326dc8"} 
[2026-08-26 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-26 09:23: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-26 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":31,"data_length":795,"current_offset":136} 
[2026-08-26 09:23: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-26 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-26 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-26 09:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655304192001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655304192001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655304192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":163526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:23:15] local.INFO: GPS data processed {"connection_id":163526,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:23:15] local.INFO: Acknowledgment sent {"connection_id":163526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:23:33] local.INFO: TCP Data received {"connection_id":162506,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 09:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 09:23:33] local.INFO: Processing buffer {"connection_id":162506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 09:23:33] local.INFO: IMEI packet received {"connection_id":162506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 09:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":162506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:23:38] local.INFO: TCP Data received {"connection_id":162506,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 09:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 09:23:38] local.INFO: Processing buffer {"connection_id":162506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 09:23:38] local.INFO: IMEI packet received {"connection_id":162506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 09:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":162506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:23:39] local.INFO: TCP Data received {"connection_id":162506,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a00000000000080e80100000000000000000000000000..."} 
[2026-08-26 09:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162506,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000080e80100000000000000000000000000..."} 
[2026-08-26 09:23:39] local.INFO: Processing buffer {"connection_id":162506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000080e80100000000000000000000000000..."} 
[2026-08-26 09:23:39] local.INFO: Packet analysis {"connection_id":162506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-26 09:23:39] local.INFO: Extracted packet for processing {"connection_id":162506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-26 09:23: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-26 09:23:39] 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-26 09:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 09:23:39] 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-26 09:23:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":33000,"timestamp_seconds":33,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 09:23:39] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-26 09:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":162506,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 09:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 09:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-26 09:23:39] local.WARNING: DEBUG: No valid data to process  
[2026-08-26 09:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":162506,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-26 09:23:39] local.ERROR: GPS data processing failed {"connection_id":162506,"error":"No valid data to process"} 
[2026-08-26 09:23:39] local.INFO: Acknowledgment sent {"connection_id":162506,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-26 09:23:42] local.INFO: TCP Data received {"connection_id":162272,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:23:42] local.INFO: Processing buffer {"connection_id":162272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:23:42] local.INFO: IMEI packet received {"connection_id":162272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":162272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:23:47] local.INFO: TCP Data received {"connection_id":162272,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:23:47] local.INFO: Processing buffer {"connection_id":162272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:23:47] local.INFO: IMEI packet received {"connection_id":162272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":162272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:23:48] local.INFO: TCP Data received {"connection_id":162272,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:23:48] local.INFO: Processing buffer {"connection_id":162272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:23:48] local.INFO: Packet analysis {"connection_id":162272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c32"} 
[2026-08-26 09:23:48] local.INFO: Extracted packet for processing {"connection_id":162272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c32"} 
[2026-08-26 09:23:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655304192001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787716333000,"timestamp_ms":1787716333000,"timestamp_seconds":1787716333,"priority":1,"record_length":96,"hex_timestamp":"000001a03c326dc8"} 
[2026-08-26 09: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-26 09:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 09:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09: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-26 09: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-26 09:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655304192001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655304192001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:23:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:23:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655304192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":162272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:23:48] local.INFO: GPS data processed {"connection_id":162272,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:23:48] local.INFO: Acknowledgment sent {"connection_id":162272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:23:53] local.INFO: TCP Data received {"connection_id":162272,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:23:53] local.INFO: Processing buffer {"connection_id":162272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:23:53] local.INFO: Packet analysis {"connection_id":162272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c32"} 
[2026-08-26 09:23:53] local.INFO: Extracted packet for processing {"connection_id":162272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c32"} 
[2026-08-26 09:23:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655304192001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787716333000,"timestamp_ms":1787716333000,"timestamp_seconds":1787716333,"priority":1,"record_length":96,"hex_timestamp":"000001a03c326dc8"} 
[2026-08-26 09:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 09:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655304192001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655304192001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:23:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:23:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655304192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":162272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:23:53] local.INFO: GPS data processed {"connection_id":162272,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:23:53] local.INFO: Acknowledgment sent {"connection_id":162272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:24:10] local.INFO: TCP Data received {"connection_id":162506,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a00000000000080e80100000000000000000000000000..."} 
[2026-08-26 09:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162506,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000080e80100000000000000000000000000..."} 
[2026-08-26 09:24:10] local.INFO: Processing buffer {"connection_id":162506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000080e80100000000000000000000000000..."} 
[2026-08-26 09:24:10] local.INFO: Packet analysis {"connection_id":162506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-26 09:24:10] local.INFO: Extracted packet for processing {"connection_id":162506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-26 09:24: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-26 09:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 09:24:10] 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-26 09:24:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":33000,"timestamp_seconds":33,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 09:24:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-26 09:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":162506,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 09:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 09:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-26 09:24:10] local.WARNING: DEBUG: No valid data to process  
[2026-08-26 09:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":162506,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-26 09:24:10] local.ERROR: GPS data processing failed {"connection_id":162506,"error":"No valid data to process"} 
[2026-08-26 09:24:10] local.INFO: Acknowledgment sent {"connection_id":162506,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-26 09:24:37] local.INFO: TCP Data received {"connection_id":163527,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:24:37] local.INFO: Processing buffer {"connection_id":163527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:24:37] local.INFO: IMEI packet received {"connection_id":163527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":163527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:24:42] local.INFO: TCP Data received {"connection_id":162506,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a00000000000080e80100000000000000000000000000..."} 
[2026-08-26 09:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162506,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000080e80100000000000000000000000000..."} 
[2026-08-26 09:24:42] local.INFO: Processing buffer {"connection_id":162506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000080e80100000000000000000000000000..."} 
[2026-08-26 09:24:42] local.INFO: Packet analysis {"connection_id":162506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-26 09:24:42] local.INFO: Extracted packet for processing {"connection_id":162506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-26 09:24: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-26 09:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 09:24:42] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-08-26 09:24:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":33000,"timestamp_seconds":33,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 09:24:42] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-26 09:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162506,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 09:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 09:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-26 09:24:42] local.WARNING: DEBUG: No valid data to process  
[2026-08-26 09:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":162506,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-26 09:24:42] local.ERROR: GPS data processing failed {"connection_id":162506,"error":"No valid data to process"} 
[2026-08-26 09:24:42] local.INFO: Acknowledgment sent {"connection_id":162506,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-26 09:24:42] local.INFO: TCP Data received {"connection_id":163527,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:24:42] local.INFO: Processing buffer {"connection_id":163527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:24:42] local.INFO: IMEI packet received {"connection_id":163527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":163527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:24:44] local.INFO: TCP Data received {"connection_id":163527,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:24:44] local.INFO: Processing buffer {"connection_id":163527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:24:44] local.INFO: Packet analysis {"connection_id":163527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c32"} 
[2026-08-26 09:24:44] local.INFO: Extracted packet for processing {"connection_id":163527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c32"} 
[2026-08-26 09:24:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655304192001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:24: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-26 09:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787716333000,"timestamp_ms":1787716333000,"timestamp_seconds":1787716333,"priority":1,"record_length":96,"hex_timestamp":"000001a03c326dc8"} 
[2026-08-26 09:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:24: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-26 09:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 09:24: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-26 09:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655304192001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655304192001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:24:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:24:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655304192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":163527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:24:44] local.INFO: GPS data processed {"connection_id":163527,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:24:44] local.INFO: Acknowledgment sent {"connection_id":163527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:25:13] local.INFO: TCP Data received {"connection_id":162506,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-26 09:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162506,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-26 09:25:13] local.INFO: Processing buffer {"connection_id":162506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-26 09:25:13] local.INFO: Packet analysis {"connection_id":162506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-26 09:25:13] local.INFO: Extracted packet for processing {"connection_id":162506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-26 09:25: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-26 09: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-26 09:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 09:25:13] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-08-26 09:25:13] 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-26 09:25:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-26 09:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162506,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 09:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 09:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-26 09:25:13] local.WARNING: DEBUG: No valid data to process  
[2026-08-26 09:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":162506,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-26 09:25:13] local.ERROR: GPS data processing failed {"connection_id":162506,"error":"No valid data to process"} 
[2026-08-26 09:25:13] local.INFO: Acknowledgment sent {"connection_id":162506,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-26 09:25:15] local.INFO: TCP Data received {"connection_id":163527,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:25:15] local.INFO: Processing buffer {"connection_id":163527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:25:15] local.INFO: Packet analysis {"connection_id":163527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c32"} 
[2026-08-26 09:25:15] local.INFO: Extracted packet for processing {"connection_id":163527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c32"} 
[2026-08-26 09:25:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655304192001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:25: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-26 09:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787716333000,"timestamp_ms":1787716333000,"timestamp_seconds":1787716333,"priority":1,"record_length":96,"hex_timestamp":"000001a03c326dc8"} 
[2026-08-26 09:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09: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-26 09:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 09:25: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-26 09:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655304192001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655304192001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:25:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:25:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655304192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":163527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:25:15] local.INFO: GPS data processed {"connection_id":163527,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:25:15] local.INFO: Acknowledgment sent {"connection_id":163527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:25:37] local.INFO: TCP Data received {"connection_id":162507,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:25:37] local.INFO: Processing buffer {"connection_id":162507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:25:37] local.INFO: IMEI packet received {"connection_id":162507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":162507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:25:42] local.INFO: TCP Data received {"connection_id":162507,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:25:42] local.INFO: Processing buffer {"connection_id":162507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:25:42] local.INFO: IMEI packet received {"connection_id":162507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":162507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:25:43] local.INFO: TCP Data received {"connection_id":162507,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:25:43] local.INFO: Processing buffer {"connection_id":162507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:25:43] local.INFO: Packet analysis {"connection_id":162507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c32"} 
[2026-08-26 09:25:43] local.INFO: Extracted packet for processing {"connection_id":162507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c32"} 
[2026-08-26 09:25:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655304192001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:25: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-26 09:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787716333000,"timestamp_ms":1787716333000,"timestamp_seconds":1787716333,"priority":1,"record_length":96,"hex_timestamp":"000001a03c326dc8"} 
[2026-08-26 09:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:25: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-26 09:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 09:25: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-26 09:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655304192001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655304192001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:25:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:25:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655304192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":162507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:25:43] local.INFO: GPS data processed {"connection_id":162507,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:25:43] local.INFO: Acknowledgment sent {"connection_id":162507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:25:44] local.INFO: TCP Data received {"connection_id":162506,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000000000000d2f00100000000000000000000000000..."} 
[2026-08-26 09:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162506,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000d2f00100000000000000000000000000..."} 
[2026-08-26 09:25:44] local.INFO: Processing buffer {"connection_id":162506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000d2f00100000000000000000000000000..."} 
[2026-08-26 09:25:44] local.INFO: Packet analysis {"connection_id":162506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-26 09:25:44] local.INFO: Extracted packet for processing {"connection_id":162506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-26 09:25: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-26 09:25: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-26 09:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 09:25:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-26 09:25:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":54000,"timestamp_seconds":54,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 09:25:44] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-26 09:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162506,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 09:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 09:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-26 09:25:44] local.WARNING: DEBUG: No valid data to process  
[2026-08-26 09:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":162506,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-26 09:25:44] local.ERROR: GPS data processing failed {"connection_id":162506,"error":"No valid data to process"} 
[2026-08-26 09:25:44] local.INFO: Acknowledgment sent {"connection_id":162506,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-26 09:26:15] local.INFO: TCP Data received {"connection_id":162506,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000000000000d2f00100000000000000000000000000..."} 
[2026-08-26 09:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162506,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000d2f00100000000000000000000000000..."} 
[2026-08-26 09:26:15] local.INFO: Processing buffer {"connection_id":162506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000d2f00100000000000000000000000000..."} 
[2026-08-26 09:26:15] local.INFO: Packet analysis {"connection_id":162506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-26 09:26:15] local.INFO: Extracted packet for processing {"connection_id":162506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-26 09:26: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-26 09:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 09:26:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-26 09:26:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":54000,"timestamp_seconds":54,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 09:26:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-26 09:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162506,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 09:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 09:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-26 09:26:15] local.WARNING: DEBUG: No valid data to process  
[2026-08-26 09:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":162506,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-26 09:26:15] local.ERROR: GPS data processing failed {"connection_id":162506,"error":"No valid data to process"} 
[2026-08-26 09:26:15] local.INFO: Acknowledgment sent {"connection_id":162506,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-26 09:26:16] local.INFO: TCP Data received {"connection_id":162507,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:26:16] local.INFO: Processing buffer {"connection_id":162507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:26:16] local.INFO: Packet analysis {"connection_id":162507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c32"} 
[2026-08-26 09:26:16] local.INFO: Extracted packet for processing {"connection_id":162507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c32"} 
[2026-08-26 09:26:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655304192001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09: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-26 09:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787716333000,"timestamp_ms":1787716333000,"timestamp_seconds":1787716333,"priority":1,"record_length":96,"hex_timestamp":"000001a03c326dc8"} 
[2026-08-26 09: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-26 09:26: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-26 09: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 09:26: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-26 09: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-26 09: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-26 09:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655304192001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655304192001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:26:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:26:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655304192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":162507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:26:16] local.INFO: GPS data processed {"connection_id":162507,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:26:16] local.INFO: Acknowledgment sent {"connection_id":162507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:26:37] local.INFO: TCP Data received {"connection_id":162273,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:26:37] local.INFO: Processing buffer {"connection_id":162273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:26:37] local.INFO: IMEI packet received {"connection_id":162273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":162273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:26:42] local.INFO: TCP Data received {"connection_id":162273,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:26:42] local.INFO: Processing buffer {"connection_id":162273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:26:42] local.INFO: IMEI packet received {"connection_id":162273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":162273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:26:44] local.INFO: TCP Data received {"connection_id":162273,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:26:44] local.INFO: Processing buffer {"connection_id":162273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:26:44] local.INFO: Packet analysis {"connection_id":162273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c32"} 
[2026-08-26 09:26:44] local.INFO: Extracted packet for processing {"connection_id":162273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c32"} 
[2026-08-26 09:26:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655304192001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:26: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-26 09:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787716333000,"timestamp_ms":1787716333000,"timestamp_seconds":1787716333,"priority":1,"record_length":96,"hex_timestamp":"000001a03c326dc8"} 
[2026-08-26 09:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:26: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-26 09:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 09:26: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-26 09:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655304192001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655304192001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:26:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:26:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655304192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":162273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:26:44] local.INFO: GPS data processed {"connection_id":162273,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:26:44] local.INFO: Acknowledgment sent {"connection_id":162273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:26:46] local.INFO: TCP Data received {"connection_id":162506,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03c338708012d7b4bc005e132a00000005008..."} 
[2026-08-26 09:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c338708012d7b4bc005e132a00000005008..."} 
[2026-08-26 09:26:46] local.INFO: Processing buffer {"connection_id":162506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c338708012d7b4bc005e132a00000005008..."} 
[2026-08-26 09:26:46] local.INFO: Packet analysis {"connection_id":162506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c33"} 
[2026-08-26 09:26:46] local.INFO: Extracted packet for processing {"connection_id":162506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c33"} 
[2026-08-26 09:26:46] local.INFO: GPS Element Parsed {"raw_longitude":763055040,"raw_latitude":98644640,"longitude_deg":76.305504,"latitude_deg":9.864464,"altitude":0,"angle":80,"satellites":8,"speed":0,"hex_longitude":"2d7b4bc0","hex_latitude":"05e132a0","is_valid_coordinates":true} 
[2026-08-26 09:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 09:26:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-26 09:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787716405000,"timestamp_ms":1787716405000,"timestamp_seconds":1787716405,"priority":1,"record_length":96,"hex_timestamp":"000001a03c338708"} 
[2026-08-26 09: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-26 09:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09: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":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-26 09:26:46] 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-26 09: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-26 09: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-26 09:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 09:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 09:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 09:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 09:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":11852,"217":206,"85":15104,"24":0,"16":124571162733707264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16]} 
[2026-08-26 09:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 09:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 09:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-26 09:26:46] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-26 09:26:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 09:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124571162733707264,"km_value":124571162733707.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:26:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":11852,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-26 09:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":162506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:26:46] local.INFO: GPS data processed {"connection_id":162506,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:26:46] local.INFO: Acknowledgment sent {"connection_id":162506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:27:16] local.INFO: TCP Data received {"connection_id":162273,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:27:16] local.INFO: Processing buffer {"connection_id":162273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:27:16] local.INFO: Packet analysis {"connection_id":162273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c32"} 
[2026-08-26 09:27:16] local.INFO: Extracted packet for processing {"connection_id":162273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c32"} 
[2026-08-26 09:27:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655304192001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:27: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-26 09:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787716333000,"timestamp_ms":1787716333000,"timestamp_seconds":1787716333,"priority":1,"record_length":96,"hex_timestamp":"000001a03c326dc8"} 
[2026-08-26 09:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:27: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-26 09:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 09:27: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-26 09:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655304192001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655304192001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:27:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:27:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655304192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":162273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:27:16] local.INFO: GPS data processed {"connection_id":162273,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:27:16] local.INFO: Acknowledgment sent {"connection_id":162273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:27:17] local.INFO: TCP Data received {"connection_id":162506,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03c338708012d7b4bc005e132a00000005008..."} 
[2026-08-26 09:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c338708012d7b4bc005e132a00000005008..."} 
[2026-08-26 09:27:17] local.INFO: Processing buffer {"connection_id":162506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c338708012d7b4bc005e132a00000005008..."} 
[2026-08-26 09:27:17] local.INFO: Packet analysis {"connection_id":162506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c33"} 
[2026-08-26 09:27:17] local.INFO: Extracted packet for processing {"connection_id":162506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c33"} 
[2026-08-26 09:27:17] local.INFO: GPS Element Parsed {"raw_longitude":763055040,"raw_latitude":98644640,"longitude_deg":76.305504,"latitude_deg":9.864464,"altitude":0,"angle":80,"satellites":8,"speed":0,"hex_longitude":"2d7b4bc0","hex_latitude":"05e132a0","is_valid_coordinates":true} 
[2026-08-26 09:27:17] 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-26 09:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 09:27:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-26 09:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787716405000,"timestamp_ms":1787716405000,"timestamp_seconds":1787716405,"priority":1,"record_length":96,"hex_timestamp":"000001a03c338708"} 
[2026-08-26 09: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-26 09:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09: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":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-26 09:27:17] 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-26 09: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-26 09: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-26 09:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 09:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 09:27:17] 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-26 09:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 09:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 09:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":11852,"217":206,"85":15104,"24":0,"16":124571162733707264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16]} 
[2026-08-26 09:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 09:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 09:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-26 09:27:17] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-26 09:27:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 09:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124571162733707264,"km_value":124571162733707.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:27:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":11852,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-26 09:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":162506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:27:17] local.INFO: GPS data processed {"connection_id":162506,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:27:17] local.INFO: Acknowledgment sent {"connection_id":162506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:27:37] local.INFO: TCP Data received {"connection_id":163528,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:27:37] local.INFO: Processing buffer {"connection_id":163528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:27:37] local.INFO: IMEI packet received {"connection_id":163528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":163528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:27:42] local.INFO: TCP Data received {"connection_id":163528,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:27:42] local.INFO: Processing buffer {"connection_id":163528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:27:42] local.INFO: IMEI packet received {"connection_id":163528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":163528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:27:44] local.INFO: TCP Data received {"connection_id":163528,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:27:44] local.INFO: Processing buffer {"connection_id":163528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c326dc8012d34c14006aa4818000200e624..."} 
[2026-08-26 09:27:44] local.INFO: Packet analysis {"connection_id":163528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c32"} 
[2026-08-26 09:27:44] local.INFO: Extracted packet for processing {"connection_id":163528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c32"} 
[2026-08-26 09:27:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655304192001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:27: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-26 09:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787716333000,"timestamp_ms":1787716333000,"timestamp_seconds":1787716333,"priority":1,"record_length":96,"hex_timestamp":"000001a03c326dc8"} 
[2026-08-26 09: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-26 09:27: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-26 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 09:27: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-26 09: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-26 09: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-26 09:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655304192001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655304192001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:27:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:27:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655304192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":163528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:27:44] local.INFO: GPS data processed {"connection_id":163528,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:27:44] local.INFO: Acknowledgment sent {"connection_id":163528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:27:48] local.INFO: TCP Data received {"connection_id":162506,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03c338708012d7b4bc005e132a00000005008..."} 
[2026-08-26 09:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c338708012d7b4bc005e132a00000005008..."} 
[2026-08-26 09:27:48] local.INFO: Processing buffer {"connection_id":162506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c338708012d7b4bc005e132a00000005008..."} 
[2026-08-26 09:27:48] local.INFO: Packet analysis {"connection_id":162506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c33"} 
[2026-08-26 09:27:48] local.INFO: Extracted packet for processing {"connection_id":162506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c33"} 
[2026-08-26 09:27:48] local.INFO: GPS Element Parsed {"raw_longitude":763055040,"raw_latitude":98644640,"longitude_deg":76.305504,"latitude_deg":9.864464,"altitude":0,"angle":80,"satellites":8,"speed":0,"hex_longitude":"2d7b4bc0","hex_latitude":"05e132a0","is_valid_coordinates":true} 
[2026-08-26 09:27:48] 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-26 09:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 09:27:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-26 09:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787716405000,"timestamp_ms":1787716405000,"timestamp_seconds":1787716405,"priority":1,"record_length":96,"hex_timestamp":"000001a03c338708"} 
[2026-08-26 09: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-26 09:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09: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":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-26 09:27:48] 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-26 09: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-26 09: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-26 09:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 09:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 09:27:48] 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-26 09:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 09:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 09:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":11852,"217":206,"85":15104,"24":0,"16":124571162733707264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16]} 
[2026-08-26 09:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 09:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 09:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-26 09:27:48] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-26 09:27:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 09:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124571162733707264,"km_value":124571162733707.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:27:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":11852,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-26 09:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":162506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:27:49] local.INFO: GPS data processed {"connection_id":162506,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:27:49] local.INFO: Acknowledgment sent {"connection_id":162506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:28:16] local.INFO: TCP Data received {"connection_id":163528,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:28:16] local.INFO: Processing buffer {"connection_id":163528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:28:16] local.INFO: Packet analysis {"connection_id":163528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:28:16] local.INFO: Extracted packet for processing {"connection_id":163528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655381248001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09: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-26 09:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787716634000,"timestamp_ms":1787716634000,"timestamp_seconds":1787716634,"priority":1,"record_length":96,"hex_timestamp":"000001a03c370590"} 
[2026-08-26 09: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-26 09: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-26 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:28: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-26 09: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-26 09: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-26 09:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655381248001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655381248001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:28:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:28:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655381248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":163528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:28:16] local.INFO: GPS data processed {"connection_id":163528,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:28:16] local.INFO: Acknowledgment sent {"connection_id":163528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:28:20] local.INFO: TCP Data received {"connection_id":162506,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:28:20] local.INFO: Processing buffer {"connection_id":162506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:28:20] local.INFO: Packet analysis {"connection_id":162506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:28:20] local.INFO: Extracted packet for processing {"connection_id":162506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:28:20] local.INFO: GPS Element Parsed {"raw_longitude":763054976,"raw_latitude":98644968,"longitude_deg":76.3054976,"latitude_deg":9.8644968,"altitude":0,"angle":80,"satellites":17,"speed":0,"hex_longitude":"2d7b4b80","hex_latitude":"05e133e8","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655399680001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884405821403996160,"note":"Value kept but may cause issues"} 
[2026-08-26 09:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 09:28: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-26 09:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787716692000,"timestamp_ms":1787716692000,"timestamp_seconds":1787716692,"priority":1,"record_length":96,"hex_timestamp":"000001a03c37e820"} 
[2026-08-26 09: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-26 09:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-26 09:28:20] 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-26 09: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-26 09: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-26 09:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 09:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 09:28:20] 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-26 09:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 09:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 09:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655399680001,"66":11917,"45":8884405821403996160,"85":15104,"24":0,"16":124571162733707264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-26 09:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 09:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 09:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655399680001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884405821403996160,"description":"Unknown IO ID 45"} 
[2026-08-26 09:28:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 09:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124571162733707264,"km_value":124571162733707.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:28:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457655399680001,"power":11917,"unknown_45":8884405821403996160,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-26 09:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":162506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:28:20] local.INFO: GPS data processed {"connection_id":162506,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:28:20] local.INFO: Acknowledgment sent {"connection_id":162506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:28:37] local.INFO: TCP Data received {"connection_id":164884,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:28:37] local.INFO: Processing buffer {"connection_id":164884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:28:37] local.INFO: IMEI packet received {"connection_id":164884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":164884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:28:42] local.INFO: TCP Data received {"connection_id":164884,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:28:42] local.INFO: Processing buffer {"connection_id":164884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:28:42] local.INFO: IMEI packet received {"connection_id":164884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":164884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:28:43] local.INFO: TCP Data received {"connection_id":164884,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:28:43] local.INFO: Processing buffer {"connection_id":164884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:28:43] local.INFO: Packet analysis {"connection_id":164884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:28:43] local.INFO: Extracted packet for processing {"connection_id":164884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:28:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655381248001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:28: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-26 09:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787716634000,"timestamp_ms":1787716634000,"timestamp_seconds":1787716634,"priority":1,"record_length":96,"hex_timestamp":"000001a03c370590"} 
[2026-08-26 09: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-26 09:28: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-26 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:28:43] 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-26 09: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-26 09: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-26 09:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655381248001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655381248001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:28:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:28:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655381248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":164884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:28:43] local.INFO: GPS data processed {"connection_id":164884,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:28:43] local.INFO: Acknowledgment sent {"connection_id":164884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:28:51] local.INFO: TCP Data received {"connection_id":162506,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:28:51] local.INFO: Processing buffer {"connection_id":162506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:28:51] local.INFO: Packet analysis {"connection_id":162506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:28:51] local.INFO: Extracted packet for processing {"connection_id":162506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:28:51] local.INFO: GPS Element Parsed {"raw_longitude":763054976,"raw_latitude":98644968,"longitude_deg":76.3054976,"latitude_deg":9.8644968,"altitude":0,"angle":80,"satellites":17,"speed":0,"hex_longitude":"2d7b4b80","hex_latitude":"05e133e8","is_valid_coordinates":true} 
[2026-08-26 09:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655399680001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884405821403996160,"note":"Value kept but may cause issues"} 
[2026-08-26 09:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 09:28: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-26 09:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787716692000,"timestamp_ms":1787716692000,"timestamp_seconds":1787716692,"priority":1,"record_length":96,"hex_timestamp":"000001a03c37e820"} 
[2026-08-26 09:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-26 09:28:51] 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-26 09:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 09:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 09:28:51] 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-26 09:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 09:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 09:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655399680001,"66":11917,"45":8884405821403996160,"85":15104,"24":0,"16":124571162733707264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-26 09:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 09:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 09:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655399680001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884405821403996160,"description":"Unknown IO ID 45"} 
[2026-08-26 09:28:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 09:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124571162733707264,"km_value":124571162733707.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:28:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457655399680001,"power":11917,"unknown_45":8884405821403996160,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-26 09:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":162506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699987,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:28:51] local.INFO: GPS data processed {"connection_id":162506,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:28:51] local.INFO: Acknowledgment sent {"connection_id":162506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:29:14] local.INFO: TCP Data received {"connection_id":164884,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:29:14] local.INFO: Processing buffer {"connection_id":164884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:29:14] local.INFO: Packet analysis {"connection_id":164884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:29:14] local.INFO: Extracted packet for processing {"connection_id":164884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:29:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655381248001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:29: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-26 09:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787716634000,"timestamp_ms":1787716634000,"timestamp_seconds":1787716634,"priority":1,"record_length":96,"hex_timestamp":"000001a03c370590"} 
[2026-08-26 09:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:29: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-26 09:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655381248001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655381248001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:29:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:29:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655381248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":164884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:29:14] local.INFO: GPS data processed {"connection_id":164884,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:29:14] local.INFO: Acknowledgment sent {"connection_id":164884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:29:22] local.INFO: TCP Data received {"connection_id":162506,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:29:22] local.INFO: Processing buffer {"connection_id":162506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:29:22] local.INFO: Packet analysis {"connection_id":162506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:29:22] local.INFO: Extracted packet for processing {"connection_id":162506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:29:22] local.INFO: GPS Element Parsed {"raw_longitude":763054976,"raw_latitude":98644968,"longitude_deg":76.3054976,"latitude_deg":9.8644968,"altitude":0,"angle":80,"satellites":17,"speed":0,"hex_longitude":"2d7b4b80","hex_latitude":"05e133e8","is_valid_coordinates":true} 
[2026-08-26 09:29: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-26 09:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655399680001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884405821403996160,"note":"Value kept but may cause issues"} 
[2026-08-26 09:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 09:29:22] 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-26 09:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787716692000,"timestamp_ms":1787716692000,"timestamp_seconds":1787716692,"priority":1,"record_length":96,"hex_timestamp":"000001a03c37e820"} 
[2026-08-26 09:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09:29: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":76,"data_length":795,"current_offset":136} 
[2026-08-26 09:29:22] 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-26 09:29: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-26 09:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 09:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 09:29: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-26 09:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 09:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 09:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655399680001,"66":11917,"45":8884405821403996160,"85":15104,"24":0,"16":124571162733707264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-26 09:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 09:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 09:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655399680001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884405821403996160,"description":"Unknown IO ID 45"} 
[2026-08-26 09:29:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 09:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124571162733707264,"km_value":124571162733707.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:29:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457655399680001,"power":11917,"unknown_45":8884405821403996160,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-26 09:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":162506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:29:22] local.INFO: GPS data processed {"connection_id":162506,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:29:22] local.INFO: Acknowledgment sent {"connection_id":162506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:29:38] local.INFO: TCP Data received {"connection_id":162274,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:29:38] local.INFO: Processing buffer {"connection_id":162274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:29:38] local.INFO: IMEI packet received {"connection_id":162274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":162274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:29:42] local.INFO: TCP Data received {"connection_id":162274,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:29:42] local.INFO: Processing buffer {"connection_id":162274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:29:42] local.INFO: IMEI packet received {"connection_id":162274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":162274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:29:43] local.INFO: TCP Data received {"connection_id":162274,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:29:43] local.INFO: Processing buffer {"connection_id":162274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:29:43] local.INFO: Packet analysis {"connection_id":162274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:29:43] local.INFO: Extracted packet for processing {"connection_id":162274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:29:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655381248001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:29: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-26 09:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787716634000,"timestamp_ms":1787716634000,"timestamp_seconds":1787716634,"priority":1,"record_length":96,"hex_timestamp":"000001a03c370590"} 
[2026-08-26 09: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-26 09:29: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-26 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:29:43] 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-26 09: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-26 09: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-26 09:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655381248001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655381248001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:29:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:29:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655381248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":162274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:29:43] local.INFO: GPS data processed {"connection_id":162274,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:29:43] local.INFO: Acknowledgment sent {"connection_id":162274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:29:53] local.INFO: TCP Data received {"connection_id":162506,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:29:53] local.INFO: Processing buffer {"connection_id":162506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:29:53] local.INFO: Packet analysis {"connection_id":162506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:29:53] local.INFO: Extracted packet for processing {"connection_id":162506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:29:53] local.INFO: GPS Element Parsed {"raw_longitude":763054976,"raw_latitude":98644968,"longitude_deg":76.3054976,"latitude_deg":9.8644968,"altitude":0,"angle":80,"satellites":17,"speed":0,"hex_longitude":"2d7b4b80","hex_latitude":"05e133e8","is_valid_coordinates":true} 
[2026-08-26 09:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655399680001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884405821403996160,"note":"Value kept but may cause issues"} 
[2026-08-26 09:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 09:29:53] 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-26 09:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787716692000,"timestamp_ms":1787716692000,"timestamp_seconds":1787716692,"priority":1,"record_length":96,"hex_timestamp":"000001a03c37e820"} 
[2026-08-26 09:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-26 09:29:53] 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-26 09:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 09:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 09:29: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-26 09:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 09:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 09:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655399680001,"66":11917,"45":8884405821403996160,"85":15104,"24":0,"16":124571162733707264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-26 09:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 09:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 09:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655399680001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884405821403996160,"description":"Unknown IO ID 45"} 
[2026-08-26 09:29:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 09:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124571162733707264,"km_value":124571162733707.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:29:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457655399680001,"power":11917,"unknown_45":8884405821403996160,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-26 09:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":162506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:29:53] local.INFO: GPS data processed {"connection_id":162506,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:29:53] local.INFO: Acknowledgment sent {"connection_id":162506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:30:15] local.INFO: TCP Data received {"connection_id":162274,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:30:15] local.INFO: Processing buffer {"connection_id":162274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:30:15] local.INFO: Packet analysis {"connection_id":162274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:30:15] local.INFO: Extracted packet for processing {"connection_id":162274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:30:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655381248001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:30: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-26 09:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787716634000,"timestamp_ms":1787716634000,"timestamp_seconds":1787716634,"priority":1,"record_length":96,"hex_timestamp":"000001a03c370590"} 
[2026-08-26 09: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-26 09:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:30: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-26 09: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-26 09: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-26 09:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655381248001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655381248001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:30:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:30:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655381248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":162274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:30:15] local.INFO: GPS data processed {"connection_id":162274,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:30:15] local.INFO: Acknowledgment sent {"connection_id":162274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:30:37] local.INFO: TCP Data received {"connection_id":163529,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:30:37] local.INFO: Processing buffer {"connection_id":163529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:30:37] local.INFO: IMEI packet received {"connection_id":163529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":163529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:30:38] local.INFO: TCP Data received {"connection_id":163530,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 09:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163530,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 09:30:38] local.INFO: Processing buffer {"connection_id":163530,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 09:30:38] local.INFO: IMEI packet received {"connection_id":163530,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 09:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":163530,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:30:42] local.INFO: TCP Data received {"connection_id":163529,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:30:42] local.INFO: Processing buffer {"connection_id":163529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:30:42] local.INFO: IMEI packet received {"connection_id":163529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":163529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:30:43] local.INFO: TCP Data received {"connection_id":163530,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 09:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163530,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 09:30:43] local.INFO: Processing buffer {"connection_id":163530,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 09:30:43] local.INFO: IMEI packet received {"connection_id":163530,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 09:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":163530,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:30:43] local.INFO: TCP Data received {"connection_id":163529,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:30:43] local.INFO: Processing buffer {"connection_id":163529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:30:43] local.INFO: Packet analysis {"connection_id":163529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:30:43] local.INFO: Extracted packet for processing {"connection_id":163529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:30:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655381248001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:30: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-26 09:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787716634000,"timestamp_ms":1787716634000,"timestamp_seconds":1787716634,"priority":1,"record_length":96,"hex_timestamp":"000001a03c370590"} 
[2026-08-26 09:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:30: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-26 09:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:30:43] 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-26 09:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655381248001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655381248001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:30:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:30:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655381248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":163529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:30:43] local.INFO: GPS data processed {"connection_id":163529,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:30:43] local.INFO: Acknowledgment sent {"connection_id":163529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:30:44] local.INFO: TCP Data received {"connection_id":163530,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:30:44] local.INFO: Processing buffer {"connection_id":163530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:30:44] local.INFO: Packet analysis {"connection_id":163530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:30:44] local.INFO: Extracted packet for processing {"connection_id":163530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:30:44] local.INFO: GPS Element Parsed {"raw_longitude":763054976,"raw_latitude":98644968,"longitude_deg":76.3054976,"latitude_deg":9.8644968,"altitude":0,"angle":80,"satellites":17,"speed":0,"hex_longitude":"2d7b4b80","hex_latitude":"05e133e8","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655399680001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884405821403996160,"note":"Value kept but may cause issues"} 
[2026-08-26 09:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 09:30:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-26 09:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787716692000,"timestamp_ms":1787716692000,"timestamp_seconds":1787716692,"priority":1,"record_length":96,"hex_timestamp":"000001a03c37e820"} 
[2026-08-26 09: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-26 09:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-26 09:30:44] 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-26 09: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-26 09: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-26 09:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 09:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 09:30:44] 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-26 09:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 09:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 09:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655399680001,"66":11917,"45":8884405821403996160,"85":15104,"24":0,"16":124571162733707264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-26 09:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 09:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 09:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655399680001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884405821403996160,"description":"Unknown IO ID 45"} 
[2026-08-26 09:30:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 09:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124571162733707264,"km_value":124571162733707.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:30:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457655399680001,"power":11917,"unknown_45":8884405821403996160,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-26 09:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":163530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699994,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:30:44] local.INFO: GPS data processed {"connection_id":163530,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:30:44] local.INFO: Acknowledgment sent {"connection_id":163530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:31:01] local.INFO: TCP Data received {"connection_id":162508,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:31:01] local.INFO: Processing buffer {"connection_id":162508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:31:01] local.INFO: IMEI packet received {"connection_id":162508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":162508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:31:02] local.INFO: TCP Data received {"connection_id":162508,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:31:02] local.INFO: Processing buffer {"connection_id":162508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:31:02] local.INFO: IMEI packet received {"connection_id":162508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":162508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:31:06] local.INFO: TCP Data received {"connection_id":162508,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162508,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:31:06] local.INFO: Processing buffer {"connection_id":162508,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:31:06] local.INFO: IMEI packet received {"connection_id":162508,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":162508,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:31:07] local.INFO: TCP Data received {"connection_id":162508,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-26 09:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162508,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-26 09:31:07] local.INFO: Processing buffer {"connection_id":162508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-26 09:31:07] local.INFO: Packet analysis {"connection_id":162508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-26 09:31:07] local.INFO: Extracted packet for processing {"connection_id":162508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-26 09:31:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-26 09:31:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-26 09:31:07] 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-26 09:31:07] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-26 09:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162508,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162508,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-26 09:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162508,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-26 09:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-26 09:31:07] local.WARNING: DEBUG: No valid data to process  
[2026-08-26 09:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":162508,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-26 09:31:07] local.ERROR: GPS data processing failed {"connection_id":162508,"error":"No valid data to process"} 
[2026-08-26 09:31:07] local.INFO: Acknowledgment sent {"connection_id":162508,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-26 09:31:15] local.INFO: TCP Data received {"connection_id":163529,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:31:15] local.INFO: Processing buffer {"connection_id":163529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:31:15] local.INFO: Packet analysis {"connection_id":163529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:31:15] local.INFO: Extracted packet for processing {"connection_id":163529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:31:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655381248001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09: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-26 09:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787716634000,"timestamp_ms":1787716634000,"timestamp_seconds":1787716634,"priority":1,"record_length":96,"hex_timestamp":"000001a03c370590"} 
[2026-08-26 09:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09: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-26 09:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:31: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-26 09:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655381248001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655381248001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:31:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:31:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655381248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":163529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:31:15] local.INFO: GPS data processed {"connection_id":163529,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:31:15] local.INFO: Acknowledgment sent {"connection_id":163529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:31:15] local.INFO: TCP Data received {"connection_id":163530,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:31:15] local.INFO: Processing buffer {"connection_id":163530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:31:15] local.INFO: Packet analysis {"connection_id":163530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:31:15] local.INFO: Extracted packet for processing {"connection_id":163530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:31:15] local.INFO: GPS Element Parsed {"raw_longitude":763054976,"raw_latitude":98644968,"longitude_deg":76.3054976,"latitude_deg":9.8644968,"altitude":0,"angle":80,"satellites":17,"speed":0,"hex_longitude":"2d7b4b80","hex_latitude":"05e133e8","is_valid_coordinates":true} 
[2026-08-26 09:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655399680001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884405821403996160,"note":"Value kept but may cause issues"} 
[2026-08-26 09:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 09:31:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-26 09:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787716692000,"timestamp_ms":1787716692000,"timestamp_seconds":1787716692,"priority":1,"record_length":96,"hex_timestamp":"000001a03c37e820"} 
[2026-08-26 09:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-26 09:31:15] 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-26 09:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 09:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163530,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 09:31:15] 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-26 09:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 09:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 09:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655399680001,"66":11917,"45":8884405821403996160,"85":15104,"24":0,"16":124571162733707264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-26 09:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 09:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 09:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655399680001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884405821403996160,"description":"Unknown IO ID 45"} 
[2026-08-26 09:31:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 09:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124571162733707264,"km_value":124571162733707.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:31:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457655399680001,"power":11917,"unknown_45":8884405821403996160,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-26 09:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":163530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:31:15] local.INFO: GPS data processed {"connection_id":163530,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:31:15] local.INFO: Acknowledgment sent {"connection_id":163530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:31:37] local.INFO: TCP Data received {"connection_id":164885,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:31:37] local.INFO: Processing buffer {"connection_id":164885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:31:37] local.INFO: IMEI packet received {"connection_id":164885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":164885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:31:38] local.INFO: TCP Data received {"connection_id":162508,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-26 09:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-26 09:31:38] local.INFO: Processing buffer {"connection_id":162508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-26 09:31:38] local.INFO: Packet analysis {"connection_id":162508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-26 09:31:38] local.INFO: Extracted packet for processing {"connection_id":162508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-26 09:31:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-26 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-26 09:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-26 09:31:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-26 09:31:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69000,"timestamp_seconds":69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 09:31:38] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-26 09:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":162508,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":162508,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-26 09:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":162508,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-26 09:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-26 09:31:38] local.WARNING: DEBUG: No valid data to process  
[2026-08-26 09:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":162508,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-26 09:31:38] local.ERROR: GPS data processing failed {"connection_id":162508,"error":"No valid data to process"} 
[2026-08-26 09:31:38] local.INFO: Acknowledgment sent {"connection_id":162508,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-26 09:31:42] local.INFO: TCP Data received {"connection_id":164885,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:31:42] local.INFO: Processing buffer {"connection_id":164885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:31:42] local.INFO: IMEI packet received {"connection_id":164885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":164885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:31:43] local.INFO: TCP Data received {"connection_id":162509,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 09:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162509,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 09:31:43] local.INFO: Processing buffer {"connection_id":162509,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 09:31:43] local.INFO: IMEI packet received {"connection_id":162509,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 09:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":162509,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:31:43] local.INFO: TCP Data received {"connection_id":164885,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:31:43] local.INFO: Processing buffer {"connection_id":164885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:31:43] local.INFO: Packet analysis {"connection_id":164885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:31:43] local.INFO: Extracted packet for processing {"connection_id":164885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:31:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655381248001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:31: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-26 09:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787716634000,"timestamp_ms":1787716634000,"timestamp_seconds":1787716634,"priority":1,"record_length":96,"hex_timestamp":"000001a03c370590"} 
[2026-08-26 09: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-26 09:31: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-26 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:31:43] 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-26 09: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-26 09: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-26 09:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655381248001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655381248001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:31:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:31:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655381248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":164885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:31:43] local.INFO: GPS data processed {"connection_id":164885,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:31:43] local.INFO: Acknowledgment sent {"connection_id":164885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:31:48] local.INFO: TCP Data received {"connection_id":162509,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 09:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162509,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 09:31:48] local.INFO: Processing buffer {"connection_id":162509,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 09:31:48] local.INFO: IMEI packet received {"connection_id":162509,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 09:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":162509,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:31:49] local.INFO: TCP Data received {"connection_id":162509,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:31:49] local.INFO: Processing buffer {"connection_id":162509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:31:49] local.INFO: Packet analysis {"connection_id":162509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:31:49] local.INFO: Extracted packet for processing {"connection_id":162509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:31:49] local.INFO: GPS Element Parsed {"raw_longitude":763054976,"raw_latitude":98644968,"longitude_deg":76.3054976,"latitude_deg":9.8644968,"altitude":0,"angle":80,"satellites":17,"speed":0,"hex_longitude":"2d7b4b80","hex_latitude":"05e133e8","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655399680001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884405821403996160,"note":"Value kept but may cause issues"} 
[2026-08-26 09:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 09:31:49] 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-26 09:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787716692000,"timestamp_ms":1787716692000,"timestamp_seconds":1787716692,"priority":1,"record_length":96,"hex_timestamp":"000001a03c37e820"} 
[2026-08-26 09: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-26 09:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-26 09:31:49] 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-26 09:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09: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-26 09:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 09:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 09:31:49] 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-26 09:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 09:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 09:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655399680001,"66":11917,"45":8884405821403996160,"85":15104,"24":0,"16":124571162733707264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-26 09:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 09:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 09:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655399680001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884405821403996160,"description":"Unknown IO ID 45"} 
[2026-08-26 09:31:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 09:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124571162733707264,"km_value":124571162733707.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:31:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457655399680001,"power":11917,"unknown_45":8884405821403996160,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-26 09:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":162509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:31:49] local.INFO: GPS data processed {"connection_id":162509,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:31:49] local.INFO: Acknowledgment sent {"connection_id":162509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:32:09] local.INFO: TCP Data received {"connection_id":162508,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c3b20580100000000000000000000000000..."} 
[2026-08-26 09:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c3b20580100000000000000000000000000..."} 
[2026-08-26 09:32:09] local.INFO: Processing buffer {"connection_id":162508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c3b20580100000000000000000000000000..."} 
[2026-08-26 09:32:09] local.INFO: Packet analysis {"connection_id":162508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:32:09] local.INFO: Extracted packet for processing {"connection_id":162508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:32:09] 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-26 09:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-26 09:32:09] 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-26 09:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787716903000,"timestamp_ms":1787716903000,"timestamp_seconds":1787716903,"priority":1,"record_length":96,"hex_timestamp":"000001a03c3b2058"} 
[2026-08-26 09:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 09:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-26 09:32:09] 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-26 09:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":162508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":162508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":162508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:32:09] 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-26 09:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":162508,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-26 09:32:09] local.INFO: GPS data processed {"connection_id":162508,"processed":0,"errors":0,"total":1} 
[2026-08-26 09:32:09] local.INFO: Acknowledgment sent {"connection_id":162508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:32:15] local.INFO: TCP Data received {"connection_id":164885,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:32:15] local.INFO: Processing buffer {"connection_id":164885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:32:15] local.INFO: Packet analysis {"connection_id":164885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:32:15] local.INFO: Extracted packet for processing {"connection_id":164885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:32:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 09:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655381248001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 09:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787716634000,"timestamp_ms":1787716634000,"timestamp_seconds":1787716634,"priority":1,"record_length":96,"hex_timestamp":"000001a03c370590"} 
[2026-08-26 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-26 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-26 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":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:32: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-26 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-26 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-26 09:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655381248001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655381248001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:32:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:32:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655381248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":164885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":699999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:32:15] local.INFO: GPS data processed {"connection_id":164885,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:32:15] local.INFO: Acknowledgment sent {"connection_id":164885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:32:20] local.INFO: TCP Data received {"connection_id":162509,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:32:20] local.INFO: Processing buffer {"connection_id":162509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:32:20] local.INFO: Packet analysis {"connection_id":162509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:32:20] local.INFO: Extracted packet for processing {"connection_id":162509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:32:20] local.INFO: GPS Element Parsed {"raw_longitude":763054976,"raw_latitude":98644968,"longitude_deg":76.3054976,"latitude_deg":9.8644968,"altitude":0,"angle":80,"satellites":17,"speed":0,"hex_longitude":"2d7b4b80","hex_latitude":"05e133e8","is_valid_coordinates":true} 
[2026-08-26 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-26 09:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655399680001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884405821403996160,"note":"Value kept but may cause issues"} 
[2026-08-26 09:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 09:32: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-26 09:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787716692000,"timestamp_ms":1787716692000,"timestamp_seconds":1787716692,"priority":1,"record_length":96,"hex_timestamp":"000001a03c37e820"} 
[2026-08-26 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-26 09:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-26 09:32:20] 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-26 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-26 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-26 09:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 09:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162509,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 09:32:20] 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-26 09:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 09:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 09:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655399680001,"66":11917,"45":8884405821403996160,"85":15104,"24":0,"16":124571162733707264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-26 09:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 09:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 09:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655399680001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884405821403996160,"description":"Unknown IO ID 45"} 
[2026-08-26 09:32:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 09:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124571162733707264,"km_value":124571162733707.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:32:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457655399680001,"power":11917,"unknown_45":8884405821403996160,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-26 09:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":162509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:32:20] local.INFO: GPS data processed {"connection_id":162509,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:32:20] local.INFO: Acknowledgment sent {"connection_id":162509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:32:37] local.INFO: TCP Data received {"connection_id":163531,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:32:37] local.INFO: Processing buffer {"connection_id":163531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:32:37] local.INFO: IMEI packet received {"connection_id":163531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":163531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:32:38] local.INFO: TCP Data received {"connection_id":162510,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 09:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 09:32:38] local.INFO: Processing buffer {"connection_id":162510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 09:32:38] local.INFO: IMEI packet received {"connection_id":162510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 09:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":162510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:32:40] local.INFO: TCP Data received {"connection_id":162508,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c3b72600100000000000000000000000000..."} 
[2026-08-26 09:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c3b72600100000000000000000000000000..."} 
[2026-08-26 09:32:40] local.INFO: Processing buffer {"connection_id":162508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c3b72600100000000000000000000000000..."} 
[2026-08-26 09:32:40] local.INFO: Packet analysis {"connection_id":162508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:32:40] local.INFO: Extracted packet for processing {"connection_id":162508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:32:40] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-26 09:32:40] 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-26 09:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787716924000,"timestamp_ms":1787716924000,"timestamp_seconds":1787716924,"priority":1,"record_length":96,"hex_timestamp":"000001a03c3b7260"} 
[2026-08-26 09: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-26 09:32:40] 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-26 09: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-26 09:32:40] 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-26 09: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-26 09: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-26 09:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":162508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":162508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":162508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:32:40] 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-26 09:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":162508,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-26 09:32:40] local.INFO: GPS data processed {"connection_id":162508,"processed":0,"errors":0,"total":1} 
[2026-08-26 09:32:40] local.INFO: Acknowledgment sent {"connection_id":162508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:32:42] local.INFO: TCP Data received {"connection_id":163531,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:32:42] local.INFO: Processing buffer {"connection_id":163531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:32:42] local.INFO: IMEI packet received {"connection_id":163531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":163531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:32:43] local.INFO: TCP Data received {"connection_id":163531,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:32:43] local.INFO: Processing buffer {"connection_id":163531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c370590012d34c14006aa4818000300e627..."} 
[2026-08-26 09:32:43] local.INFO: Packet analysis {"connection_id":163531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:32:43] local.INFO: Extracted packet for processing {"connection_id":163531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:32:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655381248001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09: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-26 09:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787716634000,"timestamp_ms":1787716634000,"timestamp_seconds":1787716634,"priority":1,"record_length":96,"hex_timestamp":"000001a03c370590"} 
[2026-08-26 09: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-26 09: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-26 09: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:32:43] 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-26 09: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-26 09: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-26 09:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655381248001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655381248001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:32:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:32:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655381248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":163531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:32:43] local.INFO: GPS data processed {"connection_id":163531,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:32:43] local.INFO: Acknowledgment sent {"connection_id":163531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:32:43] local.INFO: TCP Data received {"connection_id":162510,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 09:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 09:32:43] local.INFO: Processing buffer {"connection_id":162510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 09:32:43] local.INFO: IMEI packet received {"connection_id":162510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 09:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":162510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:32:44] local.INFO: TCP Data received {"connection_id":162510,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:32:44] local.INFO: Processing buffer {"connection_id":162510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c37e820012d7b4b8005e133e80000005011..."} 
[2026-08-26 09:32:44] local.INFO: Packet analysis {"connection_id":162510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:32:44] local.INFO: Extracted packet for processing {"connection_id":162510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c37"} 
[2026-08-26 09:32:44] local.INFO: GPS Element Parsed {"raw_longitude":763054976,"raw_latitude":98644968,"longitude_deg":76.3054976,"latitude_deg":9.8644968,"altitude":0,"angle":80,"satellites":17,"speed":0,"hex_longitude":"2d7b4b80","hex_latitude":"05e133e8","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655399680001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884405821403996160,"note":"Value kept but may cause issues"} 
[2026-08-26 09:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 09:32:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-26 09:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787716692000,"timestamp_ms":1787716692000,"timestamp_seconds":1787716692,"priority":1,"record_length":96,"hex_timestamp":"000001a03c37e820"} 
[2026-08-26 09: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-26 09:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-26 09:32:44] 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-26 09: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-26 09: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-26 09:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 09:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 09:32:44] 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-26 09:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 09:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 09:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655399680001,"66":11917,"45":8884405821403996160,"85":15104,"24":0,"16":124571162733707264},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-26 09:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 09:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 09:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655399680001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884405821403996160,"description":"Unknown IO ID 45"} 
[2026-08-26 09:32:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 09:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124571162733707264,"km_value":124571162733707.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:32:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457655399680001,"power":11917,"unknown_45":8884405821403996160,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-26 09:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":162510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:32:44] local.INFO: GPS data processed {"connection_id":162510,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:32:44] local.INFO: Acknowledgment sent {"connection_id":162510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:33:11] local.INFO: TCP Data received {"connection_id":162508,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c3bc4680100000000000000000000000000..."} 
[2026-08-26 09:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c3bc4680100000000000000000000000000..."} 
[2026-08-26 09:33:11] local.INFO: Processing buffer {"connection_id":162508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c3bc4680100000000000000000000000000..."} 
[2026-08-26 09:33:11] local.INFO: Packet analysis {"connection_id":162508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:33:11] local.INFO: Extracted packet for processing {"connection_id":162508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:33:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-26 09:33:11] 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-26 09:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787716945000,"timestamp_ms":1787716945000,"timestamp_seconds":1787716945,"priority":1,"record_length":96,"hex_timestamp":"000001a03c3bc468"} 
[2026-08-26 09: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-26 09:33:11] 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-26 09: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-26 09:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09: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-26 09: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-26 09:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":162508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":162508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":162508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:33:11] 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-26 09:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":162508,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-26 09:33:11] local.INFO: GPS data processed {"connection_id":162508,"processed":0,"errors":0,"total":1} 
[2026-08-26 09:33:11] local.INFO: Acknowledgment sent {"connection_id":162508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:33:14] local.INFO: TCP Data received {"connection_id":163531,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:33:14] local.INFO: Processing buffer {"connection_id":163531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:33:14] local.INFO: Packet analysis {"connection_id":163531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:33:14] local.INFO: Extracted packet for processing {"connection_id":163531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:33:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655458304001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:33: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-26 09:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787716935000,"timestamp_ms":1787716935000,"timestamp_seconds":1787716935,"priority":1,"record_length":96,"hex_timestamp":"000001a03c3b9d58"} 
[2026-08-26 09: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-26 09:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 09:33: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-26 09: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-26 09: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-26 09:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655458304001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655458304001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:33:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:33:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655458304001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":163531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:33:14] local.INFO: GPS data processed {"connection_id":163531,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:33:14] local.INFO: Acknowledgment sent {"connection_id":163531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:33:37] local.INFO: TCP Data received {"connection_id":162511,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:33:37] local.INFO: Processing buffer {"connection_id":162511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:33:37] local.INFO: IMEI packet received {"connection_id":162511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":162511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:33:42] local.INFO: TCP Data received {"connection_id":162508,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c3c16700100000000000000000000000000..."} 
[2026-08-26 09:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c3c16700100000000000000000000000000..."} 
[2026-08-26 09:33:42] local.INFO: Processing buffer {"connection_id":162508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c3c16700100000000000000000000000000..."} 
[2026-08-26 09:33:42] local.INFO: Packet analysis {"connection_id":162508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c3c"} 
[2026-08-26 09:33:42] local.INFO: Extracted packet for processing {"connection_id":162508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c3c"} 
[2026-08-26 09:33: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-26 09: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-26 09:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-26 09:33:42] 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-26 09:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787716966000,"timestamp_ms":1787716966000,"timestamp_seconds":1787716966,"priority":1,"record_length":96,"hex_timestamp":"000001a03c3c1670"} 
[2026-08-26 09: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-26 09:33: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-26 09: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-26 09:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3439329280,"note":"Value kept but may cause issues"} 
[2026-08-26 09:33:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-26 09:33:42] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2650800128,"note":"Value kept but may cause issues"} 
[2026-08-26 09:33:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-26 09:33:42] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,101,83,24,241,157,16,36,160,114,10,66,32,13,1,240,181,227,4,113,205,27,239,2,47,56],"length":479,"final_offset":609,"validated_count":26,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-26 09:33:42] 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-26 09: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-26 09:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:33:42] 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-26 09:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":162508,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-26 09:33:42] local.INFO: GPS data processed {"connection_id":162508,"processed":0,"errors":0,"total":1} 
[2026-08-26 09:33:42] local.INFO: Acknowledgment sent {"connection_id":162508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:33:42] local.INFO: TCP Data received {"connection_id":162511,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:33:42] local.INFO: Processing buffer {"connection_id":162511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:33:42] local.INFO: IMEI packet received {"connection_id":162511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":162511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:33:43] local.INFO: TCP Data received {"connection_id":162511,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:33:44] local.INFO: Processing buffer {"connection_id":162511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:33:44] local.INFO: Packet analysis {"connection_id":162511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:33:44] local.INFO: Extracted packet for processing {"connection_id":162511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:33:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655458304001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:33: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-26 09:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787716935000,"timestamp_ms":1787716935000,"timestamp_seconds":1787716935,"priority":1,"record_length":96,"hex_timestamp":"000001a03c3b9d58"} 
[2026-08-26 09: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-26 09:33: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-26 09: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 09:33:44] 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-26 09: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-26 09: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-26 09:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655458304001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655458304001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:33:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:33:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655458304001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":162511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:33:44] local.INFO: GPS data processed {"connection_id":162511,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:33:44] local.INFO: Acknowledgment sent {"connection_id":162511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:34:13] local.INFO: TCP Data received {"connection_id":162508,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c3c68780100000000000000000000000000..."} 
[2026-08-26 09:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c3c68780100000000000000000000000000..."} 
[2026-08-26 09:34:13] local.INFO: Processing buffer {"connection_id":162508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c3c68780100000000000000000000000000..."} 
[2026-08-26 09:34:13] local.INFO: Packet analysis {"connection_id":162508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c3c"} 
[2026-08-26 09:34:13] local.INFO: Extracted packet for processing {"connection_id":162508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c3c"} 
[2026-08-26 09:34: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-26 09: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-26 09:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-26 09:34:13] 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-26 09:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787716987000,"timestamp_ms":1787716987000,"timestamp_seconds":1787716987,"priority":1,"record_length":96,"hex_timestamp":"000001a03c3c6878"} 
[2026-08-26 09: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-26 09:34: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-26 09: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-26 09:34:13] 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-26 09: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-26 09: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-26 09:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:34:13] 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-26 09:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":162508,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-26 09:34:13] local.INFO: GPS data processed {"connection_id":162508,"processed":0,"errors":0,"total":1} 
[2026-08-26 09:34:13] local.INFO: Acknowledgment sent {"connection_id":162508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:34:15] local.INFO: TCP Data received {"connection_id":162511,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:34:15] local.INFO: Processing buffer {"connection_id":162511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:34:15] local.INFO: Packet analysis {"connection_id":162511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:34:15] local.INFO: Extracted packet for processing {"connection_id":162511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:34:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655458304001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09: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-26 09:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787716935000,"timestamp_ms":1787716935000,"timestamp_seconds":1787716935,"priority":1,"record_length":96,"hex_timestamp":"000001a03c3b9d58"} 
[2026-08-26 09: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-26 09:34: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-26 09: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":75,"data_length":795,"current_offset":136} 
[2026-08-26 09:34:15] 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-26 09: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-26 09: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-26 09:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655458304001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655458304001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:34:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:34:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655458304001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":162511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:34:15] local.INFO: GPS data processed {"connection_id":162511,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:34:15] local.INFO: Acknowledgment sent {"connection_id":162511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:34:37] local.INFO: TCP Data received {"connection_id":162275,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:34:37] local.INFO: Processing buffer {"connection_id":162275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:34:37] local.INFO: IMEI packet received {"connection_id":162275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":162275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:34:42] local.INFO: TCP Data received {"connection_id":162275,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:34:42] local.INFO: Processing buffer {"connection_id":162275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:34:42] local.INFO: IMEI packet received {"connection_id":162275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":162275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:34:43] local.INFO: TCP Data received {"connection_id":162275,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:34:43] local.INFO: Processing buffer {"connection_id":162275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:34:43] local.INFO: Packet analysis {"connection_id":162275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:34:43] local.INFO: Extracted packet for processing {"connection_id":162275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:34:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655458304001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:34: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-26 09:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787716935000,"timestamp_ms":1787716935000,"timestamp_seconds":1787716935,"priority":1,"record_length":96,"hex_timestamp":"000001a03c3b9d58"} 
[2026-08-26 09: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-26 09:34: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-26 09: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 09:34:43] 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-26 09: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-26 09: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-26 09:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655458304001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655458304001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:34:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:34:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655458304001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":162275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:34:43] local.INFO: GPS data processed {"connection_id":162275,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:34:43] local.INFO: Acknowledgment sent {"connection_id":162275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:34:44] local.INFO: TCP Data received {"connection_id":162508,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c3cba800100000000000000000000000000..."} 
[2026-08-26 09:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c3cba800100000000000000000000000000..."} 
[2026-08-26 09:34:44] local.INFO: Processing buffer {"connection_id":162508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c3cba800100000000000000000000000000..."} 
[2026-08-26 09:34:44] local.INFO: Packet analysis {"connection_id":162508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c3c"} 
[2026-08-26 09:34:44] local.INFO: Extracted packet for processing {"connection_id":162508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c3c"} 
[2026-08-26 09:34: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-26 09: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-26 09:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-26 09:34: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-26 09:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787717008000,"timestamp_ms":1787717008000,"timestamp_seconds":1787717008,"priority":1,"record_length":96,"hex_timestamp":"000001a03c3cba80"} 
[2026-08-26 09: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-26 09:34: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-26 09: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-26 09:34:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09: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-26 09: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-26 09:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":162508,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-26 09:34:44] local.INFO: GPS data processed {"connection_id":162508,"processed":0,"errors":0,"total":1} 
[2026-08-26 09:34:44] local.INFO: Acknowledgment sent {"connection_id":162508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:35:14] local.INFO: TCP Data received {"connection_id":162508,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c3d0c880100000000000000000000000000..."} 
[2026-08-26 09:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c3d0c880100000000000000000000000000..."} 
[2026-08-26 09:35:14] local.INFO: Processing buffer {"connection_id":162508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c3d0c880100000000000000000000000000..."} 
[2026-08-26 09:35:14] local.INFO: Packet analysis {"connection_id":162508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c3d"} 
[2026-08-26 09:35:14] local.INFO: Extracted packet for processing {"connection_id":162508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c3d"} 
[2026-08-26 09:35: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-26 09: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-26 09:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-26 09:35:14] 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-26 09:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787717029000,"timestamp_ms":1787717029000,"timestamp_seconds":1787717029,"priority":1,"record_length":96,"hex_timestamp":"000001a03c3d0c88"} 
[2026-08-26 09: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-26 09:35:14] 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-26 09: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-26 09:35:14] 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-26 09: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-26 09: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-26 09:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162508,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:35:14] 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-26 09:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":162508,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-26 09:35:14] local.INFO: GPS data processed {"connection_id":162508,"processed":0,"errors":0,"total":1} 
[2026-08-26 09:35:14] local.INFO: Acknowledgment sent {"connection_id":162508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:35:15] local.INFO: TCP Data received {"connection_id":162275,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:35:15] local.INFO: Processing buffer {"connection_id":162275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:35:15] local.INFO: Packet analysis {"connection_id":162275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:35:15] local.INFO: Extracted packet for processing {"connection_id":162275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:35:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655458304001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:35: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-26 09:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787716935000,"timestamp_ms":1787716935000,"timestamp_seconds":1787716935,"priority":1,"record_length":96,"hex_timestamp":"000001a03c3b9d58"} 
[2026-08-26 09: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-26 09:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 09:35:15] 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-26 09: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-26 09: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-26 09:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655458304001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655458304001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:35:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:35:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655458304001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":162275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:35:15] local.INFO: GPS data processed {"connection_id":162275,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:35:15] local.INFO: Acknowledgment sent {"connection_id":162275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:35:37] local.INFO: TCP Data received {"connection_id":163532,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:35:37] local.INFO: Processing buffer {"connection_id":163532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:35:37] local.INFO: IMEI packet received {"connection_id":163532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":163532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:35:40] local.INFO: TCP Data received {"connection_id":162512,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:35:40] local.INFO: Processing buffer {"connection_id":162512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:35:40] local.INFO: IMEI packet received {"connection_id":162512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":162512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:35:43] local.INFO: TCP Data received {"connection_id":163532,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:35:43] local.INFO: Processing buffer {"connection_id":163532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:35:43] local.INFO: IMEI packet received {"connection_id":163532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":163532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:35:43] local.INFO: TCP Data received {"connection_id":162512,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:35:43] local.INFO: Processing buffer {"connection_id":162512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:35:43] local.INFO: IMEI packet received {"connection_id":162512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":162512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:35:43] local.INFO: TCP Data received {"connection_id":163532,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:35:43] local.INFO: Processing buffer {"connection_id":163532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:35:43] local.INFO: Packet analysis {"connection_id":163532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:35:43] local.INFO: Extracted packet for processing {"connection_id":163532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:35:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655458304001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09: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-26 09:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787716935000,"timestamp_ms":1787716935000,"timestamp_seconds":1787716935,"priority":1,"record_length":96,"hex_timestamp":"000001a03c3b9d58"} 
[2026-08-26 09: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-26 09: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-26 09: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":75,"data_length":795,"current_offset":136} 
[2026-08-26 09:35:43] 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-26 09: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-26 09: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-26 09:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655458304001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655458304001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:35:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:35:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655458304001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":163532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:35:43] local.INFO: GPS data processed {"connection_id":163532,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:35:43] local.INFO: Acknowledgment sent {"connection_id":163532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:35:46] local.INFO: TCP Data received {"connection_id":162512,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:35:46] local.INFO: Processing buffer {"connection_id":162512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:35:46] local.INFO: IMEI packet received {"connection_id":162512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":162512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:35:46] local.INFO: TCP Data received {"connection_id":162512,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c3d5e900100000000000000000000000000..."} 
[2026-08-26 09:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c3d5e900100000000000000000000000000..."} 
[2026-08-26 09:35:46] local.INFO: Processing buffer {"connection_id":162512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c3d5e900100000000000000000000000000..."} 
[2026-08-26 09:35:46] local.INFO: Packet analysis {"connection_id":162512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c3d"} 
[2026-08-26 09:35:46] local.INFO: Extracted packet for processing {"connection_id":162512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c3d"} 
[2026-08-26 09:35: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-26 09: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-26 09:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-26 09:35: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-26 09:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787717050000,"timestamp_ms":1787717050000,"timestamp_seconds":1787717050,"priority":1,"record_length":96,"hex_timestamp":"000001a03c3d5e90"} 
[2026-08-26 09: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-26 09:35: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-26 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-26 09:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09: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-26 09: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-26 09:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":162512,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-26 09:35:46] local.INFO: GPS data processed {"connection_id":162512,"processed":0,"errors":0,"total":1} 
[2026-08-26 09:35:46] local.INFO: Acknowledgment sent {"connection_id":162512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:36:15] local.INFO: TCP Data received {"connection_id":163532,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:36:15] local.INFO: Processing buffer {"connection_id":163532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:36:15] local.INFO: Packet analysis {"connection_id":163532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:36:15] local.INFO: Extracted packet for processing {"connection_id":163532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:36:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 09:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655458304001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 09:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787716935000,"timestamp_ms":1787716935000,"timestamp_seconds":1787716935,"priority":1,"record_length":96,"hex_timestamp":"000001a03c3b9d58"} 
[2026-08-26 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-26 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-26 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":75,"data_length":795,"current_offset":136} 
[2026-08-26 09:36:15] 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-26 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-26 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-26 09:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655458304001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655458304001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:36:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:36:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655458304001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":163532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:36:15] local.INFO: GPS data processed {"connection_id":163532,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:36:15] local.INFO: Acknowledgment sent {"connection_id":163532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:36:17] local.INFO: TCP Data received {"connection_id":162512,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c3d9d10012d18d040072113c00021002906..."} 
[2026-08-26 09:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c3d9d10012d18d040072113c00021002906..."} 
[2026-08-26 09:36:17] local.INFO: Processing buffer {"connection_id":162512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c3d9d10012d18d040072113c00021002906..."} 
[2026-08-26 09:36:17] local.INFO: Packet analysis {"connection_id":162512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c3d"} 
[2026-08-26 09:36:17] local.INFO: Extracted packet for processing {"connection_id":162512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c3d"} 
[2026-08-26 09:36:17] local.INFO: GPS Element Parsed {"raw_longitude":756600896,"raw_latitude":119608256,"longitude_deg":75.6600896,"latitude_deg":11.9608256,"altitude":33,"angle":41,"satellites":6,"speed":1,"hex_longitude":"2d18d040","hex_latitude":"072113c0","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-26 09:36:17] 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-26 09:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787717066000,"timestamp_ms":1787717066000,"timestamp_seconds":1787717066,"priority":1,"record_length":96,"hex_timestamp":"000001a03c3d9d10"} 
[2026-08-26 09: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-26 09:36:17] 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-26 09: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-26 09:36:17] 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-26 09: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-26 09: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-26 09:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13102,"103":206,"83":41984,"24":1,"16":15802859719229440},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16]} 
[2026-08-26 09:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-26 09:36:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-26 09:36:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802859719229440,"km_value":15802859719229.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:36:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":1,"odometer":null}} 
[2026-08-26 09:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":162512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:36:18] local.INFO: GPS data processed {"connection_id":162512,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:36:18] local.INFO: Acknowledgment sent {"connection_id":162512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:36:37] local.INFO: TCP Data received {"connection_id":163533,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:36:37] local.INFO: Processing buffer {"connection_id":163533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:36:37] local.INFO: IMEI packet received {"connection_id":163533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":163533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:36:42] local.INFO: TCP Data received {"connection_id":163533,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:36:42] local.INFO: Processing buffer {"connection_id":163533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:36:42] local.INFO: IMEI packet received {"connection_id":163533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":163533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:36:43] local.INFO: TCP Data received {"connection_id":163533,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:36:43] local.INFO: Processing buffer {"connection_id":163533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:36:43] local.INFO: Packet analysis {"connection_id":163533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:36:43] local.INFO: Extracted packet for processing {"connection_id":163533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:36:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655458304001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:36: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-26 09:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787716935000,"timestamp_ms":1787716935000,"timestamp_seconds":1787716935,"priority":1,"record_length":96,"hex_timestamp":"000001a03c3b9d58"} 
[2026-08-26 09:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:36: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-26 09:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 09:36:43] 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-26 09:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655458304001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655458304001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:36:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:36:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655458304001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":163533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:36:43] local.INFO: GPS data processed {"connection_id":163533,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:36:43] local.INFO: Acknowledgment sent {"connection_id":163533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:36:51] local.INFO: TCP Data received {"connection_id":162512,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c3db098012d18d04007211348002a00b007..."} 
[2026-08-26 09:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c3db098012d18d04007211348002a00b007..."} 
[2026-08-26 09:36:51] local.INFO: Processing buffer {"connection_id":162512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c3db098012d18d04007211348002a00b007..."} 
[2026-08-26 09:36:51] local.INFO: Packet analysis {"connection_id":162512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c3d"} 
[2026-08-26 09:36:51] local.INFO: Extracted packet for processing {"connection_id":162512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c3d"} 
[2026-08-26 09:36:51] local.INFO: GPS Element Parsed {"raw_longitude":756600896,"raw_latitude":119608136,"longitude_deg":75.6600896,"latitude_deg":11.9608136,"altitude":42,"angle":176,"satellites":7,"speed":1,"hex_longitude":"2d18d040","hex_latitude":"07211348","is_valid_coordinates":true} 
[2026-08-26 09:36: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-26 09:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655568896001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802872604131328,"note":"Value kept but may cause issues"} 
[2026-08-26 09:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787999451429978112,"note":"Value kept but may cause issues"} 
[2026-08-26 09:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787717071000,"timestamp_ms":1787717071000,"timestamp_seconds":1787717071,"priority":1,"record_length":96,"hex_timestamp":"000001a03c3db098"} 
[2026-08-26 09:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:36:51] 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-26 09:36: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-26 09:36: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-26 09:36: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-26 09:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:36:51] 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-26 09:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655568896001,"66":13156,"103":206,"83":41984,"24":1,"16":15802872604131328,"45":1787999451429978112},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-26 09:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655568896001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:36:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-26 09:36:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802872604131328,"km_value":15802872604131.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787999451429978112,"description":"Unknown IO ID 45"} 
[2026-08-26 09:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655568896001,"power":13156,"unknown_103":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1787999451429978112}} 
[2026-08-26 09:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":162512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:36:51] local.INFO: GPS data processed {"connection_id":162512,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:36:51] local.INFO: Acknowledgment sent {"connection_id":162512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:37:15] local.INFO: TCP Data received {"connection_id":163533,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:37:15] local.INFO: Processing buffer {"connection_id":163533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:37:15] local.INFO: Packet analysis {"connection_id":163533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:37:15] local.INFO: Extracted packet for processing {"connection_id":163533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:37:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655458304001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:37: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-26 09:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787716935000,"timestamp_ms":1787716935000,"timestamp_seconds":1787716935,"priority":1,"record_length":96,"hex_timestamp":"000001a03c3b9d58"} 
[2026-08-26 09:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:37: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-26 09:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 09:37:15] 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-26 09:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655458304001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655458304001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:37:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:37:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655458304001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":163533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:37:15] local.INFO: GPS data processed {"connection_id":163533,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:37:15] local.INFO: Acknowledgment sent {"connection_id":163533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:37:23] local.INFO: TCP Data received {"connection_id":162512,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c3dcbf0012d18d04007211278002700a007..."} 
[2026-08-26 09:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c3dcbf0012d18d04007211278002700a007..."} 
[2026-08-26 09:37:23] local.INFO: Processing buffer {"connection_id":162512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c3dcbf0012d18d04007211278002700a007..."} 
[2026-08-26 09:37:23] local.INFO: Packet analysis {"connection_id":162512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c3d"} 
[2026-08-26 09:37:23] local.INFO: Extracted packet for processing {"connection_id":162512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c3d"} 
[2026-08-26 09:37:23] local.INFO: GPS Element Parsed {"raw_longitude":756600896,"raw_latitude":119607928,"longitude_deg":75.6600896,"latitude_deg":11.9607928,"altitude":39,"angle":160,"satellites":7,"speed":1,"hex_longitude":"2d18d040","hex_latitude":"07211278","is_valid_coordinates":true} 
[2026-08-26 09:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655570176001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802881194065920,"note":"Value kept but may cause issues"} 
[2026-08-26 09:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787999451429947392,"note":"Value kept but may cause issues"} 
[2026-08-26 09:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787717078000,"timestamp_ms":1787717078000,"timestamp_seconds":1787717078,"priority":1,"record_length":96,"hex_timestamp":"000001a03c3dcbf0"} 
[2026-08-26 09:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:37:23] 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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 09:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-26 09:37:23] 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-26 09:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":162512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":162512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":162512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655570176001,"66":12232,"103":206,"83":41984,"24":1,"16":15802881194065920,"45":1787999451429947392},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-26 09:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655570176001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:37:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-26 09:37:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15802881194065920,"km_value":15802881194065.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787999451429947392,"description":"Unknown IO ID 45"} 
[2026-08-26 09:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655570176001,"power":12232,"unknown_103":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1787999451429947392}} 
[2026-08-26 09:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":162512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:37:23] local.INFO: GPS data processed {"connection_id":162512,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:37:23] local.INFO: Acknowledgment sent {"connection_id":162512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:37:37] local.INFO: TCP Data received {"connection_id":164887,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:37:37] local.INFO: Processing buffer {"connection_id":164887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:37:37] local.INFO: IMEI packet received {"connection_id":164887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":164887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:37:40] local.INFO: TCP Data received {"connection_id":162276,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:37:40] local.INFO: Processing buffer {"connection_id":162276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:37:40] local.INFO: IMEI packet received {"connection_id":162276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":162276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:37:42] local.INFO: TCP Data received {"connection_id":164887,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:37:42] local.INFO: Processing buffer {"connection_id":164887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:37:42] local.INFO: IMEI packet received {"connection_id":164887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":164887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:37:43] local.INFO: TCP Data received {"connection_id":164887,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:37:43] local.INFO: Processing buffer {"connection_id":164887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c3b9d58012d34c14006aa4818000800e627..."} 
[2026-08-26 09:37:43] local.INFO: Packet analysis {"connection_id":164887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:37:43] local.INFO: Extracted packet for processing {"connection_id":164887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c3b"} 
[2026-08-26 09:37:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655458304001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:37: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-26 09:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787716935000,"timestamp_ms":1787716935000,"timestamp_seconds":1787716935,"priority":1,"record_length":96,"hex_timestamp":"000001a03c3b9d58"} 
[2026-08-26 09: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-26 09:37: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-26 09: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 09:37:43] 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-26 09: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-26 09: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-26 09:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655458304001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655458304001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:37:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:37:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655458304001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":164887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:37:43] local.INFO: GPS data processed {"connection_id":164887,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:37:43] local.INFO: Acknowledgment sent {"connection_id":164887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:37:45] local.INFO: TCP Data received {"connection_id":162276,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:37:45] local.INFO: Processing buffer {"connection_id":162276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:37:45] local.INFO: IMEI packet received {"connection_id":162276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":162276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:37:45] local.INFO: TCP Data received {"connection_id":162276,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:37:45] local.INFO: Processing buffer {"connection_id":162276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:37:45] local.INFO: IMEI packet received {"connection_id":162276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":162276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:37:46] local.INFO: TCP Data received {"connection_id":162276,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c403cf0012d18cfc007212ca8003b014b16..."} 
[2026-08-26 09:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c403cf0012d18cfc007212ca8003b014b16..."} 
[2026-08-26 09:37:46] local.INFO: Processing buffer {"connection_id":162276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c403cf0012d18cfc007212ca8003b014b16..."} 
[2026-08-26 09:37:46] local.INFO: Packet analysis {"connection_id":162276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:37:46] local.INFO: Extracted packet for processing {"connection_id":162276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756600768,"raw_latitude":119614632,"longitude_deg":75.6600768,"latitude_deg":11.9614632,"altitude":59,"angle":331,"satellites":22,"speed":25,"hex_longitude":"2d18cfc0","hex_latitude":"07212ca8","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655612416001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15803319280730112,"note":"Value kept but may cause issues"} 
[2026-08-26 09:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663896365056,"note":"Value kept but may cause issues"} 
[2026-08-26 09:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787717238000,"timestamp_ms":1787717238000,"timestamp_seconds":1787717238,"priority":1,"record_length":96,"hex_timestamp":"000001a03c403cf0"} 
[2026-08-26 09: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-26 09:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 09:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-26 09:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09: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-26 09: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-26 09:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655612416001,"66":14211,"103":206,"83":41984,"24":25,"16":15803319280730112,"45":1788421663896365056},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-26 09:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655612416001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:37:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-26 09:37:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15803319280730112,"km_value":15803319280730.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663896365056,"description":"Unknown IO ID 45"} 
[2026-08-26 09:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655612416001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1788421663896365056}} 
[2026-08-26 09:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":162276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:37:46] local.INFO: GPS data processed {"connection_id":162276,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:37:46] local.INFO: Acknowledgment sent {"connection_id":162276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:37:47] local.INFO: TCP Data received {"connection_id":162276,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c405c30012d18c48007214058003c015e16..."} 
[2026-08-26 09:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c405c30012d18c48007214058003c015e16..."} 
[2026-08-26 09:37:47] local.INFO: Processing buffer {"connection_id":162276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c405c30012d18c48007214058003c015e16..."} 
[2026-08-26 09:37:47] local.INFO: Packet analysis {"connection_id":162276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:37:47] local.INFO: Extracted packet for processing {"connection_id":162276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:37:47] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119619672,"longitude_deg":75.6597888,"latitude_deg":11.9619672,"altitude":60,"angle":350,"satellites":22,"speed":29,"hex_longitude":"2d18c480","hex_latitude":"07214058","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655612928001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15803602748571648,"note":"Value kept but may cause issues"} 
[2026-08-26 09:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787858713943255040,"note":"Value kept but may cause issues"} 
[2026-08-26 09:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787717246000,"timestamp_ms":1787717246000,"timestamp_seconds":1787717246,"priority":1,"record_length":96,"hex_timestamp":"000001a03c405c30"} 
[2026-08-26 09: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-26 09:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 09: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-26 09:37: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-26 09: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-26 09: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-26 09:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:37: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-26 09:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655612928001,"66":14189,"103":206,"83":41984,"24":29,"16":15803602748571648,"45":1787858713943255040},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-26 09:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655612928001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:37:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-26 09:37:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15803602748571648,"km_value":15803602748571.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787858713943255040,"description":"Unknown IO ID 45"} 
[2026-08-26 09:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655612928001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1787858713943255040}} 
[2026-08-26 09:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":162276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:37:47] local.INFO: GPS data processed {"connection_id":162276,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:37:47] local.INFO: Acknowledgment sent {"connection_id":162276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:38:15] local.INFO: TCP Data received {"connection_id":164887,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:38:15] local.INFO: Processing buffer {"connection_id":164887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:38:15] local.INFO: Packet analysis {"connection_id":164887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:38:15] local.INFO: Extracted packet for processing {"connection_id":164887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:38:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655535360001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:38: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-26 09:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787717236000,"timestamp_ms":1787717236000,"timestamp_seconds":1787717236,"priority":1,"record_length":96,"hex_timestamp":"000001a03c403520"} 
[2026-08-26 09:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:38: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-26 09:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 09:38:15] 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-26 09:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655535360001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655535360001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:38:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:38:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655535360001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":164887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:38:15] local.INFO: GPS data processed {"connection_id":164887,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:38:15] local.INFO: Acknowledgment sent {"connection_id":164887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:38:18] local.INFO: TCP Data received {"connection_id":162276,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c406400012d18c40007214680003c000016..."} 
[2026-08-26 09:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c406400012d18c40007214680003c000016..."} 
[2026-08-26 09:38:18] local.INFO: Processing buffer {"connection_id":162276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c406400012d18c40007214680003c000016..."} 
[2026-08-26 09:38:18] local.INFO: Packet analysis {"connection_id":162276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:38:18] local.INFO: Extracted packet for processing {"connection_id":162276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:38:18] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119621248,"longitude_deg":75.659776,"latitude_deg":11.9621248,"altitude":60,"angle":0,"satellites":22,"speed":31,"hex_longitude":"2d18c400","hex_latitude":"07214680","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655614976001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15803680057982976,"note":"Value kept but may cause issues"} 
[2026-08-26 09:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120456550400,"note":"Value kept but may cause issues"} 
[2026-08-26 09:38: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-26 09:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787717248000,"timestamp_ms":1787717248000,"timestamp_seconds":1787717248,"priority":1,"record_length":96,"hex_timestamp":"000001a03c406400"} 
[2026-08-26 09: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-26 09:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 09: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-26 09:38:18] 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-26 09: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-26 09: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-26 09:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:38: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-26 09:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655614976001,"66":13798,"103":206,"83":41984,"24":31,"16":15803680057982976,"45":1784692120456550400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-26 09:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655614976001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:38:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-26 09:38:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15803680057982976,"km_value":15803680057982.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120456550400,"description":"Unknown IO ID 45"} 
[2026-08-26 09:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655614976001,"power":13798,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1784692120456550400}} 
[2026-08-26 09:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":162276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:38:18] local.INFO: GPS data processed {"connection_id":162276,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:38:18] local.INFO: Acknowledgment sent {"connection_id":162276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:38:37] local.INFO: TCP Data received {"connection_id":163534,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:38:37] local.INFO: Processing buffer {"connection_id":163534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:38:37] local.INFO: IMEI packet received {"connection_id":163534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":163534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:38:40] local.INFO: TCP Data received {"connection_id":162277,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:38:40] local.INFO: Processing buffer {"connection_id":162277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:38:40] local.INFO: IMEI packet received {"connection_id":162277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":162277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:38:42] local.INFO: TCP Data received {"connection_id":163534,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:38:42] local.INFO: Processing buffer {"connection_id":163534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:38:42] local.INFO: IMEI packet received {"connection_id":163534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":163534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:38:43] local.INFO: TCP Data received {"connection_id":163534,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:38:43] local.INFO: Processing buffer {"connection_id":163534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:38:43] local.INFO: Packet analysis {"connection_id":163534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:38:43] local.INFO: Extracted packet for processing {"connection_id":163534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:38:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655535360001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09: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-26 09:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787717236000,"timestamp_ms":1787717236000,"timestamp_seconds":1787717236,"priority":1,"record_length":96,"hex_timestamp":"000001a03c403520"} 
[2026-08-26 09: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-26 09:38: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-26 09: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":75,"data_length":795,"current_offset":136} 
[2026-08-26 09:38:43] 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-26 09: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-26 09: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-26 09:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655535360001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655535360001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:38:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:38:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655535360001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":163534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:38:43] local.INFO: GPS data processed {"connection_id":163534,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:38:43] local.INFO: Acknowledgment sent {"connection_id":163534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:38:46] local.INFO: TCP Data received {"connection_id":162277,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:38:46] local.INFO: Processing buffer {"connection_id":162277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:38:46] local.INFO: IMEI packet received {"connection_id":162277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":162277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:38:46] local.INFO: TCP Data received {"connection_id":162277,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4073a0012d18c2c007215298003d015516..."} 
[2026-08-26 09:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4073a0012d18c2c007215298003d015516..."} 
[2026-08-26 09:38:46] local.INFO: Processing buffer {"connection_id":162277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4073a0012d18c2c007215298003d015516..."} 
[2026-08-26 09:38:46] local.INFO: Packet analysis {"connection_id":162277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:38:46] local.INFO: Extracted packet for processing {"connection_id":162277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:38:46] local.INFO: GPS Element Parsed {"raw_longitude":756597440,"raw_latitude":119624344,"longitude_deg":75.659744,"latitude_deg":11.9624344,"altitude":61,"angle":341,"satellites":22,"speed":29,"hex_longitude":"2d18c2c0","hex_latitude":"07215298","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655615488001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15803830381838336,"note":"Value kept but may cause issues"} 
[2026-08-26 09:38:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382968598528,"note":"Value kept but may cause issues"} 
[2026-08-26 09: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-26 09:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787717252000,"timestamp_ms":1787717252000,"timestamp_seconds":1787717252,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4073a0"} 
[2026-08-26 09: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-26 09:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 09: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-26 09:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09: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-26 09: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-26 09:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655615488001,"66":14233,"103":206,"83":41984,"24":29,"16":15803830381838336,"45":1784551382968598528},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-26 09:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655615488001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:38:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-26 09:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15803830381838336,"km_value":15803830381838.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:38:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382968598528,"description":"Unknown IO ID 45"} 
[2026-08-26 09:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655615488001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1784551382968598528}} 
[2026-08-26 09:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":162277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:38:46] local.INFO: GPS data processed {"connection_id":162277,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:38:46] local.INFO: Acknowledgment sent {"connection_id":162277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:39:15] local.INFO: TCP Data received {"connection_id":163534,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:39:15] local.INFO: Processing buffer {"connection_id":163534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:39:15] local.INFO: Packet analysis {"connection_id":163534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:39:15] local.INFO: Extracted packet for processing {"connection_id":163534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655535360001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:39: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-26 09:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787717236000,"timestamp_ms":1787717236000,"timestamp_seconds":1787717236,"priority":1,"record_length":96,"hex_timestamp":"000001a03c403520"} 
[2026-08-26 09: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-26 09: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-26 09: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 09:39:15] 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-26 09: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-26 09: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-26 09:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655535360001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655535360001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655535360001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":163534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:39:15] local.INFO: GPS data processed {"connection_id":163534,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:39:15] local.INFO: Acknowledgment sent {"connection_id":163534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:39:18] local.INFO: TCP Data received {"connection_id":162277,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c407788012d18c18007215568003e014a16..."} 
[2026-08-26 09:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c407788012d18c18007215568003e014a16..."} 
[2026-08-26 09:39:18] local.INFO: Processing buffer {"connection_id":162277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c407788012d18c18007215568003e014a16..."} 
[2026-08-26 09:39:18] local.INFO: Packet analysis {"connection_id":162277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:39:18] local.INFO: Extracted packet for processing {"connection_id":162277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:39:18] local.INFO: GPS Element Parsed {"raw_longitude":756597120,"raw_latitude":119625064,"longitude_deg":75.659712,"latitude_deg":11.9625064,"altitude":62,"angle":330,"satellites":22,"speed":29,"hex_longitude":"2d18c180","hex_latitude":"07215568","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655616512001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15803869036544000,"note":"Value kept but may cause issues"} 
[2026-08-26 09:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784199539248502784,"note":"Value kept but may cause issues"} 
[2026-08-26 09:39: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-26 09:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787717253000,"timestamp_ms":1787717253000,"timestamp_seconds":1787717253,"priority":1,"record_length":96,"hex_timestamp":"000001a03c407788"} 
[2026-08-26 09: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-26 09:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 09: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-26 09:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09: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-26 09: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-26 09:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655616512001,"66":14233,"103":206,"83":41984,"24":29,"16":15803869036544000,"45":1784199539248502784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-26 09:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655616512001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:39:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-26 09:39:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15803869036544000,"km_value":15803869036544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784199539248502784,"description":"Unknown IO ID 45"} 
[2026-08-26 09:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655616512001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1784199539248502784}} 
[2026-08-26 09:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":162277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:39:18] local.INFO: GPS data processed {"connection_id":162277,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:39:18] local.INFO: Acknowledgment sent {"connection_id":162277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:39:37] local.INFO: TCP Data received {"connection_id":163535,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:39:37] local.INFO: Processing buffer {"connection_id":163535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:39:37] local.INFO: IMEI packet received {"connection_id":163535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":163535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:39:41] local.INFO: TCP Data received {"connection_id":162278,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:39:41] local.INFO: Processing buffer {"connection_id":162278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:39:41] local.INFO: IMEI packet received {"connection_id":162278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":162278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:39:43] local.INFO: TCP Data received {"connection_id":163535,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:39:43] local.INFO: Processing buffer {"connection_id":163535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:39:43] local.INFO: IMEI packet received {"connection_id":163535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":163535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:39:44] local.INFO: TCP Data received {"connection_id":163535,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:39:44] local.INFO: Processing buffer {"connection_id":163535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:39:44] local.INFO: Packet analysis {"connection_id":163535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:39:44] local.INFO: Extracted packet for processing {"connection_id":163535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655535360001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:39: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-26 09:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787717236000,"timestamp_ms":1787717236000,"timestamp_seconds":1787717236,"priority":1,"record_length":96,"hex_timestamp":"000001a03c403520"} 
[2026-08-26 09:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:39: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-26 09:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 09:39:44] 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-26 09:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655535360001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655535360001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:39:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:39:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655535360001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":163535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:39:44] local.INFO: GPS data processed {"connection_id":163535,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:39:44] local.INFO: Acknowledgment sent {"connection_id":163535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:39:45] local.INFO: TCP Data received {"connection_id":162278,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:39:45] local.INFO: Processing buffer {"connection_id":162278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:39:45] local.INFO: IMEI packet received {"connection_id":162278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":162278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:39:51] local.INFO: TCP Data received {"connection_id":162278,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:39:51] local.INFO: Processing buffer {"connection_id":162278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:39:51] local.INFO: IMEI packet received {"connection_id":162278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":162278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:39:51] local.INFO: TCP Data received {"connection_id":162278,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c41c390012d182c8007219a68004d013617..."} 
[2026-08-26 09:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c41c390012d182c8007219a68004d013617..."} 
[2026-08-26 09:39:51] local.INFO: Processing buffer {"connection_id":162278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c41c390012d182c8007219a68004d013617..."} 
[2026-08-26 09:39:51] local.INFO: Packet analysis {"connection_id":162278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c41"} 
[2026-08-26 09:39:51] local.INFO: Extracted packet for processing {"connection_id":162278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c41"} 
[2026-08-26 09:39:51] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119642728,"longitude_deg":75.6558976,"latitude_deg":11.9642728,"altitude":77,"angle":310,"satellites":23,"speed":0,"hex_longitude":"2d182c80","hex_latitude":"07219a68","is_valid_coordinates":true} 
[2026-08-26 09:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655633152001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15805990750388224,"note":"Value kept but may cause issues"} 
[2026-08-26 09:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741837555258273792,"note":"Value kept but may cause issues"} 
[2026-08-26 09:39: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-26 09:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787717338000,"timestamp_ms":1787717338000,"timestamp_seconds":1787717338,"priority":1,"record_length":96,"hex_timestamp":"000001a03c41c390"} 
[2026-08-26 09:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 09:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-26 09:39:51] 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-26 09:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:39:51] 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-26 09:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655633152001,"66":13135,"105":206,"83":41984,"24":0,"16":15805990750388224,"45":1741837555258273792},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655633152001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:39:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:39:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15805990750388224,"km_value":15805990750388.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741837555258273792,"description":"Unknown IO ID 45"} 
[2026-08-26 09:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655633152001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741837555258273792}} 
[2026-08-26 09:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":162278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:39:51] local.INFO: GPS data processed {"connection_id":162278,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:39:51] local.INFO: Acknowledgment sent {"connection_id":162278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:39:56] local.INFO: TCP Data received {"connection_id":162278,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c421598012d182c8007219a68004d013618..."} 
[2026-08-26 09:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c421598012d182c8007219a68004d013618..."} 
[2026-08-26 09:39:56] local.INFO: Processing buffer {"connection_id":162278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c421598012d182c8007219a68004d013618..."} 
[2026-08-26 09:39:56] local.INFO: Packet analysis {"connection_id":162278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c42"} 
[2026-08-26 09:39:56] local.INFO: Extracted packet for processing {"connection_id":162278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c42"} 
[2026-08-26 09:39:56] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119642728,"longitude_deg":75.6558976,"latitude_deg":11.9642728,"altitude":77,"angle":310,"satellites":24,"speed":0,"hex_longitude":"2d182c80","hex_latitude":"07219a68","is_valid_coordinates":true} 
[2026-08-26 09:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655638528001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15805990750388224,"note":"Value kept but may cause issues"} 
[2026-08-26 09:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741907924002433024,"note":"Value kept but may cause issues"} 
[2026-08-26 09:39: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-26 09:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787717359000,"timestamp_ms":1787717359000,"timestamp_seconds":1787717359,"priority":1,"record_length":96,"hex_timestamp":"000001a03c421598"} 
[2026-08-26 09:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 09:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-26 09:39:56] 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-26 09:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655638528001,"66":13102,"105":206,"83":41984,"24":0,"16":15805990750388224,"45":1741907924002433024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655638528001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:39:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:39:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15805990750388224,"km_value":15805990750388.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741907924002433024,"description":"Unknown IO ID 45"} 
[2026-08-26 09:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655638528001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741907924002433024}} 
[2026-08-26 09:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":162278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:39:56] local.INFO: GPS data processed {"connection_id":162278,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:39:56] local.INFO: Acknowledgment sent {"connection_id":162278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:40:16] local.INFO: TCP Data received {"connection_id":163535,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:40:16] local.INFO: Processing buffer {"connection_id":163535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:40:16] local.INFO: Packet analysis {"connection_id":163535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:40:16] local.INFO: Extracted packet for processing {"connection_id":163535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655535360001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:40: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-26 09:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787717236000,"timestamp_ms":1787717236000,"timestamp_seconds":1787717236,"priority":1,"record_length":96,"hex_timestamp":"000001a03c403520"} 
[2026-08-26 09:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:40: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-26 09:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 09:40: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-26 09:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655535360001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655535360001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:40:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:40:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655535360001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":163535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:40:16] local.INFO: GPS data processed {"connection_id":163535,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:40:16] local.INFO: Acknowledgment sent {"connection_id":163535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:40:41] local.INFO: TCP Data received {"connection_id":164888,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:40:41] local.INFO: Processing buffer {"connection_id":164888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:40:41] local.INFO: IMEI packet received {"connection_id":164888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":164888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:40:42] local.INFO: TCP Data received {"connection_id":164889,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:40:42] local.INFO: Processing buffer {"connection_id":164889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:40:42] local.INFO: IMEI packet received {"connection_id":164889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":164889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:40:45] local.INFO: TCP Data received {"connection_id":164888,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:40:45] local.INFO: Processing buffer {"connection_id":164888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:40:45] local.INFO: IMEI packet received {"connection_id":164888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":164888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:40:45] local.INFO: TCP Data received {"connection_id":164888,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4267a0012d182c8007219a68004d013618..."} 
[2026-08-26 09:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4267a0012d182c8007219a68004d013618..."} 
[2026-08-26 09:40:45] local.INFO: Processing buffer {"connection_id":164888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4267a0012d182c8007219a68004d013618..."} 
[2026-08-26 09:40:45] local.INFO: Packet analysis {"connection_id":164888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c42"} 
[2026-08-26 09:40:45] local.INFO: Extracted packet for processing {"connection_id":164888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c42"} 
[2026-08-26 09:40:45] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119642728,"longitude_deg":75.6558976,"latitude_deg":11.9642728,"altitude":77,"angle":310,"satellites":24,"speed":0,"hex_longitude":"2d182c80","hex_latitude":"07219a68","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655643904001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15805990750388224,"note":"Value kept but may cause issues"} 
[2026-08-26 09:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741907924002433024,"note":"Value kept but may cause issues"} 
[2026-08-26 09:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787717380000,"timestamp_ms":1787717380000,"timestamp_seconds":1787717380,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4267a0"} 
[2026-08-26 09: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-26 09:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-26 09:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09: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-26 09: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-26 09:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655643904001,"66":13102,"105":206,"83":41984,"24":0,"16":15805990750388224,"45":1741907924002433024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655643904001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:40:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:40:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15805990750388224,"km_value":15805990750388.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741907924002433024,"description":"Unknown IO ID 45"} 
[2026-08-26 09:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655643904001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741907924002433024}} 
[2026-08-26 09:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":164888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:40:45] local.INFO: GPS data processed {"connection_id":164888,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:40:45] local.INFO: Acknowledgment sent {"connection_id":164888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:40:47] local.INFO: TCP Data received {"connection_id":164889,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:40:47] local.INFO: Processing buffer {"connection_id":164889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:40:47] local.INFO: IMEI packet received {"connection_id":164889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":164889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:40:48] local.INFO: TCP Data received {"connection_id":164889,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:40:48] local.INFO: Processing buffer {"connection_id":164889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:40:48] local.INFO: Packet analysis {"connection_id":164889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:40:48] local.INFO: Extracted packet for processing {"connection_id":164889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:40:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655535360001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787717236000,"timestamp_ms":1787717236000,"timestamp_seconds":1787717236,"priority":1,"record_length":96,"hex_timestamp":"000001a03c403520"} 
[2026-08-26 09: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-26 09:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 09:40:48] 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-26 09: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-26 09: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-26 09:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655535360001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655535360001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:40:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:40:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655535360001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":164889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:40:48] local.INFO: GPS data processed {"connection_id":164889,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:40:48] local.INFO: Acknowledgment sent {"connection_id":164889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:40:53] local.INFO: TCP Data received {"connection_id":164889,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:40:53] local.INFO: Processing buffer {"connection_id":164889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:40:53] local.INFO: Packet analysis {"connection_id":164889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:40:53] local.INFO: Extracted packet for processing {"connection_id":164889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:40:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655535360001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787717236000,"timestamp_ms":1787717236000,"timestamp_seconds":1787717236,"priority":1,"record_length":96,"hex_timestamp":"000001a03c403520"} 
[2026-08-26 09:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 09:40:53] 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-26 09:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655535360001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655535360001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:40:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:40:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655535360001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":164889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:40:53] local.INFO: GPS data processed {"connection_id":164889,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:40:53] local.INFO: Acknowledgment sent {"connection_id":164889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:41:17] local.INFO: TCP Data received {"connection_id":164888,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c42b9a8012d182c8007219a68004d013616..."} 
[2026-08-26 09:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c42b9a8012d182c8007219a68004d013616..."} 
[2026-08-26 09:41:17] local.INFO: Processing buffer {"connection_id":164888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c42b9a8012d182c8007219a68004d013616..."} 
[2026-08-26 09:41:17] local.INFO: Packet analysis {"connection_id":164888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c42"} 
[2026-08-26 09:41:17] local.INFO: Extracted packet for processing {"connection_id":164888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c42"} 
[2026-08-26 09:41:17] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119642728,"longitude_deg":75.6558976,"latitude_deg":11.9642728,"altitude":77,"angle":310,"satellites":22,"speed":0,"hex_longitude":"2d182c80","hex_latitude":"07219a68","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655649280001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15805990750388224,"note":"Value kept but may cause issues"} 
[2026-08-26 09:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741907924002433024,"note":"Value kept but may cause issues"} 
[2026-08-26 09:41: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-26 09:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787717401000,"timestamp_ms":1787717401000,"timestamp_seconds":1787717401,"priority":1,"record_length":96,"hex_timestamp":"000001a03c42b9a8"} 
[2026-08-26 09: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-26 09:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 09: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-26 09:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09: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-26 09: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-26 09:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655649280001,"66":13091,"105":206,"83":41984,"24":0,"16":15805990750388224,"45":1741907924002433024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655649280001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:41:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:41:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15805990750388224,"km_value":15805990750388.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741907924002433024,"description":"Unknown IO ID 45"} 
[2026-08-26 09:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655649280001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741907924002433024}} 
[2026-08-26 09:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":164888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:41:17] local.INFO: GPS data processed {"connection_id":164888,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:41:17] local.INFO: Acknowledgment sent {"connection_id":164888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:41:37] local.INFO: TCP Data received {"connection_id":162279,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:41:37] local.INFO: Processing buffer {"connection_id":162279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:41:37] local.INFO: IMEI packet received {"connection_id":162279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":162279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:41:41] local.INFO: TCP Data received {"connection_id":162514,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:41:41] local.INFO: Processing buffer {"connection_id":162514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:41:41] local.INFO: IMEI packet received {"connection_id":162514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":162514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:41:42] local.INFO: TCP Data received {"connection_id":162279,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:41:42] local.INFO: Processing buffer {"connection_id":162279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:41:42] local.INFO: IMEI packet received {"connection_id":162279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":162279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:41:43] local.INFO: TCP Data received {"connection_id":162279,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:41:43] local.INFO: Processing buffer {"connection_id":162279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:41:43] local.INFO: Packet analysis {"connection_id":162279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:41:43] local.INFO: Extracted packet for processing {"connection_id":162279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:41:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655535360001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:41: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-26 09:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787717236000,"timestamp_ms":1787717236000,"timestamp_seconds":1787717236,"priority":1,"record_length":96,"hex_timestamp":"000001a03c403520"} 
[2026-08-26 09:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:41: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-26 09:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 09:41:43] 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-26 09:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655535360001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655535360001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:41:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:41:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655535360001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":162279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:41:44] local.INFO: GPS data processed {"connection_id":162279,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:41:44] local.INFO: Acknowledgment sent {"connection_id":162279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:41:45] local.INFO: TCP Data received {"connection_id":162514,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:41:45] local.INFO: Processing buffer {"connection_id":162514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:41:45] local.INFO: IMEI packet received {"connection_id":162514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":162514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:41:46] local.INFO: TCP Data received {"connection_id":162514,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c430bb0012d182c8007219a68004d013618..."} 
[2026-08-26 09:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c430bb0012d182c8007219a68004d013618..."} 
[2026-08-26 09:41:46] local.INFO: Processing buffer {"connection_id":162514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c430bb0012d182c8007219a68004d013618..."} 
[2026-08-26 09:41:46] local.INFO: Packet analysis {"connection_id":162514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c43"} 
[2026-08-26 09:41:46] local.INFO: Extracted packet for processing {"connection_id":162514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c43"} 
[2026-08-26 09:41:46] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119642728,"longitude_deg":75.6558976,"latitude_deg":11.9642728,"altitude":77,"angle":310,"satellites":24,"speed":0,"hex_longitude":"2d182c80","hex_latitude":"07219a68","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655654656001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15805990750388224,"note":"Value kept but may cause issues"} 
[2026-08-26 09:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741907924002433024,"note":"Value kept but may cause issues"} 
[2026-08-26 09:41: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-26 09:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787717422000,"timestamp_ms":1787717422000,"timestamp_seconds":1787717422,"priority":1,"record_length":96,"hex_timestamp":"000001a03c430bb0"} 
[2026-08-26 09: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-26 09:41:46] 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-26 09: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-26 09:41:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09: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-26 09: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-26 09:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655654656001,"66":13080,"105":206,"83":41984,"24":0,"16":15805990750388224,"45":1741907924002433024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655654656001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:41:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:41:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15805990750388224,"km_value":15805990750388.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741907924002433024,"description":"Unknown IO ID 45"} 
[2026-08-26 09:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655654656001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741907924002433024}} 
[2026-08-26 09:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":162514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:41:46] local.INFO: GPS data processed {"connection_id":162514,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:41:46] local.INFO: Acknowledgment sent {"connection_id":162514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:42:15] local.INFO: TCP Data received {"connection_id":162279,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:42:15] local.INFO: Processing buffer {"connection_id":162279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:42:15] local.INFO: Packet analysis {"connection_id":162279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:42:15] local.INFO: Extracted packet for processing {"connection_id":162279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 09:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655535360001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 09:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787717236000,"timestamp_ms":1787717236000,"timestamp_seconds":1787717236,"priority":1,"record_length":96,"hex_timestamp":"000001a03c403520"} 
[2026-08-26 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-26 09: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-26 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":75,"data_length":795,"current_offset":136} 
[2026-08-26 09:42:15] 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-26 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-26 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-26 09:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655535360001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655535360001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:42:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655535360001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":162279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:42:15] local.INFO: GPS data processed {"connection_id":162279,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:42:15] local.INFO: Acknowledgment sent {"connection_id":162279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:42:17] local.INFO: TCP Data received {"connection_id":162514,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c435db8012d182c8007219a68004d01361a..."} 
[2026-08-26 09:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c435db8012d182c8007219a68004d01361a..."} 
[2026-08-26 09:42:17] local.INFO: Processing buffer {"connection_id":162514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c435db8012d182c8007219a68004d01361a..."} 
[2026-08-26 09:42:17] local.INFO: Packet analysis {"connection_id":162514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c43"} 
[2026-08-26 09:42:17] local.INFO: Extracted packet for processing {"connection_id":162514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c43"} 
[2026-08-26 09:42:17] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119642728,"longitude_deg":75.6558976,"latitude_deg":11.9642728,"altitude":77,"angle":310,"satellites":26,"speed":0,"hex_longitude":"2d182c80","hex_latitude":"07219a68","is_valid_coordinates":true} 
[2026-08-26 09:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655660032001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15805990750388224,"note":"Value kept but may cause issues"} 
[2026-08-26 09:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741907924002433024,"note":"Value kept but may cause issues"} 
[2026-08-26 09:42: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-26 09:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787717443000,"timestamp_ms":1787717443000,"timestamp_seconds":1787717443,"priority":1,"record_length":96,"hex_timestamp":"000001a03c435db8"} 
[2026-08-26 09:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:42:17] 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-26 09:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-26 09:42:17] 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-26 09:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655660032001,"66":13048,"105":206,"83":41984,"24":0,"16":15805990750388224,"45":1741907924002433024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655660032001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:42:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:42:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15805990750388224,"km_value":15805990750388.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741907924002433024,"description":"Unknown IO ID 45"} 
[2026-08-26 09:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655660032001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741907924002433024}} 
[2026-08-26 09:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":162514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:42:18] local.INFO: GPS data processed {"connection_id":162514,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:42:18] local.INFO: Acknowledgment sent {"connection_id":162514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:42:37] local.INFO: TCP Data received {"connection_id":164890,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:42:37] local.INFO: Processing buffer {"connection_id":164890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:42:37] local.INFO: IMEI packet received {"connection_id":164890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":164890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:42:41] local.INFO: TCP Data received {"connection_id":162515,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:42:41] local.INFO: Processing buffer {"connection_id":162515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:42:41] local.INFO: IMEI packet received {"connection_id":162515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":162515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:42:42] local.INFO: TCP Data received {"connection_id":164890,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:42:42] local.INFO: Processing buffer {"connection_id":164890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:42:42] local.INFO: IMEI packet received {"connection_id":164890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":164890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:42:44] local.INFO: TCP Data received {"connection_id":164890,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:42:44] local.INFO: Processing buffer {"connection_id":164890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c403520012d34c14006aa4818000200e627..."} 
[2026-08-26 09:42:44] local.INFO: Packet analysis {"connection_id":164890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:42:44] local.INFO: Extracted packet for processing {"connection_id":164890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c40"} 
[2026-08-26 09:42:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655535360001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:42: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-26 09:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787717236000,"timestamp_ms":1787717236000,"timestamp_seconds":1787717236,"priority":1,"record_length":96,"hex_timestamp":"000001a03c403520"} 
[2026-08-26 09: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-26 09:42: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-26 09: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 09:42:44] 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-26 09: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-26 09: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-26 09:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655535360001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655535360001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:42:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:42:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655535360001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":164890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:42:44] local.INFO: GPS data processed {"connection_id":164890,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:42:44] local.INFO: Acknowledgment sent {"connection_id":164890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:42:46] local.INFO: TCP Data received {"connection_id":162515,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:42:46] local.INFO: Processing buffer {"connection_id":162515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:42:46] local.INFO: IMEI packet received {"connection_id":162515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":162515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:42:46] local.INFO: TCP Data received {"connection_id":162515,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c43afc0012d182c8007219a68004d01361c..."} 
[2026-08-26 09:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c43afc0012d182c8007219a68004d01361c..."} 
[2026-08-26 09:42:46] local.INFO: Processing buffer {"connection_id":162515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c43afc0012d182c8007219a68004d01361c..."} 
[2026-08-26 09:42:46] local.INFO: Packet analysis {"connection_id":162515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c43"} 
[2026-08-26 09:42:46] local.INFO: Extracted packet for processing {"connection_id":162515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c43"} 
[2026-08-26 09:42:46] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119642728,"longitude_deg":75.6558976,"latitude_deg":11.9642728,"altitude":77,"angle":310,"satellites":28,"speed":0,"hex_longitude":"2d182c80","hex_latitude":"07219a68","is_valid_coordinates":true} 
[2026-08-26 09:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655665408001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15805990750388224,"note":"Value kept but may cause issues"} 
[2026-08-26 09:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741907924002433024,"note":"Value kept but may cause issues"} 
[2026-08-26 09:42: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-26 09:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787717464000,"timestamp_ms":1787717464000,"timestamp_seconds":1787717464,"priority":1,"record_length":96,"hex_timestamp":"000001a03c43afc0"} 
[2026-08-26 09:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:42:46] 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-26 09:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-26 09:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655665408001,"66":12972,"105":206,"83":41984,"24":0,"16":15805990750388224,"45":1741907924002433024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655665408001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:42:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:42:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15805990750388224,"km_value":15805990750388.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741907924002433024,"description":"Unknown IO ID 45"} 
[2026-08-26 09:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655665408001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741907924002433024}} 
[2026-08-26 09:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":162515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:42:46] local.INFO: GPS data processed {"connection_id":162515,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:42:46] local.INFO: Acknowledgment sent {"connection_id":162515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:43:15] local.INFO: TCP Data received {"connection_id":164890,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:43:15] local.INFO: Processing buffer {"connection_id":164890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:43:15] local.INFO: Packet analysis {"connection_id":164890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:43:15] local.INFO: Extracted packet for processing {"connection_id":164890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655612416001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:43: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-26 09:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787717537000,"timestamp_ms":1787717537000,"timestamp_seconds":1787717537,"priority":1,"record_length":96,"hex_timestamp":"000001a03c44cce8"} 
[2026-08-26 09:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:43: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-26 09:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:43: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-26 09:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655612416001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655612416001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:43:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655612416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":164890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:43:15] local.INFO: GPS data processed {"connection_id":164890,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:43:15] local.INFO: Acknowledgment sent {"connection_id":164890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:43:17] local.INFO: TCP Data received {"connection_id":162515,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4401c8012d182c8007219a68004d01361c..."} 
[2026-08-26 09:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4401c8012d182c8007219a68004d01361c..."} 
[2026-08-26 09:43:17] local.INFO: Processing buffer {"connection_id":162515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4401c8012d182c8007219a68004d01361c..."} 
[2026-08-26 09:43:17] local.INFO: Packet analysis {"connection_id":162515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:43:17] local.INFO: Extracted packet for processing {"connection_id":162515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:43:17] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119642728,"longitude_deg":75.6558976,"latitude_deg":11.9642728,"altitude":77,"angle":310,"satellites":28,"speed":0,"hex_longitude":"2d182c80","hex_latitude":"07219a68","is_valid_coordinates":true} 
[2026-08-26 09:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655670784001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15805990750388224,"note":"Value kept but may cause issues"} 
[2026-08-26 09:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741907924002433024,"note":"Value kept but may cause issues"} 
[2026-08-26 09:43: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-26 09:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787717485000,"timestamp_ms":1787717485000,"timestamp_seconds":1787717485,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4401c8"} 
[2026-08-26 09:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:43:17] 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-26 09:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-26 09:43:17] 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-26 09:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655670784001,"66":12993,"105":206,"83":41984,"24":0,"16":15805990750388224,"45":1741907924002433024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655670784001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:43:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:43:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15805990750388224,"km_value":15805990750388.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741907924002433024,"description":"Unknown IO ID 45"} 
[2026-08-26 09:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655670784001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741907924002433024}} 
[2026-08-26 09:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":162515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:43:18] local.INFO: GPS data processed {"connection_id":162515,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:43:18] local.INFO: Acknowledgment sent {"connection_id":162515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:43:37] local.INFO: TCP Data received {"connection_id":162280,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:43:37] local.INFO: Processing buffer {"connection_id":162280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:43:37] local.INFO: IMEI packet received {"connection_id":162280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":162280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:43:41] local.INFO: TCP Data received {"connection_id":162281,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:43:41] local.INFO: Processing buffer {"connection_id":162281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:43:41] local.INFO: IMEI packet received {"connection_id":162281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":162281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:43:42] local.INFO: TCP Data received {"connection_id":162280,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:43:42] local.INFO: Processing buffer {"connection_id":162280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:43:42] local.INFO: IMEI packet received {"connection_id":162280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":162280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:43:43] local.INFO: TCP Data received {"connection_id":162280,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:43:43] local.INFO: Processing buffer {"connection_id":162280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:43:43] local.INFO: Packet analysis {"connection_id":162280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:43:43] local.INFO: Extracted packet for processing {"connection_id":162280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:43:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655612416001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:43: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-26 09:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787717537000,"timestamp_ms":1787717537000,"timestamp_seconds":1787717537,"priority":1,"record_length":96,"hex_timestamp":"000001a03c44cce8"} 
[2026-08-26 09:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:43: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-26 09:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:43:43] 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-26 09:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655612416001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655612416001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:43:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:43:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655612416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":162280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:43:43] local.INFO: GPS data processed {"connection_id":162280,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:43:43] local.INFO: Acknowledgment sent {"connection_id":162280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:43:45] local.INFO: TCP Data received {"connection_id":162281,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:43:45] local.INFO: Processing buffer {"connection_id":162281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:43:45] local.INFO: IMEI packet received {"connection_id":162281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":162281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:43:46] local.INFO: TCP Data received {"connection_id":162281,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4453d0012d182c8007219a68004d01361c..."} 
[2026-08-26 09:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4453d0012d182c8007219a68004d01361c..."} 
[2026-08-26 09:43:46] local.INFO: Processing buffer {"connection_id":162281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4453d0012d182c8007219a68004d01361c..."} 
[2026-08-26 09:43:46] local.INFO: Packet analysis {"connection_id":162281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:43:46] local.INFO: Extracted packet for processing {"connection_id":162281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:43:46] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119642728,"longitude_deg":75.6558976,"latitude_deg":11.9642728,"altitude":77,"angle":310,"satellites":28,"speed":0,"hex_longitude":"2d182c80","hex_latitude":"07219a68","is_valid_coordinates":true} 
[2026-08-26 09:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655676160001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15805990750388224,"note":"Value kept but may cause issues"} 
[2026-08-26 09:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741907924002433024,"note":"Value kept but may cause issues"} 
[2026-08-26 09:43: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-26 09:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787717506000,"timestamp_ms":1787717506000,"timestamp_seconds":1787717506,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4453d0"} 
[2026-08-26 09:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 09:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-26 09:43: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-26 09:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655676160001,"66":12972,"105":206,"83":41984,"24":0,"16":15805990750388224,"45":1741907924002433024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655676160001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:43:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:43:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15805990750388224,"km_value":15805990750388.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741907924002433024,"description":"Unknown IO ID 45"} 
[2026-08-26 09:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655676160001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741907924002433024}} 
[2026-08-26 09:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":162281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:43:46] local.INFO: GPS data processed {"connection_id":162281,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:43:46] local.INFO: Acknowledgment sent {"connection_id":162281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:44:15] local.INFO: TCP Data received {"connection_id":162280,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:44:15] local.INFO: Processing buffer {"connection_id":162280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:44:15] local.INFO: Packet analysis {"connection_id":162280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:44:15] local.INFO: Extracted packet for processing {"connection_id":162280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:44:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655612416001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:44: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-26 09:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787717537000,"timestamp_ms":1787717537000,"timestamp_seconds":1787717537,"priority":1,"record_length":96,"hex_timestamp":"000001a03c44cce8"} 
[2026-08-26 09: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-26 09:44: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-26 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:44: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-26 09: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-26 09: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-26 09:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655612416001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655612416001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:44:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:44:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655612416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":162280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:44:15] local.INFO: GPS data processed {"connection_id":162280,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:44:15] local.INFO: Acknowledgment sent {"connection_id":162280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:44:17] local.INFO: TCP Data received {"connection_id":162281,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c44a5d8012d182c8007219a68004d01361c..."} 
[2026-08-26 09:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c44a5d8012d182c8007219a68004d01361c..."} 
[2026-08-26 09:44:17] local.INFO: Processing buffer {"connection_id":162281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c44a5d8012d182c8007219a68004d01361c..."} 
[2026-08-26 09:44:17] local.INFO: Packet analysis {"connection_id":162281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:44:17] local.INFO: Extracted packet for processing {"connection_id":162281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:44:17] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119642728,"longitude_deg":75.6558976,"latitude_deg":11.9642728,"altitude":77,"angle":310,"satellites":28,"speed":0,"hex_longitude":"2d182c80","hex_latitude":"07219a68","is_valid_coordinates":true} 
[2026-08-26 09:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655681536001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15805990750388224,"note":"Value kept but may cause issues"} 
[2026-08-26 09:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741907924002433024,"note":"Value kept but may cause issues"} 
[2026-08-26 09:44: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-26 09:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787717527000,"timestamp_ms":1787717527000,"timestamp_seconds":1787717527,"priority":1,"record_length":96,"hex_timestamp":"000001a03c44a5d8"} 
[2026-08-26 09:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:44:17] 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-26 09:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-26 09:44:17] 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-26 09:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655681536001,"66":12950,"105":206,"83":41984,"24":0,"16":15805990750388224,"45":1741907924002433024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655681536001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:44:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:44:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15805990750388224,"km_value":15805990750388.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741907924002433024,"description":"Unknown IO ID 45"} 
[2026-08-26 09:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655681536001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741907924002433024}} 
[2026-08-26 09:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":162281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:44:17] local.INFO: GPS data processed {"connection_id":162281,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:44:17] local.INFO: Acknowledgment sent {"connection_id":162281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:44:40] local.INFO: TCP Data received {"connection_id":162517,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:44:40] local.INFO: Processing buffer {"connection_id":162517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:44:40] local.INFO: IMEI packet received {"connection_id":162517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":162517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:44:42] local.INFO: TCP Data received {"connection_id":162516,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:44:42] local.INFO: Processing buffer {"connection_id":162516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:44:42] local.INFO: IMEI packet received {"connection_id":162516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":162516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:44:45] local.INFO: TCP Data received {"connection_id":162517,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:44:45] local.INFO: Processing buffer {"connection_id":162517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:44:45] local.INFO: IMEI packet received {"connection_id":162517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":162517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:44:46] local.INFO: TCP Data received {"connection_id":162517,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c44f7e0012d182c8007219a68004d01361c..."} 
[2026-08-26 09:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c44f7e0012d182c8007219a68004d01361c..."} 
[2026-08-26 09:44:46] local.INFO: Processing buffer {"connection_id":162517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c44f7e0012d182c8007219a68004d01361c..."} 
[2026-08-26 09:44:46] local.INFO: Packet analysis {"connection_id":162517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:44:46] local.INFO: Extracted packet for processing {"connection_id":162517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119642728,"longitude_deg":75.6558976,"latitude_deg":11.9642728,"altitude":77,"angle":310,"satellites":28,"speed":0,"hex_longitude":"2d182c80","hex_latitude":"07219a68","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655686912001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15805990750388224,"note":"Value kept but may cause issues"} 
[2026-08-26 09:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741907924002433024,"note":"Value kept but may cause issues"} 
[2026-08-26 09:44: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-26 09:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787717548000,"timestamp_ms":1787717548000,"timestamp_seconds":1787717548,"priority":1,"record_length":96,"hex_timestamp":"000001a03c44f7e0"} 
[2026-08-26 09: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-26 09:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 09: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-26 09:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09: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-26 09: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-26 09:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655686912001,"66":12939,"105":206,"83":41984,"24":0,"16":15805990750388224,"45":1741907924002433024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655686912001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:44:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:44:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15805990750388224,"km_value":15805990750388.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741907924002433024,"description":"Unknown IO ID 45"} 
[2026-08-26 09:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655686912001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741907924002433024}} 
[2026-08-26 09:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":162517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:44:46] local.INFO: GPS data processed {"connection_id":162517,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:44:46] local.INFO: Acknowledgment sent {"connection_id":162517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:44:47] local.INFO: TCP Data received {"connection_id":162516,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:44:47] local.INFO: Processing buffer {"connection_id":162516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:44:47] local.INFO: IMEI packet received {"connection_id":162516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":162516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:44:48] local.INFO: TCP Data received {"connection_id":162516,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:44:48] local.INFO: Processing buffer {"connection_id":162516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:44:48] local.INFO: Packet analysis {"connection_id":162516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:44:48] local.INFO: Extracted packet for processing {"connection_id":162516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655612416001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787717537000,"timestamp_ms":1787717537000,"timestamp_seconds":1787717537,"priority":1,"record_length":96,"hex_timestamp":"000001a03c44cce8"} 
[2026-08-26 09:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:44:48] 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-26 09:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655612416001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655612416001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:44:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:44:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655612416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":162516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:44:48] local.INFO: GPS data processed {"connection_id":162516,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:44:48] local.INFO: Acknowledgment sent {"connection_id":162516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:44:53] local.INFO: TCP Data received {"connection_id":162516,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:44:53] local.INFO: Processing buffer {"connection_id":162516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:44:53] local.INFO: Packet analysis {"connection_id":162516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:44:53] local.INFO: Extracted packet for processing {"connection_id":162516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:44:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655612416001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787717537000,"timestamp_ms":1787717537000,"timestamp_seconds":1787717537,"priority":1,"record_length":96,"hex_timestamp":"000001a03c44cce8"} 
[2026-08-26 09: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-26 09:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:44:53] 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-26 09: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-26 09: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-26 09:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655612416001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655612416001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:44:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:44:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655612416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":162516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:44:53] local.INFO: GPS data processed {"connection_id":162516,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:44:53] local.INFO: Acknowledgment sent {"connection_id":162516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:45:17] local.INFO: TCP Data received {"connection_id":162517,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4549e8012d182c8007219a68004d01361c..."} 
[2026-08-26 09:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4549e8012d182c8007219a68004d01361c..."} 
[2026-08-26 09:45:17] local.INFO: Processing buffer {"connection_id":162517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4549e8012d182c8007219a68004d01361c..."} 
[2026-08-26 09:45:17] local.INFO: Packet analysis {"connection_id":162517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c45"} 
[2026-08-26 09:45:17] local.INFO: Extracted packet for processing {"connection_id":162517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c45"} 
[2026-08-26 09:45:17] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119642728,"longitude_deg":75.6558976,"latitude_deg":11.9642728,"altitude":77,"angle":310,"satellites":28,"speed":0,"hex_longitude":"2d182c80","hex_latitude":"07219a68","is_valid_coordinates":true} 
[2026-08-26 09:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655692288001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15805990750388224,"note":"Value kept but may cause issues"} 
[2026-08-26 09:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741907924002433024,"note":"Value kept but may cause issues"} 
[2026-08-26 09:45: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-26 09:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787717569000,"timestamp_ms":1787717569000,"timestamp_seconds":1787717569,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4549e8"} 
[2026-08-26 09:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:45:17] 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-26 09:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-26 09:45:17] 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-26 09:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655692288001,"66":12917,"105":206,"83":41984,"24":0,"16":15805990750388224,"45":1741907924002433024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655692288001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:45:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:45:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15805990750388224,"km_value":15805990750388.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741907924002433024,"description":"Unknown IO ID 45"} 
[2026-08-26 09:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655692288001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741907924002433024}} 
[2026-08-26 09:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":162517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:45:17] local.INFO: GPS data processed {"connection_id":162517,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:45:17] local.INFO: Acknowledgment sent {"connection_id":162517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:45:37] local.INFO: TCP Data received {"connection_id":163536,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:45:37] local.INFO: Processing buffer {"connection_id":163536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:45:37] local.INFO: IMEI packet received {"connection_id":163536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":163536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:45:40] local.INFO: TCP Data received {"connection_id":162282,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:45:40] local.INFO: Processing buffer {"connection_id":162282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:45:40] local.INFO: IMEI packet received {"connection_id":162282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":162282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:45:43] local.INFO: TCP Data received {"connection_id":163536,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:45:43] local.INFO: Processing buffer {"connection_id":163536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:45:43] local.INFO: IMEI packet received {"connection_id":163536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":163536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:45:43] local.INFO: TCP Data received {"connection_id":163536,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:45:43] local.INFO: Processing buffer {"connection_id":163536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:45:43] local.INFO: Packet analysis {"connection_id":163536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:45:43] local.INFO: Extracted packet for processing {"connection_id":163536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:45:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655612416001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:45: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-26 09:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787717537000,"timestamp_ms":1787717537000,"timestamp_seconds":1787717537,"priority":1,"record_length":96,"hex_timestamp":"000001a03c44cce8"} 
[2026-08-26 09:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:45: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-26 09:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:45:43] 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-26 09:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655612416001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655612416001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:45:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:45:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655612416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":163536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:45:44] local.INFO: GPS data processed {"connection_id":163536,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:45:44] local.INFO: Acknowledgment sent {"connection_id":163536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:45:45] local.INFO: TCP Data received {"connection_id":162282,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:45:45] local.INFO: Processing buffer {"connection_id":162282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:45:45] local.INFO: IMEI packet received {"connection_id":162282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":162282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:45:46] local.INFO: TCP Data received {"connection_id":162282,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c459bf0012d182c8007219a68004d01361c..."} 
[2026-08-26 09:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c459bf0012d182c8007219a68004d01361c..."} 
[2026-08-26 09:45:46] local.INFO: Processing buffer {"connection_id":162282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c459bf0012d182c8007219a68004d01361c..."} 
[2026-08-26 09:45:46] local.INFO: Packet analysis {"connection_id":162282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c45"} 
[2026-08-26 09:45:46] local.INFO: Extracted packet for processing {"connection_id":162282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c45"} 
[2026-08-26 09:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119642728,"longitude_deg":75.6558976,"latitude_deg":11.9642728,"altitude":77,"angle":310,"satellites":28,"speed":0,"hex_longitude":"2d182c80","hex_latitude":"07219a68","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655697664001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15805990750388224,"note":"Value kept but may cause issues"} 
[2026-08-26 09:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741907924002433024,"note":"Value kept but may cause issues"} 
[2026-08-26 09:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787717590000,"timestamp_ms":1787717590000,"timestamp_seconds":1787717590,"priority":1,"record_length":96,"hex_timestamp":"000001a03c459bf0"} 
[2026-08-26 09: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-26 09:45:46] 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-26 09: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-26 09:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09: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-26 09: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-26 09:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655697664001,"66":12874,"105":206,"83":41984,"24":0,"16":15805990750388224,"45":1741907924002433024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655697664001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:45:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:45:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15805990750388224,"km_value":15805990750388.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741907924002433024,"description":"Unknown IO ID 45"} 
[2026-08-26 09:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655697664001,"power":12874,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741907924002433024}} 
[2026-08-26 09:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":162282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:45:46] local.INFO: GPS data processed {"connection_id":162282,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:45:46] local.INFO: Acknowledgment sent {"connection_id":162282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:46:15] local.INFO: TCP Data received {"connection_id":163536,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:46:15] local.INFO: Processing buffer {"connection_id":163536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:46:15] local.INFO: Packet analysis {"connection_id":163536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:46:15] local.INFO: Extracted packet for processing {"connection_id":163536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:46:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655612416001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:46: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-26 09:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787717537000,"timestamp_ms":1787717537000,"timestamp_seconds":1787717537,"priority":1,"record_length":96,"hex_timestamp":"000001a03c44cce8"} 
[2026-08-26 09:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:46: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-26 09:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:46: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-26 09:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655612416001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655612416001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:46:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:46:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655612416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":163536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:46:15] local.INFO: GPS data processed {"connection_id":163536,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:46:15] local.INFO: Acknowledgment sent {"connection_id":163536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:46:18] local.INFO: TCP Data received {"connection_id":162282,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c45edf8012d182c8007219a68004d01361c..."} 
[2026-08-26 09:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c45edf8012d182c8007219a68004d01361c..."} 
[2026-08-26 09:46:18] local.INFO: Processing buffer {"connection_id":162282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c45edf8012d182c8007219a68004d01361c..."} 
[2026-08-26 09:46:18] local.INFO: Packet analysis {"connection_id":162282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c45"} 
[2026-08-26 09:46:18] local.INFO: Extracted packet for processing {"connection_id":162282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c45"} 
[2026-08-26 09:46:18] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119642728,"longitude_deg":75.6558976,"latitude_deg":11.9642728,"altitude":77,"angle":310,"satellites":28,"speed":0,"hex_longitude":"2d182c80","hex_latitude":"07219a68","is_valid_coordinates":true} 
[2026-08-26 09:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655703040001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15805990750388224,"note":"Value kept but may cause issues"} 
[2026-08-26 09:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741907924002433024,"note":"Value kept but may cause issues"} 
[2026-08-26 09: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-26 09:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787717611000,"timestamp_ms":1787717611000,"timestamp_seconds":1787717611,"priority":1,"record_length":96,"hex_timestamp":"000001a03c45edf8"} 
[2026-08-26 09:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:46:18] 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-26 09:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-26 09:46:18] 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-26 09:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:46: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-26 09:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655703040001,"66":12863,"105":206,"83":41984,"24":0,"16":15805990750388224,"45":1741907924002433024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655703040001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:46:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:46:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15805990750388224,"km_value":15805990750388.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741907924002433024,"description":"Unknown IO ID 45"} 
[2026-08-26 09:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655703040001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741907924002433024}} 
[2026-08-26 09:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":162282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:46:18] local.INFO: GPS data processed {"connection_id":162282,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:46:18] local.INFO: Acknowledgment sent {"connection_id":162282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:46:38] local.INFO: TCP Data received {"connection_id":162518,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:46:38] local.INFO: Processing buffer {"connection_id":162518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:46:38] local.INFO: IMEI packet received {"connection_id":162518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":162518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:46:42] local.INFO: TCP Data received {"connection_id":162518,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:46:42] local.INFO: Processing buffer {"connection_id":162518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:46:42] local.INFO: IMEI packet received {"connection_id":162518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":162518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:46:43] local.INFO: TCP Data received {"connection_id":162518,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:46:43] local.INFO: Processing buffer {"connection_id":162518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:46:43] local.INFO: Packet analysis {"connection_id":162518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:46:43] local.INFO: Extracted packet for processing {"connection_id":162518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:46:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655612416001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:46: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-26 09:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787717537000,"timestamp_ms":1787717537000,"timestamp_seconds":1787717537,"priority":1,"record_length":96,"hex_timestamp":"000001a03c44cce8"} 
[2026-08-26 09:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:46: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-26 09:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:46:43] 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-26 09:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655612416001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655612416001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:46:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:46:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655612416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":162518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:46:43] local.INFO: GPS data processed {"connection_id":162518,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:46:43] local.INFO: Acknowledgment sent {"connection_id":162518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:46:45] local.INFO: TCP Data received {"connection_id":164891,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:46:45] local.INFO: Processing buffer {"connection_id":164891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:46:45] local.INFO: IMEI packet received {"connection_id":164891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":164891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:46:50] local.INFO: TCP Data received {"connection_id":164891,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:46:50] local.INFO: Processing buffer {"connection_id":164891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:46:50] local.INFO: IMEI packet received {"connection_id":164891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":164891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:46:51] local.INFO: TCP Data received {"connection_id":164891,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c464000012d182c8007219a68004d01361d..."} 
[2026-08-26 09:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c464000012d182c8007219a68004d01361d..."} 
[2026-08-26 09:46:51] local.INFO: Processing buffer {"connection_id":164891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c464000012d182c8007219a68004d01361d..."} 
[2026-08-26 09:46:51] local.INFO: Packet analysis {"connection_id":164891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c46"} 
[2026-08-26 09:46:51] local.INFO: Extracted packet for processing {"connection_id":164891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c46"} 
[2026-08-26 09:46:51] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119642728,"longitude_deg":75.6558976,"latitude_deg":11.9642728,"altitude":77,"angle":310,"satellites":29,"speed":0,"hex_longitude":"2d182c80","hex_latitude":"07219a68","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655708416001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15805990750388224,"note":"Value kept but may cause issues"} 
[2026-08-26 09:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741907924002433024,"note":"Value kept but may cause issues"} 
[2026-08-26 09:46: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-26 09:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787717632000,"timestamp_ms":1787717632000,"timestamp_seconds":1787717632,"priority":1,"record_length":96,"hex_timestamp":"000001a03c464000"} 
[2026-08-26 09: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-26 09:46:51] 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-26 09: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-26 09:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09: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-26 09: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-26 09:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:46:51] 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-26 09:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655708416001,"66":12841,"105":206,"83":41984,"24":0,"16":15805990750388224,"45":1741907924002433024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655708416001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:46:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:46:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15805990750388224,"km_value":15805990750388.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741907924002433024,"description":"Unknown IO ID 45"} 
[2026-08-26 09:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655708416001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741907924002433024}} 
[2026-08-26 09:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":164891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:46:51] local.INFO: GPS data processed {"connection_id":164891,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:46:51] local.INFO: Acknowledgment sent {"connection_id":164891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:47:15] local.INFO: TCP Data received {"connection_id":162518,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:47:15] local.INFO: Processing buffer {"connection_id":162518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:47:15] local.INFO: Packet analysis {"connection_id":162518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:47:15] local.INFO: Extracted packet for processing {"connection_id":162518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:47:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 09:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655612416001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 09:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787717537000,"timestamp_ms":1787717537000,"timestamp_seconds":1787717537,"priority":1,"record_length":96,"hex_timestamp":"000001a03c44cce8"} 
[2026-08-26 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-26 09:47: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-26 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":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:47: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-26 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-26 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-26 09:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655612416001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655612416001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:47:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:47:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655612416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":162518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:47:15] local.INFO: GPS data processed {"connection_id":162518,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:47:15] local.INFO: Acknowledgment sent {"connection_id":162518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:47:22] local.INFO: TCP Data received {"connection_id":164891,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c469208012d1825000721a190005101381d..."} 
[2026-08-26 09:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c469208012d1825000721a190005101381d..."} 
[2026-08-26 09:47:22] local.INFO: Processing buffer {"connection_id":164891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c469208012d1825000721a190005101381d..."} 
[2026-08-26 09:47:22] local.INFO: Packet analysis {"connection_id":164891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c46"} 
[2026-08-26 09:47:22] local.INFO: Extracted packet for processing {"connection_id":164891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c46"} 
[2026-08-26 09:47:22] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119644560,"longitude_deg":75.6557056,"latitude_deg":11.964456,"altitude":81,"angle":312,"satellites":29,"speed":18,"hex_longitude":"2d182500","hex_latitude":"0721a190","is_valid_coordinates":true} 
[2026-08-26 09:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655713792001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806128189341696,"note":"Value kept but may cause issues"} 
[2026-08-26 09:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741907924002433024,"note":"Value kept but may cause issues"} 
[2026-08-26 09:47: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-26 09:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787717653000,"timestamp_ms":1787717653000,"timestamp_seconds":1787717653,"priority":1,"record_length":96,"hex_timestamp":"000001a03c469208"} 
[2026-08-26 09:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:47:22] 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-26 09:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-26 09:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655713792001,"66":14070,"105":206,"83":41984,"24":18,"16":15806128189341696,"45":1741907924002433024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655713792001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:47:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:47:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806128189341696,"km_value":15806128189341.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741907924002433024,"description":"Unknown IO ID 45"} 
[2026-08-26 09:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655713792001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1741907924002433024}} 
[2026-08-26 09:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":164891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:47:22] local.INFO: GPS data processed {"connection_id":164891,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:47:22] local.INFO: Acknowledgment sent {"connection_id":164891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:47:37] local.INFO: TCP Data received {"connection_id":162519,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:47:37] local.INFO: Processing buffer {"connection_id":162519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:47:37] local.INFO: IMEI packet received {"connection_id":162519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":162519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:47:37] local.INFO: TCP Data received {"connection_id":162520,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:47:37] local.INFO: Processing buffer {"connection_id":162520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:47:37] local.INFO: IMEI packet received {"connection_id":162520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":162520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:47:41] local.INFO: TCP Data received {"connection_id":162520,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:47:41] local.INFO: Processing buffer {"connection_id":162520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:47:41] local.INFO: IMEI packet received {"connection_id":162520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":162520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:47:42] local.INFO: TCP Data received {"connection_id":162519,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:47:42] local.INFO: Processing buffer {"connection_id":162519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:47:42] local.INFO: IMEI packet received {"connection_id":162519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":162519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:47:43] local.INFO: TCP Data received {"connection_id":162519,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:47:43] local.INFO: Processing buffer {"connection_id":162519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c44cce8012d34c14006aa4818000200e629..."} 
[2026-08-26 09:47:43] local.INFO: Packet analysis {"connection_id":162519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:47:43] local.INFO: Extracted packet for processing {"connection_id":162519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c44"} 
[2026-08-26 09:47:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655612416001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:47: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-26 09:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787717537000,"timestamp_ms":1787717537000,"timestamp_seconds":1787717537,"priority":1,"record_length":96,"hex_timestamp":"000001a03c44cce8"} 
[2026-08-26 09: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-26 09:47: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-26 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:47:43] 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-26 09: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-26 09: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-26 09:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655612416001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655612416001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:47:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:47:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655612416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":162519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:47:43] local.INFO: GPS data processed {"connection_id":162519,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:47:43] local.INFO: Acknowledgment sent {"connection_id":162519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:47:46] local.INFO: TCP Data received {"connection_id":162520,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:47:46] local.INFO: Processing buffer {"connection_id":162520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:47:46] local.INFO: IMEI packet received {"connection_id":162520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":162520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:47:46] local.INFO: TCP Data received {"connection_id":162520,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c46a590012d1820000721a590004f01271d..."} 
[2026-08-26 09:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c46a590012d1820000721a590004f01271d..."} 
[2026-08-26 09:47:46] local.INFO: Processing buffer {"connection_id":162520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c46a590012d1820000721a590004f01271d..."} 
[2026-08-26 09:47:46] local.INFO: Packet analysis {"connection_id":162520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c46"} 
[2026-08-26 09:47:46] local.INFO: Extracted packet for processing {"connection_id":162520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c46"} 
[2026-08-26 09:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119645584,"longitude_deg":75.6555776,"latitude_deg":11.9645584,"altitude":79,"angle":295,"satellites":29,"speed":6,"hex_longitude":"2d182000","hex_latitude":"0721a590","is_valid_coordinates":true} 
[2026-08-26 09:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655719168001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806209793720320,"note":"Value kept but may cause issues"} 
[2026-08-26 09:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861677572096,"note":"Value kept but may cause issues"} 
[2026-08-26 09:47: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-26 09:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787717658000,"timestamp_ms":1787717658000,"timestamp_seconds":1787717658,"priority":1,"record_length":96,"hex_timestamp":"000001a03c46a590"} 
[2026-08-26 09:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:47:46] 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-26 09:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-26 09:47: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-26 09:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655719168001,"66":14070,"105":206,"83":41984,"24":6,"16":15806209793720320,"45":1739796861677572096},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655719168001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:47:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:47:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806209793720320,"km_value":15806209793720.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861677572096,"description":"Unknown IO ID 45"} 
[2026-08-26 09:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655719168001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739796861677572096}} 
[2026-08-26 09:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":162520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:47:47] local.INFO: GPS data processed {"connection_id":162520,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:47:47] local.INFO: Acknowledgment sent {"connection_id":162520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:48:15] local.INFO: TCP Data received {"connection_id":162519,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:48:15] local.INFO: Processing buffer {"connection_id":162519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:48:15] local.INFO: Packet analysis {"connection_id":162519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c49"} 
[2026-08-26 09:48:15] local.INFO: Extracted packet for processing {"connection_id":162519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c49"} 
[2026-08-26 09:48:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655689472001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:48: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-26 09:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787717838000,"timestamp_ms":1787717838000,"timestamp_seconds":1787717838,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4964b0"} 
[2026-08-26 09: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-26 09:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:48: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-26 09: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-26 09: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-26 09:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655689472001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655689472001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:48:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:48:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655689472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":162519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:48:15] local.INFO: GPS data processed {"connection_id":162519,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:48:15] local.INFO: Acknowledgment sent {"connection_id":162519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:48:18] local.INFO: TCP Data received {"connection_id":162520,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c46c0e8012d181d400721a660004e00e51d..."} 
[2026-08-26 09:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c46c0e8012d181d400721a660004e00e51d..."} 
[2026-08-26 09:48:18] local.INFO: Processing buffer {"connection_id":162520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c46c0e8012d181d400721a660004e00e51d..."} 
[2026-08-26 09:48:18] local.INFO: Packet analysis {"connection_id":162520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c46"} 
[2026-08-26 09:48:18] local.INFO: Extracted packet for processing {"connection_id":162520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c46"} 
[2026-08-26 09:48:18] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119645792,"longitude_deg":75.6555072,"latitude_deg":11.9645792,"altitude":78,"angle":229,"satellites":29,"speed":5,"hex_longitude":"2d181d40","hex_latitude":"0721a660","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655720448001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806244153458688,"note":"Value kept but may cause issues"} 
[2026-08-26 09:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794280960,"note":"Value kept but may cause issues"} 
[2026-08-26 09:48: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-26 09:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787717665000,"timestamp_ms":1787717665000,"timestamp_seconds":1787717665,"priority":1,"record_length":96,"hex_timestamp":"000001a03c46c0e8"} 
[2026-08-26 09: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-26 09:48:18] 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-26 09: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-26 09:48: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-26 09: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-26 09: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-26 09:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:48: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-26 09:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655720448001,"66":14298,"105":206,"83":41984,"24":5,"16":15806244153458688,"45":1738389486794280960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655720448001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:48:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:48:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806244153458688,"km_value":15806244153458.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794280960,"description":"Unknown IO ID 45"} 
[2026-08-26 09:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655720448001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1738389486794280960}} 
[2026-08-26 09:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":162520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:48:18] local.INFO: GPS data processed {"connection_id":162520,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:48:18] local.INFO: Acknowledgment sent {"connection_id":162520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:48:37] local.INFO: TCP Data received {"connection_id":162284,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:48:37] local.INFO: Processing buffer {"connection_id":162284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:48:37] local.INFO: IMEI packet received {"connection_id":162284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":162284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:48:41] local.INFO: TCP Data received {"connection_id":163537,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:48:41] local.INFO: Processing buffer {"connection_id":163537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:48:41] local.INFO: IMEI packet received {"connection_id":163537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":163537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:48:41] local.INFO: TCP Data received {"connection_id":163537,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:48:41] local.INFO: Processing buffer {"connection_id":163537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:48:41] local.INFO: IMEI packet received {"connection_id":163537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":163537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:48:42] local.INFO: TCP Data received {"connection_id":162284,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:48:42] local.INFO: Processing buffer {"connection_id":162284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:48:42] local.INFO: IMEI packet received {"connection_id":162284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":162284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:48:43] local.INFO: TCP Data received {"connection_id":162284,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:48:43] local.INFO: Processing buffer {"connection_id":162284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:48:43] local.INFO: Packet analysis {"connection_id":162284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c49"} 
[2026-08-26 09:48:43] local.INFO: Extracted packet for processing {"connection_id":162284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c49"} 
[2026-08-26 09:48:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655689472001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:48: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-26 09:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787717838000,"timestamp_ms":1787717838000,"timestamp_seconds":1787717838,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4964b0"} 
[2026-08-26 09:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:48: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-26 09:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:48:43] 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-26 09:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655689472001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655689472001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:48:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:48:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655689472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":162284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:48:43] local.INFO: GPS data processed {"connection_id":162284,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:48:43] local.INFO: Acknowledgment sent {"connection_id":162284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:48:45] local.INFO: TCP Data received {"connection_id":163537,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:48:45] local.INFO: Processing buffer {"connection_id":163537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:48:45] local.INFO: IMEI packet received {"connection_id":163537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":163537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:48:46] local.INFO: TCP Data received {"connection_id":163537,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c49f920012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c49f920012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:48:46] local.INFO: Processing buffer {"connection_id":163537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c49f920012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:48:46] local.INFO: Packet analysis {"connection_id":163537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c49"} 
[2026-08-26 09:48:46] local.INFO: Extracted packet for processing {"connection_id":163537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c49"} 
[2026-08-26 09:48:46] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645456,"longitude_deg":75.655488,"latitude_deg":11.9645456,"altitude":77,"angle":202,"satellites":31,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655770880001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806265628295168,"note":"Value kept but may cause issues"} 
[2026-08-26 09:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375760896,"note":"Value kept but may cause issues"} 
[2026-08-26 09: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-26 09:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787717876000,"timestamp_ms":1787717876000,"timestamp_seconds":1787717876,"priority":1,"record_length":96,"hex_timestamp":"000001a03c49f920"} 
[2026-08-26 09: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-26 09:48:46] 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-26 09: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-26 09:48:46] 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-26 09: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-26 09: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-26 09:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655770880001,"66":12722,"105":206,"83":41984,"24":0,"16":15806265628295168,"45":1737404324375760896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655770880001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:48:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:48:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806265628295168,"km_value":15806265628295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375760896,"description":"Unknown IO ID 45"} 
[2026-08-26 09:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655770880001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737404324375760896}} 
[2026-08-26 09:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":163537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:48:46] local.INFO: GPS data processed {"connection_id":163537,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:48:46] local.INFO: Acknowledgment sent {"connection_id":163537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:49:15] local.INFO: TCP Data received {"connection_id":162284,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:49:15] local.INFO: Processing buffer {"connection_id":162284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:49:15] local.INFO: Packet analysis {"connection_id":162284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c49"} 
[2026-08-26 09:49:15] local.INFO: Extracted packet for processing {"connection_id":162284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c49"} 
[2026-08-26 09:49:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655689472001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09: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-26 09:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787717838000,"timestamp_ms":1787717838000,"timestamp_seconds":1787717838,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4964b0"} 
[2026-08-26 09: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-26 09:49: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-26 09: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:49: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-26 09: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-26 09: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-26 09:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655689472001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655689472001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:49:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:49:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655689472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":162284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:49:15] local.INFO: GPS data processed {"connection_id":162284,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:49:15] local.INFO: Acknowledgment sent {"connection_id":162284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:49:17] local.INFO: TCP Data received {"connection_id":163537,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4a4740012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4a4740012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:49:17] local.INFO: Processing buffer {"connection_id":163537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4a4740012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:49:17] local.INFO: Packet analysis {"connection_id":163537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4a"} 
[2026-08-26 09:49:17] local.INFO: Extracted packet for processing {"connection_id":163537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4a"} 
[2026-08-26 09:49:17] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645456,"longitude_deg":75.655488,"latitude_deg":11.9645456,"altitude":77,"angle":202,"satellites":31,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-08-26 09:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655776256001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806265628295168,"note":"Value kept but may cause issues"} 
[2026-08-26 09:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375760896,"note":"Value kept but may cause issues"} 
[2026-08-26 09:49: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-26 09:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787717896000,"timestamp_ms":1787717896000,"timestamp_seconds":1787717896,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4a4740"} 
[2026-08-26 09:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:49:17] 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-26 09:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-26 09:49:17] 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-26 09:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655776256001,"66":12678,"105":206,"83":41984,"24":0,"16":15806265628295168,"45":1737404324375760896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655776256001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:49:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:49:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806265628295168,"km_value":15806265628295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375760896,"description":"Unknown IO ID 45"} 
[2026-08-26 09:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655776256001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737404324375760896}} 
[2026-08-26 09:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":163537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:49:17] local.INFO: GPS data processed {"connection_id":163537,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:49:17] local.INFO: Acknowledgment sent {"connection_id":163537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:49:41] local.INFO: TCP Data received {"connection_id":162521,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:49:41] local.INFO: Processing buffer {"connection_id":162521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:49:41] local.INFO: IMEI packet received {"connection_id":162521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":162521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:49:42] local.INFO: TCP Data received {"connection_id":162285,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:49:42] local.INFO: Processing buffer {"connection_id":162285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:49:42] local.INFO: IMEI packet received {"connection_id":162285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":162285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:49:44] local.INFO: TCP Data received {"connection_id":162521,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:49:44] local.INFO: Processing buffer {"connection_id":162521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:49:44] local.INFO: IMEI packet received {"connection_id":162521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":162521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:49:45] local.INFO: TCP Data received {"connection_id":162521,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:49:45] local.INFO: Processing buffer {"connection_id":162521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:49:45] local.INFO: IMEI packet received {"connection_id":162521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":162521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:49:46] local.INFO: TCP Data received {"connection_id":162521,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4a9948012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4a9948012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:49:46] local.INFO: Processing buffer {"connection_id":162521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4a9948012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:49:46] local.INFO: Packet analysis {"connection_id":162521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4a"} 
[2026-08-26 09:49:46] local.INFO: Extracted packet for processing {"connection_id":162521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4a"} 
[2026-08-26 09:49:46] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645456,"longitude_deg":75.655488,"latitude_deg":11.9645456,"altitude":77,"angle":202,"satellites":31,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655781376001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806265628295168,"note":"Value kept but may cause issues"} 
[2026-08-26 09:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375760896,"note":"Value kept but may cause issues"} 
[2026-08-26 09:49: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-26 09:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787717917000,"timestamp_ms":1787717917000,"timestamp_seconds":1787717917,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4a9948"} 
[2026-08-26 09: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-26 09:49:46] 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-26 09: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-26 09:49:46] 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-26 09: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-26 09: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-26 09:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655781376001,"66":12667,"105":206,"83":41984,"24":0,"16":15806265628295168,"45":1737404324375760896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655781376001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:49:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:49:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806265628295168,"km_value":15806265628295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375760896,"description":"Unknown IO ID 45"} 
[2026-08-26 09:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655781376001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737404324375760896}} 
[2026-08-26 09:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":162521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:49:46] local.INFO: GPS data processed {"connection_id":162521,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:49:46] local.INFO: Acknowledgment sent {"connection_id":162521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:49:47] local.INFO: TCP Data received {"connection_id":162285,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:49:47] local.INFO: Processing buffer {"connection_id":162285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:49:47] local.INFO: IMEI packet received {"connection_id":162285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":162285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:49:49] local.INFO: TCP Data received {"connection_id":162285,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:49:49] local.INFO: Processing buffer {"connection_id":162285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:49:49] local.INFO: Packet analysis {"connection_id":162285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c49"} 
[2026-08-26 09:49:49] local.INFO: Extracted packet for processing {"connection_id":162285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c49"} 
[2026-08-26 09:49:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655689472001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:49: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-26 09:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787717838000,"timestamp_ms":1787717838000,"timestamp_seconds":1787717838,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4964b0"} 
[2026-08-26 09:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:49:49] 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-26 09:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655689472001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655689472001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:49:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:49:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655689472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":162285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:49:49] local.INFO: GPS data processed {"connection_id":162285,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:49:49] local.INFO: Acknowledgment sent {"connection_id":162285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:49:51] local.INFO: TCP Data received {"connection_id":162521,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4aeb50012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4aeb50012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:49:51] local.INFO: Processing buffer {"connection_id":162521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4aeb50012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:49:51] local.INFO: Packet analysis {"connection_id":162521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4a"} 
[2026-08-26 09:49:51] local.INFO: Extracted packet for processing {"connection_id":162521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4a"} 
[2026-08-26 09:49:51] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645456,"longitude_deg":75.655488,"latitude_deg":11.9645456,"altitude":77,"angle":202,"satellites":31,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655786752001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806265628295168,"note":"Value kept but may cause issues"} 
[2026-08-26 09:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375760896,"note":"Value kept but may cause issues"} 
[2026-08-26 09:49: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-26 09:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787717938000,"timestamp_ms":1787717938000,"timestamp_seconds":1787717938,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4aeb50"} 
[2026-08-26 09: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-26 09:49:51] 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-26 09: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-26 09:49: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-26 09: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-26 09: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-26 09:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:49:51] 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-26 09:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655786752001,"66":12689,"105":206,"83":41984,"24":0,"16":15806265628295168,"45":1737404324375760896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655786752001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:49:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:49:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806265628295168,"km_value":15806265628295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375760896,"description":"Unknown IO ID 45"} 
[2026-08-26 09:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655786752001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737404324375760896}} 
[2026-08-26 09:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":162521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:49:51] local.INFO: GPS data processed {"connection_id":162521,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:49:51] local.INFO: Acknowledgment sent {"connection_id":162521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:49:53] local.INFO: TCP Data received {"connection_id":162285,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:49:53] local.INFO: Processing buffer {"connection_id":162285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:49:53] local.INFO: Packet analysis {"connection_id":162285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c49"} 
[2026-08-26 09:49:53] local.INFO: Extracted packet for processing {"connection_id":162285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c49"} 
[2026-08-26 09:49:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655689472001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787717838000,"timestamp_ms":1787717838000,"timestamp_seconds":1787717838,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4964b0"} 
[2026-08-26 09:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:49:53] 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-26 09:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655689472001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655689472001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:49:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:49:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655689472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":162285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:49:53] local.INFO: GPS data processed {"connection_id":162285,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:49:53] local.INFO: Acknowledgment sent {"connection_id":162285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:50:22] local.INFO: TCP Data received {"connection_id":162521,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4b3970012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4b3970012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:50:22] local.INFO: Processing buffer {"connection_id":162521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4b3970012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:50:22] local.INFO: Packet analysis {"connection_id":162521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4b"} 
[2026-08-26 09:50:22] local.INFO: Extracted packet for processing {"connection_id":162521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4b"} 
[2026-08-26 09:50:22] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645456,"longitude_deg":75.655488,"latitude_deg":11.9645456,"altitude":77,"angle":202,"satellites":31,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655792128001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806265628295168,"note":"Value kept but may cause issues"} 
[2026-08-26 09:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375760896,"note":"Value kept but may cause issues"} 
[2026-08-26 09:50: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-26 09:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787717958000,"timestamp_ms":1787717958000,"timestamp_seconds":1787717958,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4b3970"} 
[2026-08-26 09: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-26 09:50:22] 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-26 09: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-26 09:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09: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-26 09:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655792128001,"66":12689,"105":206,"83":41984,"24":0,"16":15806265628295168,"45":1737404324375760896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655792128001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:50:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:50:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806265628295168,"km_value":15806265628295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375760896,"description":"Unknown IO ID 45"} 
[2026-08-26 09:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655792128001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737404324375760896}} 
[2026-08-26 09:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":162521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:50:22] local.INFO: GPS data processed {"connection_id":162521,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:50:22] local.INFO: Acknowledgment sent {"connection_id":162521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:50:37] local.INFO: TCP Data received {"connection_id":162286,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:50:37] local.INFO: Processing buffer {"connection_id":162286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:50:37] local.INFO: IMEI packet received {"connection_id":162286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":162286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:50:40] local.INFO: TCP Data received {"connection_id":163538,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:50:40] local.INFO: Processing buffer {"connection_id":163538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:50:40] local.INFO: IMEI packet received {"connection_id":163538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":163538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:50:42] local.INFO: TCP Data received {"connection_id":162286,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:50:42] local.INFO: Processing buffer {"connection_id":162286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:50:42] local.INFO: IMEI packet received {"connection_id":162286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":162286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:50:43] local.INFO: TCP Data received {"connection_id":162286,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:50:43] local.INFO: Processing buffer {"connection_id":162286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:50:43] local.INFO: Packet analysis {"connection_id":162286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c49"} 
[2026-08-26 09:50:43] local.INFO: Extracted packet for processing {"connection_id":162286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c49"} 
[2026-08-26 09:50:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655689472001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:50: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-26 09:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787717838000,"timestamp_ms":1787717838000,"timestamp_seconds":1787717838,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4964b0"} 
[2026-08-26 09: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-26 09:50: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-26 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:50:43] 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-26 09: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-26 09: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-26 09:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655689472001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655689472001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:50:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:50:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655689472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":162286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:50:43] local.INFO: GPS data processed {"connection_id":162286,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:50:43] local.INFO: Acknowledgment sent {"connection_id":162286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:50:45] local.INFO: TCP Data received {"connection_id":163538,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:50:45] local.INFO: Processing buffer {"connection_id":163538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:50:45] local.INFO: IMEI packet received {"connection_id":163538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:50:45] local.INFO: IMEI acknowledgment sent {"connection_id":163538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:50:46] local.INFO: TCP Data received {"connection_id":163538,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4b8b78012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4b8b78012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:50:46] local.INFO: Processing buffer {"connection_id":163538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4b8b78012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:50:46] local.INFO: Packet analysis {"connection_id":163538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4b"} 
[2026-08-26 09:50:46] local.INFO: Extracted packet for processing {"connection_id":163538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4b"} 
[2026-08-26 09:50:46] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645456,"longitude_deg":75.655488,"latitude_deg":11.9645456,"altitude":77,"angle":202,"satellites":31,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655797248001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806265628295168,"note":"Value kept but may cause issues"} 
[2026-08-26 09:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375760896,"note":"Value kept but may cause issues"} 
[2026-08-26 09:50: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-26 09:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787717979000,"timestamp_ms":1787717979000,"timestamp_seconds":1787717979,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4b8b78"} 
[2026-08-26 09: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-26 09:50:46] 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-26 09: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-26 09:50: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-26 09: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-26 09: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-26 09:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655797248001,"66":12667,"105":206,"83":41984,"24":0,"16":15806265628295168,"45":1737404324375760896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655797248001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:50:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:50:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806265628295168,"km_value":15806265628295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375760896,"description":"Unknown IO ID 45"} 
[2026-08-26 09:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655797248001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737404324375760896}} 
[2026-08-26 09:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":163538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:50:46] local.INFO: GPS data processed {"connection_id":163538,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:50:46] local.INFO: Acknowledgment sent {"connection_id":163538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:51:15] local.INFO: TCP Data received {"connection_id":162286,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:51:15] local.INFO: Processing buffer {"connection_id":162286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:51:15] local.INFO: Packet analysis {"connection_id":162286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c49"} 
[2026-08-26 09:51:15] local.INFO: Extracted packet for processing {"connection_id":162286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c49"} 
[2026-08-26 09:51:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 09:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655689472001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 09:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787717838000,"timestamp_ms":1787717838000,"timestamp_seconds":1787717838,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4964b0"} 
[2026-08-26 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-26 09:51: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-26 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:51: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-26 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-26 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-26 09:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655689472001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655689472001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:51:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:51:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655689472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":162286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:51:15] local.INFO: GPS data processed {"connection_id":162286,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:51:15] local.INFO: Acknowledgment sent {"connection_id":162286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:51:17] local.INFO: TCP Data received {"connection_id":163538,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4bdd80012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4bdd80012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:51:17] local.INFO: Processing buffer {"connection_id":163538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4bdd80012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:51:17] local.INFO: Packet analysis {"connection_id":163538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4b"} 
[2026-08-26 09:51:17] local.INFO: Extracted packet for processing {"connection_id":163538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4b"} 
[2026-08-26 09:51:17] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645456,"longitude_deg":75.655488,"latitude_deg":11.9645456,"altitude":77,"angle":202,"satellites":31,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655802624001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806265628295168,"note":"Value kept but may cause issues"} 
[2026-08-26 09:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375760896,"note":"Value kept but may cause issues"} 
[2026-08-26 09:51: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-26 09:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787718000000,"timestamp_ms":1787718000000,"timestamp_seconds":1787718000,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4bdd80"} 
[2026-08-26 09: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-26 09:51:17] 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-26 09: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-26 09:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09: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-26 09: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-26 09:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655802624001,"66":12667,"105":206,"83":41984,"24":0,"16":15806265628295168,"45":1737404324375760896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655802624001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:51:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:51:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806265628295168,"km_value":15806265628295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375760896,"description":"Unknown IO ID 45"} 
[2026-08-26 09:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655802624001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737404324375760896}} 
[2026-08-26 09:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":163538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:51:17] local.INFO: GPS data processed {"connection_id":163538,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:51:17] local.INFO: Acknowledgment sent {"connection_id":163538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:51:37] local.INFO: TCP Data received {"connection_id":163539,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:51:37] local.INFO: Processing buffer {"connection_id":163539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:51:37] local.INFO: IMEI packet received {"connection_id":163539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":163539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:51:40] local.INFO: TCP Data received {"connection_id":164892,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:51:40] local.INFO: Processing buffer {"connection_id":164892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:51:40] local.INFO: IMEI packet received {"connection_id":164892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":164892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:51:42] local.INFO: TCP Data received {"connection_id":163539,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:51:42] local.INFO: Processing buffer {"connection_id":163539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:51:42] local.INFO: IMEI packet received {"connection_id":163539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":163539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:51:43] local.INFO: TCP Data received {"connection_id":163539,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:51:43] local.INFO: Processing buffer {"connection_id":163539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:51:43] local.INFO: Packet analysis {"connection_id":163539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c49"} 
[2026-08-26 09:51:43] local.INFO: Extracted packet for processing {"connection_id":163539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c49"} 
[2026-08-26 09:51:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655689472001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09: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-26 09:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787717838000,"timestamp_ms":1787717838000,"timestamp_seconds":1787717838,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4964b0"} 
[2026-08-26 09: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-26 09: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-26 09: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:51:43] 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-26 09: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-26 09: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-26 09:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655689472001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655689472001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:51:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:51:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655689472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":163539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:51:43] local.INFO: GPS data processed {"connection_id":163539,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:51:43] local.INFO: Acknowledgment sent {"connection_id":163539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:51:46] local.INFO: TCP Data received {"connection_id":164892,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:51:46] local.INFO: Processing buffer {"connection_id":164892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:51:46] local.INFO: IMEI packet received {"connection_id":164892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":164892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:51:46] local.INFO: TCP Data received {"connection_id":164892,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4c2ba0012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4c2ba0012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:51:46] local.INFO: Processing buffer {"connection_id":164892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4c2ba0012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:51:46] local.INFO: Packet analysis {"connection_id":164892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4c"} 
[2026-08-26 09:51:46] local.INFO: Extracted packet for processing {"connection_id":164892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4c"} 
[2026-08-26 09:51:46] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645456,"longitude_deg":75.655488,"latitude_deg":11.9645456,"altitude":77,"angle":202,"satellites":31,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655808000001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806265628295168,"note":"Value kept but may cause issues"} 
[2026-08-26 09:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375760896,"note":"Value kept but may cause issues"} 
[2026-08-26 09:51: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-26 09:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787718020000,"timestamp_ms":1787718020000,"timestamp_seconds":1787718020,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4c2ba0"} 
[2026-08-26 09: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-26 09:51:46] 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-26 09:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-26 09:51: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-26 09: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-26 09: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-26 09:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655808000001,"66":12645,"105":206,"83":41984,"24":0,"16":15806265628295168,"45":1737404324375760896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655808000001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:51:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:51:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806265628295168,"km_value":15806265628295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375760896,"description":"Unknown IO ID 45"} 
[2026-08-26 09:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655808000001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737404324375760896}} 
[2026-08-26 09:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":164892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:51:47] local.INFO: GPS data processed {"connection_id":164892,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:51:47] local.INFO: Acknowledgment sent {"connection_id":164892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:52:15] local.INFO: TCP Data received {"connection_id":163539,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:52:15] local.INFO: Processing buffer {"connection_id":163539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4964b0012d34c14006aa4818000200e628..."} 
[2026-08-26 09:52:15] local.INFO: Packet analysis {"connection_id":163539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c49"} 
[2026-08-26 09:52:15] local.INFO: Extracted packet for processing {"connection_id":163539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c49"} 
[2026-08-26 09:52:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655689472001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:52: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-26 09:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787717838000,"timestamp_ms":1787717838000,"timestamp_seconds":1787717838,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4964b0"} 
[2026-08-26 09:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:52: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-26 09:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655689472001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655689472001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:52:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:52:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655689472001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":163539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:52:15] local.INFO: GPS data processed {"connection_id":163539,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:52:15] local.INFO: Acknowledgment sent {"connection_id":163539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:52:17] local.INFO: TCP Data received {"connection_id":164892,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4c7da8012d181c800721a510004d00ca1d..."} 
[2026-08-26 09:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4c7da8012d181c800721a510004d00ca1d..."} 
[2026-08-26 09:52:17] local.INFO: Processing buffer {"connection_id":164892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4c7da8012d181c800721a510004d00ca1d..."} 
[2026-08-26 09:52:17] local.INFO: Packet analysis {"connection_id":164892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4c"} 
[2026-08-26 09:52:17] local.INFO: Extracted packet for processing {"connection_id":164892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4c"} 
[2026-08-26 09:52:17] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645456,"longitude_deg":75.655488,"latitude_deg":11.9645456,"altitude":77,"angle":202,"satellites":29,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655813120001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806265628295168,"note":"Value kept but may cause issues"} 
[2026-08-26 09:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375760896,"note":"Value kept but may cause issues"} 
[2026-08-26 09:52: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-26 09:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787718041000,"timestamp_ms":1787718041000,"timestamp_seconds":1787718041,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4c7da8"} 
[2026-08-26 09: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-26 09:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 09: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-26 09:52:17] 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-26 09: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-26 09: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-26 09:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655813120001,"66":12667,"105":206,"83":41984,"24":0,"16":15806265628295168,"45":1737404324375760896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655813120001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:52:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:52:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806265628295168,"km_value":15806265628295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375760896,"description":"Unknown IO ID 45"} 
[2026-08-26 09:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655813120001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737404324375760896}} 
[2026-08-26 09:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":164892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:52:18] local.INFO: GPS data processed {"connection_id":164892,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:52:18] local.INFO: Acknowledgment sent {"connection_id":164892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:52:46] local.INFO: TCP Data received {"connection_id":163541,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:52:46] local.INFO: Processing buffer {"connection_id":163541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:52:46] local.INFO: IMEI packet received {"connection_id":163541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":163541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:52:51] local.INFO: TCP Data received {"connection_id":163541,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:52:51] local.INFO: Processing buffer {"connection_id":163541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:52:51] local.INFO: IMEI packet received {"connection_id":163541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":163541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:52:51] local.INFO: TCP Data received {"connection_id":163541,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4ccfb0012d181c800721a510004d00ca1e..."} 
[2026-08-26 09:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4ccfb0012d181c800721a510004d00ca1e..."} 
[2026-08-26 09:52:51] local.INFO: Processing buffer {"connection_id":163541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4ccfb0012d181c800721a510004d00ca1e..."} 
[2026-08-26 09:52:51] local.INFO: Packet analysis {"connection_id":163541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4c"} 
[2026-08-26 09:52:51] local.INFO: Extracted packet for processing {"connection_id":163541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4c"} 
[2026-08-26 09:52:51] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645456,"longitude_deg":75.655488,"latitude_deg":11.9645456,"altitude":77,"angle":202,"satellites":30,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655818496001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806265628295168,"note":"Value kept but may cause issues"} 
[2026-08-26 09:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375760896,"note":"Value kept but may cause issues"} 
[2026-08-26 09:52: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-26 09:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787718062000,"timestamp_ms":1787718062000,"timestamp_seconds":1787718062,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4ccfb0"} 
[2026-08-26 09: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-26 09:52:51] 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-26 09: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-26 09:52: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-26 09: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-26 09: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-26 09:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:52:51] 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-26 09:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655818496001,"66":12602,"105":206,"83":41984,"24":0,"16":15806265628295168,"45":1737404324375760896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655818496001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:52:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:52:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806265628295168,"km_value":15806265628295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375760896,"description":"Unknown IO ID 45"} 
[2026-08-26 09:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655818496001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737404324375760896}} 
[2026-08-26 09:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":163541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:52:51] local.INFO: GPS data processed {"connection_id":163541,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:52:51] local.INFO: Acknowledgment sent {"connection_id":163541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:52:53] local.INFO: TCP Data received {"connection_id":163541,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4d1dd0012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4d1dd0012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:52:53] local.INFO: Processing buffer {"connection_id":163541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4d1dd0012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:52:53] local.INFO: Packet analysis {"connection_id":163541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4d"} 
[2026-08-26 09:52:53] local.INFO: Extracted packet for processing {"connection_id":163541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4d"} 
[2026-08-26 09:52:53] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645456,"longitude_deg":75.655488,"latitude_deg":11.9645456,"altitude":77,"angle":202,"satellites":31,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655823872001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806265628295168,"note":"Value kept but may cause issues"} 
[2026-08-26 09:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375760896,"note":"Value kept but may cause issues"} 
[2026-08-26 09:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787718082000,"timestamp_ms":1787718082000,"timestamp_seconds":1787718082,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4d1dd0"} 
[2026-08-26 09: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-26 09:52:53] 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-26 09: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-26 09:52:53] 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-26 09: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-26 09: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-26 09:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655823872001,"66":12558,"105":206,"83":41984,"24":0,"16":15806265628295168,"45":1737404324375760896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655823872001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:52:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:52:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806265628295168,"km_value":15806265628295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375760896,"description":"Unknown IO ID 45"} 
[2026-08-26 09:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655823872001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737404324375760896}} 
[2026-08-26 09:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":163541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:52:53] local.INFO: GPS data processed {"connection_id":163541,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:52:53] local.INFO: Acknowledgment sent {"connection_id":163541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:53:23] local.INFO: TCP Data received {"connection_id":163541,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4d6fd8012d181c800721a510004d00ca1e..."} 
[2026-08-26 09:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4d6fd8012d181c800721a510004d00ca1e..."} 
[2026-08-26 09:53:23] local.INFO: Processing buffer {"connection_id":163541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4d6fd8012d181c800721a510004d00ca1e..."} 
[2026-08-26 09:53:23] local.INFO: Packet analysis {"connection_id":163541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4d"} 
[2026-08-26 09:53:23] local.INFO: Extracted packet for processing {"connection_id":163541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4d"} 
[2026-08-26 09:53:23] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645456,"longitude_deg":75.655488,"latitude_deg":11.9645456,"altitude":77,"angle":202,"satellites":30,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-08-26 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-26 09:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655828992001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806265628295168,"note":"Value kept but may cause issues"} 
[2026-08-26 09:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375760896,"note":"Value kept but may cause issues"} 
[2026-08-26 09:53: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-26 09:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787718103000,"timestamp_ms":1787718103000,"timestamp_seconds":1787718103,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4d6fd8"} 
[2026-08-26 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-26 09:53:23] 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-26 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-26 09:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-26 09:53:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-26 09:53:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-26 09:53:23] local.WARNING: Large IO value detected {"io_id":39,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-26 09:53:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249378467348849936,"note":"Value kept but may cause issues"} 
[2026-08-26 09:53:23] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2769289293,"note":"Value kept but may cause issues"} 
[2026-08-26 09:53:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-26 09:53:23] local.WARNING: Large IO value detected {"io_id":28,"raw_value":2147951013,"note":"Value kept but may cause issues"} 
[2026-08-26 09:53:23] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-26 09:53:23] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-26 09:53:23] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,39,160,207,45,128,165,77,30,10,66,125,29,43,1,240,101,227,60,33,4,113,205,139,28,31,239,49,2,56,7,106,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-26 09:53:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548656975413248000,"timestamp_seconds":5548656975413248,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 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-26 09:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655828992001,"66":12526,"105":206,"83":41984,"24":0,"16":15806265628295168,"45":1737404324375760896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655828992001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:53:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:53:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806265628295168,"km_value":15806265628295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375760896,"description":"Unknown IO ID 45"} 
[2026-08-26 09:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655828992001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737404324375760896}} 
[2026-08-26 09:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":163541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:53:24] local.INFO: GPS data processed {"connection_id":163541,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:53:24] local.INFO: Acknowledgment sent {"connection_id":163541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:53:41] local.INFO: TCP Data received {"connection_id":162287,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:53:41] local.INFO: Processing buffer {"connection_id":162287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:53:41] local.INFO: IMEI packet received {"connection_id":162287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":162287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:53:46] local.INFO: TCP Data received {"connection_id":162287,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:53:46] local.INFO: Processing buffer {"connection_id":162287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:53:46] local.INFO: IMEI packet received {"connection_id":162287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":162287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:53:46] local.INFO: TCP Data received {"connection_id":162287,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4dc1e0012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4dc1e0012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:53:46] local.INFO: Processing buffer {"connection_id":162287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4dc1e0012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:53:46] local.INFO: Packet analysis {"connection_id":162287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4d"} 
[2026-08-26 09:53:46] local.INFO: Extracted packet for processing {"connection_id":162287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4d"} 
[2026-08-26 09:53:46] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645456,"longitude_deg":75.655488,"latitude_deg":11.9645456,"altitude":77,"angle":202,"satellites":31,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655834368001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806265628295168,"note":"Value kept but may cause issues"} 
[2026-08-26 09:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375760896,"note":"Value kept but may cause issues"} 
[2026-08-26 09:53: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-26 09:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787718124000,"timestamp_ms":1787718124000,"timestamp_seconds":1787718124,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4dc1e0"} 
[2026-08-26 09: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-26 09:53:46] 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-26 09: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-26 09:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09: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-26 09: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-26 09:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655834368001,"66":12526,"105":206,"83":41984,"24":0,"16":15806265628295168,"45":1737404324375760896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655834368001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:53:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806265628295168,"km_value":15806265628295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375760896,"description":"Unknown IO ID 45"} 
[2026-08-26 09:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655834368001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737404324375760896}} 
[2026-08-26 09:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":162287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:53:47] local.INFO: GPS data processed {"connection_id":162287,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:53:47] local.INFO: Acknowledgment sent {"connection_id":162287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:54:17] local.INFO: TCP Data received {"connection_id":162287,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4e1000012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4e1000012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:54:17] local.INFO: Processing buffer {"connection_id":162287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4e1000012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:54:17] local.INFO: Packet analysis {"connection_id":162287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4e"} 
[2026-08-26 09:54:17] local.INFO: Extracted packet for processing {"connection_id":162287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4e"} 
[2026-08-26 09:54:17] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645456,"longitude_deg":75.655488,"latitude_deg":11.9645456,"altitude":77,"angle":202,"satellites":31,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655839744001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806265628295168,"note":"Value kept but may cause issues"} 
[2026-08-26 09:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375760896,"note":"Value kept but may cause issues"} 
[2026-08-26 09:54: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-26 09:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787718144000,"timestamp_ms":1787718144000,"timestamp_seconds":1787718144,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4e1000"} 
[2026-08-26 09: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-26 09:54:17] 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-26 09: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-26 09:54:17] 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-26 09: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-26 09: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-26 09:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655839744001,"66":12548,"105":206,"83":41984,"24":0,"16":15806265628295168,"45":1737404324375760896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655839744001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:54:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:54:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806265628295168,"km_value":15806265628295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375760896,"description":"Unknown IO ID 45"} 
[2026-08-26 09:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655839744001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737404324375760896}} 
[2026-08-26 09:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":162287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:54:17] local.INFO: GPS data processed {"connection_id":162287,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:54:17] local.INFO: Acknowledgment sent {"connection_id":162287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:54:37] local.INFO: TCP Data received {"connection_id":162288,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:54:37] local.INFO: Processing buffer {"connection_id":162288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:54:37] local.INFO: IMEI packet received {"connection_id":162288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":162288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:54:41] local.INFO: TCP Data received {"connection_id":162288,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:54:41] local.INFO: Processing buffer {"connection_id":162288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:54:41] local.INFO: IMEI packet received {"connection_id":162288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":162288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:54:46] local.INFO: TCP Data received {"connection_id":162288,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:54:46] local.INFO: Processing buffer {"connection_id":162288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:54:46] local.INFO: IMEI packet received {"connection_id":162288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":162288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:54:47] local.INFO: TCP Data received {"connection_id":162288,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4e6208012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4e6208012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:54:47] local.INFO: Processing buffer {"connection_id":162288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4e6208012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:54:47] local.INFO: Packet analysis {"connection_id":162288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4e"} 
[2026-08-26 09:54:47] local.INFO: Extracted packet for processing {"connection_id":162288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4e"} 
[2026-08-26 09:54:47] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645456,"longitude_deg":75.655488,"latitude_deg":11.9645456,"altitude":77,"angle":202,"satellites":31,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655844864001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806265628295168,"note":"Value kept but may cause issues"} 
[2026-08-26 09:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375760896,"note":"Value kept but may cause issues"} 
[2026-08-26 09: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-26 09:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787718165000,"timestamp_ms":1787718165000,"timestamp_seconds":1787718165,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4e6208"} 
[2026-08-26 09: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-26 09:54:47] 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-26 09: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":4,"data_length":795,"current_offset":136} 
[2026-08-26 09:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-26 09:54:47] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-26 09:54:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-26 09:54:47] local.WARNING: Large IO value detected {"io_id":39,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-08-26 09:54:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-08-26 09:54:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2769289293,"note":"Value kept but may cause issues"} 
[2026-08-26 09:54:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-26 09:54:47] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-08-26 09:54:47] local.WARNING: Large IO value detected {"io_id":28,"raw_value":2147951013,"note":"Value kept but may cause issues"} 
[2026-08-26 09:54:47] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-26 09:54:47] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,39,160,193,45,128,165,77,31,10,66,111,30,29,1,240,14,227,60,33,4,113,205,125,28,239,49,2,56,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-26 09:54:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548656975413248000,"timestamp_seconds":5548656975413248,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 09: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-26 09:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:54: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-26 09:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655844864001,"66":12428,"105":206,"83":41984,"24":0,"16":15806265628295168,"45":1737404324375760896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655844864001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:54:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:54:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806265628295168,"km_value":15806265628295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375760896,"description":"Unknown IO ID 45"} 
[2026-08-26 09:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655844864001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737404324375760896}} 
[2026-08-26 09:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":162288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:54:47] local.INFO: GPS data processed {"connection_id":162288,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:54:47] local.INFO: Acknowledgment sent {"connection_id":162288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:55:07] local.INFO: TCP Data received {"connection_id":162289,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:55:07] local.INFO: Processing buffer {"connection_id":162289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:55:07] local.INFO: IMEI packet received {"connection_id":162289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":162289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:55:12] local.INFO: TCP Data received {"connection_id":162289,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:55:12] local.INFO: Processing buffer {"connection_id":162289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:55:12] local.INFO: IMEI packet received {"connection_id":162289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":162289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:55:13] local.INFO: TCP Data received {"connection_id":162289,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4dfc78012d34c14006aa4818000900e628..."} 
[2026-08-26 09:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4dfc78012d34c14006aa4818000900e628..."} 
[2026-08-26 09:55:13] local.INFO: Processing buffer {"connection_id":162289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4dfc78012d34c14006aa4818000900e628..."} 
[2026-08-26 09:55:13] local.INFO: Packet analysis {"connection_id":162289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4d"} 
[2026-08-26 09:55:13] local.INFO: Extracted packet for processing {"connection_id":162289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4d"} 
[2026-08-26 09:55:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655766528001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787718139000,"timestamp_ms":1787718139000,"timestamp_seconds":1787718139,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4dfc78"} 
[2026-08-26 09:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:55: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-26 09:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655766528001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 09:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655766528001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:55:13] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 09:55:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655766528001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":162289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:55:13] local.INFO: GPS data processed {"connection_id":162289,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:55:13] local.INFO: Acknowledgment sent {"connection_id":162289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:55:18] local.INFO: TCP Data received {"connection_id":162288,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4eb410012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4eb410012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:55:18] local.INFO: Processing buffer {"connection_id":162288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4eb410012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:55:18] local.INFO: Packet analysis {"connection_id":162288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4e"} 
[2026-08-26 09:55:18] local.INFO: Extracted packet for processing {"connection_id":162288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4e"} 
[2026-08-26 09:55:18] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645456,"longitude_deg":75.655488,"latitude_deg":11.9645456,"altitude":77,"angle":202,"satellites":31,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655850240001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806265628295168,"note":"Value kept but may cause issues"} 
[2026-08-26 09:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375760896,"note":"Value kept but may cause issues"} 
[2026-08-26 09: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-26 09:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787718186000,"timestamp_ms":1787718186000,"timestamp_seconds":1787718186,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4eb410"} 
[2026-08-26 09: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-26 09:55:18] 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-26 09: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":140,"data_length":795,"current_offset":136} 
[2026-08-26 09:55: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-26 09: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-26 09: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-26 09:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:55: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-26 09:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655850240001,"66":12504,"105":206,"83":41984,"24":0,"16":15806265628295168,"45":1737404324375760896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655850240001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:55:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:55:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806265628295168,"km_value":15806265628295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375760896,"description":"Unknown IO ID 45"} 
[2026-08-26 09:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655850240001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737404324375760896}} 
[2026-08-26 09:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":162288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:55:18] local.INFO: GPS data processed {"connection_id":162288,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:55:18] local.INFO: Acknowledgment sent {"connection_id":162288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:55:41] local.INFO: TCP Data received {"connection_id":163542,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:55:41] local.INFO: Processing buffer {"connection_id":163542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:55:41] local.INFO: IMEI packet received {"connection_id":163542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":163542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:55:41] local.INFO: TCP Data received {"connection_id":163542,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:55:41] local.INFO: Processing buffer {"connection_id":163542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:55:41] local.INFO: IMEI packet received {"connection_id":163542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":163542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:55:43] local.INFO: TCP Data received {"connection_id":163543,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:55:43] local.INFO: Processing buffer {"connection_id":163543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:55:43] local.INFO: IMEI packet received {"connection_id":163543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":163543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:55:46] local.INFO: TCP Data received {"connection_id":163542,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:55:46] local.INFO: Processing buffer {"connection_id":163542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:55:46] local.INFO: IMEI packet received {"connection_id":163542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":163542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:55:46] local.INFO: TCP Data received {"connection_id":163542,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4f0230012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4f0230012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:55:46] local.INFO: Processing buffer {"connection_id":163542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4f0230012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:55:46] local.INFO: Packet analysis {"connection_id":163542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4f"} 
[2026-08-26 09:55:46] local.INFO: Extracted packet for processing {"connection_id":163542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4f"} 
[2026-08-26 09:55:46] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645456,"longitude_deg":75.655488,"latitude_deg":11.9645456,"altitude":77,"angle":202,"satellites":31,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-08-26 09:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655855616001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806265628295168,"note":"Value kept but may cause issues"} 
[2026-08-26 09:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375760896,"note":"Value kept but may cause issues"} 
[2026-08-26 09:55: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-26 09:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787718206000,"timestamp_ms":1787718206000,"timestamp_seconds":1787718206,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4f0230"} 
[2026-08-26 09:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:55:46] 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-26 09:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-26 09:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655855616001,"66":12526,"105":206,"83":41984,"24":0,"16":15806265628295168,"45":1737404324375760896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655855616001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:55:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:55:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806265628295168,"km_value":15806265628295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375760896,"description":"Unknown IO ID 45"} 
[2026-08-26 09:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655855616001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737404324375760896}} 
[2026-08-26 09:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":163542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:55:46] local.INFO: GPS data processed {"connection_id":163542,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:55:46] local.INFO: Acknowledgment sent {"connection_id":163542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:55:47] local.INFO: TCP Data received {"connection_id":163543,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:55:47] local.INFO: Processing buffer {"connection_id":163543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:55:47] local.INFO: IMEI packet received {"connection_id":163543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":163543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:55:48] local.INFO: TCP Data received {"connection_id":163543,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4dfc78012d34c14006aa4818000900e628..."} 
[2026-08-26 09:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4dfc78012d34c14006aa4818000900e628..."} 
[2026-08-26 09:55:48] local.INFO: Processing buffer {"connection_id":163543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4dfc78012d34c14006aa4818000900e628..."} 
[2026-08-26 09:55:48] local.INFO: Packet analysis {"connection_id":163543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4d"} 
[2026-08-26 09:55:48] local.INFO: Extracted packet for processing {"connection_id":163543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4d"} 
[2026-08-26 09:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655766528001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787718139000,"timestamp_ms":1787718139000,"timestamp_seconds":1787718139,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4dfc78"} 
[2026-08-26 09: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-26 09:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:55:48] 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-26 09: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-26 09: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-26 09:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655766528001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 09:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655766528001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:55:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 09:55:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655766528001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":163543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:55:48] local.INFO: GPS data processed {"connection_id":163543,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:55:48] local.INFO: Acknowledgment sent {"connection_id":163543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:55:53] local.INFO: TCP Data received {"connection_id":163543,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4dfc78012d34c14006aa4818000900e628..."} 
[2026-08-26 09:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4dfc78012d34c14006aa4818000900e628..."} 
[2026-08-26 09:55:53] local.INFO: Processing buffer {"connection_id":163543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4dfc78012d34c14006aa4818000900e628..."} 
[2026-08-26 09:55:53] local.INFO: Packet analysis {"connection_id":163543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4d"} 
[2026-08-26 09:55:53] local.INFO: Extracted packet for processing {"connection_id":163543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4d"} 
[2026-08-26 09:55:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655766528001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787718139000,"timestamp_ms":1787718139000,"timestamp_seconds":1787718139,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4dfc78"} 
[2026-08-26 09:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:55:53] 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-26 09:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655766528001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 09:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655766528001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:55:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 09:55:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655766528001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":163543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:55:53] local.INFO: GPS data processed {"connection_id":163543,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:55:53] local.INFO: Acknowledgment sent {"connection_id":163543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:56:17] local.INFO: TCP Data received {"connection_id":163542,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4f5438012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4f5438012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:56:17] local.INFO: Processing buffer {"connection_id":163542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4f5438012d181c800721a510004d00ca1f..."} 
[2026-08-26 09:56:17] local.INFO: Packet analysis {"connection_id":163542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4f"} 
[2026-08-26 09:56:17] local.INFO: Extracted packet for processing {"connection_id":163542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4f"} 
[2026-08-26 09:56:17] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645456,"longitude_deg":75.655488,"latitude_deg":11.9645456,"altitude":77,"angle":202,"satellites":31,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655860736001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806265628295168,"note":"Value kept but may cause issues"} 
[2026-08-26 09:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375760896,"note":"Value kept but may cause issues"} 
[2026-08-26 09:56: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-26 09:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787718227000,"timestamp_ms":1787718227000,"timestamp_seconds":1787718227,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4f5438"} 
[2026-08-26 09: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-26 09:56:17] 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-26 09: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-26 09:56:17] 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-26 09: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-26 09: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-26 09:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655860736001,"66":12526,"105":206,"83":41984,"24":0,"16":15806265628295168,"45":1737404324375760896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655860736001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:56:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:56:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806265628295168,"km_value":15806265628295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375760896,"description":"Unknown IO ID 45"} 
[2026-08-26 09:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655860736001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737404324375760896}} 
[2026-08-26 09:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":163542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:56:18] local.INFO: GPS data processed {"connection_id":163542,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:56:18] local.INFO: Acknowledgment sent {"connection_id":163542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:56:37] local.INFO: TCP Data received {"connection_id":162522,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:56:37] local.INFO: Processing buffer {"connection_id":162522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:56:37] local.INFO: IMEI packet received {"connection_id":162522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":162522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:56:40] local.INFO: TCP Data received {"connection_id":162290,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:56:40] local.INFO: Processing buffer {"connection_id":162290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:56:40] local.INFO: IMEI packet received {"connection_id":162290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":162290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:56:42] local.INFO: TCP Data received {"connection_id":162522,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:56:42] local.INFO: Processing buffer {"connection_id":162522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:56:42] local.INFO: IMEI packet received {"connection_id":162522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":162522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:56:43] local.INFO: TCP Data received {"connection_id":162522,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4dfc78012d34c14006aa4818000900e628..."} 
[2026-08-26 09:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4dfc78012d34c14006aa4818000900e628..."} 
[2026-08-26 09:56:43] local.INFO: Processing buffer {"connection_id":162522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4dfc78012d34c14006aa4818000900e628..."} 
[2026-08-26 09:56:43] local.INFO: Packet analysis {"connection_id":162522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4d"} 
[2026-08-26 09:56:43] local.INFO: Extracted packet for processing {"connection_id":162522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4d"} 
[2026-08-26 09:56:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655766528001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787718139000,"timestamp_ms":1787718139000,"timestamp_seconds":1787718139,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4dfc78"} 
[2026-08-26 09: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-26 09:56: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-26 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:56:43] 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-26 09: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-26 09: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-26 09:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655766528001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 09:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655766528001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:56:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 09:56:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655766528001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":162522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:56:43] local.INFO: GPS data processed {"connection_id":162522,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:56:43] local.INFO: Acknowledgment sent {"connection_id":162522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:56:44] local.INFO: TCP Data received {"connection_id":162290,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:56:44] local.INFO: Processing buffer {"connection_id":162290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:56:44] local.INFO: IMEI packet received {"connection_id":162290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":162290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:56:46] local.INFO: TCP Data received {"connection_id":162290,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:56:46] local.INFO: Processing buffer {"connection_id":162290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:56:46] local.INFO: IMEI packet received {"connection_id":162290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":162290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:56:46] local.INFO: TCP Data received {"connection_id":162290,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4fa640012d181c800721a510004d00ca1e..."} 
[2026-08-26 09:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4fa640012d181c800721a510004d00ca1e..."} 
[2026-08-26 09:56:46] local.INFO: Processing buffer {"connection_id":162290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4fa640012d181c800721a510004d00ca1e..."} 
[2026-08-26 09:56:46] local.INFO: Packet analysis {"connection_id":162290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4f"} 
[2026-08-26 09:56:46] local.INFO: Extracted packet for processing {"connection_id":162290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4f"} 
[2026-08-26 09:56:46] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645456,"longitude_deg":75.655488,"latitude_deg":11.9645456,"altitude":77,"angle":202,"satellites":30,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-08-26 09:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655866112001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806265628295168,"note":"Value kept but may cause issues"} 
[2026-08-26 09:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375760896,"note":"Value kept but may cause issues"} 
[2026-08-26 09:56: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-26 09:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787718248000,"timestamp_ms":1787718248000,"timestamp_seconds":1787718248,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4fa640"} 
[2026-08-26 09:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:56:46] 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-26 09:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-26 09:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655866112001,"66":11471,"105":206,"83":41984,"24":0,"16":15806265628295168,"45":1737404324375760896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655866112001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:56:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:56:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806265628295168,"km_value":15806265628295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375760896,"description":"Unknown IO ID 45"} 
[2026-08-26 09:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655866112001,"power":11471,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737404324375760896}} 
[2026-08-26 09:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":162290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:56:46] local.INFO: GPS data processed {"connection_id":162290,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:56:46] local.INFO: Acknowledgment sent {"connection_id":162290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:56:50] local.INFO: TCP Data received {"connection_id":162290,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4ff460012d181c800721a510004d00ca1e..."} 
[2026-08-26 09:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4ff460012d181c800721a510004d00ca1e..."} 
[2026-08-26 09:56:50] local.INFO: Processing buffer {"connection_id":162290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4ff460012d181c800721a510004d00ca1e..."} 
[2026-08-26 09:56:50] local.INFO: Packet analysis {"connection_id":162290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4f"} 
[2026-08-26 09:56:50] local.INFO: Extracted packet for processing {"connection_id":162290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4f"} 
[2026-08-26 09:56:50] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645456,"longitude_deg":75.655488,"latitude_deg":11.9645456,"altitude":77,"angle":202,"satellites":30,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655871488001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806265628295168,"note":"Value kept but may cause issues"} 
[2026-08-26 09:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375760896,"note":"Value kept but may cause issues"} 
[2026-08-26 09:56: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-26 09:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787718268000,"timestamp_ms":1787718268000,"timestamp_seconds":1787718268,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4ff460"} 
[2026-08-26 09: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-26 09:56:50] 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-26 09: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":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-26 09:56:50] 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-26 09:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09: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-26 09:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655871488001,"66":12504,"105":206,"83":41984,"24":0,"16":15806265628295168,"45":1737404324375760896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655871488001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:56:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:56:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806265628295168,"km_value":15806265628295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375760896,"description":"Unknown IO ID 45"} 
[2026-08-26 09:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655871488001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737404324375760896}} 
[2026-08-26 09:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":162290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:56:51] local.INFO: GPS data processed {"connection_id":162290,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:56:51] local.INFO: Acknowledgment sent {"connection_id":162290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:57:15] local.INFO: TCP Data received {"connection_id":162522,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4dfc78012d34c14006aa4818000900e628..."} 
[2026-08-26 09:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4dfc78012d34c14006aa4818000900e628..."} 
[2026-08-26 09:57:15] local.INFO: Processing buffer {"connection_id":162522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4dfc78012d34c14006aa4818000900e628..."} 
[2026-08-26 09:57:15] local.INFO: Packet analysis {"connection_id":162522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4d"} 
[2026-08-26 09:57:15] local.INFO: Extracted packet for processing {"connection_id":162522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4d"} 
[2026-08-26 09:57:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 09:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655766528001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787718139000,"timestamp_ms":1787718139000,"timestamp_seconds":1787718139,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4dfc78"} 
[2026-08-26 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-26 09:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:57: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-26 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-26 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-26 09:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655766528001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 09:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655766528001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:57:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 09:57:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655766528001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":162522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:57:15] local.INFO: GPS data processed {"connection_id":162522,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:57:15] local.INFO: Acknowledgment sent {"connection_id":162522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:57:22] local.INFO: TCP Data received {"connection_id":162290,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c504668012d181c800721a510004d00ca20..."} 
[2026-08-26 09:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c504668012d181c800721a510004d00ca20..."} 
[2026-08-26 09:57:22] local.INFO: Processing buffer {"connection_id":162290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c504668012d181c800721a510004d00ca20..."} 
[2026-08-26 09:57:22] local.INFO: Packet analysis {"connection_id":162290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c50"} 
[2026-08-26 09:57:22] local.INFO: Extracted packet for processing {"connection_id":162290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c50"} 
[2026-08-26 09:57:22] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645456,"longitude_deg":75.655488,"latitude_deg":11.9645456,"altitude":77,"angle":202,"satellites":32,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-08-26 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-26 09:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655876608001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806265628295168,"note":"Value kept but may cause issues"} 
[2026-08-26 09:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375760896,"note":"Value kept but may cause issues"} 
[2026-08-26 09:57: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-26 09:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787718289000,"timestamp_ms":1787718289000,"timestamp_seconds":1787718289,"priority":1,"record_length":96,"hex_timestamp":"000001a03c504668"} 
[2026-08-26 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-26 09:57:22] 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-26 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-26 09:57:22] 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-26 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-26 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-26 09:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655876608001,"66":12504,"105":206,"83":41984,"24":0,"16":15806265628295168,"45":1737404324375760896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655876608001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:57:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:57:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806265628295168,"km_value":15806265628295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375760896,"description":"Unknown IO ID 45"} 
[2026-08-26 09:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655876608001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737404324375760896}} 
[2026-08-26 09:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":162290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:57:22] local.INFO: GPS data processed {"connection_id":162290,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:57:22] local.INFO: Acknowledgment sent {"connection_id":162290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:57:37] local.INFO: TCP Data received {"connection_id":162523,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:57:37] local.INFO: Processing buffer {"connection_id":162523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:57:37] local.INFO: IMEI packet received {"connection_id":162523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":162523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:57:40] local.INFO: TCP Data received {"connection_id":163544,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:57:40] local.INFO: Processing buffer {"connection_id":163544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:57:40] local.INFO: IMEI packet received {"connection_id":163544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":163544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:57:43] local.INFO: TCP Data received {"connection_id":162523,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:57:43] local.INFO: Processing buffer {"connection_id":162523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:57:43] local.INFO: IMEI packet received {"connection_id":162523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":162523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:57:44] local.INFO: TCP Data received {"connection_id":162523,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c4dfc78012d34c14006aa4818000900e628..."} 
[2026-08-26 09:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c4dfc78012d34c14006aa4818000900e628..."} 
[2026-08-26 09:57:44] local.INFO: Processing buffer {"connection_id":162523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c4dfc78012d34c14006aa4818000900e628..."} 
[2026-08-26 09:57:44] local.INFO: Packet analysis {"connection_id":162523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c4d"} 
[2026-08-26 09:57:44] local.INFO: Extracted packet for processing {"connection_id":162523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c4d"} 
[2026-08-26 09:57:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655766528001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787718139000,"timestamp_ms":1787718139000,"timestamp_seconds":1787718139,"priority":1,"record_length":96,"hex_timestamp":"000001a03c4dfc78"} 
[2026-08-26 09:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:57: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-26 09:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 09:57: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-26 09:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655766528001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 09:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655766528001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:57:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 09:57:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655766528001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":162523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:57:44] local.INFO: GPS data processed {"connection_id":162523,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:57:44] local.INFO: Acknowledgment sent {"connection_id":162523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:57:46] local.INFO: TCP Data received {"connection_id":163544,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:57:46] local.INFO: Processing buffer {"connection_id":163544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:57:46] local.INFO: IMEI packet received {"connection_id":163544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":163544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:57:46] local.INFO: TCP Data received {"connection_id":163544,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c509488012d181c800721a510004d00ca20..."} 
[2026-08-26 09:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c509488012d181c800721a510004d00ca20..."} 
[2026-08-26 09:57:46] local.INFO: Processing buffer {"connection_id":163544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c509488012d181c800721a510004d00ca20..."} 
[2026-08-26 09:57:46] local.INFO: Packet analysis {"connection_id":163544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c50"} 
[2026-08-26 09:57:46] local.INFO: Extracted packet for processing {"connection_id":163544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c50"} 
[2026-08-26 09:57:46] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645456,"longitude_deg":75.655488,"latitude_deg":11.9645456,"altitude":77,"angle":202,"satellites":32,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655881984001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806265628295168,"note":"Value kept but may cause issues"} 
[2026-08-26 09:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375760896,"note":"Value kept but may cause issues"} 
[2026-08-26 09:57: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-26 09:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787718309000,"timestamp_ms":1787718309000,"timestamp_seconds":1787718309,"priority":1,"record_length":96,"hex_timestamp":"000001a03c509488"} 
[2026-08-26 09: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-26 09:57:46] 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-26 09: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-26 09:57:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09: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-26 09: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-26 09:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655881984001,"66":12461,"105":206,"83":41984,"24":0,"16":15806265628295168,"45":1737404324375760896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655881984001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:57:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:57:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806265628295168,"km_value":15806265628295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375760896,"description":"Unknown IO ID 45"} 
[2026-08-26 09:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655881984001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737404324375760896}} 
[2026-08-26 09:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":163544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:57:46] local.INFO: GPS data processed {"connection_id":163544,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:57:46] local.INFO: Acknowledgment sent {"connection_id":163544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:57:57] local.INFO: TCP Data received {"connection_id":162524,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 09:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 09:57:57] local.INFO: Processing buffer {"connection_id":162524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 09:57:57] local.INFO: IMEI packet received {"connection_id":162524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 09:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":162524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:58:16] local.INFO: TCP Data received {"connection_id":162523,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 09:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 09:58:16] local.INFO: Processing buffer {"connection_id":162523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 09:58:16] local.INFO: Packet analysis {"connection_id":162523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c52"} 
[2026-08-26 09:58:16] local.INFO: Extracted packet for processing {"connection_id":162523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c52"} 
[2026-08-26 09:58:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655843584001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09: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-26 09:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787718440000,"timestamp_ms":1787718440000,"timestamp_seconds":1787718440,"priority":1,"record_length":96,"hex_timestamp":"000001a03c529440"} 
[2026-08-26 09: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-26 09:58: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-26 09: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 09:58:16] 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-26 09: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-26 09: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-26 09:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655843584001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655843584001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:58:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:58:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655843584001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":162523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:58:16] local.INFO: GPS data processed {"connection_id":162523,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:58:16] local.INFO: Acknowledgment sent {"connection_id":162523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:58:17] local.INFO: TCP Data received {"connection_id":163544,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c50e690012d181c800721a510004d00ca21..."} 
[2026-08-26 09:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c50e690012d181c800721a510004d00ca21..."} 
[2026-08-26 09:58:17] local.INFO: Processing buffer {"connection_id":163544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c50e690012d181c800721a510004d00ca21..."} 
[2026-08-26 09:58:17] local.INFO: Packet analysis {"connection_id":163544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c50"} 
[2026-08-26 09:58:17] local.INFO: Extracted packet for processing {"connection_id":163544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c50"} 
[2026-08-26 09:58:17] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645456,"longitude_deg":75.655488,"latitude_deg":11.9645456,"altitude":77,"angle":202,"satellites":33,"speed":0,"hex_longitude":"2d181c80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655887104001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806265628295168,"note":"Value kept but may cause issues"} 
[2026-08-26 09:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375760896,"note":"Value kept but may cause issues"} 
[2026-08-26 09:58: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-26 09:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787718330000,"timestamp_ms":1787718330000,"timestamp_seconds":1787718330,"priority":1,"record_length":96,"hex_timestamp":"000001a03c50e690"} 
[2026-08-26 09: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-26 09:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 09: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-26 09:58: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-26 09: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-26 09: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-26 09:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655887104001,"66":12461,"105":206,"83":41984,"24":0,"16":15806265628295168,"45":1737404324375760896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655887104001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:58:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:58:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806265628295168,"km_value":15806265628295.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375760896,"description":"Unknown IO ID 45"} 
[2026-08-26 09:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655887104001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737404324375760896}} 
[2026-08-26 09:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":163544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:58:17] local.INFO: GPS data processed {"connection_id":163544,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:58:17] local.INFO: Acknowledgment sent {"connection_id":163544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:58:42] local.INFO: TCP Data received {"connection_id":164893,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:58:42] local.INFO: Processing buffer {"connection_id":164893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:58:42] local.INFO: IMEI packet received {"connection_id":164893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":164893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:58:44] local.INFO: TCP Data received {"connection_id":163545,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:58:44] local.INFO: Processing buffer {"connection_id":163545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:58:44] local.INFO: IMEI packet received {"connection_id":163545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":163545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:58:45] local.INFO: TCP Data received {"connection_id":163545,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:58:45] local.INFO: Processing buffer {"connection_id":163545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:58:45] local.INFO: IMEI packet received {"connection_id":163545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":163545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:58:47] local.INFO: TCP Data received {"connection_id":164893,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:58:47] local.INFO: Processing buffer {"connection_id":164893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:58:47] local.INFO: IMEI packet received {"connection_id":164893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":164893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:58:48] local.INFO: TCP Data received {"connection_id":164893,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 09:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 09:58:48] local.INFO: Processing buffer {"connection_id":164893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 09:58:48] local.INFO: Packet analysis {"connection_id":164893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c52"} 
[2026-08-26 09:58:48] local.INFO: Extracted packet for processing {"connection_id":164893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c52"} 
[2026-08-26 09:58:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655843584001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787718440000,"timestamp_ms":1787718440000,"timestamp_seconds":1787718440,"priority":1,"record_length":96,"hex_timestamp":"000001a03c529440"} 
[2026-08-26 09: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-26 09:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 09:58:48] 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-26 09: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-26 09: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-26 09:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655843584001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655843584001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:58:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:58:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655843584001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":164893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:58:48] local.INFO: GPS data processed {"connection_id":164893,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:58:48] local.INFO: Acknowledgment sent {"connection_id":164893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:58:50] local.INFO: TCP Data received {"connection_id":163545,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:58:50] local.INFO: Processing buffer {"connection_id":163545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:58:50] local.INFO: IMEI packet received {"connection_id":163545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":163545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:58:52] local.INFO: TCP Data received {"connection_id":163545,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5347f0012d181fc00721a7d00048005b21..."} 
[2026-08-26 09:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5347f0012d181fc00721a7d00048005b21..."} 
[2026-08-26 09:58:52] local.INFO: Processing buffer {"connection_id":163545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5347f0012d181fc00721a7d00048005b21..."} 
[2026-08-26 09:58:52] local.INFO: Packet analysis {"connection_id":163545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c53"} 
[2026-08-26 09:58:52] local.INFO: Extracted packet for processing {"connection_id":163545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c53"} 
[2026-08-26 09:58:52] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119646160,"longitude_deg":75.6555712,"latitude_deg":11.964616,"altitude":72,"angle":91,"satellites":33,"speed":9,"hex_longitude":"2d181fc0","hex_latitude":"0721a7d0","is_valid_coordinates":true} 
[2026-08-26 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-26 09:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655931904001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806364412542976,"note":"Value kept but may cause issues"} 
[2026-08-26 09:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536840986624,"note":"Value kept but may cause issues"} 
[2026-08-26 09:58: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-26 09:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787718486000,"timestamp_ms":1787718486000,"timestamp_seconds":1787718486,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5347f0"} 
[2026-08-26 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-26 09:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-26 09:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 09:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655931904001,"66":13993,"105":206,"83":41984,"24":9,"16":15806364412542976,"45":1737826536840986624},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655931904001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:58:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:58:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806364412542976,"km_value":15806364412542.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536840986624,"description":"Unknown IO ID 45"} 
[2026-08-26 09:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655931904001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737826536840986624}} 
[2026-08-26 09:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":163545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:58:52] local.INFO: GPS data processed {"connection_id":163545,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:58:52] local.INFO: Acknowledgment sent {"connection_id":163545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:58:53] local.INFO: TCP Data received {"connection_id":164893,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 09:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 09:58:53] local.INFO: Processing buffer {"connection_id":164893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 09:58:53] local.INFO: Packet analysis {"connection_id":164893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c52"} 
[2026-08-26 09:58:53] local.INFO: Extracted packet for processing {"connection_id":164893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c52"} 
[2026-08-26 09:58:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655843584001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 09:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787718440000,"timestamp_ms":1787718440000,"timestamp_seconds":1787718440,"priority":1,"record_length":96,"hex_timestamp":"000001a03c529440"} 
[2026-08-26 09: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-26 09:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 09: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 09:58:53] 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-26 09: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-26 09: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-26 09:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655843584001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655843584001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:58:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:58:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655843584001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":164893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:58:53] local.INFO: GPS data processed {"connection_id":164893,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:58:53] local.INFO: Acknowledgment sent {"connection_id":164893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:58:56] local.INFO: TCP Data received {"connection_id":163545,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c534bd8012d1820400721a7a00049006b21..."} 
[2026-08-26 09:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c534bd8012d1820400721a7a00049006b21..."} 
[2026-08-26 09:58:56] local.INFO: Processing buffer {"connection_id":163545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c534bd8012d1820400721a7a00049006b21..."} 
[2026-08-26 09:58:56] local.INFO: Packet analysis {"connection_id":163545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c53"} 
[2026-08-26 09:58:56] local.INFO: Extracted packet for processing {"connection_id":163545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c53"} 
[2026-08-26 09:58:56] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119646112,"longitude_deg":75.655584,"latitude_deg":11.9646112,"altitude":73,"angle":107,"satellites":33,"speed":7,"hex_longitude":"2d182040","hex_latitude":"0721a7a0","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655932416001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806373002477568,"note":"Value kept but may cause issues"} 
[2026-08-26 09:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050250752,"note":"Value kept but may cause issues"} 
[2026-08-26 09:58: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-26 09:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787718487000,"timestamp_ms":1787718487000,"timestamp_seconds":1787718487,"priority":1,"record_length":96,"hex_timestamp":"000001a03c534bd8"} 
[2026-08-26 09: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-26 09:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 09:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-26 09:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09: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-26 09: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-26 09:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655932416001,"66":13993,"105":206,"83":41984,"24":7,"16":15806373002477568,"45":1738319118050250752},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655932416001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:58:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:58:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806373002477568,"km_value":15806373002477.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050250752,"description":"Unknown IO ID 45"} 
[2026-08-26 09:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655932416001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738319118050250752}} 
[2026-08-26 09:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":163545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:58:56] local.INFO: GPS data processed {"connection_id":163545,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:58:56] local.INFO: Acknowledgment sent {"connection_id":163545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:59:37] local.INFO: TCP Data received {"connection_id":162291,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:59:37] local.INFO: Processing buffer {"connection_id":162291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:59:37] local.INFO: IMEI packet received {"connection_id":162291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 09:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":162291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:59:39] local.INFO: TCP Data received {"connection_id":162525,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:59:39] local.INFO: Processing buffer {"connection_id":162525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:59:39] local.INFO: IMEI packet received {"connection_id":162525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 09:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":162525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 09:59:40] local.INFO: TCP Data received {"connection_id":162525,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:59:40] local.INFO: Processing buffer {"connection_id":162525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:59:40] local.INFO: IMEI packet received {"connection_id":162525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":162525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:59:43] local.INFO: TCP Data received {"connection_id":162291,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:59:43] local.INFO: Processing buffer {"connection_id":162291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 09:59:43] local.INFO: IMEI packet received {"connection_id":162291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 09:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":162291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:59:44] local.INFO: TCP Data received {"connection_id":162291,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 09:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 09:59:44] local.INFO: Processing buffer {"connection_id":162291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 09:59:44] local.INFO: Packet analysis {"connection_id":162291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c52"} 
[2026-08-26 09:59:44] local.INFO: Extracted packet for processing {"connection_id":162291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c52"} 
[2026-08-26 09:59:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 09: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-26 09:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655843584001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 09:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 09:59: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-26 09:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787718440000,"timestamp_ms":1787718440000,"timestamp_seconds":1787718440,"priority":1,"record_length":96,"hex_timestamp":"000001a03c529440"} 
[2026-08-26 09: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-26 09:59: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-26 09: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 09:59:44] 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-26 09: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-26 09: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-26 09:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 09:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 09:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 09:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655843584001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 09:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 09:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 09:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655843584001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:59:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 09:59:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 09:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 09:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655843584001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 09:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":162291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:59:44] local.INFO: GPS data processed {"connection_id":162291,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:59:44] local.INFO: Acknowledgment sent {"connection_id":162291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 09:59:46] local.INFO: TCP Data received {"connection_id":162525,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:59:46] local.INFO: Processing buffer {"connection_id":162525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 09:59:46] local.INFO: IMEI packet received {"connection_id":162525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 09:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":162525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 09:59:46] local.INFO: TCP Data received {"connection_id":162525,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c534fc0012d1821000721a7380049008321..."} 
[2026-08-26 09:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c534fc0012d1821000721a7380049008321..."} 
[2026-08-26 09:59:46] local.INFO: Processing buffer {"connection_id":162525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c534fc0012d1821000721a7380049008321..."} 
[2026-08-26 09:59:46] local.INFO: Packet analysis {"connection_id":162525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c53"} 
[2026-08-26 09:59:46] local.INFO: Extracted packet for processing {"connection_id":162525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c53"} 
[2026-08-26 09:59:46] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119646008,"longitude_deg":75.6556032,"latitude_deg":11.9646008,"altitude":73,"angle":131,"satellites":33,"speed":7,"hex_longitude":"2d182100","hex_latitude":"0721a738","is_valid_coordinates":true} 
[2026-08-26 09:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 09:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655932672001,"note":"Value kept but may cause issues"} 
[2026-08-26 09:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15806381592412160,"note":"Value kept but may cause issues"} 
[2026-08-26 09:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855538593792,"note":"Value kept but may cause issues"} 
[2026-08-26 09:59: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-26 09:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787718488000,"timestamp_ms":1787718488000,"timestamp_seconds":1787718488,"priority":1,"record_length":96,"hex_timestamp":"000001a03c534fc0"} 
[2026-08-26 09:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 09:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 09:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-26 09:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 09:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 09:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 09:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 09:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 09:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 09:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 09:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 09:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 09:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655932672001,"66":14048,"105":206,"83":41984,"24":7,"16":15806381592412160,"45":1738459855538593792},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-26 09:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 09:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 09:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655932672001,"description":"Unknown IO ID 0"} 
[2026-08-26 09:59:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-26 09:59:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 09:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15806381592412160,"km_value":15806381592412.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 09:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855538593792,"description":"Unknown IO ID 45"} 
[2026-08-26 09:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655932672001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738459855538593792}} 
[2026-08-26 09:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":162525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 09:59:46] local.INFO: GPS data processed {"connection_id":162525,"processed":1,"errors":0,"total":1} 
[2026-08-26 09:59:46] local.INFO: Acknowledgment sent {"connection_id":162525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:00:16] local.INFO: TCP Data received {"connection_id":162291,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 10:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 10:00:16] local.INFO: Processing buffer {"connection_id":162291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 10:00:16] local.INFO: Packet analysis {"connection_id":162291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c52"} 
[2026-08-26 10:00:16] local.INFO: Extracted packet for processing {"connection_id":162291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c52"} 
[2026-08-26 10:00:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655843584001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10: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-26 10:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787718440000,"timestamp_ms":1787718440000,"timestamp_seconds":1787718440,"priority":1,"record_length":96,"hex_timestamp":"000001a03c529440"} 
[2026-08-26 10:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:00: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-26 10:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:00:16] 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-26 10:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655843584001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 10:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655843584001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:00:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:00:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655843584001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":162291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:00:16] local.INFO: GPS data processed {"connection_id":162291,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:00:16] local.INFO: Acknowledgment sent {"connection_id":162291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:00:18] local.INFO: TCP Data received {"connection_id":162525,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c54caa8012d18c5c007214c48004100b022..."} 
[2026-08-26 10:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c54caa8012d18c5c007214c48004100b022..."} 
[2026-08-26 10:00:18] local.INFO: Processing buffer {"connection_id":162525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c54caa8012d18c5c007214c48004100b022..."} 
[2026-08-26 10:00:18] local.INFO: Packet analysis {"connection_id":162525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c54"} 
[2026-08-26 10:00:18] local.INFO: Extracted packet for processing {"connection_id":162525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c54"} 
[2026-08-26 10:00:18] local.INFO: GPS Element Parsed {"raw_longitude":756598208,"raw_latitude":119622728,"longitude_deg":75.6598208,"latitude_deg":11.9622728,"altitude":65,"angle":176,"satellites":34,"speed":26,"hex_longitude":"2d18c5c0","hex_latitude":"07214c48","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655957248001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15808816838868992,"note":"Value kept but may cause issues"} 
[2026-08-26 10:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120457668608,"note":"Value kept but may cause issues"} 
[2026-08-26 10:00: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-26 10:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787718585000,"timestamp_ms":1787718585000,"timestamp_seconds":1787718585,"priority":1,"record_length":96,"hex_timestamp":"000001a03c54caa8"} 
[2026-08-26 10: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-26 10:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 10: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-26 10:00:18] 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-26 10: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-26 10: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-26 10:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:00: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-26 10:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655957248001,"66":14070,"106":206,"83":41984,"24":26,"16":15808816838868992,"45":1784692120457668608},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-26 10:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655957248001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:00:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-26 10:00:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15808816838868992,"km_value":15808816838868.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120457668608,"description":"Unknown IO ID 45"} 
[2026-08-26 10:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655957248001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1784692120457668608}} 
[2026-08-26 10:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":162525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:00:18] local.INFO: GPS data processed {"connection_id":162525,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:00:18] local.INFO: Acknowledgment sent {"connection_id":162525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:00:37] local.INFO: TCP Data received {"connection_id":162526,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:00:37] local.INFO: Processing buffer {"connection_id":162526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:00:37] local.INFO: IMEI packet received {"connection_id":162526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":162526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:00:41] local.INFO: TCP Data received {"connection_id":162527,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:00:41] local.INFO: Processing buffer {"connection_id":162527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:00:41] local.INFO: IMEI packet received {"connection_id":162527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 10:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":162527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:00:42] local.INFO: TCP Data received {"connection_id":162526,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:00:42] local.INFO: Processing buffer {"connection_id":162526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:00:42] local.INFO: IMEI packet received {"connection_id":162526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":162526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:00:43] local.INFO: TCP Data received {"connection_id":162526,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 10:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 10:00:43] local.INFO: Processing buffer {"connection_id":162526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 10:00:43] local.INFO: Packet analysis {"connection_id":162526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c52"} 
[2026-08-26 10:00:43] local.INFO: Extracted packet for processing {"connection_id":162526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c52"} 
[2026-08-26 10:00:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 10:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655843584001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 10:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787718440000,"timestamp_ms":1787718440000,"timestamp_seconds":1787718440,"priority":1,"record_length":96,"hex_timestamp":"000001a03c529440"} 
[2026-08-26 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-26 10:00: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-26 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:00:43] 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-26 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-26 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-26 10:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655843584001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 10:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655843584001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:00:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:00:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655843584001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":162526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:00:43] local.INFO: GPS data processed {"connection_id":162526,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:00:43] local.INFO: Acknowledgment sent {"connection_id":162526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:00:46] local.INFO: TCP Data received {"connection_id":162527,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:00:46] local.INFO: Processing buffer {"connection_id":162527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:00:46] local.INFO: IMEI packet received {"connection_id":162527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":162527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:00:47] local.INFO: TCP Data received {"connection_id":162527,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c54e218012d18c70007213ca8003f00a021..."} 
[2026-08-26 10:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c54e218012d18c70007213ca8003f00a021..."} 
[2026-08-26 10:00:47] local.INFO: Processing buffer {"connection_id":162527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c54e218012d18c70007213ca8003f00a021..."} 
[2026-08-26 10:00:47] local.INFO: Packet analysis {"connection_id":162527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c54"} 
[2026-08-26 10:00:47] local.INFO: Extracted packet for processing {"connection_id":162527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c54"} 
[2026-08-26 10:00:47] local.INFO: GPS Element Parsed {"raw_longitude":756598528,"raw_latitude":119618728,"longitude_deg":75.6598528,"latitude_deg":11.9618728,"altitude":63,"angle":160,"satellites":33,"speed":26,"hex_longitude":"2d18c700","hex_latitude":"07213ca8","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655957760001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15809014407364608,"note":"Value kept but may cause issues"} 
[2026-08-26 10:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785043964178221056,"note":"Value kept but may cause issues"} 
[2026-08-26 10:00: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-26 10:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787718591000,"timestamp_ms":1787718591000,"timestamp_seconds":1787718591,"priority":1,"record_length":96,"hex_timestamp":"000001a03c54e218"} 
[2026-08-26 10: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-26 10:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 10: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-26 10:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 10: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-26 10: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-26 10:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10: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-26 10:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655957760001,"66":14080,"106":206,"83":41984,"24":26,"16":15809014407364608,"45":1785043964178221056},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-26 10:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655957760001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:00:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-26 10:00:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15809014407364608,"km_value":15809014407364.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785043964178221056,"description":"Unknown IO ID 45"} 
[2026-08-26 10:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655957760001,"power":14080,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1785043964178221056}} 
[2026-08-26 10:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":162527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:00:47] local.INFO: GPS data processed {"connection_id":162527,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:00:47] local.INFO: Acknowledgment sent {"connection_id":162527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:01:15] local.INFO: TCP Data received {"connection_id":162526,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 10:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 10:01:15] local.INFO: Processing buffer {"connection_id":162526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 10:01:15] local.INFO: Packet analysis {"connection_id":162526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c52"} 
[2026-08-26 10:01:15] local.INFO: Extracted packet for processing {"connection_id":162526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c52"} 
[2026-08-26 10:01:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 10:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655843584001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 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-26 10:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787718440000,"timestamp_ms":1787718440000,"timestamp_seconds":1787718440,"priority":1,"record_length":96,"hex_timestamp":"000001a03c529440"} 
[2026-08-26 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-26 10:01: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-26 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:01: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-26 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-26 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-26 10:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655843584001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 10:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655843584001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:01:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:01:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655843584001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":162526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:01:15] local.INFO: GPS data processed {"connection_id":162526,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:01:15] local.INFO: Acknowledgment sent {"connection_id":162526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:01:18] local.INFO: TCP Data received {"connection_id":162527,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c54e9e8012d18c94007213800003e009321..."} 
[2026-08-26 10:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c54e9e8012d18c94007213800003e009321..."} 
[2026-08-26 10:01:18] local.INFO: Processing buffer {"connection_id":162527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c54e9e8012d18c94007213800003e009321..."} 
[2026-08-26 10:01:18] local.INFO: Packet analysis {"connection_id":162527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c54"} 
[2026-08-26 10:01:18] local.INFO: Extracted packet for processing {"connection_id":162527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c54"} 
[2026-08-26 10:01:18] local.INFO: GPS Element Parsed {"raw_longitude":756599104,"raw_latitude":119617536,"longitude_deg":75.6599104,"latitude_deg":11.9617536,"altitude":62,"angle":147,"satellites":33,"speed":26,"hex_longitude":"2d18c940","hex_latitude":"07213800","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655959296001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15809078831874048,"note":"Value kept but may cause issues"} 
[2026-08-26 10:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785395807898085376,"note":"Value kept but may cause issues"} 
[2026-08-26 10:01: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-26 10:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787718593000,"timestamp_ms":1787718593000,"timestamp_seconds":1787718593,"priority":1,"record_length":96,"hex_timestamp":"000001a03c54e9e8"} 
[2026-08-26 10: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-26 10:01:18] 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-26 10: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-26 10:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-08-26 10:01:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-26 10:01:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-26 10:01:18] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":43009,"corrected_to":0} 
[2026-08-26 10:01:18] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2969567232,"note":"Value kept but may cause issues"} 
[2026-08-26 10:01:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-26 10:01:18] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-08-26 10:01:18] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247722,"note":"Value kept but may cause issues"} 
[2026-08-26 10:01:18] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,106,83,24,241,157,16,42,160,202,45,192,76,65,34,10,66,194,128,81,41,163,1,240,92,227,60,33,4,113,205,30,108,145,8,239,54,2,56,7,73,39],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":202,"original":43009,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-26 10:01:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539804487985528832,"timestamp_seconds":4539804487985529.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 10: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-26 10:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10: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-26 10:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655959296001,"66":14080,"106":206,"83":41984,"24":26,"16":15809078831874048,"45":1785395807898085376},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-26 10:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655959296001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:01:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-26 10:01:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15809078831874048,"km_value":15809078831874.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785395807898085376,"description":"Unknown IO ID 45"} 
[2026-08-26 10:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655959296001,"power":14080,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1785395807898085376}} 
[2026-08-26 10:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":162527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:01:18] local.INFO: GPS data processed {"connection_id":162527,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:01:18] local.INFO: Acknowledgment sent {"connection_id":162527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:01:40] local.INFO: TCP Data received {"connection_id":163546,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:01:40] local.INFO: Processing buffer {"connection_id":163546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:01:40] local.INFO: IMEI packet received {"connection_id":163546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 10:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":163546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:01:46] local.INFO: TCP Data received {"connection_id":163546,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:01:46] local.INFO: Processing buffer {"connection_id":163546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:01:46] local.INFO: IMEI packet received {"connection_id":163546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":163546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:01:46] local.INFO: TCP Data received {"connection_id":163546,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c550540012d18d2c007212840003d00a322..."} 
[2026-08-26 10:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c550540012d18d2c007212840003d00a322..."} 
[2026-08-26 10:01:46] local.INFO: Processing buffer {"connection_id":163546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c550540012d18d2c007212840003d00a322..."} 
[2026-08-26 10:01:46] local.INFO: Packet analysis {"connection_id":163546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c55"} 
[2026-08-26 10:01:46] local.INFO: Extracted packet for processing {"connection_id":163546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c55"} 
[2026-08-26 10:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119613504,"longitude_deg":75.6601536,"latitude_deg":11.9613504,"altitude":61,"angle":163,"satellites":34,"speed":26,"hex_longitude":"2d18d2c0","hex_latitude":"07212840","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655959808001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15809306465140736,"note":"Value kept but may cause issues"} 
[2026-08-26 10:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786029126595379200,"note":"Value kept but may cause issues"} 
[2026-08-26 10:01: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-26 10:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787718600000,"timestamp_ms":1787718600000,"timestamp_seconds":1787718600,"priority":1,"record_length":96,"hex_timestamp":"000001a03c550540"} 
[2026-08-26 10: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-26 10:01:46] 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-26 10:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-26 10:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-08-26 10:01:46] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-26 10:01:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-26 10:01:46] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":43009,"corrected_to":0} 
[2026-08-26 10:01:46] local.WARNING: Large IO value detected {"io_id":41,"raw_value":4194304000,"note":"Value kept but may cause issues"} 
[2026-08-26 10:01:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-26 10:01:46] local.WARNING: Large IO value detected {"io_id":147,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-08-26 10:01:46] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,106,83,24,241,157,16,42,160,226,45,60,63,33,10,66,202,192,76,65,34,194,128,1,240,79,227,41,4,113,205,147,175,216,239,56,2,7,73,38],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":202,"original":43009,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-26 10:01:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467732600296439808,"timestamp_seconds":4467732600296440.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 10: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-26 10:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655959808001,"66":13167,"106":206,"83":41984,"24":26,"16":15809306465140736,"45":1786029126595379200},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-26 10:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655959808001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:01:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-26 10:01:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15809306465140736,"km_value":15809306465140.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786029126595379200,"description":"Unknown IO ID 45"} 
[2026-08-26 10:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655959808001,"power":13167,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1786029126595379200}} 
[2026-08-26 10:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":163546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:01:47] local.INFO: GPS data processed {"connection_id":163546,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:01:47] local.INFO: Acknowledgment sent {"connection_id":163546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:02:13] local.INFO: TCP Data received {"connection_id":162292,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:02:13] local.INFO: Processing buffer {"connection_id":162292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:02:13] local.INFO: IMEI packet received {"connection_id":162292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":162292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:02:17] local.INFO: TCP Data received {"connection_id":162292,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:02:17] local.INFO: Processing buffer {"connection_id":162292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:02:17] local.INFO: IMEI packet received {"connection_id":162292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":162292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:02:17] local.INFO: TCP Data received {"connection_id":163546,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c550d10012d18d38007212398003c00b122..."} 
[2026-08-26 10:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c550d10012d18d38007212398003c00b122..."} 
[2026-08-26 10:02:17] local.INFO: Processing buffer {"connection_id":163546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c550d10012d18d38007212398003c00b122..."} 
[2026-08-26 10:02:17] local.INFO: Packet analysis {"connection_id":163546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c55"} 
[2026-08-26 10:02:17] local.INFO: Extracted packet for processing {"connection_id":163546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c55"} 
[2026-08-26 10:02:17] local.INFO: GPS Element Parsed {"raw_longitude":756601728,"raw_latitude":119612312,"longitude_deg":75.6601728,"latitude_deg":11.9612312,"altitude":60,"angle":177,"satellites":34,"speed":22,"hex_longitude":"2d18d380","hex_latitude":"07212398","is_valid_coordinates":true} 
[2026-08-26 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-26 10:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655961600001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15809362299715584,"note":"Value kept but may cause issues"} 
[2026-08-26 10:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138873098240,"note":"Value kept but may cause issues"} 
[2026-08-26 10:02: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-26 10:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787718602000,"timestamp_ms":1787718602000,"timestamp_seconds":1787718602,"priority":1,"record_length":96,"hex_timestamp":"000001a03c550d10"} 
[2026-08-26 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-26 10:02:17] 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-26 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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-26 10:02:17] 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-26 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-26 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-26 10:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655961600001,"66":13102,"106":206,"83":41984,"24":22,"16":15809362299715584,"45":1788703138873098240},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-26 10:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655961600001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:02:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-26 10:02:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15809362299715584,"km_value":15809362299715.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138873098240,"description":"Unknown IO ID 45"} 
[2026-08-26 10:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655961600001,"power":13102,"unknown_106":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1788703138873098240}} 
[2026-08-26 10:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":163546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:02:17] local.INFO: GPS data processed {"connection_id":163546,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:02:17] local.INFO: Acknowledgment sent {"connection_id":163546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:02:18] local.INFO: TCP Data received {"connection_id":162292,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 10:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 10:02:18] local.INFO: Processing buffer {"connection_id":162292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 10:02:18] local.INFO: Packet analysis {"connection_id":162292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c52"} 
[2026-08-26 10:02:18] local.INFO: Extracted packet for processing {"connection_id":162292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c52"} 
[2026-08-26 10:02:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655843584001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:02: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-26 10:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787718440000,"timestamp_ms":1787718440000,"timestamp_seconds":1787718440,"priority":1,"record_length":96,"hex_timestamp":"000001a03c529440"} 
[2026-08-26 10: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-26 10:02: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-26 10: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:02:18] 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-26 10: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-26 10: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-26 10:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655843584001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 10:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655843584001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:02:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:02:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655843584001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":162292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:02:18] local.INFO: GPS data processed {"connection_id":162292,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:02:18] local.INFO: Acknowledgment sent {"connection_id":162292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:02:40] local.INFO: TCP Data received {"connection_id":162293,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:02:40] local.INFO: Processing buffer {"connection_id":162293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:02:40] local.INFO: IMEI packet received {"connection_id":162293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 10:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":162293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:02:46] local.INFO: TCP Data received {"connection_id":162293,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:02:46] local.INFO: Processing buffer {"connection_id":162293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:02:46] local.INFO: IMEI packet received {"connection_id":162293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":162293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:02:46] local.INFO: TCP Data received {"connection_id":162293,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5710b0012d18f5400720d9200035008a24..."} 
[2026-08-26 10:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5710b0012d18f5400720d9200035008a24..."} 
[2026-08-26 10:02:46] local.INFO: Processing buffer {"connection_id":162293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5710b0012d18f5400720d9200035008a24..."} 
[2026-08-26 10:02:46] local.INFO: Packet analysis {"connection_id":162293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c57"} 
[2026-08-26 10:02:46] local.INFO: Extracted packet for processing {"connection_id":162293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c57"} 
[2026-08-26 10:02:46] local.INFO: GPS Element Parsed {"raw_longitude":756610368,"raw_latitude":119593248,"longitude_deg":75.6610368,"latitude_deg":11.9593248,"altitude":53,"angle":138,"satellites":36,"speed":29,"hex_longitude":"2d18f540","hex_latitude":"0720d920","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655993856001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15810431746572288,"note":"Value kept but may cause issues"} 
[2026-08-26 10:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794543744636008448,"note":"Value kept but may cause issues"} 
[2026-08-26 10:02: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-26 10:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787718734000,"timestamp_ms":1787718734000,"timestamp_seconds":1787718734,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5710b0"} 
[2026-08-26 10: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-26 10:02: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-26 10: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-26 10:02:46] 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-26 10: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-26 10: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-26 10:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655993856001,"66":14102,"103":206,"83":41984,"24":29,"16":15810431746572288,"45":1794543744636008448},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-26 10:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655993856001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:02:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-26 10:02:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15810431746572288,"km_value":15810431746572.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794543744636008448,"description":"Unknown IO ID 45"} 
[2026-08-26 10:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655993856001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1794543744636008448}} 
[2026-08-26 10:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":162293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:02:46] local.INFO: GPS data processed {"connection_id":162293,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:02:46] local.INFO: Acknowledgment sent {"connection_id":162293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:02:54] local.INFO: TCP Data received {"connection_id":164894,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:02:54] local.INFO: Processing buffer {"connection_id":164894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:02:54] local.INFO: IMEI packet received {"connection_id":164894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":164894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:02:57] local.INFO: TCP Data received {"connection_id":164894,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:02:57] local.INFO: Processing buffer {"connection_id":164894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:02:57] local.INFO: IMEI packet received {"connection_id":164894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":164894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:02:58] local.INFO: TCP Data received {"connection_id":164894,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 10:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 10:02:58] local.INFO: Processing buffer {"connection_id":164894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c529440012d34c14006aa4818000600e628..."} 
[2026-08-26 10:02:58] local.INFO: Packet analysis {"connection_id":164894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c52"} 
[2026-08-26 10:02:58] local.INFO: Extracted packet for processing {"connection_id":164894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c52"} 
[2026-08-26 10:02:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655843584001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:02: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-26 10:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787718440000,"timestamp_ms":1787718440000,"timestamp_seconds":1787718440,"priority":1,"record_length":96,"hex_timestamp":"000001a03c529440"} 
[2026-08-26 10: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-26 10:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:02:58] 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-26 10:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10: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-26 10:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655843584001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 10:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655843584001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:02:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:02:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655843584001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":164894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:02:58] local.INFO: GPS data processed {"connection_id":164894,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:02:58] local.INFO: Acknowledgment sent {"connection_id":164894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:03:18] local.INFO: TCP Data received {"connection_id":164895,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:03:18] local.INFO: Processing buffer {"connection_id":164895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:03:18] local.INFO: IMEI packet received {"connection_id":164895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 10:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":164895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:03:18] local.INFO: TCP Data received {"connection_id":162293,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c571c68012d18fc000720d3880034007f24..."} 
[2026-08-26 10:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c571c68012d18fc000720d3880034007f24..."} 
[2026-08-26 10:03:18] local.INFO: Processing buffer {"connection_id":162293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c571c68012d18fc000720d3880034007f24..."} 
[2026-08-26 10:03:18] local.INFO: Packet analysis {"connection_id":162293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c57"} 
[2026-08-26 10:03:18] local.INFO: Extracted packet for processing {"connection_id":162293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c57"} 
[2026-08-26 10:03:18] local.INFO: GPS Element Parsed {"raw_longitude":756612096,"raw_latitude":119591816,"longitude_deg":75.6612096,"latitude_deg":11.9591816,"altitude":52,"angle":127,"satellites":36,"speed":27,"hex_longitude":"2d18fc00","hex_latitude":"0720d388","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655995904001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15810539120754688,"note":"Value kept but may cause issues"} 
[2026-08-26 10:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798414025564430336,"note":"Value kept but may cause issues"} 
[2026-08-26 10:03: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-26 10:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787718737000,"timestamp_ms":1787718737000,"timestamp_seconds":1787718737,"priority":1,"record_length":96,"hex_timestamp":"000001a03c571c68"} 
[2026-08-26 10: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-26 10:03: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-26 10:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-26 10:03: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-26 10: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-26 10: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-26 10:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:03: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-26 10:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655995904001,"66":14428,"103":206,"83":41984,"24":27,"16":15810539120754688,"45":1798414025564430336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-26 10:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655995904001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:03:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-26 10:03:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15810539120754688,"km_value":15810539120754.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798414025564430336,"description":"Unknown IO ID 45"} 
[2026-08-26 10:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655995904001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1798414025564430336}} 
[2026-08-26 10:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":162293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:03:18] local.INFO: GPS data processed {"connection_id":162293,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:03:18] local.INFO: Acknowledgment sent {"connection_id":162293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:03:40] local.INFO: TCP Data received {"connection_id":163547,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:03:40] local.INFO: Processing buffer {"connection_id":163547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:03:40] local.INFO: IMEI packet received {"connection_id":163547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 10:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":163547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:03:41] local.INFO: TCP Data received {"connection_id":163547,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:03:41] local.INFO: Processing buffer {"connection_id":163547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:03:41] local.INFO: IMEI packet received {"connection_id":163547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":163547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:03:42] local.INFO: TCP Data received {"connection_id":163547,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:03:42] local.INFO: Processing buffer {"connection_id":163547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:03:42] local.INFO: IMEI packet received {"connection_id":163547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":163547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:03:44] local.INFO: TCP Data received {"connection_id":163547,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:03:44] local.INFO: Processing buffer {"connection_id":163547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:03:44] local.INFO: IMEI packet received {"connection_id":163547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":163547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:03:53] local.INFO: TCP Data received {"connection_id":164896,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:03:53] local.INFO: Processing buffer {"connection_id":164896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:03:53] local.INFO: IMEI packet received {"connection_id":164896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":164896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:05:14] local.INFO: TCP Data received {"connection_id":164896,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:05:14] local.INFO: Processing buffer {"connection_id":164896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:05:14] local.INFO: IMEI packet received {"connection_id":164896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":164896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:05:15] local.INFO: TCP Data received {"connection_id":164896,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c572c08012d34c14006aa4818000400e62a..."} 
[2026-08-26 10:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c572c08012d34c14006aa4818000400e62a..."} 
[2026-08-26 10:05:15] local.INFO: Processing buffer {"connection_id":164896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c572c08012d34c14006aa4818000400e62a..."} 
[2026-08-26 10:05:15] local.INFO: Packet analysis {"connection_id":164896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c57"} 
[2026-08-26 10:05:15] local.INFO: Extracted packet for processing {"connection_id":164896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c57"} 
[2026-08-26 10:05:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655920640001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787718741000,"timestamp_ms":1787718741000,"timestamp_seconds":1787718741,"priority":1,"record_length":96,"hex_timestamp":"000001a03c572c08"} 
[2026-08-26 10:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:05: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-26 10:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 10:05: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-26 10:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655920640001,"66":25288,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 10:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655920640001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:05:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 10:05:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655920640001,"power":25288,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":164896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:05:15] local.INFO: GPS data processed {"connection_id":164896,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:05:15] local.INFO: Acknowledgment sent {"connection_id":164896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:05:42] local.INFO: TCP Data received {"connection_id":163548,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:05:42] local.INFO: Processing buffer {"connection_id":163548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:05:42] local.INFO: IMEI packet received {"connection_id":163548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":163548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:05:51] local.INFO: TCP Data received {"connection_id":163548,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:05:51] local.INFO: Processing buffer {"connection_id":163548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:05:51] local.INFO: IMEI packet received {"connection_id":163548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":163548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:05:54] local.INFO: TCP Data received {"connection_id":163548,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03c572c08012d34c14006aa4818000400e62a..."} 
[2026-08-26 10:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c572c08012d34c14006aa4818000400e62a..."} 
[2026-08-26 10:05:54] local.INFO: Processing buffer {"connection_id":163548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c572c08012d34c14006aa4818000400e62a..."} 
[2026-08-26 10:05:54] local.INFO: Packet analysis {"connection_id":163548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c57"} 
[2026-08-26 10:05:54] local.INFO: Extracted packet for processing {"connection_id":163548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c57"} 
[2026-08-26 10:05:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655920640001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787718741000,"timestamp_ms":1787718741000,"timestamp_seconds":1787718741,"priority":1,"record_length":96,"hex_timestamp":"000001a03c572c08"} 
[2026-08-26 10:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 10:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 10:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655920640001,"66":25288,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 10:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655920640001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:05:54] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 10:05:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655920640001,"power":25288,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":163548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:05:54] local.INFO: GPS data processed {"connection_id":163548,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:05:54] local.INFO: Acknowledgment sent {"connection_id":163548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:06:37] local.INFO: TCP Data received {"connection_id":162294,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:06:37] local.INFO: Processing buffer {"connection_id":162294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:06:37] local.INFO: IMEI packet received {"connection_id":162294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":162294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:06:42] local.INFO: TCP Data received {"connection_id":162294,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:06:42] local.INFO: Processing buffer {"connection_id":162294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:06:42] local.INFO: IMEI packet received {"connection_id":162294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":162294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:06:44] local.INFO: TCP Data received {"connection_id":162294,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c572c08012d34c14006aa4818000400e62a..."} 
[2026-08-26 10:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c572c08012d34c14006aa4818000400e62a..."} 
[2026-08-26 10:06:44] local.INFO: Processing buffer {"connection_id":162294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c572c08012d34c14006aa4818000400e62a..."} 
[2026-08-26 10:06:44] local.INFO: Packet analysis {"connection_id":162294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c57"} 
[2026-08-26 10:06:44] local.INFO: Extracted packet for processing {"connection_id":162294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c57"} 
[2026-08-26 10:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655920640001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787718741000,"timestamp_ms":1787718741000,"timestamp_seconds":1787718741,"priority":1,"record_length":96,"hex_timestamp":"000001a03c572c08"} 
[2026-08-26 10:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:06: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-26 10:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 10:06: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-26 10:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655920640001,"66":25288,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 10:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655920640001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:06:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 10:06:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655920640001,"power":25288,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":162294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:06:44] local.INFO: GPS data processed {"connection_id":162294,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:06:44] local.INFO: Acknowledgment sent {"connection_id":162294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:07:15] local.INFO: TCP Data received {"connection_id":162294,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c572c08012d34c14006aa4818000400e62a..."} 
[2026-08-26 10:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c572c08012d34c14006aa4818000400e62a..."} 
[2026-08-26 10:07:15] local.INFO: Processing buffer {"connection_id":162294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c572c08012d34c14006aa4818000400e62a..."} 
[2026-08-26 10:07:15] local.INFO: Packet analysis {"connection_id":162294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c57"} 
[2026-08-26 10:07:15] local.INFO: Extracted packet for processing {"connection_id":162294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c57"} 
[2026-08-26 10:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655920640001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787718741000,"timestamp_ms":1787718741000,"timestamp_seconds":1787718741,"priority":1,"record_length":96,"hex_timestamp":"000001a03c572c08"} 
[2026-08-26 10:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:07: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-26 10:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 10:07: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-26 10:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655920640001,"66":25288,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 10:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655920640001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:07:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 10:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655920640001,"power":25288,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":162294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:07:15] local.INFO: GPS data processed {"connection_id":162294,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:07:15] local.INFO: Acknowledgment sent {"connection_id":162294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:07:37] local.INFO: TCP Data received {"connection_id":162531,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:07:37] local.INFO: Processing buffer {"connection_id":162531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:07:37] local.INFO: IMEI packet received {"connection_id":162531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":162531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:07:49] local.INFO: TCP Data received {"connection_id":162531,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:07:49] local.INFO: Processing buffer {"connection_id":162531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:07:49] local.INFO: IMEI packet received {"connection_id":162531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":162531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:07:50] local.INFO: TCP Data received {"connection_id":162531,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c572c08012d34c14006aa4818000400e62a..."} 
[2026-08-26 10:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c572c08012d34c14006aa4818000400e62a..."} 
[2026-08-26 10:07:50] local.INFO: Processing buffer {"connection_id":162531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c572c08012d34c14006aa4818000400e62a..."} 
[2026-08-26 10:07:50] local.INFO: Packet analysis {"connection_id":162531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c57"} 
[2026-08-26 10:07:50] local.INFO: Extracted packet for processing {"connection_id":162531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c57"} 
[2026-08-26 10:07:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655920640001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787718741000,"timestamp_ms":1787718741000,"timestamp_seconds":1787718741,"priority":1,"record_length":96,"hex_timestamp":"000001a03c572c08"} 
[2026-08-26 10: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-26 10:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 10:07:50] 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-26 10: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-26 10: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-26 10:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655920640001,"66":25288,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 10:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655920640001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:07:50] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 10:07:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655920640001,"power":25288,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":162531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:07:50] local.INFO: GPS data processed {"connection_id":162531,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:07:50] local.INFO: Acknowledgment sent {"connection_id":162531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:08:25] local.INFO: TCP Data received {"connection_id":162531,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5bc3d0012d34c14006aa4818000600e62a..."} 
[2026-08-26 10:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5bc3d0012d34c14006aa4818000600e62a..."} 
[2026-08-26 10:08:25] local.INFO: Processing buffer {"connection_id":162531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5bc3d0012d34c14006aa4818000600e62a..."} 
[2026-08-26 10:08:25] local.INFO: Packet analysis {"connection_id":162531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c5b"} 
[2026-08-26 10:08:25] local.INFO: Extracted packet for processing {"connection_id":162531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c5b"} 
[2026-08-26 10:08:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655997696001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:08:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787719042000,"timestamp_ms":1787719042000,"timestamp_seconds":1787719042,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5bc3d0"} 
[2026-08-26 10: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-26 10:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-26 10:08:25] 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-26 10: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-26 10: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-26 10:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":162531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":162531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":162531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:08:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655997696001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 10:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655997696001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:08:25] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 10:08:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:08:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655997696001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":162531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:08:25] local.INFO: GPS data processed {"connection_id":162531,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:08:25] local.INFO: Acknowledgment sent {"connection_id":162531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:08:38] local.INFO: TCP Data received {"connection_id":162534,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:08:38] local.INFO: Processing buffer {"connection_id":162534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:08:38] local.INFO: IMEI packet received {"connection_id":162534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":162534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:08:45] local.INFO: TCP Data received {"connection_id":162534,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:08:45] local.INFO: Processing buffer {"connection_id":162534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:08:45] local.INFO: IMEI packet received {"connection_id":162534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":162534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:08:45] local.INFO: TCP Data received {"connection_id":162535,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:08:45] local.INFO: Processing buffer {"connection_id":162535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:08:45] local.INFO: IMEI packet received {"connection_id":162535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 10:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":162535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:08:46] local.INFO: TCP Data received {"connection_id":162535,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5bd370012d1a050007203c08003b00e924..."} 
[2026-08-26 10:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5bd370012d1a050007203c08003b00e924..."} 
[2026-08-26 10:08:46] local.INFO: Processing buffer {"connection_id":162535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5bd370012d1a050007203c08003b00e924..."} 
[2026-08-26 10:08:46] local.INFO: Packet analysis {"connection_id":162535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c5b"} 
[2026-08-26 10:08:46] local.INFO: Extracted packet for processing {"connection_id":162535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c5b"} 
[2026-08-26 10:08:46] local.INFO: GPS Element Parsed {"raw_longitude":756679936,"raw_latitude":119553032,"longitude_deg":75.6679936,"latitude_deg":11.9553032,"altitude":59,"angle":233,"satellites":36,"speed":31,"hex_longitude":"2d1a0500","hex_latitude":"07203c08","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656075264001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15817999478947840,"note":"Value kept but may cause issues"} 
[2026-08-26 10:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876382594103207936,"note":"Value kept but may cause issues"} 
[2026-08-26 10:08: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-26 10:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787719046000,"timestamp_ms":1787719046000,"timestamp_seconds":1787719046,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5bd370"} 
[2026-08-26 10: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-26 10:08: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-26 10: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-26 10:08:46] 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-26 10: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-26 10: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-26 10:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656075264001,"66":14070,"101":206,"83":41984,"24":31,"16":15817999478947840,"45":1876382594103207936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-26 10:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656075264001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:08:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-26 10:08:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15817999478947840,"km_value":15817999478947.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876382594103207936,"description":"Unknown IO ID 45"} 
[2026-08-26 10:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656075264001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1876382594103207936}} 
[2026-08-26 10:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":162535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:08:46] local.INFO: GPS data processed {"connection_id":162535,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:08:46] local.INFO: Acknowledgment sent {"connection_id":162535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:08:53] local.INFO: TCP Data received {"connection_id":162533,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:08:53] local.INFO: Processing buffer {"connection_id":162533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:08:53] local.INFO: IMEI packet received {"connection_id":162533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 10:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":162533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:08:56] local.INFO: TCP Data received {"connection_id":162534,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5bc3d0012d34c14006aa4818000600e62a..."} 
[2026-08-26 10:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5bc3d0012d34c14006aa4818000600e62a..."} 
[2026-08-26 10:08:56] local.INFO: Processing buffer {"connection_id":162534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5bc3d0012d34c14006aa4818000600e62a..."} 
[2026-08-26 10:08:56] local.INFO: Packet analysis {"connection_id":162534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c5b"} 
[2026-08-26 10:08:56] local.INFO: Extracted packet for processing {"connection_id":162534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c5b"} 
[2026-08-26 10:08:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655997696001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787719042000,"timestamp_ms":1787719042000,"timestamp_seconds":1787719042,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5bc3d0"} 
[2026-08-26 10:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-26 10:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 10:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655997696001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 10:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655997696001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:08:56] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 10:08:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655997696001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":162534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:08:56] local.INFO: GPS data processed {"connection_id":162534,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:08:56] local.INFO: Acknowledgment sent {"connection_id":162534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:09:17] local.INFO: TCP Data received {"connection_id":162535,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5bf2b0012d19ecc007202bb0003400f723..."} 
[2026-08-26 10:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5bf2b0012d19ecc007202bb0003400f723..."} 
[2026-08-26 10:09:17] local.INFO: Processing buffer {"connection_id":162535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5bf2b0012d19ecc007202bb0003400f723..."} 
[2026-08-26 10:09:17] local.INFO: Packet analysis {"connection_id":162535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c5b"} 
[2026-08-26 10:09:17] local.INFO: Extracted packet for processing {"connection_id":162535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c5b"} 
[2026-08-26 10:09:17] local.INFO: GPS Element Parsed {"raw_longitude":756673728,"raw_latitude":119548848,"longitude_deg":75.6673728,"latitude_deg":11.9548848,"altitude":52,"angle":247,"satellites":35,"speed":29,"hex_longitude":"2d19ecc0","hex_latitude":"07202bb0","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656075776001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15818360256200704,"note":"Value kept but may cause issues"} 
[2026-08-26 10:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1874904850475255808,"note":"Value kept but may cause issues"} 
[2026-08-26 10:09: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-26 10:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787719054000,"timestamp_ms":1787719054000,"timestamp_seconds":1787719054,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5bf2b0"} 
[2026-08-26 10: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-26 10:09: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-26 10: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-26 10:09: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-26 10: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-26 10: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-26 10:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656075776001,"66":14113,"101":206,"83":41984,"24":29,"16":15818360256200704,"45":1874904850475255808},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-26 10:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656075776001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:09:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-26 10:09:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15818360256200704,"km_value":15818360256200.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1874904850475255808,"description":"Unknown IO ID 45"} 
[2026-08-26 10:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656075776001,"power":14113,"unknown_101":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1874904850475255808}} 
[2026-08-26 10:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":162535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:09:17] local.INFO: GPS data processed {"connection_id":162535,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:09:17] local.INFO: Acknowledgment sent {"connection_id":162535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:09:45] local.INFO: TCP Data received {"connection_id":163550,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:09:45] local.INFO: Processing buffer {"connection_id":163550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:09:45] local.INFO: IMEI packet received {"connection_id":163550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 10:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":163550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:09:47] local.INFO: TCP Data received {"connection_id":163551,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:09:47] local.INFO: Processing buffer {"connection_id":163551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:09:47] local.INFO: IMEI packet received {"connection_id":163551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":163551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:09:48] local.INFO: TCP Data received {"connection_id":163550,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:09:48] local.INFO: Processing buffer {"connection_id":163550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:09:48] local.INFO: IMEI packet received {"connection_id":163550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":163550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:09:49] local.INFO: TCP Data received {"connection_id":163550,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5c0638012d19e380072028500032010324..."} 
[2026-08-26 10:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5c0638012d19e380072028500032010324..."} 
[2026-08-26 10:09:49] local.INFO: Processing buffer {"connection_id":163550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5c0638012d19e380072028500032010324..."} 
[2026-08-26 10:09:49] local.INFO: Packet analysis {"connection_id":163550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c5c"} 
[2026-08-26 10:09:49] local.INFO: Extracted packet for processing {"connection_id":163550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c5c"} 
[2026-08-26 10:09:49] local.INFO: GPS Element Parsed {"raw_longitude":756671360,"raw_latitude":119547984,"longitude_deg":75.667136,"latitude_deg":11.9547984,"altitude":50,"angle":259,"satellites":36,"speed":22,"hex_longitude":"2d19e380","hex_latitude":"07202850","is_valid_coordinates":true} 
[2026-08-26 10:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656077824001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15818480515284992,"note":"Value kept but may cause issues"} 
[2026-08-26 10:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868079082288951296,"note":"Value kept but may cause issues"} 
[2026-08-26 10:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787719059000,"timestamp_ms":1787719059000,"timestamp_seconds":1787719059,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5c0638"} 
[2026-08-26 10:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 10:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-26 10:09:49] 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-26 10:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656077824001,"66":14515,"101":206,"83":41984,"24":22,"16":15818480515284992,"45":1868079082288951296},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-26 10:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656077824001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:09:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-26 10:09:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15818480515284992,"km_value":15818480515284.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868079082288951296,"description":"Unknown IO ID 45"} 
[2026-08-26 10:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656077824001,"power":14515,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1868079082288951296}} 
[2026-08-26 10:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":163550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:09:49] local.INFO: GPS data processed {"connection_id":163550,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:09:49] local.INFO: Acknowledgment sent {"connection_id":163550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:09:51] local.INFO: TCP Data received {"connection_id":163550,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5c2190012d19d2c007202550003000f124..."} 
[2026-08-26 10:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5c2190012d19d2c007202550003000f124..."} 
[2026-08-26 10:09:51] local.INFO: Processing buffer {"connection_id":163550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5c2190012d19d2c007202550003000f124..."} 
[2026-08-26 10:09:51] local.INFO: Packet analysis {"connection_id":163550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c5c"} 
[2026-08-26 10:09:51] local.INFO: Extracted packet for processing {"connection_id":163550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c5c"} 
[2026-08-26 10:09:51] local.INFO: GPS Element Parsed {"raw_longitude":756667072,"raw_latitude":119547216,"longitude_deg":75.6667072,"latitude_deg":11.9547216,"altitude":48,"angle":241,"satellites":36,"speed":18,"hex_longitude":"2d19d2c0","hex_latitude":"07202550","is_valid_coordinates":true} 
[2026-08-26 10:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656079104001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15818686673715200,"note":"Value kept but may cause issues"} 
[2026-08-26 10:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865475438754156544,"note":"Value kept but may cause issues"} 
[2026-08-26 10:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787719066000,"timestamp_ms":1787719066000,"timestamp_seconds":1787719066,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5c2190"} 
[2026-08-26 10:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:09:51] 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-26 10:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-26 10:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 10:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:09:51] 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-26 10:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656079104001,"66":13374,"101":206,"83":41984,"24":18,"16":15818686673715200,"45":1865475438754156544},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-26 10:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656079104001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:09:51] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-26 10:09:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15818686673715200,"km_value":15818686673715.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865475438754156544,"description":"Unknown IO ID 45"} 
[2026-08-26 10:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656079104001,"power":13374,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1865475438754156544}} 
[2026-08-26 10:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":163550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:09:51] local.INFO: GPS data processed {"connection_id":163550,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:09:51] local.INFO: Acknowledgment sent {"connection_id":163550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:09:54] local.INFO: TCP Data received {"connection_id":163551,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:09:54] local.INFO: Processing buffer {"connection_id":163551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:09:54] local.INFO: IMEI packet received {"connection_id":163551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":163551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:09:56] local.INFO: TCP Data received {"connection_id":163551,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5bc3d0012d34c14006aa4818000600e62a..."} 
[2026-08-26 10:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5bc3d0012d34c14006aa4818000600e62a..."} 
[2026-08-26 10:09:56] local.INFO: Processing buffer {"connection_id":163551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5bc3d0012d34c14006aa4818000600e62a..."} 
[2026-08-26 10:09:56] local.INFO: Packet analysis {"connection_id":163551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c5b"} 
[2026-08-26 10:09:56] local.INFO: Extracted packet for processing {"connection_id":163551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c5b"} 
[2026-08-26 10:09:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655997696001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787719042000,"timestamp_ms":1787719042000,"timestamp_seconds":1787719042,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5bc3d0"} 
[2026-08-26 10:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-26 10:09:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 10:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655997696001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 10:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655997696001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:09:56] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 10:09:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655997696001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":163551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:09:56] local.INFO: GPS data processed {"connection_id":163551,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:09:56] local.INFO: Acknowledgment sent {"connection_id":163551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:10:23] local.INFO: TCP Data received {"connection_id":163550,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5c2578012d19d1c007202440003100e224..."} 
[2026-08-26 10:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5c2578012d19d1c007202440003100e224..."} 
[2026-08-26 10:10:23] local.INFO: Processing buffer {"connection_id":163550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5c2578012d19d1c007202440003100e224..."} 
[2026-08-26 10:10:23] local.INFO: Packet analysis {"connection_id":163550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c5c"} 
[2026-08-26 10:10:23] local.INFO: Extracted packet for processing {"connection_id":163550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c5c"} 
[2026-08-26 10:10:23] local.INFO: GPS Element Parsed {"raw_longitude":756666816,"raw_latitude":119546944,"longitude_deg":75.6666816,"latitude_deg":11.9546944,"altitude":49,"angle":226,"satellites":36,"speed":18,"hex_longitude":"2d19d1c0","hex_latitude":"07202440","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656080896001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15818708148551680,"note":"Value kept but may cause issues"} 
[2026-08-26 10:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860760732894056448,"note":"Value kept but may cause issues"} 
[2026-08-26 10:10: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-26 10:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787719067000,"timestamp_ms":1787719067000,"timestamp_seconds":1787719067,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5c2578"} 
[2026-08-26 10: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-26 10:10:23] 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-26 10: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-26 10:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 10:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10: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-26 10:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656080896001,"66":13374,"101":206,"83":41984,"24":18,"16":15818708148551680,"45":1860760732894056448},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-26 10:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656080896001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:10:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-26 10:10:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15818708148551680,"km_value":15818708148551.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860760732894056448,"description":"Unknown IO ID 45"} 
[2026-08-26 10:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656080896001,"power":13374,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1860760732894056448}} 
[2026-08-26 10:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":163550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:10:23] local.INFO: GPS data processed {"connection_id":163550,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:10:23] local.INFO: Acknowledgment sent {"connection_id":163550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:10:37] local.INFO: TCP Data received {"connection_id":162536,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:10:37] local.INFO: Processing buffer {"connection_id":162536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:10:37] local.INFO: IMEI packet received {"connection_id":162536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":162536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:10:41] local.INFO: TCP Data received {"connection_id":162537,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:10:41] local.INFO: Processing buffer {"connection_id":162537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:10:41] local.INFO: IMEI packet received {"connection_id":162537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 10:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":162537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:10:41] local.INFO: TCP Data received {"connection_id":162537,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:10:41] local.INFO: Processing buffer {"connection_id":162537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:10:41] local.INFO: IMEI packet received {"connection_id":162537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":162537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:10:45] local.INFO: TCP Data received {"connection_id":162537,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:10:45] local.INFO: Processing buffer {"connection_id":162537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:10:45] local.INFO: IMEI packet received {"connection_id":162537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":162537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:10:46] local.INFO: TCP Data received {"connection_id":162537,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5c3ce8012d19cc4007201e00002f00d324..."} 
[2026-08-26 10:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5c3ce8012d19cc4007201e00002f00d324..."} 
[2026-08-26 10:10:46] local.INFO: Processing buffer {"connection_id":162537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5c3ce8012d19cc4007201e00002f00d324..."} 
[2026-08-26 10:10:46] local.INFO: Packet analysis {"connection_id":162537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c5c"} 
[2026-08-26 10:10:46] local.INFO: Extracted packet for processing {"connection_id":162537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c5c"} 
[2026-08-26 10:10:46] local.INFO: GPS Element Parsed {"raw_longitude":756665408,"raw_latitude":119545344,"longitude_deg":75.6665408,"latitude_deg":11.9545344,"altitude":47,"angle":211,"satellites":36,"speed":7,"hex_longitude":"2d19cc40","hex_latitude":"07201e00","is_valid_coordinates":true} 
[2026-08-26 10:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656081152001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15818806932799488,"note":"Value kept but may cause issues"} 
[2026-08-26 10:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860479257917276160,"note":"Value kept but may cause issues"} 
[2026-08-26 10:10: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-26 10:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787719073000,"timestamp_ms":1787719073000,"timestamp_seconds":1787719073,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5c3ce8"} 
[2026-08-26 10:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:10: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-26 10:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-26 10:10:46] 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-26 10:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656081152001,"66":13352,"101":206,"83":41984,"24":7,"16":15818806932799488,"45":1860479257917276160},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-26 10:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656081152001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:10:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-26 10:10:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15818806932799488,"km_value":15818806932799.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860479257917276160,"description":"Unknown IO ID 45"} 
[2026-08-26 10:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656081152001,"power":13352,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1860479257917276160}} 
[2026-08-26 10:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":162537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:10:46] local.INFO: GPS data processed {"connection_id":162537,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:10:46] local.INFO: Acknowledgment sent {"connection_id":162537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:10:47] local.INFO: TCP Data received {"connection_id":162537,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5c40d0012d19cc0007201d40002f00bb24..."} 
[2026-08-26 10:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5c40d0012d19cc0007201d40002f00bb24..."} 
[2026-08-26 10:10:47] local.INFO: Processing buffer {"connection_id":162537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5c40d0012d19cc0007201d40002f00bb24..."} 
[2026-08-26 10:10:47] local.INFO: Packet analysis {"connection_id":162537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c5c"} 
[2026-08-26 10:10:47] local.INFO: Extracted packet for processing {"connection_id":162537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c5c"} 
[2026-08-26 10:10:47] local.INFO: GPS Element Parsed {"raw_longitude":756665344,"raw_latitude":119545152,"longitude_deg":75.6665344,"latitude_deg":11.9545152,"altitude":47,"angle":187,"satellites":36,"speed":7,"hex_longitude":"2d19cc00","hex_latitude":"07201d40","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656082688001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15818819817701376,"note":"Value kept but may cause issues"} 
[2026-08-26 10:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858931145544957952,"note":"Value kept but may cause issues"} 
[2026-08-26 10:10: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-26 10:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787719074000,"timestamp_ms":1787719074000,"timestamp_seconds":1787719074,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5c40d0"} 
[2026-08-26 10: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-26 10:10:47] 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-26 10:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-26 10:10:47] 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-26 10: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-26 10: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-26 10:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:10: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-26 10:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656082688001,"66":13243,"101":206,"83":41984,"24":7,"16":15818819817701376,"45":1858931145544957952},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-26 10:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656082688001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:10:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-26 10:10:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15818819817701376,"km_value":15818819817701.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858931145544957952,"description":"Unknown IO ID 45"} 
[2026-08-26 10:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656082688001,"power":13243,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1858931145544957952}} 
[2026-08-26 10:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":162537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:10:47] local.INFO: GPS data processed {"connection_id":162537,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:10:47] local.INFO: Acknowledgment sent {"connection_id":162537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:10:49] local.INFO: TCP Data received {"connection_id":162536,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:10:49] local.INFO: Processing buffer {"connection_id":162536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:10:49] local.INFO: IMEI packet received {"connection_id":162536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":162536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:10:50] local.INFO: TCP Data received {"connection_id":162536,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5bc3d0012d34c14006aa4818000600e62a..."} 
[2026-08-26 10:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5bc3d0012d34c14006aa4818000600e62a..."} 
[2026-08-26 10:10:50] local.INFO: Processing buffer {"connection_id":162536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5bc3d0012d34c14006aa4818000600e62a..."} 
[2026-08-26 10:10:50] local.INFO: Packet analysis {"connection_id":162536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c5b"} 
[2026-08-26 10:10:50] local.INFO: Extracted packet for processing {"connection_id":162536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c5b"} 
[2026-08-26 10:10:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655997696001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787719042000,"timestamp_ms":1787719042000,"timestamp_seconds":1787719042,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5bc3d0"} 
[2026-08-26 10: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-26 10:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-26 10:10:50] 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-26 10:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10: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-26 10:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655997696001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 10:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655997696001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:10:50] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 10:10:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655997696001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":162536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:10:50] local.INFO: GPS data processed {"connection_id":162536,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:10:50] local.INFO: Acknowledgment sent {"connection_id":162536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:10:51] local.INFO: TCP Data received {"connection_id":162536,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5bc3d0012d34c14006aa4818000600e62a..."} 
[2026-08-26 10:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5bc3d0012d34c14006aa4818000600e62a..."} 
[2026-08-26 10:10:51] local.INFO: Processing buffer {"connection_id":162536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5bc3d0012d34c14006aa4818000600e62a..."} 
[2026-08-26 10:10:51] local.INFO: Packet analysis {"connection_id":162536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c5b"} 
[2026-08-26 10:10:51] local.INFO: Extracted packet for processing {"connection_id":162536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c5b"} 
[2026-08-26 10:10:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655997696001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787719042000,"timestamp_ms":1787719042000,"timestamp_seconds":1787719042,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5bc3d0"} 
[2026-08-26 10:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-26 10:10:51] 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-26 10:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655997696001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 10:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655997696001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:10:51] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 10:10:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655997696001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":162536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:10:51] local.INFO: GPS data processed {"connection_id":162536,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:10:51] local.INFO: Acknowledgment sent {"connection_id":162536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:11:18] local.INFO: TCP Data received {"connection_id":162537,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5ec940012d19ca00071ff3a8003100ee25..."} 
[2026-08-26 10:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5ec940012d19ca00071ff3a8003100ee25..."} 
[2026-08-26 10:11:18] local.INFO: Processing buffer {"connection_id":162537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5ec940012d19ca00071ff3a8003100ee25..."} 
[2026-08-26 10:11:18] local.INFO: Packet analysis {"connection_id":162537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c5e"} 
[2026-08-26 10:11:18] local.INFO: Extracted packet for processing {"connection_id":162537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c5e"} 
[2026-08-26 10:11:18] local.INFO: GPS Element Parsed {"raw_longitude":756664832,"raw_latitude":119534504,"longitude_deg":75.6664832,"latitude_deg":11.9534504,"altitude":49,"angle":238,"satellites":37,"speed":15,"hex_longitude":"2d19ca00","hex_latitude":"071ff3a8","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656125184001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15819545667174400,"note":"Value kept but may cause issues"} 
[2026-08-26 10:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858579301821356032,"note":"Value kept but may cause issues"} 
[2026-08-26 10:11: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-26 10:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787719240000,"timestamp_ms":1787719240000,"timestamp_seconds":1787719240,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5ec940"} 
[2026-08-26 10: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-26 10:11:18] 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-26 10: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-26 10:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6983278207,"note":"Value kept but may cause issues"} 
[2026-08-26 10:11:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-26 10:11:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-26 10:11:18] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-08-26 10:11:18] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503841008582656,"note":"Value kept but may cause issues"} 
[2026-08-26 10:11:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-26 10:11:18] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-08-26 10:11:18] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84752412485033995,"note":"Value kept but may cause issues"} 
[2026-08-26 10:11:18] local.WARNING: Large IO value detected {"io_id":176,"raw_value":14074488173890304,"note":"Value kept but may cause issues"} 
[2026-08-26 10:11:18] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,101,83,24,241,157,16,51,160,185,45,64,248,37,10,66,181,192,249,166,1,240,154,227,60,32,4,113,205,20,134,222,56,239,2,7,50,13,206,8,176],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-26 10:11:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3531065258842849280,"timestamp_seconds":3531065258842849.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 10: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-26 10:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:11: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-26 10:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656125184001,"66":13678,"101":206,"83":41984,"24":15,"16":15819545667174400,"45":1858579301821356032},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-26 10:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656125184001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:11:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-26 10:11:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15819545667174400,"km_value":15819545667174.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858579301821356032,"description":"Unknown IO ID 45"} 
[2026-08-26 10:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656125184001,"power":13678,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1858579301821356032}} 
[2026-08-26 10:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":162537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:11:18] local.INFO: GPS data processed {"connection_id":162537,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:11:18] local.INFO: Acknowledgment sent {"connection_id":162537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:11:38] local.INFO: TCP Data received {"connection_id":164897,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:11:38] local.INFO: Processing buffer {"connection_id":164897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:11:38] local.INFO: IMEI packet received {"connection_id":164897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 10:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":164897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:11:41] local.INFO: TCP Data received {"connection_id":164897,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:11:41] local.INFO: Processing buffer {"connection_id":164897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:11:41] local.INFO: IMEI packet received {"connection_id":164897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":164897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:11:41] local.INFO: TCP Data received {"connection_id":164897,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:11:41] local.INFO: Processing buffer {"connection_id":164897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:11:41] local.INFO: IMEI packet received {"connection_id":164897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":164897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:11:42] local.INFO: TCP Data received {"connection_id":163552,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:11:42] local.INFO: Processing buffer {"connection_id":163552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:11:42] local.INFO: IMEI packet received {"connection_id":163552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":163552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:11:42] local.INFO: TCP Data received {"connection_id":164897,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:11:42] local.INFO: Processing buffer {"connection_id":164897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:11:42] local.INFO: IMEI packet received {"connection_id":164897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":164897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:11:44] local.INFO: TCP Data received {"connection_id":164897,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5ecd28012d19c8c0071ff300003100f925..."} 
[2026-08-26 10:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5ecd28012d19c8c0071ff300003100f925..."} 
[2026-08-26 10:11:44] local.INFO: Processing buffer {"connection_id":164897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5ecd28012d19c8c0071ff300003100f925..."} 
[2026-08-26 10:11:44] local.INFO: Packet analysis {"connection_id":164897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c5e"} 
[2026-08-26 10:11:44] local.INFO: Extracted packet for processing {"connection_id":164897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c5e"} 
[2026-08-26 10:11:44] local.INFO: GPS Element Parsed {"raw_longitude":756664512,"raw_latitude":119534336,"longitude_deg":75.6664512,"latitude_deg":11.9534336,"altitude":49,"angle":249,"satellites":37,"speed":16,"hex_longitude":"2d19c8c0","hex_latitude":"071ff300","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656125440001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15819562847043584,"note":"Value kept but may cause issues"} 
[2026-08-26 10:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858297826844583936,"note":"Value kept but may cause issues"} 
[2026-08-26 10:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787719241000,"timestamp_ms":1787719241000,"timestamp_seconds":1787719241,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5ecd28"} 
[2026-08-26 10: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-26 10:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 10:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-26 10:11:44] 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-26 10: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-26 10: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-26 10:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656125440001,"66":13678,"101":206,"83":41984,"24":16,"16":15819562847043584,"45":1858297826844583936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-26 10:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656125440001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:11:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-26 10:11:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15819562847043584,"km_value":15819562847043.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858297826844583936,"description":"Unknown IO ID 45"} 
[2026-08-26 10:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656125440001,"power":13678,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1858297826844583936}} 
[2026-08-26 10:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":164897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:11:44] local.INFO: GPS data processed {"connection_id":164897,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:11:44] local.INFO: Acknowledgment sent {"connection_id":164897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:11:47] local.INFO: TCP Data received {"connection_id":163552,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:11:47] local.INFO: Processing buffer {"connection_id":163552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:11:47] local.INFO: IMEI packet received {"connection_id":163552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":163552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:12:15] local.INFO: TCP Data received {"connection_id":164897,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5f88a8012d197a40071febe80037010426..."} 
[2026-08-26 10:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5f88a8012d197a40071febe80037010426..."} 
[2026-08-26 10:12:15] local.INFO: Processing buffer {"connection_id":164897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5f88a8012d197a40071febe80037010426..."} 
[2026-08-26 10:12:15] local.INFO: Packet analysis {"connection_id":164897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c5f"} 
[2026-08-26 10:12:15] local.INFO: Extracted packet for processing {"connection_id":164897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c5f"} 
[2026-08-26 10:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756644416,"raw_latitude":119532520,"longitude_deg":75.6644416,"latitude_deg":11.953252,"altitude":55,"angle":260,"satellites":38,"speed":19,"hex_longitude":"2d197a40","hex_latitude":"071febe8","is_valid_coordinates":true} 
[2026-08-26 10:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656137472001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820542099587072,"note":"Value kept but may cause issues"} 
[2026-08-26 10:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836976097358311424,"note":"Value kept but may cause issues"} 
[2026-08-26 10:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787719289000,"timestamp_ms":1787719289000,"timestamp_seconds":1787719289,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5f88a8"} 
[2026-08-26 10:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:12:15] 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-26 10:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-26 10:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-08-26 10:12:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-26 10:12:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-26 10:12:15] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4036493365,"note":"Value kept but may cause issues"} 
[2026-08-26 10:12:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-26 10:12:15] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-08-26 10:12:15] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,52,160,121,45,128,239,55,38,10,66,113,240,62,1,185,227,60,31,4,205,17,46,162,40,56,101,2,7,50,9],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-26 10:12:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963437215644844032,"timestamp_seconds":3963437215644844.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 10:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656137472001,"66":13298,"102":206,"83":41984,"24":19,"16":15820542099587072,"45":1836976097358311424},"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-26 10:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656137472001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:12:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:12:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820542099587072,"km_value":15820542099587.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836976097358311424,"description":"Unknown IO ID 45"} 
[2026-08-26 10:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656137472001,"power":13298,"unknown_102":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1836976097358311424}} 
[2026-08-26 10:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":164897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:12:15] local.INFO: GPS data processed {"connection_id":164897,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:12:15] local.INFO: Acknowledgment sent {"connection_id":164897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:12:32] local.INFO: TCP Data received {"connection_id":163552,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5bc3d0012d34c14006aa4818000600e62a..."} 
[2026-08-26 10:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5bc3d0012d34c14006aa4818000600e62a..."} 
[2026-08-26 10:12:32] local.INFO: Processing buffer {"connection_id":163552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5bc3d0012d34c14006aa4818000600e62a..."} 
[2026-08-26 10:12:32] local.INFO: Packet analysis {"connection_id":163552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c5b"} 
[2026-08-26 10:12:32] local.INFO: Extracted packet for processing {"connection_id":163552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c5b"} 
[2026-08-26 10:12:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655997696001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787719042000,"timestamp_ms":1787719042000,"timestamp_seconds":1787719042,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5bc3d0"} 
[2026-08-26 10:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-26 10:12:32] 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-26 10:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":163552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":163552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":163552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655997696001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 10:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655997696001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:12:32] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 10:12:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655997696001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":163552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:12:32] local.INFO: GPS data processed {"connection_id":163552,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:12:32] local.INFO: Acknowledgment sent {"connection_id":163552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:13:33] local.INFO: TCP Data received {"connection_id":163552,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5bc3d0012d34c14006aa4818000600e62a..."} 
[2026-08-26 10:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5bc3d0012d34c14006aa4818000600e62a..."} 
[2026-08-26 10:13:33] local.INFO: Processing buffer {"connection_id":163552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5bc3d0012d34c14006aa4818000600e62a..."} 
[2026-08-26 10:13:33] local.INFO: Packet analysis {"connection_id":163552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c5b"} 
[2026-08-26 10:13:33] local.INFO: Extracted packet for processing {"connection_id":163552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c5b"} 
[2026-08-26 10:13:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457655997696001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787719042000,"timestamp_ms":1787719042000,"timestamp_seconds":1787719042,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5bc3d0"} 
[2026-08-26 10:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-26 10:13:33] 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-26 10:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":163552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":163552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":163552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457655997696001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 10:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457655997696001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:13:33] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 10:13:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457655997696001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":163552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:13:33] local.INFO: GPS data processed {"connection_id":163552,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:13:33] local.ERROR: TCP Connection error {"connection_id":163552,"code":2,"message":"client closed"} 
[2026-08-26 10:13:33] local.INFO: Acknowledgment sent {"connection_id":163552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:14:01] local.INFO: TCP Data received {"connection_id":162295,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:14:01] local.INFO: Processing buffer {"connection_id":162295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:14:01] local.INFO: IMEI packet received {"connection_id":162295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":162295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:14:03] local.INFO: TCP Data received {"connection_id":162295,"ip":"42.109.136.2","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-26 10:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162295,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-26 10:14:03] local.INFO: Processing buffer {"connection_id":162295,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-26 10:14:03] local.INFO: IMEI packet received {"connection_id":162295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":162295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:14:28] local.INFO: TCP Data received {"connection_id":162538,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:14:28] local.INFO: Processing buffer {"connection_id":162538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:14:28] local.INFO: IMEI packet received {"connection_id":162538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 10:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":162538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:17:45] local.INFO: TCP Data received {"connection_id":162296,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:17:45] local.INFO: Processing buffer {"connection_id":162296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:17:45] local.INFO: IMEI packet received {"connection_id":162296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 10:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":162296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:17:51] local.INFO: TCP Data received {"connection_id":162296,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:17:51] local.INFO: Processing buffer {"connection_id":162296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:17:51] local.INFO: IMEI packet received {"connection_id":162296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":162296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:17:51] local.INFO: TCP Data received {"connection_id":162296,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5f9078012d197680071febd00037011226..."} 
[2026-08-26 10:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5f9078012d197680071febd00037011226..."} 
[2026-08-26 10:17:51] local.INFO: Processing buffer {"connection_id":162296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5f9078012d197680071febd00037011226..."} 
[2026-08-26 10:17:51] local.INFO: Packet analysis {"connection_id":162296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c5f"} 
[2026-08-26 10:17:51] local.INFO: Extracted packet for processing {"connection_id":162296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c5f"} 
[2026-08-26 10:17:51] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119532496,"longitude_deg":75.6643456,"latitude_deg":11.9532496,"altitude":55,"angle":274,"satellites":38,"speed":19,"hex_longitude":"2d197680","hex_latitude":"071febd0","is_valid_coordinates":true} 
[2026-08-26 10:17: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-26 10:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656137984001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820589344227328,"note":"Value kept but may cause issues"} 
[2026-08-26 10:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835850197451401216,"note":"Value kept but may cause issues"} 
[2026-08-26 10:17: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-26 10:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787719291000,"timestamp_ms":1787719291000,"timestamp_seconds":1787719291,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5f9078"} 
[2026-08-26 10:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:17:51] 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-26 10:17: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":242,"data_length":795,"current_offset":136} 
[2026-08-26 10:17:51] 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-26 10:17: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-26 10:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656137984001,"66":13135,"102":206,"83":41984,"24":19,"16":15820589344227328,"45":1835850197451401216},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-26 10:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656137984001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:17:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:17:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820589344227328,"km_value":15820589344227.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835850197451401216,"description":"Unknown IO ID 45"} 
[2026-08-26 10:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656137984001,"power":13135,"unknown_102":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1835850197451401216}} 
[2026-08-26 10:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":162296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:17:51] local.INFO: GPS data processed {"connection_id":162296,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:17:51] local.INFO: Acknowledgment sent {"connection_id":162296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:18:22] local.INFO: TCP Data received {"connection_id":162296,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5fb3a0012d196bc0071fed280038010425..."} 
[2026-08-26 10:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5fb3a0012d196bc0071fed280038010425..."} 
[2026-08-26 10:18:22] local.INFO: Processing buffer {"connection_id":162296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5fb3a0012d196bc0071fed280038010425..."} 
[2026-08-26 10:18:22] local.INFO: Packet analysis {"connection_id":162296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c5f"} 
[2026-08-26 10:18:22] local.INFO: Extracted packet for processing {"connection_id":162296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c5f"} 
[2026-08-26 10:18:22] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119532840,"longitude_deg":75.6640704,"latitude_deg":11.953284,"altitude":56,"angle":260,"satellites":37,"speed":10,"hex_longitude":"2d196bc0","hex_latitude":"071fed28","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656138496001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820722488213504,"note":"Value kept but may cause issues"} 
[2026-08-26 10:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666288730112,"note":"Value kept but may cause issues"} 
[2026-08-26 10:18: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-26 10:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787719300000,"timestamp_ms":1787719300000,"timestamp_seconds":1787719300,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5fb3a0"} 
[2026-08-26 10: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-26 10:18:22] 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-26 10: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-26 10:18:22] 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-26 10: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-26 10: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-26 10:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656138496001,"66":13080,"102":206,"83":41984,"24":10,"16":15820722488213504,"45":1834794666288730112},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-26 10:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656138496001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:18:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:18:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820722488213504,"km_value":15820722488213.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666288730112,"description":"Unknown IO ID 45"} 
[2026-08-26 10:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656138496001,"power":13080,"unknown_102":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1834794666288730112}} 
[2026-08-26 10:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":162296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:18:22] local.INFO: GPS data processed {"connection_id":162296,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:18:22] local.INFO: Acknowledgment sent {"connection_id":162296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:18:45] local.INFO: TCP Data received {"connection_id":164900,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:18:45] local.INFO: Processing buffer {"connection_id":164900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:18:45] local.INFO: IMEI packet received {"connection_id":164900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 10:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":164900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:18:50] local.INFO: TCP Data received {"connection_id":164900,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:18:50] local.INFO: Processing buffer {"connection_id":164900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:18:50] local.INFO: IMEI packet received {"connection_id":164900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":164900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:18:51] local.INFO: TCP Data received {"connection_id":164900,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5fbf58012d1968c0071fecf00038012125..."} 
[2026-08-26 10:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5fbf58012d1968c0071fecf00038012125..."} 
[2026-08-26 10:18:51] local.INFO: Processing buffer {"connection_id":164900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5fbf58012d1968c0071fecf00038012125..."} 
[2026-08-26 10:18:51] local.INFO: Packet analysis {"connection_id":164900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c5f"} 
[2026-08-26 10:18:51] local.INFO: Extracted packet for processing {"connection_id":164900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c5f"} 
[2026-08-26 10:18:51] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532784,"longitude_deg":75.6639936,"latitude_deg":11.9532784,"altitude":56,"angle":289,"satellites":37,"speed":8,"hex_longitude":"2d1968c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656140800001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820761142919168,"note":"Value kept but may cause issues"} 
[2026-08-26 10:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810289178624,"note":"Value kept but may cause issues"} 
[2026-08-26 10:18: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-26 10:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787719303000,"timestamp_ms":1787719303000,"timestamp_seconds":1787719303,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5fbf58"} 
[2026-08-26 10: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-26 10:18:51] 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-26 10: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-26 10:18:51] 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-26 10: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-26 10: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-26 10:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656140800001,"66":12993,"102":206,"83":41984,"24":8,"16":15820761142919168,"45":1831768810289178624},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-26 10:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656140800001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:18:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:18:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820761142919168,"km_value":15820761142919.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810289178624,"description":"Unknown IO ID 45"} 
[2026-08-26 10:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656140800001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1831768810289178624}} 
[2026-08-26 10:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":164900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:18:51] local.INFO: GPS data processed {"connection_id":164900,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:18:51] local.INFO: Acknowledgment sent {"connection_id":164900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:18:56] local.INFO: TCP Data received {"connection_id":164900,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5fc340012d196840071fed500039014625..."} 
[2026-08-26 10:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5fc340012d196840071fed500039014625..."} 
[2026-08-26 10:18:56] local.INFO: Processing buffer {"connection_id":164900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5fc340012d196840071fed500039014625..."} 
[2026-08-26 10:18:56] local.INFO: Packet analysis {"connection_id":164900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c5f"} 
[2026-08-26 10:18:56] local.INFO: Extracted packet for processing {"connection_id":164900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c5f"} 
[2026-08-26 10:18:56] local.INFO: GPS Element Parsed {"raw_longitude":756639808,"raw_latitude":119532880,"longitude_deg":75.6639808,"latitude_deg":11.953288,"altitude":57,"angle":326,"satellites":37,"speed":7,"hex_longitude":"2d196840","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656141568001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820769732853760,"note":"Value kept but may cause issues"} 
[2026-08-26 10:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359032320,"note":"Value kept but may cause issues"} 
[2026-08-26 10: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-26 10:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787719304000,"timestamp_ms":1787719304000,"timestamp_seconds":1787719304,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5fc340"} 
[2026-08-26 10: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-26 10:18:56] 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-26 10: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-26 10:18:56] 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-26 10: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-26 10: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-26 10:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656141568001,"66":12950,"102":206,"83":41984,"24":7,"16":15820769732853760,"45":1830924385359032320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-26 10:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656141568001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:18:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:18:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820769732853760,"km_value":15820769732853.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359032320,"description":"Unknown IO ID 45"} 
[2026-08-26 10:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656141568001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1830924385359032320}} 
[2026-08-26 10:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":164900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:18:56] local.INFO: GPS data processed {"connection_id":164900,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:18:56] local.INFO: Acknowledgment sent {"connection_id":164900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:19:28] local.INFO: TCP Data received {"connection_id":163553,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:19:28] local.INFO: Processing buffer {"connection_id":163553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:19:28] local.INFO: IMEI packet received {"connection_id":163553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":163553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:19:53] local.INFO: TCP Data received {"connection_id":163553,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:19:53] local.INFO: Processing buffer {"connection_id":163553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:19:53] local.INFO: IMEI packet received {"connection_id":163553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":163553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:19:55] local.INFO: TCP Data received {"connection_id":163553,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03c605b98012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c605b98012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:19:55] local.INFO: Processing buffer {"connection_id":163553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c605b98012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:19:55] local.INFO: Packet analysis {"connection_id":163553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c60"} 
[2026-08-26 10:19:55] local.INFO: Extracted packet for processing {"connection_id":163553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c60"} 
[2026-08-26 10:19:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656074752001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787719343000,"timestamp_ms":1787719343000,"timestamp_seconds":1787719343,"priority":1,"record_length":96,"hex_timestamp":"000001a03c605b98"} 
[2026-08-26 10:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:19: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-26 10:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 10:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656074752001,"66":25430,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 10:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656074752001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:19:55] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 10:19:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656074752001,"power":25430,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":163553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:19:55] local.INFO: GPS data processed {"connection_id":163553,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:19:55] local.INFO: Acknowledgment sent {"connection_id":163553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:19:56] local.INFO: TCP Data received {"connection_id":163553,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03c64f360012d34c14006aa4818000800e62a..."} 
[2026-08-26 10:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c64f360012d34c14006aa4818000800e62a..."} 
[2026-08-26 10:19:56] local.INFO: Processing buffer {"connection_id":163553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c64f360012d34c14006aa4818000800e62a..."} 
[2026-08-26 10:19:56] local.INFO: Packet analysis {"connection_id":163553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c64"} 
[2026-08-26 10:19:56] local.INFO: Extracted packet for processing {"connection_id":163553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c64"} 
[2026-08-26 10:19:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656151808001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787719644000,"timestamp_ms":1787719644000,"timestamp_seconds":1787719644,"priority":1,"record_length":96,"hex_timestamp":"000001a03c64f360"} 
[2026-08-26 10:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10:19:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 10:19:56] 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-26 10:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656151808001,"66":25451,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 10:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656151808001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:19:56] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 10:19:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656151808001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":163553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:19:56] local.INFO: GPS data processed {"connection_id":163553,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:19:56] local.INFO: Acknowledgment sent {"connection_id":163553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:20:03] local.INFO: TCP Data received {"connection_id":162540,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:20:03] local.INFO: Processing buffer {"connection_id":162540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:20:03] local.INFO: IMEI packet received {"connection_id":162540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 10:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":162540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:20:55] local.INFO: TCP Data received {"connection_id":162297,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:20:55] local.INFO: Processing buffer {"connection_id":162297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:20:55] local.INFO: IMEI packet received {"connection_id":162297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 10:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":162297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:21:00] local.INFO: TCP Data received {"connection_id":162297,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:21:00] local.INFO: Processing buffer {"connection_id":162297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:21:00] local.INFO: IMEI packet received {"connection_id":162297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":162297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:21:01] local.INFO: TCP Data received {"connection_id":162297,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5fd6c8012d196700071fef600039015425..."} 
[2026-08-26 10:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5fd6c8012d196700071fef600039015425..."} 
[2026-08-26 10:21:01] local.INFO: Processing buffer {"connection_id":162297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5fd6c8012d196700071fef600039015425..."} 
[2026-08-26 10:21:01] local.INFO: Packet analysis {"connection_id":162297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c5f"} 
[2026-08-26 10:21:01] local.INFO: Extracted packet for processing {"connection_id":162297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c5f"} 
[2026-08-26 10:21:01] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533408,"longitude_deg":75.6639488,"latitude_deg":11.9533408,"altitude":57,"angle":340,"satellites":37,"speed":5,"hex_longitude":"2d196700","hex_latitude":"071fef60","is_valid_coordinates":true} 
[2026-08-26 10:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656141824001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820799797624832,"note":"Value kept but may cause issues"} 
[2026-08-26 10:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870701568,"note":"Value kept but may cause issues"} 
[2026-08-26 10:21: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-26 10:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787719309000,"timestamp_ms":1787719309000,"timestamp_seconds":1787719309,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5fd6c8"} 
[2026-08-26 10:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:21: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-26 10:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-26 10:21:01] 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-26 10:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656141824001,"66":13102,"102":206,"83":41984,"24":5,"16":15820799797624832,"45":1830783647870701568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-26 10:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656141824001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:21:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:21:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820799797624832,"km_value":15820799797624.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870701568,"description":"Unknown IO ID 45"} 
[2026-08-26 10:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656141824001,"power":13102,"unknown_102":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1830783647870701568}} 
[2026-08-26 10:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":162297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:21:01] local.INFO: GPS data processed {"connection_id":162297,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:21:01] local.INFO: Acknowledgment sent {"connection_id":162297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:21:07] local.INFO: TCP Data received {"connection_id":164901,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:21:07] local.INFO: Processing buffer {"connection_id":164901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:21:07] local.INFO: IMEI packet received {"connection_id":164901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":164901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:21:12] local.INFO: TCP Data received {"connection_id":164901,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:21:12] local.INFO: Processing buffer {"connection_id":164901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:21:12] local.INFO: IMEI packet received {"connection_id":164901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":164901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:21:13] local.INFO: TCP Data received {"connection_id":164901,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03c64f360012d34c14006aa4818000800e62a..."} 
[2026-08-26 10:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c64f360012d34c14006aa4818000800e62a..."} 
[2026-08-26 10:21:13] local.INFO: Processing buffer {"connection_id":164901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c64f360012d34c14006aa4818000800e62a..."} 
[2026-08-26 10:21:13] local.INFO: Packet analysis {"connection_id":164901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c64"} 
[2026-08-26 10:21:13] local.INFO: Extracted packet for processing {"connection_id":164901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c64"} 
[2026-08-26 10:21:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656151808001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787719644000,"timestamp_ms":1787719644000,"timestamp_seconds":1787719644,"priority":1,"record_length":96,"hex_timestamp":"000001a03c64f360"} 
[2026-08-26 10: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-26 10:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 10:21: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-26 10: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-26 10: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-26 10:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656151808001,"66":25451,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 10:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656151808001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:21:13] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 10:21:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656151808001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":164901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:21:13] local.INFO: GPS data processed {"connection_id":164901,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:21:13] local.INFO: Acknowledgment sent {"connection_id":164901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:21:41] local.INFO: TCP Data received {"connection_id":164903,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:21:41] local.INFO: Processing buffer {"connection_id":164903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:21:41] local.INFO: IMEI packet received {"connection_id":164903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 10:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":164903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:21:43] local.INFO: TCP Data received {"connection_id":164902,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:21:43] local.INFO: Processing buffer {"connection_id":164902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:21:43] local.INFO: IMEI packet received {"connection_id":164902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":164902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:21:46] local.INFO: TCP Data received {"connection_id":164903,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:21:46] local.INFO: Processing buffer {"connection_id":164903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:21:46] local.INFO: IMEI packet received {"connection_id":164903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":164903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:21:46] local.INFO: TCP Data received {"connection_id":164903,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03c5fde98012d196680071ff070003a014025..."} 
[2026-08-26 10:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c5fde98012d196680071ff070003a014025..."} 
[2026-08-26 10:21:46] local.INFO: Processing buffer {"connection_id":164903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c5fde98012d196680071ff070003a014025..."} 
[2026-08-26 10:21:46] local.INFO: Packet analysis {"connection_id":164903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c5f"} 
[2026-08-26 10:21:46] local.INFO: Extracted packet for processing {"connection_id":164903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c5f"} 
[2026-08-26 10:21:46] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533680,"longitude_deg":75.663936,"latitude_deg":11.953368,"altitude":58,"angle":320,"satellites":37,"speed":5,"hex_longitude":"2d196680","hex_latitude":"071ff070","is_valid_coordinates":true} 
[2026-08-26 10:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656143104001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820812682526720,"note":"Value kept but may cause issues"} 
[2026-08-26 10:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149948416,"note":"Value kept but may cause issues"} 
[2026-08-26 10:21: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-26 10:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787719311000,"timestamp_ms":1787719311000,"timestamp_seconds":1787719311,"priority":1,"record_length":96,"hex_timestamp":"000001a03c5fde98"} 
[2026-08-26 10:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:21: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-26 10:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-26 10:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 10:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656143104001,"66":13048,"102":206,"83":41984,"24":5,"16":15820812682526720,"45":1830431804149948416},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-26 10:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656143104001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:21:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:21:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820812682526720,"km_value":15820812682526.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149948416,"description":"Unknown IO ID 45"} 
[2026-08-26 10:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656143104001,"power":13048,"unknown_102":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1830431804149948416}} 
[2026-08-26 10:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":164903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:21:46] local.INFO: GPS data processed {"connection_id":164903,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:21:46] local.INFO: Acknowledgment sent {"connection_id":164903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:21:47] local.INFO: TCP Data received {"connection_id":164902,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:21:47] local.INFO: Processing buffer {"connection_id":164902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:21:47] local.INFO: IMEI packet received {"connection_id":164902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":164902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:21:49] local.INFO: TCP Data received {"connection_id":164902,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03c64f360012d34c14006aa4818000800e62a..."} 
[2026-08-26 10:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c64f360012d34c14006aa4818000800e62a..."} 
[2026-08-26 10:21:49] local.INFO: Processing buffer {"connection_id":164902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c64f360012d34c14006aa4818000800e62a..."} 
[2026-08-26 10:21:49] local.INFO: Packet analysis {"connection_id":164902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c64"} 
[2026-08-26 10:21:49] local.INFO: Extracted packet for processing {"connection_id":164902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c64"} 
[2026-08-26 10:21:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656151808001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787719644000,"timestamp_ms":1787719644000,"timestamp_seconds":1787719644,"priority":1,"record_length":96,"hex_timestamp":"000001a03c64f360"} 
[2026-08-26 10: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-26 10:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 10:21:49] 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-26 10: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-26 10: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-26 10:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656151808001,"66":25451,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 10:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656151808001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:21:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 10:21:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656151808001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":164902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:21:49] local.INFO: GPS data processed {"connection_id":164902,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:21:49] local.INFO: Acknowledgment sent {"connection_id":164902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:21:53] local.INFO: TCP Data received {"connection_id":164902,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03c64f360012d34c14006aa4818000800e62a..."} 
[2026-08-26 10:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c64f360012d34c14006aa4818000800e62a..."} 
[2026-08-26 10:21:53] local.INFO: Processing buffer {"connection_id":164902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c64f360012d34c14006aa4818000800e62a..."} 
[2026-08-26 10:21:53] local.INFO: Packet analysis {"connection_id":164902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c64"} 
[2026-08-26 10:21:53] local.INFO: Extracted packet for processing {"connection_id":164902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c64"} 
[2026-08-26 10:21:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656151808001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787719644000,"timestamp_ms":1787719644000,"timestamp_seconds":1787719644,"priority":1,"record_length":96,"hex_timestamp":"000001a03c64f360"} 
[2026-08-26 10:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 10:21:53] 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-26 10:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656151808001,"66":25451,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 10:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656151808001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:21:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 10:21:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656151808001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":164902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:21:53] local.INFO: GPS data processed {"connection_id":164902,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:21:53] local.INFO: Acknowledgment sent {"connection_id":164902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:22:17] local.INFO: TCP Data received {"connection_id":164903,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03c600d78012d196480071ff0c8003a014025..."} 
[2026-08-26 10:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c600d78012d196480071ff0c8003a014025..."} 
[2026-08-26 10:22:17] local.INFO: Processing buffer {"connection_id":164903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c600d78012d196480071ff0c8003a014025..."} 
[2026-08-26 10:22:17] local.INFO: Packet analysis {"connection_id":164903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c60"} 
[2026-08-26 10:22:17] local.INFO: Extracted packet for processing {"connection_id":164903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c60"} 
[2026-08-26 10:22:17] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533768,"longitude_deg":75.6638848,"latitude_deg":11.9533768,"altitude":58,"angle":320,"satellites":37,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff0c8","is_valid_coordinates":true} 
[2026-08-26 10:22: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-26 10:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656143616001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820842747297792,"note":"Value kept but may cause issues"} 
[2026-08-26 10:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661662720,"note":"Value kept but may cause issues"} 
[2026-08-26 10:22: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-26 10:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787719323000,"timestamp_ms":1787719323000,"timestamp_seconds":1787719323,"priority":1,"record_length":96,"hex_timestamp":"000001a03c600d78"} 
[2026-08-26 10:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:22: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-26 10:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-26 10:22: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-26 10:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656143616001,"66":13091,"102":206,"83":41984,"24":0,"16":15820842747297792,"45":1830291066661662720},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-26 10:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656143616001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:22:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:22:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820842747297792,"km_value":15820842747297.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661662720,"description":"Unknown IO ID 45"} 
[2026-08-26 10:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656143616001,"power":13091,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830291066661662720}} 
[2026-08-26 10:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":164903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:22:17] local.INFO: GPS data processed {"connection_id":164903,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:22:17] local.INFO: Acknowledgment sent {"connection_id":164903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:22:37] local.INFO: TCP Data received {"connection_id":164904,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:22:37] local.INFO: Processing buffer {"connection_id":164904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:22:37] local.INFO: IMEI packet received {"connection_id":164904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":164904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:22:40] local.INFO: TCP Data received {"connection_id":162541,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:22:40] local.INFO: Processing buffer {"connection_id":162541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:22:40] local.INFO: IMEI packet received {"connection_id":162541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 10:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":162541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:22:42] local.INFO: TCP Data received {"connection_id":164904,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:22:42] local.INFO: Processing buffer {"connection_id":164904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:22:42] local.INFO: IMEI packet received {"connection_id":164904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":164904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:22:44] local.INFO: TCP Data received {"connection_id":164904,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c64f360012d34c14006aa4818000800e62a..."} 
[2026-08-26 10:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c64f360012d34c14006aa4818000800e62a..."} 
[2026-08-26 10:22:44] local.INFO: Processing buffer {"connection_id":164904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c64f360012d34c14006aa4818000800e62a..."} 
[2026-08-26 10:22:44] local.INFO: Packet analysis {"connection_id":164904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c64"} 
[2026-08-26 10:22:44] local.INFO: Extracted packet for processing {"connection_id":164904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c64"} 
[2026-08-26 10:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656151808001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787719644000,"timestamp_ms":1787719644000,"timestamp_seconds":1787719644,"priority":1,"record_length":96,"hex_timestamp":"000001a03c64f360"} 
[2026-08-26 10: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-26 10:22: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-26 10: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 10:22: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-26 10: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-26 10: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-26 10:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656151808001,"66":25451,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 10:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656151808001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:22:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 10:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656151808001,"power":25451,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":164904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:22:44] local.INFO: GPS data processed {"connection_id":164904,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:22:44] local.INFO: Acknowledgment sent {"connection_id":164904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:22:45] local.INFO: TCP Data received {"connection_id":162541,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:22:45] local.INFO: Processing buffer {"connection_id":162541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:22:45] local.INFO: IMEI packet received {"connection_id":162541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":162541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:22:46] local.INFO: TCP Data received {"connection_id":162541,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03c600d78012d196480071ff0c8003a014025..."} 
[2026-08-26 10:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c600d78012d196480071ff0c8003a014025..."} 
[2026-08-26 10:22:46] local.INFO: Processing buffer {"connection_id":162541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c600d78012d196480071ff0c8003a014025..."} 
[2026-08-26 10:22:46] local.INFO: Packet analysis {"connection_id":162541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c60"} 
[2026-08-26 10:22:46] local.INFO: Extracted packet for processing {"connection_id":162541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c60"} 
[2026-08-26 10:22:46] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533768,"longitude_deg":75.6638848,"latitude_deg":11.9533768,"altitude":58,"angle":320,"satellites":37,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff0c8","is_valid_coordinates":true} 
[2026-08-26 10:22:46] 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-26 10:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656146688001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820842747297792,"note":"Value kept but may cause issues"} 
[2026-08-26 10:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708263936,"note":"Value kept but may cause issues"} 
[2026-08-26 10:22: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-26 10:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787719323000,"timestamp_ms":1787719323000,"timestamp_seconds":1787719323,"priority":1,"record_length":96,"hex_timestamp":"000001a03c600d78"} 
[2026-08-26 10: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-26 10:22:46] 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-26 10: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-26 10:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 10: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-26 10: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-26 10:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656146688001,"66":13091,"102":206,"83":41984,"24":0,"16":15820842747297792,"45":1829728116708263936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-26 10:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656146688001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:22:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:22:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820842747297792,"km_value":15820842747297.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708263936,"description":"Unknown IO ID 45"} 
[2026-08-26 10:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656146688001,"power":13091,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708263936}} 
[2026-08-26 10:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":162541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:22:46] local.INFO: GPS data processed {"connection_id":162541,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:22:46] local.INFO: Acknowledgment sent {"connection_id":162541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:23:15] local.INFO: TCP Data received {"connection_id":164904,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:23:15] local.INFO: Processing buffer {"connection_id":164904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:23:15] local.INFO: Packet analysis {"connection_id":164904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c69"} 
[2026-08-26 10:23:15] local.INFO: Extracted packet for processing {"connection_id":164904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c69"} 
[2026-08-26 10:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656228864001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10: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-26 10:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787719945000,"timestamp_ms":1787719945000,"timestamp_seconds":1787719945,"priority":1,"record_length":96,"hex_timestamp":"000001a03c698b28"} 
[2026-08-26 10: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-26 10:23: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-26 10: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":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:23:15] 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-26 10: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-26 10: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-26 10:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656228864001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 10:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656228864001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656228864001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":164904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:23:15] local.INFO: GPS data processed {"connection_id":164904,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:23:15] local.INFO: Acknowledgment sent {"connection_id":164904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:23:17] local.INFO: TCP Data received {"connection_id":162541,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03c600d78012d196480071ff0c8003a014025..."} 
[2026-08-26 10:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c600d78012d196480071ff0c8003a014025..."} 
[2026-08-26 10:23:17] local.INFO: Processing buffer {"connection_id":162541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c600d78012d196480071ff0c8003a014025..."} 
[2026-08-26 10:23:17] local.INFO: Packet analysis {"connection_id":162541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c60"} 
[2026-08-26 10:23:17] local.INFO: Extracted packet for processing {"connection_id":162541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c60"} 
[2026-08-26 10:23:17] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533768,"longitude_deg":75.6638848,"latitude_deg":11.9533768,"altitude":58,"angle":320,"satellites":37,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff0c8","is_valid_coordinates":true} 
[2026-08-26 10:23:17] 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-26 10:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656146688001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820842747297792,"note":"Value kept but may cause issues"} 
[2026-08-26 10:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708263936,"note":"Value kept but may cause issues"} 
[2026-08-26 10:23: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-26 10:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787719323000,"timestamp_ms":1787719323000,"timestamp_seconds":1787719323,"priority":1,"record_length":96,"hex_timestamp":"000001a03c600d78"} 
[2026-08-26 10: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-26 10:23:17] 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-26 10: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-26 10:23: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-26 10: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-26 10: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-26 10:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656146688001,"66":13091,"102":206,"83":41984,"24":0,"16":15820842747297792,"45":1829728116708263936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-26 10:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656146688001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:23:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:23:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820842747297792,"km_value":15820842747297.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708263936,"description":"Unknown IO ID 45"} 
[2026-08-26 10:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656146688001,"power":13091,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708263936}} 
[2026-08-26 10:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":162541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:23:17] local.INFO: GPS data processed {"connection_id":162541,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:23:17] local.INFO: Acknowledgment sent {"connection_id":162541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:23:37] local.INFO: TCP Data received {"connection_id":162298,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:23:37] local.INFO: Processing buffer {"connection_id":162298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:23:37] local.INFO: IMEI packet received {"connection_id":162298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":162298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:23:42] local.INFO: TCP Data received {"connection_id":162298,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:23:42] local.INFO: Processing buffer {"connection_id":162298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:23:42] local.INFO: IMEI packet received {"connection_id":162298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":162298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:23:44] local.INFO: TCP Data received {"connection_id":162298,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:23:44] local.INFO: Processing buffer {"connection_id":162298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:23:44] local.INFO: Packet analysis {"connection_id":162298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c69"} 
[2026-08-26 10:23:44] local.INFO: Extracted packet for processing {"connection_id":162298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c69"} 
[2026-08-26 10:23:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656228864001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:23: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-26 10:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787719945000,"timestamp_ms":1787719945000,"timestamp_seconds":1787719945,"priority":1,"record_length":96,"hex_timestamp":"000001a03c698b28"} 
[2026-08-26 10:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:23: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-26 10:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:23:44] 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-26 10:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656228864001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 10:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656228864001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:23:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:23:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656228864001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":162298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:23:44] local.INFO: GPS data processed {"connection_id":162298,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:23:44] local.INFO: Acknowledgment sent {"connection_id":162298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:23:45] local.INFO: TCP Data received {"connection_id":162299,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:23:45] local.INFO: Processing buffer {"connection_id":162299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:23:45] local.INFO: IMEI packet received {"connection_id":162299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 10:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":162299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:23:50] local.INFO: TCP Data received {"connection_id":162299,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:23:50] local.INFO: Processing buffer {"connection_id":162299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:23:50] local.INFO: IMEI packet received {"connection_id":162299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":162299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:23:51] local.INFO: TCP Data received {"connection_id":162299,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03c68b838012d196480071ff090003a014025..."} 
[2026-08-26 10:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c68b838012d196480071ff090003a014025..."} 
[2026-08-26 10:23:51] local.INFO: Processing buffer {"connection_id":162299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c68b838012d196480071ff090003a014025..."} 
[2026-08-26 10:23:51] local.INFO: Packet analysis {"connection_id":162299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c68"} 
[2026-08-26 10:23:51] local.INFO: Extracted packet for processing {"connection_id":162299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c68"} 
[2026-08-26 10:23:51] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533712,"longitude_deg":75.6638848,"latitude_deg":11.9533712,"altitude":58,"angle":320,"satellites":37,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656146688001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820842747297792,"note":"Value kept but may cause issues"} 
[2026-08-26 10:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708263936,"note":"Value kept but may cause issues"} 
[2026-08-26 10:23: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-26 10:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787719891000,"timestamp_ms":1787719891000,"timestamp_seconds":1787719891,"priority":1,"record_length":96,"hex_timestamp":"000001a03c68b838"} 
[2026-08-26 10: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-26 10:23:51] 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-26 10:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-26 10:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 10: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-26 10: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-26 10:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656146688001,"66":2155,"102":206,"83":41984,"24":0,"16":15820842747297792,"45":1829728116708263936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-26 10:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656146688001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:23:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:23:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820842747297792,"km_value":15820842747297.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708263936,"description":"Unknown IO ID 45"} 
[2026-08-26 10:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656146688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708263936}} 
[2026-08-26 10:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":162299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:23:51] local.INFO: GPS data processed {"connection_id":162299,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:23:51] local.INFO: Acknowledgment sent {"connection_id":162299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:23:56] local.INFO: TCP Data received {"connection_id":162299,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03c68b838012d196480071ff090003a014025..."} 
[2026-08-26 10:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c68b838012d196480071ff090003a014025..."} 
[2026-08-26 10:23:56] local.INFO: Processing buffer {"connection_id":162299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c68b838012d196480071ff090003a014025..."} 
[2026-08-26 10:23:56] local.INFO: Packet analysis {"connection_id":162299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c68"} 
[2026-08-26 10:23:56] local.INFO: Extracted packet for processing {"connection_id":162299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c68"} 
[2026-08-26 10:23:56] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533712,"longitude_deg":75.6638848,"latitude_deg":11.9533712,"altitude":58,"angle":320,"satellites":37,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-08-26 10:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656146688001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820842747297792,"note":"Value kept but may cause issues"} 
[2026-08-26 10:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708263936,"note":"Value kept but may cause issues"} 
[2026-08-26 10:23: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-26 10:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787719891000,"timestamp_ms":1787719891000,"timestamp_seconds":1787719891,"priority":1,"record_length":96,"hex_timestamp":"000001a03c68b838"} 
[2026-08-26 10:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:23:56] 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-26 10:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-26 10:23: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-26 10:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656146688001,"66":2155,"102":206,"83":41984,"24":0,"16":15820842747297792,"45":1829728116708263936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-26 10:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656146688001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:23:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:23:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820842747297792,"km_value":15820842747297.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708263936,"description":"Unknown IO ID 45"} 
[2026-08-26 10:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656146688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708263936}} 
[2026-08-26 10:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":162299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:23:56] local.INFO: GPS data processed {"connection_id":162299,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:23:56] local.INFO: Acknowledgment sent {"connection_id":162299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:24:15] local.INFO: TCP Data received {"connection_id":162298,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:24:15] local.INFO: Processing buffer {"connection_id":162298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:24:15] local.INFO: Packet analysis {"connection_id":162298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c69"} 
[2026-08-26 10:24:15] local.INFO: Extracted packet for processing {"connection_id":162298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c69"} 
[2026-08-26 10:24:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656228864001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:24: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-26 10:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787719945000,"timestamp_ms":1787719945000,"timestamp_seconds":1787719945,"priority":1,"record_length":96,"hex_timestamp":"000001a03c698b28"} 
[2026-08-26 10:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:24: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-26 10:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:24:15] 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-26 10:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656228864001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 10:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656228864001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:24:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:24:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656228864001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":162298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:24:15] local.INFO: GPS data processed {"connection_id":162298,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:24:15] local.INFO: Acknowledgment sent {"connection_id":162298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:24:40] local.INFO: TCP Data received {"connection_id":163555,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:24:40] local.INFO: Processing buffer {"connection_id":163555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:24:40] local.INFO: IMEI packet received {"connection_id":163555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 10:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":163555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:24:42] local.INFO: TCP Data received {"connection_id":163556,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:24:42] local.INFO: Processing buffer {"connection_id":163556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:24:42] local.INFO: IMEI packet received {"connection_id":163556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":163556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:24:45] local.INFO: TCP Data received {"connection_id":163555,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:24:45] local.INFO: Processing buffer {"connection_id":163555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:24:45] local.INFO: IMEI packet received {"connection_id":163555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":163555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:24:46] local.INFO: TCP Data received {"connection_id":163555,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03c68b838012d196480071ff090003a014025..."} 
[2026-08-26 10:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c68b838012d196480071ff090003a014025..."} 
[2026-08-26 10:24:46] local.INFO: Processing buffer {"connection_id":163555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c68b838012d196480071ff090003a014025..."} 
[2026-08-26 10:24:46] local.INFO: Packet analysis {"connection_id":163555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c68"} 
[2026-08-26 10:24:46] local.INFO: Extracted packet for processing {"connection_id":163555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c68"} 
[2026-08-26 10:24:46] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533712,"longitude_deg":75.6638848,"latitude_deg":11.9533712,"altitude":58,"angle":320,"satellites":37,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-08-26 10:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656146688001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820842747297792,"note":"Value kept but may cause issues"} 
[2026-08-26 10:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708263936,"note":"Value kept but may cause issues"} 
[2026-08-26 10:24: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-26 10:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787719891000,"timestamp_ms":1787719891000,"timestamp_seconds":1787719891,"priority":1,"record_length":96,"hex_timestamp":"000001a03c68b838"} 
[2026-08-26 10:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:24:46] 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-26 10:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-26 10:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 10:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656146688001,"66":2155,"102":206,"83":41984,"24":0,"16":15820842747297792,"45":1829728116708263936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-26 10:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656146688001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:24:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:24:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820842747297792,"km_value":15820842747297.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708263936,"description":"Unknown IO ID 45"} 
[2026-08-26 10:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656146688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708263936}} 
[2026-08-26 10:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":163555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:24:46] local.INFO: GPS data processed {"connection_id":163555,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:24:46] local.INFO: Acknowledgment sent {"connection_id":163555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:24:47] local.INFO: TCP Data received {"connection_id":163556,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:24:47] local.INFO: Processing buffer {"connection_id":163556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:24:47] local.INFO: IMEI packet received {"connection_id":163556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":163556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:24:48] local.INFO: TCP Data received {"connection_id":163556,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:24:48] local.INFO: Processing buffer {"connection_id":163556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:24:48] local.INFO: Packet analysis {"connection_id":163556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c69"} 
[2026-08-26 10:24:48] local.INFO: Extracted packet for processing {"connection_id":163556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c69"} 
[2026-08-26 10:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656228864001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787719945000,"timestamp_ms":1787719945000,"timestamp_seconds":1787719945,"priority":1,"record_length":96,"hex_timestamp":"000001a03c698b28"} 
[2026-08-26 10: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-26 10:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:24:48] 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-26 10: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-26 10: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-26 10:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656228864001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 10:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656228864001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:24:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:24:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656228864001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":163556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:24:48] local.INFO: GPS data processed {"connection_id":163556,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:24:48] local.INFO: Acknowledgment sent {"connection_id":163556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:24:53] local.INFO: TCP Data received {"connection_id":163556,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:24:53] local.INFO: Processing buffer {"connection_id":163556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:24:53] local.INFO: Packet analysis {"connection_id":163556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c69"} 
[2026-08-26 10:24:53] local.INFO: Extracted packet for processing {"connection_id":163556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c69"} 
[2026-08-26 10:24:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:24:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656228864001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:24:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:24:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:24:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:24:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787719945000,"timestamp_ms":1787719945000,"timestamp_seconds":1787719945,"priority":1,"record_length":96,"hex_timestamp":"000001a03c698b28"} 
[2026-08-26 10:24:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:24:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10:24:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:24:53] 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-26 10:24:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:24:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:24:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:24:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:24:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:24:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:24:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:24:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:24:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:24:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656228864001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 10:24:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:24:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:24:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656228864001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:24:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:24:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:24:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:24:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:24:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656228864001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":163556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:24:53] local.INFO: GPS data processed {"connection_id":163556,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:24:53] local.INFO: Acknowledgment sent {"connection_id":163556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:25:17] local.INFO: TCP Data received {"connection_id":163555,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03c68b838012d196480071ff090003a014025..."} 
[2026-08-26 10:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c68b838012d196480071ff090003a014025..."} 
[2026-08-26 10:25:17] local.INFO: Processing buffer {"connection_id":163555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c68b838012d196480071ff090003a014025..."} 
[2026-08-26 10:25:17] local.INFO: Packet analysis {"connection_id":163555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c68"} 
[2026-08-26 10:25:17] local.INFO: Extracted packet for processing {"connection_id":163555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c68"} 
[2026-08-26 10:25:17] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533712,"longitude_deg":75.6638848,"latitude_deg":11.9533712,"altitude":58,"angle":320,"satellites":37,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656146688001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820842747297792,"note":"Value kept but may cause issues"} 
[2026-08-26 10:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708263936,"note":"Value kept but may cause issues"} 
[2026-08-26 10:25: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-26 10:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787719891000,"timestamp_ms":1787719891000,"timestamp_seconds":1787719891,"priority":1,"record_length":96,"hex_timestamp":"000001a03c68b838"} 
[2026-08-26 10: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-26 10:25:17] 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-26 10: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-26 10:25: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-26 10: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-26 10: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-26 10:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656146688001,"66":2155,"102":206,"83":41984,"24":0,"16":15820842747297792,"45":1829728116708263936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-26 10:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656146688001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:25:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:25:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820842747297792,"km_value":15820842747297.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708263936,"description":"Unknown IO ID 45"} 
[2026-08-26 10:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656146688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708263936}} 
[2026-08-26 10:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":163555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:25:18] local.INFO: GPS data processed {"connection_id":163555,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:25:18] local.INFO: Acknowledgment sent {"connection_id":163555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:25:37] local.INFO: TCP Data received {"connection_id":164905,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:25:37] local.INFO: Processing buffer {"connection_id":164905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:25:37] local.INFO: IMEI packet received {"connection_id":164905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":164905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:25:38] local.INFO: TCP Data received {"connection_id":163554,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:25:38] local.INFO: Processing buffer {"connection_id":163554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:25:38] local.INFO: IMEI packet received {"connection_id":163554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 10:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":163554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:25:41] local.INFO: TCP Data received {"connection_id":162542,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:25:41] local.INFO: Processing buffer {"connection_id":162542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:25:41] local.INFO: IMEI packet received {"connection_id":162542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 10:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":162542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:25:42] local.INFO: TCP Data received {"connection_id":164905,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:25:42] local.INFO: Processing buffer {"connection_id":164905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:25:42] local.INFO: IMEI packet received {"connection_id":164905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":164905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:25:43] local.INFO: TCP Data received {"connection_id":164905,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:25:43] local.INFO: Processing buffer {"connection_id":164905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:25:43] local.INFO: Packet analysis {"connection_id":164905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c69"} 
[2026-08-26 10:25:43] local.INFO: Extracted packet for processing {"connection_id":164905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c69"} 
[2026-08-26 10:25:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656228864001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:25: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-26 10:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787719945000,"timestamp_ms":1787719945000,"timestamp_seconds":1787719945,"priority":1,"record_length":96,"hex_timestamp":"000001a03c698b28"} 
[2026-08-26 10:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:25: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-26 10:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:25:43] 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-26 10:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656228864001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 10:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656228864001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:25:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:25:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656228864001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":164905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:25:43] local.INFO: GPS data processed {"connection_id":164905,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:25:43] local.INFO: Acknowledgment sent {"connection_id":164905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:25:46] local.INFO: TCP Data received {"connection_id":162542,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:25:46] local.INFO: Processing buffer {"connection_id":162542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:25:46] local.INFO: IMEI packet received {"connection_id":162542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":162542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:25:46] local.INFO: TCP Data received {"connection_id":162542,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03c68b838012d196480071ff090003a014025..."} 
[2026-08-26 10:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c68b838012d196480071ff090003a014025..."} 
[2026-08-26 10:25:46] local.INFO: Processing buffer {"connection_id":162542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c68b838012d196480071ff090003a014025..."} 
[2026-08-26 10:25:46] local.INFO: Packet analysis {"connection_id":162542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c68"} 
[2026-08-26 10:25:46] local.INFO: Extracted packet for processing {"connection_id":162542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c68"} 
[2026-08-26 10:25:46] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533712,"longitude_deg":75.6638848,"latitude_deg":11.9533712,"altitude":58,"angle":320,"satellites":37,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-08-26 10:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656146688001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820842747297792,"note":"Value kept but may cause issues"} 
[2026-08-26 10:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708263936,"note":"Value kept but may cause issues"} 
[2026-08-26 10:25: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-26 10:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787719891000,"timestamp_ms":1787719891000,"timestamp_seconds":1787719891,"priority":1,"record_length":96,"hex_timestamp":"000001a03c68b838"} 
[2026-08-26 10:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:25:46] 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-26 10:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-26 10:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 10:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656146688001,"66":2155,"102":206,"83":41984,"24":0,"16":15820842747297792,"45":1829728116708263936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-26 10:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656146688001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:25:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:25:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820842747297792,"km_value":15820842747297.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708263936,"description":"Unknown IO ID 45"} 
[2026-08-26 10:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656146688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708263936}} 
[2026-08-26 10:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":162542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:25:46] local.INFO: GPS data processed {"connection_id":162542,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:25:46] local.INFO: Acknowledgment sent {"connection_id":162542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:26:15] local.INFO: TCP Data received {"connection_id":164905,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:26:15] local.INFO: Processing buffer {"connection_id":164905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:26:15] local.INFO: Packet analysis {"connection_id":164905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c69"} 
[2026-08-26 10:26:15] local.INFO: Extracted packet for processing {"connection_id":164905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c69"} 
[2026-08-26 10:26:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656228864001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10: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-26 10:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787719945000,"timestamp_ms":1787719945000,"timestamp_seconds":1787719945,"priority":1,"record_length":96,"hex_timestamp":"000001a03c698b28"} 
[2026-08-26 10: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-26 10: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-26 10: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":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:26:15] 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-26 10: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-26 10: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-26 10:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656228864001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 10:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656228864001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:26:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:26:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656228864001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":164905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:26:15] local.INFO: GPS data processed {"connection_id":164905,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:26:15] local.INFO: Acknowledgment sent {"connection_id":164905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:26:17] local.INFO: TCP Data received {"connection_id":162542,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03c68b838012d196480071ff090003a014025..."} 
[2026-08-26 10:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c68b838012d196480071ff090003a014025..."} 
[2026-08-26 10:26:17] local.INFO: Processing buffer {"connection_id":162542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c68b838012d196480071ff090003a014025..."} 
[2026-08-26 10:26:17] local.INFO: Packet analysis {"connection_id":162542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c68"} 
[2026-08-26 10:26:17] local.INFO: Extracted packet for processing {"connection_id":162542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c68"} 
[2026-08-26 10:26:17] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533712,"longitude_deg":75.6638848,"latitude_deg":11.9533712,"altitude":58,"angle":320,"satellites":37,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656146688001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820842747297792,"note":"Value kept but may cause issues"} 
[2026-08-26 10:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708263936,"note":"Value kept but may cause issues"} 
[2026-08-26 10: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-26 10:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787719891000,"timestamp_ms":1787719891000,"timestamp_seconds":1787719891,"priority":1,"record_length":96,"hex_timestamp":"000001a03c68b838"} 
[2026-08-26 10: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-26 10:26:17] 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-26 10: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-26 10:26: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-26 10: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-26 10: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-26 10:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656146688001,"66":2155,"102":206,"83":41984,"24":0,"16":15820842747297792,"45":1829728116708263936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-26 10:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656146688001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:26:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:26:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820842747297792,"km_value":15820842747297.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708263936,"description":"Unknown IO ID 45"} 
[2026-08-26 10:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656146688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708263936}} 
[2026-08-26 10:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":162542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:26:17] local.INFO: GPS data processed {"connection_id":162542,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:26:17] local.INFO: Acknowledgment sent {"connection_id":162542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:26:37] local.INFO: TCP Data received {"connection_id":162543,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:26:37] local.INFO: Processing buffer {"connection_id":162543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:26:37] local.INFO: IMEI packet received {"connection_id":162543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":162543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:26:41] local.INFO: TCP Data received {"connection_id":162300,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:26:41] local.INFO: Processing buffer {"connection_id":162300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:26:41] local.INFO: IMEI packet received {"connection_id":162300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 10:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":162300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:26:42] local.INFO: TCP Data received {"connection_id":162543,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:26:42] local.INFO: Processing buffer {"connection_id":162543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:26:42] local.INFO: IMEI packet received {"connection_id":162543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":162543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:26:43] local.INFO: TCP Data received {"connection_id":162543,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:26:43] local.INFO: Processing buffer {"connection_id":162543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:26:43] local.INFO: Packet analysis {"connection_id":162543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c69"} 
[2026-08-26 10:26:43] local.INFO: Extracted packet for processing {"connection_id":162543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c69"} 
[2026-08-26 10:26:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656228864001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:26: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-26 10:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787719945000,"timestamp_ms":1787719945000,"timestamp_seconds":1787719945,"priority":1,"record_length":96,"hex_timestamp":"000001a03c698b28"} 
[2026-08-26 10:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:26: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-26 10:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:26:43] 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-26 10:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656228864001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 10:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656228864001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:26:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:26:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656228864001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":162543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:26:43] local.INFO: GPS data processed {"connection_id":162543,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:26:43] local.INFO: Acknowledgment sent {"connection_id":162543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:26:45] local.INFO: TCP Data received {"connection_id":162300,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:26:45] local.INFO: Processing buffer {"connection_id":162300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:26:45] local.INFO: IMEI packet received {"connection_id":162300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":162300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:26:46] local.INFO: TCP Data received {"connection_id":162300,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03c68b838012d196480071ff090003a014025..."} 
[2026-08-26 10:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c68b838012d196480071ff090003a014025..."} 
[2026-08-26 10:26:46] local.INFO: Processing buffer {"connection_id":162300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c68b838012d196480071ff090003a014025..."} 
[2026-08-26 10:26:46] local.INFO: Packet analysis {"connection_id":162300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c68"} 
[2026-08-26 10:26:46] local.INFO: Extracted packet for processing {"connection_id":162300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c68"} 
[2026-08-26 10:26:46] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533712,"longitude_deg":75.6638848,"latitude_deg":11.9533712,"altitude":58,"angle":320,"satellites":37,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656146688001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820842747297792,"note":"Value kept but may cause issues"} 
[2026-08-26 10:26:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708263936,"note":"Value kept but may cause issues"} 
[2026-08-26 10:26: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-26 10:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787719891000,"timestamp_ms":1787719891000,"timestamp_seconds":1787719891,"priority":1,"record_length":96,"hex_timestamp":"000001a03c68b838"} 
[2026-08-26 10: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-26 10:26:46] 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-26 10:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-26 10:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 10: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-26 10: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-26 10:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656146688001,"66":2155,"102":206,"83":41984,"24":0,"16":15820842747297792,"45":1829728116708263936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-26 10:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656146688001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:26:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:26:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820842747297792,"km_value":15820842747297.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708263936,"description":"Unknown IO ID 45"} 
[2026-08-26 10:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656146688001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708263936}} 
[2026-08-26 10:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":162300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:26:46] local.INFO: GPS data processed {"connection_id":162300,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:26:46] local.INFO: Acknowledgment sent {"connection_id":162300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:27:15] local.INFO: TCP Data received {"connection_id":162543,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:27:15] local.INFO: Processing buffer {"connection_id":162543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:27:15] local.INFO: Packet analysis {"connection_id":162543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c69"} 
[2026-08-26 10:27:15] local.INFO: Extracted packet for processing {"connection_id":162543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c69"} 
[2026-08-26 10:27:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656228864001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:27: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-26 10:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787719945000,"timestamp_ms":1787719945000,"timestamp_seconds":1787719945,"priority":1,"record_length":96,"hex_timestamp":"000001a03c698b28"} 
[2026-08-26 10:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10: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-26 10:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:27:15] 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-26 10:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656228864001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 10:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656228864001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:27:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:27:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656228864001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":162543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:27:15] local.INFO: GPS data processed {"connection_id":162543,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:27:15] local.INFO: Acknowledgment sent {"connection_id":162543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:27:17] local.INFO: TCP Data received {"connection_id":162300,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:27:17] local.INFO: Processing buffer {"connection_id":162300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:27:17] local.INFO: Packet analysis {"connection_id":162300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c6d"} 
[2026-08-26 10:27:17] local.INFO: Extracted packet for processing {"connection_id":162300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c6d"} 
[2026-08-26 10:27:17] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533712,"longitude_deg":75.6638848,"latitude_deg":11.9533712,"altitude":58,"angle":320,"satellites":36,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656292096001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820842747297792,"note":"Value kept but may cause issues"} 
[2026-08-26 10:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708249600,"note":"Value kept but may cause issues"} 
[2026-08-26 10:27: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-26 10:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787720194000,"timestamp_ms":1787720194000,"timestamp_seconds":1787720194,"priority":1,"record_length":96,"hex_timestamp":"000001a03c6d57d0"} 
[2026-08-26 10: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-26 10:27:17] 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-26 10: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:27: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-26 10: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-26 10: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-26 10:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656292096001,"66":2155,"102":206,"83":41984,"24":0,"16":15820842747297792,"45":1829728116708249600},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-26 10:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656292096001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:27:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:27:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820842747297792,"km_value":15820842747297.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708249600,"description":"Unknown IO ID 45"} 
[2026-08-26 10:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656292096001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708249600}} 
[2026-08-26 10:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":162300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:27:17] local.INFO: GPS data processed {"connection_id":162300,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:27:17] local.INFO: Acknowledgment sent {"connection_id":162300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:27:37] local.INFO: TCP Data received {"connection_id":163557,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:27:37] local.INFO: Processing buffer {"connection_id":163557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:27:37] local.INFO: IMEI packet received {"connection_id":163557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":163557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:27:40] local.INFO: TCP Data received {"connection_id":164906,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:27:40] local.INFO: Processing buffer {"connection_id":164906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:27:40] local.INFO: IMEI packet received {"connection_id":164906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 10:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":164906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:27:42] local.INFO: TCP Data received {"connection_id":163557,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:27:42] local.INFO: Processing buffer {"connection_id":163557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:27:42] local.INFO: IMEI packet received {"connection_id":163557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":163557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:27:43] local.INFO: TCP Data received {"connection_id":163557,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:27:43] local.INFO: Processing buffer {"connection_id":163557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c698b28012d34c14006aa4818000300e62a..."} 
[2026-08-26 10:27:43] local.INFO: Packet analysis {"connection_id":163557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c69"} 
[2026-08-26 10:27:43] local.INFO: Extracted packet for processing {"connection_id":163557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c69"} 
[2026-08-26 10:27:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656228864001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:27: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-26 10:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787719945000,"timestamp_ms":1787719945000,"timestamp_seconds":1787719945,"priority":1,"record_length":96,"hex_timestamp":"000001a03c698b28"} 
[2026-08-26 10: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-26 10:27: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-26 10: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:27:43] 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-26 10:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10: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-26 10:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656228864001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 10:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656228864001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:27:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:27:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656228864001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":163557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:27:43] local.INFO: GPS data processed {"connection_id":163557,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:27:43] local.INFO: Acknowledgment sent {"connection_id":163557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:27:45] local.INFO: TCP Data received {"connection_id":164906,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:27:45] local.INFO: Processing buffer {"connection_id":164906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:27:45] local.INFO: IMEI packet received {"connection_id":164906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":164906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:27:46] local.INFO: TCP Data received {"connection_id":164906,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:27:46] local.INFO: Processing buffer {"connection_id":164906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:27:46] local.INFO: Packet analysis {"connection_id":164906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c6d"} 
[2026-08-26 10:27:46] local.INFO: Extracted packet for processing {"connection_id":164906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c6d"} 
[2026-08-26 10:27:46] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533712,"longitude_deg":75.6638848,"latitude_deg":11.9533712,"altitude":58,"angle":320,"satellites":36,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-08-26 10:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656292096001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820842747297792,"note":"Value kept but may cause issues"} 
[2026-08-26 10:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708249600,"note":"Value kept but may cause issues"} 
[2026-08-26 10:27: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-26 10:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787720194000,"timestamp_ms":1787720194000,"timestamp_seconds":1787720194,"priority":1,"record_length":96,"hex_timestamp":"000001a03c6d57d0"} 
[2026-08-26 10:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:27:46] 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-26 10:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:27: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-26 10:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656292096001,"66":2155,"102":206,"83":41984,"24":0,"16":15820842747297792,"45":1829728116708249600},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-26 10:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656292096001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:27:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:27:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820842747297792,"km_value":15820842747297.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708249600,"description":"Unknown IO ID 45"} 
[2026-08-26 10:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656292096001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708249600}} 
[2026-08-26 10:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":164906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:27:46] local.INFO: GPS data processed {"connection_id":164906,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:27:46] local.INFO: Acknowledgment sent {"connection_id":164906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:28:15] local.INFO: TCP Data received {"connection_id":163557,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:28:15] local.INFO: Processing buffer {"connection_id":163557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:28:15] local.INFO: Packet analysis {"connection_id":163557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c6e"} 
[2026-08-26 10:28:15] local.INFO: Extracted packet for processing {"connection_id":163557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c6e"} 
[2026-08-26 10:28:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656305920001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10: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-26 10:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787720246000,"timestamp_ms":1787720246000,"timestamp_seconds":1787720246,"priority":1,"record_length":96,"hex_timestamp":"000001a03c6e22f0"} 
[2026-08-26 10: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-26 10: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-26 10: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:28: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-26 10: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-26 10: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-26 10:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656305920001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 10:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656305920001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:28:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:28:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656305920001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":163557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:28:15] local.INFO: GPS data processed {"connection_id":163557,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:28:15] local.INFO: Acknowledgment sent {"connection_id":163557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:28:18] local.INFO: TCP Data received {"connection_id":164906,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:28:18] local.INFO: Processing buffer {"connection_id":164906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:28:18] local.INFO: Packet analysis {"connection_id":164906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c6d"} 
[2026-08-26 10:28:18] local.INFO: Extracted packet for processing {"connection_id":164906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c6d"} 
[2026-08-26 10:28:18] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533712,"longitude_deg":75.6638848,"latitude_deg":11.9533712,"altitude":58,"angle":320,"satellites":36,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656292096001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820842747297792,"note":"Value kept but may cause issues"} 
[2026-08-26 10:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708249600,"note":"Value kept but may cause issues"} 
[2026-08-26 10: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-26 10:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787720194000,"timestamp_ms":1787720194000,"timestamp_seconds":1787720194,"priority":1,"record_length":96,"hex_timestamp":"000001a03c6d57d0"} 
[2026-08-26 10: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-26 10:28:18] 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-26 10: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-26 10: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-26 10: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-26 10: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-26 10:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656292096001,"66":2155,"102":206,"83":41984,"24":0,"16":15820842747297792,"45":1829728116708249600},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-26 10:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656292096001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:28:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:28:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820842747297792,"km_value":15820842747297.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708249600,"description":"Unknown IO ID 45"} 
[2026-08-26 10:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656292096001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708249600}} 
[2026-08-26 10:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":164906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:28:18] local.INFO: GPS data processed {"connection_id":164906,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:28:18] local.INFO: Acknowledgment sent {"connection_id":164906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:28:37] local.INFO: TCP Data received {"connection_id":162302,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:28:37] local.INFO: Processing buffer {"connection_id":162302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:28:37] local.INFO: IMEI packet received {"connection_id":162302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":162302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:28:42] local.INFO: TCP Data received {"connection_id":162302,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:28:42] local.INFO: Processing buffer {"connection_id":162302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:28:42] local.INFO: IMEI packet received {"connection_id":162302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":162302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:28:44] local.INFO: TCP Data received {"connection_id":162302,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:28:44] local.INFO: Processing buffer {"connection_id":162302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:28:44] local.INFO: Packet analysis {"connection_id":162302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c6e"} 
[2026-08-26 10:28:44] local.INFO: Extracted packet for processing {"connection_id":162302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c6e"} 
[2026-08-26 10:28:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656305920001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:28: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-26 10:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787720246000,"timestamp_ms":1787720246000,"timestamp_seconds":1787720246,"priority":1,"record_length":96,"hex_timestamp":"000001a03c6e22f0"} 
[2026-08-26 10: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-26 10:28: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-26 10: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:28:44] 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-26 10: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-26 10: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-26 10:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656305920001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 10:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656305920001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:28:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:28:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656305920001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":162302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:28:44] local.INFO: GPS data processed {"connection_id":162302,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:28:44] local.INFO: Acknowledgment sent {"connection_id":162302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:28:45] local.INFO: TCP Data received {"connection_id":162544,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:28:45] local.INFO: Processing buffer {"connection_id":162544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:28:45] local.INFO: IMEI packet received {"connection_id":162544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 10:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":162544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:28:51] local.INFO: TCP Data received {"connection_id":162544,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162544,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:28:51] local.INFO: Processing buffer {"connection_id":162544,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:28:51] local.INFO: IMEI packet received {"connection_id":162544,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":162544,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:28:51] local.INFO: TCP Data received {"connection_id":162544,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:28:51] local.INFO: Processing buffer {"connection_id":162544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:28:51] local.INFO: Packet analysis {"connection_id":162544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c6d"} 
[2026-08-26 10:28:51] local.INFO: Extracted packet for processing {"connection_id":162544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c6d"} 
[2026-08-26 10:28:51] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533712,"longitude_deg":75.6638848,"latitude_deg":11.9533712,"altitude":58,"angle":320,"satellites":36,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-08-26 10:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656292096001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820842747297792,"note":"Value kept but may cause issues"} 
[2026-08-26 10:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708249600,"note":"Value kept but may cause issues"} 
[2026-08-26 10:28: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-26 10:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787720194000,"timestamp_ms":1787720194000,"timestamp_seconds":1787720194,"priority":1,"record_length":96,"hex_timestamp":"000001a03c6d57d0"} 
[2026-08-26 10:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:28:51] 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-26 10:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 10:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656292096001,"66":2155,"102":206,"83":41984,"24":0,"16":15820842747297792,"45":1829728116708249600},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-26 10:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656292096001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:28:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:28:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820842747297792,"km_value":15820842747297.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708249600,"description":"Unknown IO ID 45"} 
[2026-08-26 10:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656292096001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708249600}} 
[2026-08-26 10:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":162544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:28:52] local.INFO: GPS data processed {"connection_id":162544,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:28:52] local.INFO: Acknowledgment sent {"connection_id":162544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:28:56] local.INFO: TCP Data received {"connection_id":162544,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:28:56] local.INFO: Processing buffer {"connection_id":162544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:28:56] local.INFO: Packet analysis {"connection_id":162544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c6d"} 
[2026-08-26 10:28:56] local.INFO: Extracted packet for processing {"connection_id":162544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c6d"} 
[2026-08-26 10:28:56] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533712,"longitude_deg":75.6638848,"latitude_deg":11.9533712,"altitude":58,"angle":320,"satellites":36,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-08-26 10:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656292096001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820842747297792,"note":"Value kept but may cause issues"} 
[2026-08-26 10:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708249600,"note":"Value kept but may cause issues"} 
[2026-08-26 10:28: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-26 10:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787720194000,"timestamp_ms":1787720194000,"timestamp_seconds":1787720194,"priority":1,"record_length":96,"hex_timestamp":"000001a03c6d57d0"} 
[2026-08-26 10:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:28: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-26 10:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162544,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656292096001,"66":2155,"102":206,"83":41984,"24":0,"16":15820842747297792,"45":1829728116708249600},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-26 10:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656292096001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:28:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:28:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820842747297792,"km_value":15820842747297.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708249600,"description":"Unknown IO ID 45"} 
[2026-08-26 10:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656292096001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708249600}} 
[2026-08-26 10:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":162544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:28:56] local.INFO: GPS data processed {"connection_id":162544,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:28:56] local.INFO: Acknowledgment sent {"connection_id":162544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:29:15] local.INFO: TCP Data received {"connection_id":162302,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:29:15] local.INFO: Processing buffer {"connection_id":162302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:29:15] local.INFO: Packet analysis {"connection_id":162302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c6e"} 
[2026-08-26 10:29:15] local.INFO: Extracted packet for processing {"connection_id":162302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c6e"} 
[2026-08-26 10:29:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656305920001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10: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-26 10:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787720246000,"timestamp_ms":1787720246000,"timestamp_seconds":1787720246,"priority":1,"record_length":96,"hex_timestamp":"000001a03c6e22f0"} 
[2026-08-26 10: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-26 10:29: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-26 10: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:29: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-26 10: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-26 10: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-26 10:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656305920001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 10:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656305920001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:29:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:29:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656305920001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":162302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:29:15] local.INFO: GPS data processed {"connection_id":162302,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:29:15] local.INFO: Acknowledgment sent {"connection_id":162302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:29:41] local.INFO: TCP Data received {"connection_id":164907,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:29:41] local.INFO: Processing buffer {"connection_id":164907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:29:41] local.INFO: IMEI packet received {"connection_id":164907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 10:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":164907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:29:42] local.INFO: TCP Data received {"connection_id":164908,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:29:42] local.INFO: Processing buffer {"connection_id":164908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:29:42] local.INFO: IMEI packet received {"connection_id":164908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":164908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:29:46] local.INFO: TCP Data received {"connection_id":164907,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:29:46] local.INFO: Processing buffer {"connection_id":164907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:29:46] local.INFO: IMEI packet received {"connection_id":164907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":164907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:29:46] local.INFO: TCP Data received {"connection_id":164907,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:29:46] local.INFO: Processing buffer {"connection_id":164907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:29:46] local.INFO: Packet analysis {"connection_id":164907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c6d"} 
[2026-08-26 10:29:46] local.INFO: Extracted packet for processing {"connection_id":164907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c6d"} 
[2026-08-26 10:29:46] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533712,"longitude_deg":75.6638848,"latitude_deg":11.9533712,"altitude":58,"angle":320,"satellites":36,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-08-26 10:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656292096001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820842747297792,"note":"Value kept but may cause issues"} 
[2026-08-26 10:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708249600,"note":"Value kept but may cause issues"} 
[2026-08-26 10:29: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-26 10:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787720194000,"timestamp_ms":1787720194000,"timestamp_seconds":1787720194,"priority":1,"record_length":96,"hex_timestamp":"000001a03c6d57d0"} 
[2026-08-26 10:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:29:46] 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-26 10:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:29: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-26 10:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656292096001,"66":2155,"102":206,"83":41984,"24":0,"16":15820842747297792,"45":1829728116708249600},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-26 10:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656292096001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:29:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:29:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820842747297792,"km_value":15820842747297.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708249600,"description":"Unknown IO ID 45"} 
[2026-08-26 10:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656292096001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708249600}} 
[2026-08-26 10:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":164907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:29:46] local.INFO: GPS data processed {"connection_id":164907,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:29:46] local.INFO: Acknowledgment sent {"connection_id":164907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:29:47] local.INFO: TCP Data received {"connection_id":164908,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:29:47] local.INFO: Processing buffer {"connection_id":164908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:29:47] local.INFO: IMEI packet received {"connection_id":164908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":164908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:29:48] local.INFO: TCP Data received {"connection_id":164908,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:29:48] local.INFO: Processing buffer {"connection_id":164908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:29:48] local.INFO: Packet analysis {"connection_id":164908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c6e"} 
[2026-08-26 10:29:48] local.INFO: Extracted packet for processing {"connection_id":164908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c6e"} 
[2026-08-26 10:29:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656305920001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787720246000,"timestamp_ms":1787720246000,"timestamp_seconds":1787720246,"priority":1,"record_length":96,"hex_timestamp":"000001a03c6e22f0"} 
[2026-08-26 10: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-26 10:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:29:48] 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-26 10: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-26 10: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-26 10:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656305920001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 10:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656305920001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:29:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:29:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656305920001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":164908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:29:48] local.INFO: GPS data processed {"connection_id":164908,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:29:48] local.INFO: Acknowledgment sent {"connection_id":164908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:30:13] local.INFO: TCP Data received {"connection_id":162545,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:30:13] local.INFO: Processing buffer {"connection_id":162545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:30:13] local.INFO: IMEI packet received {"connection_id":162545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":162545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:30:17] local.INFO: TCP Data received {"connection_id":164907,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:30:17] local.INFO: Processing buffer {"connection_id":164907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:30:17] local.INFO: Packet analysis {"connection_id":164907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c6d"} 
[2026-08-26 10:30:17] local.INFO: Extracted packet for processing {"connection_id":164907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c6d"} 
[2026-08-26 10:30:17] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533712,"longitude_deg":75.6638848,"latitude_deg":11.9533712,"altitude":58,"angle":320,"satellites":36,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656292096001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820842747297792,"note":"Value kept but may cause issues"} 
[2026-08-26 10:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708249600,"note":"Value kept but may cause issues"} 
[2026-08-26 10: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-26 10:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787720194000,"timestamp_ms":1787720194000,"timestamp_seconds":1787720194,"priority":1,"record_length":96,"hex_timestamp":"000001a03c6d57d0"} 
[2026-08-26 10: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-26 10:30:17] local.INFO: TCP Data received {"connection_id":162545,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:30:17] 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-26 10: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-26 10: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-26 10: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-26 10: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-26 10:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:30:17] local.INFO: Processing buffer {"connection_id":162545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:30:17] local.INFO: IMEI packet received {"connection_id":162545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":162545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656292096001,"66":2155,"102":206,"83":41984,"24":0,"16":15820842747297792,"45":1829728116708249600},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-26 10:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656292096001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:30:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:30:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820842747297792,"km_value":15820842747297.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708249600,"description":"Unknown IO ID 45"} 
[2026-08-26 10:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656292096001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708249600}} 
[2026-08-26 10:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":164907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:30:17] local.INFO: GPS data processed {"connection_id":164907,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:30:17] local.INFO: Acknowledgment sent {"connection_id":164907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:30:18] local.INFO: TCP Data received {"connection_id":162545,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:30:18] local.INFO: Processing buffer {"connection_id":162545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:30:18] local.INFO: Packet analysis {"connection_id":162545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c6e"} 
[2026-08-26 10:30:18] local.INFO: Extracted packet for processing {"connection_id":162545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c6e"} 
[2026-08-26 10:30:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656305920001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:30: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-26 10:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787720246000,"timestamp_ms":1787720246000,"timestamp_seconds":1787720246,"priority":1,"record_length":96,"hex_timestamp":"000001a03c6e22f0"} 
[2026-08-26 10: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-26 10:30: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-26 10: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:30:18] 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-26 10: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-26 10: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-26 10:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:30: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-26 10:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656305920001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 10:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656305920001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:30:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:30:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656305920001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":162545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:30:18] local.INFO: GPS data processed {"connection_id":162545,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:30:18] local.INFO: Acknowledgment sent {"connection_id":162545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:30:40] local.INFO: TCP Data received {"connection_id":162546,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:30:40] local.INFO: Processing buffer {"connection_id":162546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:30:40] local.INFO: IMEI packet received {"connection_id":162546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 10:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":162546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:30:42] local.INFO: TCP Data received {"connection_id":162303,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:30:42] local.INFO: Processing buffer {"connection_id":162303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:30:42] local.INFO: IMEI packet received {"connection_id":162303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":162303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:30:46] local.INFO: TCP Data received {"connection_id":162546,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:30:46] local.INFO: Processing buffer {"connection_id":162546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:30:46] local.INFO: IMEI packet received {"connection_id":162546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":162546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:30:47] local.INFO: TCP Data received {"connection_id":162303,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:30:47] local.INFO: Processing buffer {"connection_id":162303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:30:47] local.INFO: IMEI packet received {"connection_id":162303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":162303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:30:47] local.INFO: TCP Data received {"connection_id":162546,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:30:47] local.INFO: Processing buffer {"connection_id":162546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:30:47] local.INFO: Packet analysis {"connection_id":162546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c6d"} 
[2026-08-26 10:30:47] local.INFO: Extracted packet for processing {"connection_id":162546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c6d"} 
[2026-08-26 10:30:47] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533712,"longitude_deg":75.6638848,"latitude_deg":11.9533712,"altitude":58,"angle":320,"satellites":36,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656292096001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820842747297792,"note":"Value kept but may cause issues"} 
[2026-08-26 10:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708249600,"note":"Value kept but may cause issues"} 
[2026-08-26 10: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-26 10:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787720194000,"timestamp_ms":1787720194000,"timestamp_seconds":1787720194,"priority":1,"record_length":96,"hex_timestamp":"000001a03c6d57d0"} 
[2026-08-26 10: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-26 10:30:47] 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-26 10: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":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:30: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-26 10: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-26 10: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-26 10:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:30: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-26 10:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656292096001,"66":2155,"102":206,"83":41984,"24":0,"16":15820842747297792,"45":1829728116708249600},"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-26 10:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656292096001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:30:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:30:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820842747297792,"km_value":15820842747297.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708249600,"description":"Unknown IO ID 45"} 
[2026-08-26 10:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656292096001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708249600}} 
[2026-08-26 10:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":162546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:30:47] local.INFO: GPS data processed {"connection_id":162546,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:30:47] local.INFO: Acknowledgment sent {"connection_id":162546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:30:48] local.INFO: TCP Data received {"connection_id":162303,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:30:48] local.INFO: Processing buffer {"connection_id":162303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:30:48] local.INFO: Packet analysis {"connection_id":162303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c6e"} 
[2026-08-26 10:30:48] local.INFO: Extracted packet for processing {"connection_id":162303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c6e"} 
[2026-08-26 10:30:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656305920001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787720246000,"timestamp_ms":1787720246000,"timestamp_seconds":1787720246,"priority":1,"record_length":96,"hex_timestamp":"000001a03c6e22f0"} 
[2026-08-26 10: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-26 10:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:30:48] 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-26 10: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-26 10: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-26 10:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:30:48] 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-26 10:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656305920001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 10:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656305920001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:30:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:30:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656305920001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":162303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:30:48] local.INFO: GPS data processed {"connection_id":162303,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:30:48] local.INFO: Acknowledgment sent {"connection_id":162303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:31:13] local.INFO: TCP Data received {"connection_id":162301,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:31:13] local.INFO: Processing buffer {"connection_id":162301,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:31:13] local.INFO: IMEI packet received {"connection_id":162301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 10:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":162301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:31:18] local.INFO: TCP Data received {"connection_id":162546,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:31:18] local.INFO: Processing buffer {"connection_id":162546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:31:18] local.INFO: Packet analysis {"connection_id":162546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c6d"} 
[2026-08-26 10:31:18] local.INFO: Extracted packet for processing {"connection_id":162546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c6d"} 
[2026-08-26 10:31:18] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533712,"longitude_deg":75.6638848,"latitude_deg":11.9533712,"altitude":58,"angle":320,"satellites":36,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656292096001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820842747297792,"note":"Value kept but may cause issues"} 
[2026-08-26 10:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708249600,"note":"Value kept but may cause issues"} 
[2026-08-26 10: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-26 10:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787720194000,"timestamp_ms":1787720194000,"timestamp_seconds":1787720194,"priority":1,"record_length":96,"hex_timestamp":"000001a03c6d57d0"} 
[2026-08-26 10: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-26 10:31:18] 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-26 10: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":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:31: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-26 10: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-26 10: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-26 10:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:31: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-26 10:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656292096001,"66":2155,"102":206,"83":41984,"24":0,"16":15820842747297792,"45":1829728116708249600},"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-26 10:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656292096001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:31:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:31:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820842747297792,"km_value":15820842747297.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708249600,"description":"Unknown IO ID 45"} 
[2026-08-26 10:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656292096001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708249600}} 
[2026-08-26 10:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":162546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:31:18] local.INFO: GPS data processed {"connection_id":162546,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:31:18] local.INFO: Acknowledgment sent {"connection_id":162546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:31:20] local.INFO: TCP Data received {"connection_id":162303,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:31:20] local.INFO: Processing buffer {"connection_id":162303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:31:20] local.INFO: Packet analysis {"connection_id":162303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c6e"} 
[2026-08-26 10:31:20] local.INFO: Extracted packet for processing {"connection_id":162303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c6e"} 
[2026-08-26 10:31:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656305920001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:31: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-26 10:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787720246000,"timestamp_ms":1787720246000,"timestamp_seconds":1787720246,"priority":1,"record_length":96,"hex_timestamp":"000001a03c6e22f0"} 
[2026-08-26 10: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-26 10:31: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-26 10: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:31:20] 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-26 10: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-26 10: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-26 10:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:31:20] 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-26 10:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656305920001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 10:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656305920001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:31:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:31:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656305920001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":162303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:31:20] local.INFO: GPS data processed {"connection_id":162303,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:31:20] local.INFO: Acknowledgment sent {"connection_id":162303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:31:37] local.INFO: TCP Data received {"connection_id":163558,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:31:37] local.INFO: Processing buffer {"connection_id":163558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:31:37] local.INFO: IMEI packet received {"connection_id":163558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":163558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:31:40] local.INFO: TCP Data received {"connection_id":164909,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:31:40] local.INFO: Processing buffer {"connection_id":164909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:31:40] local.INFO: IMEI packet received {"connection_id":164909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 10:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":164909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:31:42] local.INFO: TCP Data received {"connection_id":163558,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:31:42] local.INFO: Processing buffer {"connection_id":163558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:31:42] local.INFO: IMEI packet received {"connection_id":163558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":163558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:31:43] local.INFO: TCP Data received {"connection_id":163558,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:31:43] local.INFO: Processing buffer {"connection_id":163558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:31:43] local.INFO: Packet analysis {"connection_id":163558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c6e"} 
[2026-08-26 10:31:43] local.INFO: Extracted packet for processing {"connection_id":163558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c6e"} 
[2026-08-26 10:31:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656305920001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:31: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-26 10:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787720246000,"timestamp_ms":1787720246000,"timestamp_seconds":1787720246,"priority":1,"record_length":96,"hex_timestamp":"000001a03c6e22f0"} 
[2026-08-26 10: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-26 10:31: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-26 10: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:31:43] 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-26 10: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-26 10: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-26 10:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:31: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-26 10:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656305920001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 10:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656305920001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:31:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:31:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656305920001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":163558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:31:43] local.INFO: GPS data processed {"connection_id":163558,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:31:43] local.INFO: Acknowledgment sent {"connection_id":163558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:31:46] local.INFO: TCP Data received {"connection_id":164909,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:31:46] local.INFO: Processing buffer {"connection_id":164909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:31:46] local.INFO: IMEI packet received {"connection_id":164909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":164909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:31:47] local.INFO: TCP Data received {"connection_id":164909,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:31:47] local.INFO: Processing buffer {"connection_id":164909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c6d57d0012d196480071ff090003a014024..."} 
[2026-08-26 10:31:47] local.INFO: Packet analysis {"connection_id":164909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c6d"} 
[2026-08-26 10:31:47] local.INFO: Extracted packet for processing {"connection_id":164909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c6d"} 
[2026-08-26 10:31:47] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533712,"longitude_deg":75.6638848,"latitude_deg":11.9533712,"altitude":58,"angle":320,"satellites":36,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656292096001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820842747297792,"note":"Value kept but may cause issues"} 
[2026-08-26 10:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708249600,"note":"Value kept but may cause issues"} 
[2026-08-26 10: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-26 10:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787720194000,"timestamp_ms":1787720194000,"timestamp_seconds":1787720194,"priority":1,"record_length":96,"hex_timestamp":"000001a03c6d57d0"} 
[2026-08-26 10: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-26 10:31:47] 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-26 10: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-26 10: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-26 10: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-26 10: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-26 10:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:31: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-26 10:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656292096001,"66":2155,"102":206,"83":41984,"24":0,"16":15820842747297792,"45":1829728116708249600},"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-26 10:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656292096001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:31:47] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:31:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820842747297792,"km_value":15820842747297.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708249600,"description":"Unknown IO ID 45"} 
[2026-08-26 10:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656292096001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708249600}} 
[2026-08-26 10:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":164909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:31:47] local.INFO: GPS data processed {"connection_id":164909,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:31:47] local.INFO: Acknowledgment sent {"connection_id":164909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:32:15] local.INFO: TCP Data received {"connection_id":163558,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:32:15] local.INFO: Processing buffer {"connection_id":163558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:32:15] local.INFO: Packet analysis {"connection_id":163558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c6e"} 
[2026-08-26 10:32:15] local.INFO: Extracted packet for processing {"connection_id":163558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c6e"} 
[2026-08-26 10:32:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656305920001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10: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-26 10:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787720246000,"timestamp_ms":1787720246000,"timestamp_seconds":1787720246,"priority":1,"record_length":96,"hex_timestamp":"000001a03c6e22f0"} 
[2026-08-26 10:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:32: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-26 10:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:32: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-26 10:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656305920001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 10:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656305920001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:32:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:32:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656305920001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":163558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:32:15] local.INFO: GPS data processed {"connection_id":163558,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:32:15] local.INFO: Acknowledgment sent {"connection_id":163558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:32:18] local.INFO: TCP Data received {"connection_id":164909,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03c71c888012d196480071ff090003a014025..."} 
[2026-08-26 10:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c71c888012d196480071ff090003a014025..."} 
[2026-08-26 10:32:18] local.INFO: Processing buffer {"connection_id":164909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c71c888012d196480071ff090003a014025..."} 
[2026-08-26 10:32:18] local.INFO: Packet analysis {"connection_id":164909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c71"} 
[2026-08-26 10:32:18] local.INFO: Extracted packet for processing {"connection_id":164909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c71"} 
[2026-08-26 10:32:18] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533712,"longitude_deg":75.6638848,"latitude_deg":11.9533712,"altitude":58,"angle":320,"satellites":37,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656369664001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820842747297792,"note":"Value kept but may cause issues"} 
[2026-08-26 10:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708249600,"note":"Value kept but may cause issues"} 
[2026-08-26 10: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-26 10:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787720485000,"timestamp_ms":1787720485000,"timestamp_seconds":1787720485,"priority":1,"record_length":96,"hex_timestamp":"000001a03c71c888"} 
[2026-08-26 10: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-26 10:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10: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-26 10: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-26 10: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-26 10:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:32: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-26 10:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656369664001,"66":2177,"102":206,"83":41984,"24":0,"16":15820842747297792,"45":1829728116708249600},"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-26 10:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656369664001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:32:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:32:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820842747297792,"km_value":15820842747297.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708249600,"description":"Unknown IO ID 45"} 
[2026-08-26 10:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656369664001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708249600}} 
[2026-08-26 10:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":164909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:32:18] local.INFO: GPS data processed {"connection_id":164909,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:32:18] local.INFO: Acknowledgment sent {"connection_id":164909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:32:37] local.INFO: TCP Data received {"connection_id":162547,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:32:37] local.INFO: Processing buffer {"connection_id":162547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:32:37] local.INFO: IMEI packet received {"connection_id":162547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":162547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:32:40] local.INFO: TCP Data received {"connection_id":162304,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:32:40] local.INFO: Processing buffer {"connection_id":162304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:32:40] local.INFO: IMEI packet received {"connection_id":162304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-26 10:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":162304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:32:42] local.INFO: TCP Data received {"connection_id":162547,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:32:42] local.INFO: Processing buffer {"connection_id":162547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:32:42] local.INFO: IMEI packet received {"connection_id":162547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":162547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:32:44] local.INFO: TCP Data received {"connection_id":162547,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:32:44] local.INFO: Processing buffer {"connection_id":162547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c6e22f0012d34c14006aa4818000700e62b..."} 
[2026-08-26 10:32:44] local.INFO: Packet analysis {"connection_id":162547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c6e"} 
[2026-08-26 10:32:44] local.INFO: Extracted packet for processing {"connection_id":162547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c6e"} 
[2026-08-26 10:32:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656305920001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:32: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-26 10:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787720246000,"timestamp_ms":1787720246000,"timestamp_seconds":1787720246,"priority":1,"record_length":96,"hex_timestamp":"000001a03c6e22f0"} 
[2026-08-26 10:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:32: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-26 10:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:32:44] 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-26 10:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:32: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-26 10:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656305920001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 10:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656305920001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:32:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:32:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656305920001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":162547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:32:44] local.INFO: GPS data processed {"connection_id":162547,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:32:44] local.INFO: Acknowledgment sent {"connection_id":162547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:32:46] local.INFO: TCP Data received {"connection_id":162304,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:32:46] local.INFO: Processing buffer {"connection_id":162304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-26 10:32:46] local.INFO: IMEI packet received {"connection_id":162304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-26 10:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":162304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:32:46] local.INFO: TCP Data received {"connection_id":162304,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03c71c888012d196480071ff090003a014025..."} 
[2026-08-26 10:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c71c888012d196480071ff090003a014025..."} 
[2026-08-26 10:32:46] local.INFO: Processing buffer {"connection_id":162304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c71c888012d196480071ff090003a014025..."} 
[2026-08-26 10:32:46] local.INFO: Packet analysis {"connection_id":162304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c71"} 
[2026-08-26 10:32:46] local.INFO: Extracted packet for processing {"connection_id":162304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c71"} 
[2026-08-26 10:32:46] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119533712,"longitude_deg":75.6638848,"latitude_deg":11.9533712,"altitude":58,"angle":320,"satellites":37,"speed":0,"hex_longitude":"2d196480","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656369664001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820842747297792,"note":"Value kept but may cause issues"} 
[2026-08-26 10:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116708249600,"note":"Value kept but may cause issues"} 
[2026-08-26 10: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-26 10:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787720485000,"timestamp_ms":1787720485000,"timestamp_seconds":1787720485,"priority":1,"record_length":96,"hex_timestamp":"000001a03c71c888"} 
[2026-08-26 10: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-26 10:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 10: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-26 10: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-26 10:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-26 10:32:46] 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-26 10:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-26 10:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-26 10:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656369664001,"66":2177,"102":206,"83":41984,"24":0,"16":15820842747297792,"45":1829728116708249600},"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-26 10:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-26 10:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-26 10:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656369664001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:32:46] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-26 10:32:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-26 10:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820842747297792,"km_value":15820842747297.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116708249600,"description":"Unknown IO ID 45"} 
[2026-08-26 10:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656369664001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116708249600}} 
[2026-08-26 10:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":162304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:32:47] local.INFO: GPS data processed {"connection_id":162304,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:32:47] local.INFO: Acknowledgment sent {"connection_id":162304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:33:17] local.INFO: TCP Data received {"connection_id":162547,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:33:17] local.INFO: Processing buffer {"connection_id":162547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:33:17] local.INFO: Packet analysis {"connection_id":162547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c72"} 
[2026-08-26 10:33:17] local.INFO: Extracted packet for processing {"connection_id":162547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c72"} 
[2026-08-26 10:33:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656382976001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:33: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-26 10:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787720547000,"timestamp_ms":1787720547000,"timestamp_seconds":1787720547,"priority":1,"record_length":96,"hex_timestamp":"000001a03c72bab8"} 
[2026-08-26 10:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:33: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-26 10:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:33:17] 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-26 10:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656382976001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 10:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656382976001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:33:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:33:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656382976001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":162547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:33:17] local.INFO: GPS data processed {"connection_id":162547,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:33:17] local.INFO: Acknowledgment sent {"connection_id":162547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:33:37] local.INFO: TCP Data received {"connection_id":162305,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:33:37] local.INFO: Processing buffer {"connection_id":162305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:33:37] local.INFO: IMEI packet received {"connection_id":162305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":162305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:33:42] local.INFO: TCP Data received {"connection_id":162305,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:33:42] local.INFO: Processing buffer {"connection_id":162305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:33:42] local.INFO: IMEI packet received {"connection_id":162305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":162305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:33:43] local.INFO: TCP Data received {"connection_id":162305,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:33:43] local.INFO: Processing buffer {"connection_id":162305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:33:43] local.INFO: Packet analysis {"connection_id":162305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c72"} 
[2026-08-26 10:33:43] local.INFO: Extracted packet for processing {"connection_id":162305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c72"} 
[2026-08-26 10:33:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656382976001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:33: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-26 10:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787720547000,"timestamp_ms":1787720547000,"timestamp_seconds":1787720547,"priority":1,"record_length":96,"hex_timestamp":"000001a03c72bab8"} 
[2026-08-26 10:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:33: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-26 10:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:33:43] 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-26 10:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656382976001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 10:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656382976001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:33:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:33:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656382976001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":162305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:33:43] local.INFO: GPS data processed {"connection_id":162305,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:33:43] local.INFO: Acknowledgment sent {"connection_id":162305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:34:15] local.INFO: TCP Data received {"connection_id":162305,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:34:15] local.INFO: Processing buffer {"connection_id":162305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:34:15] local.INFO: Packet analysis {"connection_id":162305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c72"} 
[2026-08-26 10:34:15] local.INFO: Extracted packet for processing {"connection_id":162305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c72"} 
[2026-08-26 10:34:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656382976001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10: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-26 10:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787720547000,"timestamp_ms":1787720547000,"timestamp_seconds":1787720547,"priority":1,"record_length":96,"hex_timestamp":"000001a03c72bab8"} 
[2026-08-26 10: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-26 10:34: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-26 10: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":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:34:15] 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-26 10: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-26 10: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-26 10:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:34: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-26 10:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656382976001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 10:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656382976001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:34:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:34:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656382976001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":162305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:34:15] local.INFO: GPS data processed {"connection_id":162305,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:34:15] local.INFO: Acknowledgment sent {"connection_id":162305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:34:37] local.INFO: TCP Data received {"connection_id":163560,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:34:37] local.INFO: Processing buffer {"connection_id":163560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:34:37] local.INFO: IMEI packet received {"connection_id":163560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":163560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:34:42] local.INFO: TCP Data received {"connection_id":163560,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:34:42] local.INFO: Processing buffer {"connection_id":163560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:34:42] local.INFO: IMEI packet received {"connection_id":163560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":163560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:34:44] local.INFO: TCP Data received {"connection_id":163560,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:34:44] local.INFO: Processing buffer {"connection_id":163560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:34:44] local.INFO: Packet analysis {"connection_id":163560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c72"} 
[2026-08-26 10:34:44] local.INFO: Extracted packet for processing {"connection_id":163560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c72"} 
[2026-08-26 10:34:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656382976001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:34: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-26 10:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787720547000,"timestamp_ms":1787720547000,"timestamp_seconds":1787720547,"priority":1,"record_length":96,"hex_timestamp":"000001a03c72bab8"} 
[2026-08-26 10:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:34: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-26 10:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:34:44] 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-26 10:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:34: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-26 10:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656382976001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 10:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656382976001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:34:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:34:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656382976001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":163560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:34:44] local.INFO: GPS data processed {"connection_id":163560,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:34:44] local.INFO: Acknowledgment sent {"connection_id":163560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:35:15] local.INFO: TCP Data received {"connection_id":163560,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:35:15] local.INFO: Processing buffer {"connection_id":163560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:35:15] local.INFO: Packet analysis {"connection_id":163560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c72"} 
[2026-08-26 10:35:15] local.INFO: Extracted packet for processing {"connection_id":163560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c72"} 
[2026-08-26 10:35:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656382976001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:35: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-26 10:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787720547000,"timestamp_ms":1787720547000,"timestamp_seconds":1787720547,"priority":1,"record_length":96,"hex_timestamp":"000001a03c72bab8"} 
[2026-08-26 10: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-26 10:35: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-26 10: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:35:15] 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-26 10: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-26 10: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-26 10:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:35: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-26 10:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656382976001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 10:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656382976001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:35:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:35:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656382976001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":163560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:35:15] local.INFO: GPS data processed {"connection_id":163560,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:35:15] local.INFO: Acknowledgment sent {"connection_id":163560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:35:57] local.INFO: TCP Data received {"connection_id":162548,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:35:57] local.INFO: Processing buffer {"connection_id":162548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:35:57] local.INFO: IMEI packet received {"connection_id":162548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":162548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:35:58] local.INFO: TCP Data received {"connection_id":162548,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:35:58] local.INFO: Processing buffer {"connection_id":162548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:35:58] local.INFO: IMEI packet received {"connection_id":162548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":162548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:35:59] local.INFO: TCP Data received {"connection_id":162548,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:35:59] local.INFO: Processing buffer {"connection_id":162548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:35:59] local.INFO: Packet analysis {"connection_id":162548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c72"} 
[2026-08-26 10:35:59] local.INFO: Extracted packet for processing {"connection_id":162548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c72"} 
[2026-08-26 10:35:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656382976001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787720547000,"timestamp_ms":1787720547000,"timestamp_seconds":1787720547,"priority":1,"record_length":96,"hex_timestamp":"000001a03c72bab8"} 
[2026-08-26 10:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:35: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-26 10:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:35:59] 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-26 10:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656382976001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 10:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656382976001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:35:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:35:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656382976001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":162548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:35:59] local.INFO: GPS data processed {"connection_id":162548,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:35:59] local.INFO: Acknowledgment sent {"connection_id":162548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:36:01] local.INFO: TCP Data received {"connection_id":162548,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:36:01] local.INFO: Processing buffer {"connection_id":162548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:36:01] local.INFO: Packet analysis {"connection_id":162548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c72"} 
[2026-08-26 10:36:01] local.INFO: Extracted packet for processing {"connection_id":162548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c72"} 
[2026-08-26 10:36:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 10:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656382976001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:36: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-26 10:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787720547000,"timestamp_ms":1787720547000,"timestamp_seconds":1787720547,"priority":1,"record_length":96,"hex_timestamp":"000001a03c72bab8"} 
[2026-08-26 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-26 10:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 10:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":162548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":162548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":162548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656382976001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 10:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656382976001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:36:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:36:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656382976001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":162548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:36:01] local.INFO: GPS data processed {"connection_id":162548,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:36:01] local.INFO: Acknowledgment sent {"connection_id":162548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:36:37] local.INFO: TCP Data received {"connection_id":163561,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:36:37] local.INFO: Processing buffer {"connection_id":163561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:36:37] local.INFO: IMEI packet received {"connection_id":163561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":163561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:36:42] local.INFO: TCP Data received {"connection_id":163561,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:36:42] local.INFO: Processing buffer {"connection_id":163561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:36:42] local.INFO: IMEI packet received {"connection_id":163561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":163561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:36:47] local.INFO: TCP Data received {"connection_id":163561,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:36:47] local.INFO: Processing buffer {"connection_id":163561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:36:47] local.INFO: IMEI packet received {"connection_id":163561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":163561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:36:48] local.INFO: TCP Data received {"connection_id":163559,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:36:48] local.INFO: Processing buffer {"connection_id":163559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:36:48] local.INFO: IMEI packet received {"connection_id":163559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 10:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":163559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:36:48] local.INFO: TCP Data received {"connection_id":163561,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:36:48] local.INFO: Processing buffer {"connection_id":163561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:36:48] local.INFO: Packet analysis {"connection_id":163561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c72"} 
[2026-08-26 10:36:48] local.INFO: Extracted packet for processing {"connection_id":163561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c72"} 
[2026-08-26 10:36:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656382976001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787720547000,"timestamp_ms":1787720547000,"timestamp_seconds":1787720547,"priority":1,"record_length":96,"hex_timestamp":"000001a03c72bab8"} 
[2026-08-26 10: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-26 10:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:36:48] 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-26 10: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-26 10: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-26 10:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656382976001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 10:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656382976001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:36:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:36:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656382976001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":163561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:36:48] local.INFO: GPS data processed {"connection_id":163561,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:36:48] local.INFO: Acknowledgment sent {"connection_id":163561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:36:53] local.INFO: TCP Data received {"connection_id":163561,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:36:53] local.INFO: Processing buffer {"connection_id":163561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:36:53] local.INFO: Packet analysis {"connection_id":163561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c72"} 
[2026-08-26 10:36:53] local.INFO: Extracted packet for processing {"connection_id":163561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c72"} 
[2026-08-26 10:36:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656382976001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787720547000,"timestamp_ms":1787720547000,"timestamp_seconds":1787720547,"priority":1,"record_length":96,"hex_timestamp":"000001a03c72bab8"} 
[2026-08-26 10:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:36:53] 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-26 10:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656382976001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 10:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656382976001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:36:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:36:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656382976001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":163561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:36:53] local.INFO: GPS data processed {"connection_id":163561,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:36:53] local.INFO: Acknowledgment sent {"connection_id":163561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:37:37] local.INFO: TCP Data received {"connection_id":162306,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:37:37] local.INFO: Processing buffer {"connection_id":162306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:37:37] local.INFO: IMEI packet received {"connection_id":162306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":162306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:37:42] local.INFO: TCP Data received {"connection_id":162306,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:37:42] local.INFO: Processing buffer {"connection_id":162306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:37:42] local.INFO: IMEI packet received {"connection_id":162306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":162306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:37:44] local.INFO: TCP Data received {"connection_id":162306,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:37:44] local.INFO: Processing buffer {"connection_id":162306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c72bab8012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:37:44] local.INFO: Packet analysis {"connection_id":162306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c72"} 
[2026-08-26 10:37:44] local.INFO: Extracted packet for processing {"connection_id":162306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c72"} 
[2026-08-26 10:37:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656382976001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:37: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-26 10:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787720547000,"timestamp_ms":1787720547000,"timestamp_seconds":1787720547,"priority":1,"record_length":96,"hex_timestamp":"000001a03c72bab8"} 
[2026-08-26 10: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-26 10:37: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-26 10: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 10:37:44] 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-26 10: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-26 10: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-26 10:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:37: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-26 10:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656382976001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 10:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656382976001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:37:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:37:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656382976001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":162306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:37:44] local.INFO: GPS data processed {"connection_id":162306,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:37:44] local.INFO: Acknowledgment sent {"connection_id":162306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:38:15] local.INFO: TCP Data received {"connection_id":162306,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03c775280012d34c14006aa4818000900e62b..."} 
[2026-08-26 10:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c775280012d34c14006aa4818000900e62b..."} 
[2026-08-26 10:38:15] local.INFO: Processing buffer {"connection_id":162306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c775280012d34c14006aa4818000900e62b..."} 
[2026-08-26 10:38:15] local.INFO: Packet analysis {"connection_id":162306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c77"} 
[2026-08-26 10:38:15] local.INFO: Extracted packet for processing {"connection_id":162306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c77"} 
[2026-08-26 10:38:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656460032001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:38: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-26 10:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787720848000,"timestamp_ms":1787720848000,"timestamp_seconds":1787720848,"priority":1,"record_length":96,"hex_timestamp":"000001a03c775280"} 
[2026-08-26 10:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:38: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-26 10:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:38: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-26 10:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:38: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-26 10:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656460032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 10:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656460032001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:38:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:38:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656460032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":162306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:38:15] local.INFO: GPS data processed {"connection_id":162306,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:38:15] local.INFO: Acknowledgment sent {"connection_id":162306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:38:37] local.INFO: TCP Data received {"connection_id":162307,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:38:37] local.INFO: Processing buffer {"connection_id":162307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:38:37] local.INFO: IMEI packet received {"connection_id":162307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":162307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:38:42] local.INFO: TCP Data received {"connection_id":162307,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:38:42] local.INFO: Processing buffer {"connection_id":162307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:38:42] local.INFO: IMEI packet received {"connection_id":162307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":162307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:38:43] local.INFO: TCP Data received {"connection_id":162307,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03c775280012d34c14006aa4818000900e62b..."} 
[2026-08-26 10:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c775280012d34c14006aa4818000900e62b..."} 
[2026-08-26 10:38:43] local.INFO: Processing buffer {"connection_id":162307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c775280012d34c14006aa4818000900e62b..."} 
[2026-08-26 10:38:43] local.INFO: Packet analysis {"connection_id":162307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c77"} 
[2026-08-26 10:38:43] local.INFO: Extracted packet for processing {"connection_id":162307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c77"} 
[2026-08-26 10:38:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656460032001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10: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-26 10:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787720848000,"timestamp_ms":1787720848000,"timestamp_seconds":1787720848,"priority":1,"record_length":96,"hex_timestamp":"000001a03c775280"} 
[2026-08-26 10: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-26 10:38: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-26 10: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:38:43] 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-26 10: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-26 10: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-26 10:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:38:43] 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-26 10:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656460032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 10:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656460032001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:38:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:38:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656460032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":162307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:38:43] local.INFO: GPS data processed {"connection_id":162307,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:38:43] local.INFO: Acknowledgment sent {"connection_id":162307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:39:15] local.INFO: TCP Data received {"connection_id":162307,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03c775280012d34c14006aa4818000900e62b..."} 
[2026-08-26 10:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c775280012d34c14006aa4818000900e62b..."} 
[2026-08-26 10:39:15] local.INFO: Processing buffer {"connection_id":162307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c775280012d34c14006aa4818000900e62b..."} 
[2026-08-26 10:39:15] local.INFO: Packet analysis {"connection_id":162307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c77"} 
[2026-08-26 10:39:15] local.INFO: Extracted packet for processing {"connection_id":162307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c77"} 
[2026-08-26 10:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656460032001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:39: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-26 10:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787720848000,"timestamp_ms":1787720848000,"timestamp_seconds":1787720848,"priority":1,"record_length":96,"hex_timestamp":"000001a03c775280"} 
[2026-08-26 10: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-26 10: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-26 10: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:39: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-26 10: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-26 10: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-26 10:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656460032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 10:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656460032001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656460032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":162307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:39:15] local.INFO: GPS data processed {"connection_id":162307,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:39:15] local.INFO: Acknowledgment sent {"connection_id":162307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:39:37] local.INFO: TCP Data received {"connection_id":164910,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:39:37] local.INFO: Processing buffer {"connection_id":164910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:39:37] local.INFO: IMEI packet received {"connection_id":164910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":164910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:39:42] local.INFO: TCP Data received {"connection_id":164910,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:39:42] local.INFO: Processing buffer {"connection_id":164910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:39:42] local.INFO: IMEI packet received {"connection_id":164910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":164910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:39:43] local.INFO: TCP Data received {"connection_id":164910,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03c775280012d34c14006aa4818000900e62b..."} 
[2026-08-26 10:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c775280012d34c14006aa4818000900e62b..."} 
[2026-08-26 10:39:43] local.INFO: Processing buffer {"connection_id":164910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c775280012d34c14006aa4818000900e62b..."} 
[2026-08-26 10:39:43] local.INFO: Packet analysis {"connection_id":164910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c77"} 
[2026-08-26 10:39:43] local.INFO: Extracted packet for processing {"connection_id":164910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c77"} 
[2026-08-26 10:39:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656460032001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:39: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-26 10:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787720848000,"timestamp_ms":1787720848000,"timestamp_seconds":1787720848,"priority":1,"record_length":96,"hex_timestamp":"000001a03c775280"} 
[2026-08-26 10: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-26 10:39: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-26 10: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:39:43] 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-26 10: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-26 10: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-26 10:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:39:43] 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-26 10:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656460032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 10:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656460032001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:39:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:39:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656460032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":164910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:39:43] local.INFO: GPS data processed {"connection_id":164910,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:39:43] local.INFO: Acknowledgment sent {"connection_id":164910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:40:15] local.INFO: TCP Data received {"connection_id":164910,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03c775280012d34c14006aa4818000900e62b..."} 
[2026-08-26 10:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c775280012d34c14006aa4818000900e62b..."} 
[2026-08-26 10:40:15] local.INFO: Processing buffer {"connection_id":164910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c775280012d34c14006aa4818000900e62b..."} 
[2026-08-26 10:40:15] local.INFO: Packet analysis {"connection_id":164910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c77"} 
[2026-08-26 10:40:15] local.INFO: Extracted packet for processing {"connection_id":164910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c77"} 
[2026-08-26 10:40:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656460032001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10: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-26 10:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787720848000,"timestamp_ms":1787720848000,"timestamp_seconds":1787720848,"priority":1,"record_length":96,"hex_timestamp":"000001a03c775280"} 
[2026-08-26 10: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-26 10:40: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-26 10: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:40: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-26 10: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-26 10: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-26 10:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:40: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-26 10:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656460032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 10:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656460032001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:40:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:40:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656460032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":164910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:40:15] local.INFO: GPS data processed {"connection_id":164910,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:40:15] local.INFO: Acknowledgment sent {"connection_id":164910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:40:37] local.INFO: TCP Data received {"connection_id":162308,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:40:37] local.INFO: Processing buffer {"connection_id":162308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:40:37] local.INFO: IMEI packet received {"connection_id":162308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":162308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:40:42] local.INFO: TCP Data received {"connection_id":162308,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:40:42] local.INFO: Processing buffer {"connection_id":162308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:40:42] local.INFO: IMEI packet received {"connection_id":162308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":162308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:40:43] local.INFO: TCP Data received {"connection_id":162308,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03c775280012d34c14006aa4818000900e62b..."} 
[2026-08-26 10:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c775280012d34c14006aa4818000900e62b..."} 
[2026-08-26 10:40:43] local.INFO: Processing buffer {"connection_id":162308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c775280012d34c14006aa4818000900e62b..."} 
[2026-08-26 10:40:43] local.INFO: Packet analysis {"connection_id":162308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c77"} 
[2026-08-26 10:40:43] local.INFO: Extracted packet for processing {"connection_id":162308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c77"} 
[2026-08-26 10:40:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656460032001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:40: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-26 10:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787720848000,"timestamp_ms":1787720848000,"timestamp_seconds":1787720848,"priority":1,"record_length":96,"hex_timestamp":"000001a03c775280"} 
[2026-08-26 10: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-26 10:40: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-26 10: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:40:43] 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-26 10: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-26 10: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-26 10:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:40:43] 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-26 10:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656460032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 10:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656460032001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:40:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:40:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656460032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":162308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:40:43] local.INFO: GPS data processed {"connection_id":162308,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:40:43] local.INFO: Acknowledgment sent {"connection_id":162308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:41:15] local.INFO: TCP Data received {"connection_id":162308,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03c775280012d34c14006aa4818000900e62b..."} 
[2026-08-26 10:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c775280012d34c14006aa4818000900e62b..."} 
[2026-08-26 10:41:15] local.INFO: Processing buffer {"connection_id":162308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c775280012d34c14006aa4818000900e62b..."} 
[2026-08-26 10:41:15] local.INFO: Packet analysis {"connection_id":162308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c77"} 
[2026-08-26 10:41:15] local.INFO: Extracted packet for processing {"connection_id":162308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c77"} 
[2026-08-26 10:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656460032001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:41: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-26 10:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787720848000,"timestamp_ms":1787720848000,"timestamp_seconds":1787720848,"priority":1,"record_length":96,"hex_timestamp":"000001a03c775280"} 
[2026-08-26 10: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-26 10:41: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-26 10: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:41: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-26 10: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-26 10: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-26 10:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:41: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-26 10:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656460032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 10:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656460032001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:41:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 10:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656460032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":162308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:41:15] local.INFO: GPS data processed {"connection_id":162308,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:41:15] local.INFO: Acknowledgment sent {"connection_id":162308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:42:04] local.INFO: TCP Data received {"connection_id":163563,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:42:04] local.INFO: Processing buffer {"connection_id":163563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:42:04] local.INFO: IMEI packet received {"connection_id":163563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":163563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:42:22] local.INFO: TCP Data received {"connection_id":163563,"ip":"42.106.6.44","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-26 10:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163563,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-26 10:42:22] local.INFO: Processing buffer {"connection_id":163563,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-26 10:42:22] local.INFO: IMEI packet received {"connection_id":163563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":163563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:42:22] local.INFO: TCP Data received {"connection_id":163562,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:42:22] local.INFO: Processing buffer {"connection_id":163562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:42:22] local.INFO: IMEI packet received {"connection_id":163562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 10:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":163562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:43:07] local.INFO: TCP Data received {"connection_id":162309,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:43:07] local.INFO: Processing buffer {"connection_id":162309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:43:07] local.INFO: IMEI packet received {"connection_id":162309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":162309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:43:08] local.INFO: TCP Data received {"connection_id":164911,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:43:08] local.INFO: Processing buffer {"connection_id":164911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:43:08] local.INFO: IMEI packet received {"connection_id":164911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 10:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":164911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:48:23] local.INFO: TCP Data received {"connection_id":162551,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:48:23] local.INFO: Processing buffer {"connection_id":162551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:48:23] local.INFO: IMEI packet received {"connection_id":162551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":162551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:48:33] local.INFO: TCP Data received {"connection_id":162310,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:48:33] local.INFO: Processing buffer {"connection_id":162310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:48:33] local.INFO: IMEI packet received {"connection_id":162310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 10:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":162310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:48:38] local.INFO: TCP Data received {"connection_id":163565,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:48:38] local.INFO: Processing buffer {"connection_id":163565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:48:38] local.INFO: IMEI packet received {"connection_id":163565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":163565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:48:42] local.INFO: TCP Data received {"connection_id":163565,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:48:42] local.INFO: Processing buffer {"connection_id":163565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:48:42] local.INFO: IMEI packet received {"connection_id":163565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":163565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:48:43] local.INFO: TCP Data received {"connection_id":163565,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c7bea48012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c7bea48012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:48:43] local.INFO: Processing buffer {"connection_id":163565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c7bea48012d34c14006aa4818000b00e62a..."} 
[2026-08-26 10:48:43] local.INFO: Packet analysis {"connection_id":163565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c7b"} 
[2026-08-26 10:48:43] local.INFO: Extracted packet for processing {"connection_id":163565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c7b"} 
[2026-08-26 10:48:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656537088001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787721149000,"timestamp_ms":1787721149000,"timestamp_seconds":1787721149,"priority":1,"record_length":96,"hex_timestamp":"000001a03c7bea48"} 
[2026-08-26 10:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:48: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-26 10:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 10:48:43] 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-26 10:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:48:43] 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-26 10:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656537088001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 10:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656537088001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:48:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 10:48:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656537088001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":163565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:48:43] local.INFO: GPS data processed {"connection_id":163565,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:48:43] local.INFO: Acknowledgment sent {"connection_id":163565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:49:14] local.INFO: TCP Data received {"connection_id":163565,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c808210012d34c14006aa4818000700e62a..."} 
[2026-08-26 10:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c808210012d34c14006aa4818000700e62a..."} 
[2026-08-26 10:49:14] local.INFO: Processing buffer {"connection_id":163565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c808210012d34c14006aa4818000700e62a..."} 
[2026-08-26 10:49:14] local.INFO: Packet analysis {"connection_id":163565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c80"} 
[2026-08-26 10:49:14] local.INFO: Extracted packet for processing {"connection_id":163565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c80"} 
[2026-08-26 10:49:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656614144001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787721450000,"timestamp_ms":1787721450000,"timestamp_seconds":1787721450,"priority":1,"record_length":96,"hex_timestamp":"000001a03c808210"} 
[2026-08-26 10:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:49: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-26 10:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:49: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-26 10:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656614144001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 10:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656614144001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:49:14] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 10:49:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656614144001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":163565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:49:14] local.INFO: GPS data processed {"connection_id":163565,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:49:14] local.INFO: Acknowledgment sent {"connection_id":163565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:49:47] local.INFO: TCP Data received {"connection_id":162552,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:49:47] local.INFO: Processing buffer {"connection_id":162552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:49:47] local.INFO: IMEI packet received {"connection_id":162552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":162552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:49:52] local.INFO: TCP Data received {"connection_id":162552,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:49:52] local.INFO: Processing buffer {"connection_id":162552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:49:52] local.INFO: IMEI packet received {"connection_id":162552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":162552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:49:53] local.INFO: TCP Data received {"connection_id":162552,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c808210012d34c14006aa4818000700e62a..."} 
[2026-08-26 10:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c808210012d34c14006aa4818000700e62a..."} 
[2026-08-26 10:49:53] local.INFO: Processing buffer {"connection_id":162552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c808210012d34c14006aa4818000700e62a..."} 
[2026-08-26 10:49:53] local.INFO: Packet analysis {"connection_id":162552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c80"} 
[2026-08-26 10:49:53] local.INFO: Extracted packet for processing {"connection_id":162552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c80"} 
[2026-08-26 10:49:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656614144001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787721450000,"timestamp_ms":1787721450000,"timestamp_seconds":1787721450,"priority":1,"record_length":96,"hex_timestamp":"000001a03c808210"} 
[2026-08-26 10:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:49:53] 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-26 10:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:49:53] 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-26 10:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656614144001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 10:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656614144001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:49:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 10:49:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656614144001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":162552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:49:53] local.INFO: GPS data processed {"connection_id":162552,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:49:53] local.INFO: Acknowledgment sent {"connection_id":162552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:49:58] local.INFO: TCP Data received {"connection_id":162552,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c808210012d34c14006aa4818000700e62a..."} 
[2026-08-26 10:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c808210012d34c14006aa4818000700e62a..."} 
[2026-08-26 10:49:58] local.INFO: Processing buffer {"connection_id":162552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c808210012d34c14006aa4818000700e62a..."} 
[2026-08-26 10:49:58] local.INFO: Packet analysis {"connection_id":162552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c80"} 
[2026-08-26 10:49:58] local.INFO: Extracted packet for processing {"connection_id":162552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c80"} 
[2026-08-26 10:49:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656614144001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787721450000,"timestamp_ms":1787721450000,"timestamp_seconds":1787721450,"priority":1,"record_length":96,"hex_timestamp":"000001a03c808210"} 
[2026-08-26 10: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-26 10:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:49:58] 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-26 10: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-26 10: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-26 10:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656614144001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 10:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656614144001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:49:58] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 10:49:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656614144001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":162552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:49:58] local.INFO: GPS data processed {"connection_id":162552,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:49:58] local.INFO: Acknowledgment sent {"connection_id":162552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:50:38] local.INFO: TCP Data received {"connection_id":163566,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:50:38] local.INFO: Processing buffer {"connection_id":163566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:50:38] local.INFO: IMEI packet received {"connection_id":163566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":163566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:51:27] local.INFO: TCP Data received {"connection_id":163566,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:51:27] local.INFO: Processing buffer {"connection_id":163566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:51:27] local.INFO: IMEI packet received {"connection_id":163566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":163566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:52:40] local.INFO: TCP Data received {"connection_id":163566,"ip":"42.106.6.28","data_length":1348,"data_hex":"000000000000030f8e0a000001a03c808210012d34c14006aa4818000700e62a..."} 
[2026-08-26 10:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163566,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a03c808210012d34c14006aa4818000700e62a..."} 
[2026-08-26 10:52:40] local.INFO: Processing buffer {"connection_id":163566,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a03c808210012d34c14006aa4818000700e62a..."} 
[2026-08-26 10:52:40] local.INFO: Packet analysis {"connection_id":163566,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a03c80"} 
[2026-08-26 10:52:40] local.INFO: Extracted packet for processing {"connection_id":163566,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a03c80"} 
[2026-08-26 10:52:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656614144001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 10:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787721450000,"timestamp_ms":1787721450000,"timestamp_seconds":1787721450,"priority":1,"record_length":96,"hex_timestamp":"000001a03c808210"} 
[2026-08-26 10:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:52: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-26 10:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 10:52: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-26 10:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:52: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-26 10:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656614144001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 10:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656614144001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:52:40] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 10:52:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656614144001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":163566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:52:40] local.INFO: GPS data processed {"connection_id":163566,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:52:40] local.ERROR: TCP Connection error {"connection_id":163566,"code":2,"message":"client closed"} 
[2026-08-26 10:52:40] local.INFO: Acknowledgment sent {"connection_id":163566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:52:40] local.INFO: Packet analysis {"connection_id":163566,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a03c80"} 
[2026-08-26 10:52:40] local.INFO: Incomplete packet, waiting for more data {"connection_id":163566,"needed":795,"available":553} 
[2026-08-26 10:53:12] local.INFO: TCP Data received {"connection_id":164914,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:53:12] local.INFO: Processing buffer {"connection_id":164914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:53:12] local.INFO: IMEI packet received {"connection_id":164914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":164914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:53:12] local.INFO: TCP Data received {"connection_id":164914,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:53:12] local.INFO: Processing buffer {"connection_id":164914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:53:12] local.INFO: IMEI packet received {"connection_id":164914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":164914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:53:13] local.INFO: TCP Data received {"connection_id":164914,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c8519d8012d34c14006aa4818000800e62b..."} 
[2026-08-26 10:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c8519d8012d34c14006aa4818000800e62b..."} 
[2026-08-26 10:53:13] local.INFO: Processing buffer {"connection_id":164914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c8519d8012d34c14006aa4818000800e62b..."} 
[2026-08-26 10:53:13] local.INFO: Packet analysis {"connection_id":164914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c85"} 
[2026-08-26 10:53:13] local.INFO: Extracted packet for processing {"connection_id":164914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c85"} 
[2026-08-26 10:53:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656691200001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:53:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 10:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 10:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787721751000,"timestamp_ms":1787721751000,"timestamp_seconds":1787721751,"priority":1,"record_length":96,"hex_timestamp":"000001a03c8519d8"} 
[2026-08-26 10: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-26 10:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 10:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 10: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-26 10: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-26 10:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:53: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-26 10:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656691200001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 10:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656691200001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:53:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656691200001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":164914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:53:13] local.INFO: GPS data processed {"connection_id":164914,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:53:13] local.INFO: Acknowledgment sent {"connection_id":164914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:53:14] local.INFO: TCP Data received {"connection_id":164914,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c8519d8012d34c14006aa4818000800e62b..."} 
[2026-08-26 10:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c8519d8012d34c14006aa4818000800e62b..."} 
[2026-08-26 10:53:14] local.INFO: Processing buffer {"connection_id":164914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c8519d8012d34c14006aa4818000800e62b..."} 
[2026-08-26 10:53:14] local.INFO: Packet analysis {"connection_id":164914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c85"} 
[2026-08-26 10:53:14] local.INFO: Extracted packet for processing {"connection_id":164914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c85"} 
[2026-08-26 10:53:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656691200001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:53:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 10:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 10:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787721751000,"timestamp_ms":1787721751000,"timestamp_seconds":1787721751,"priority":1,"record_length":96,"hex_timestamp":"000001a03c8519d8"} 
[2026-08-26 10: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-26 10:53: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-26 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 10:53: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-26 10: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-26 10: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-26 10:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 10:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656691200001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 10:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656691200001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:53:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656691200001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":164914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:53:14] local.INFO: GPS data processed {"connection_id":164914,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:53:14] local.INFO: Acknowledgment sent {"connection_id":164914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:53:37] local.INFO: TCP Data received {"connection_id":164915,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:53:37] local.INFO: Processing buffer {"connection_id":164915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:53:37] local.INFO: IMEI packet received {"connection_id":164915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":164915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:53:42] local.INFO: TCP Data received {"connection_id":164915,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:53:42] local.INFO: Processing buffer {"connection_id":164915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:53:42] local.INFO: IMEI packet received {"connection_id":164915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":164915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:53:43] local.INFO: TCP Data received {"connection_id":164915,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03c8519d8012d34c14006aa4818000800e62b..."} 
[2026-08-26 10:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c8519d8012d34c14006aa4818000800e62b..."} 
[2026-08-26 10:53:43] local.INFO: Processing buffer {"connection_id":164915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c8519d8012d34c14006aa4818000800e62b..."} 
[2026-08-26 10:53:43] local.INFO: Packet analysis {"connection_id":164915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c85"} 
[2026-08-26 10:53:43] local.INFO: Extracted packet for processing {"connection_id":164915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c85"} 
[2026-08-26 10:53:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 10:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656691200001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:53:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 10:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 10:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787721751000,"timestamp_ms":1787721751000,"timestamp_seconds":1787721751,"priority":1,"record_length":96,"hex_timestamp":"000001a03c8519d8"} 
[2026-08-26 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-26 10:53: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-26 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 10:53: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-26 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-26 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-26 10:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:53: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-26 10:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656691200001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 10:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656691200001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:53:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656691200001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":164915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:53:43] local.INFO: GPS data processed {"connection_id":164915,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:53:43] local.INFO: Acknowledgment sent {"connection_id":164915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:54:08] local.INFO: TCP Data received {"connection_id":164913,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:54:08] local.INFO: Processing buffer {"connection_id":164913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:54:08] local.INFO: IMEI packet received {"connection_id":164913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 10:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":164913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:54:14] local.INFO: TCP Data received {"connection_id":164915,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03c8519d8012d34c14006aa4818000800e62b..."} 
[2026-08-26 10:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c8519d8012d34c14006aa4818000800e62b..."} 
[2026-08-26 10:54:14] local.INFO: Processing buffer {"connection_id":164915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c8519d8012d34c14006aa4818000800e62b..."} 
[2026-08-26 10:54:14] local.INFO: Packet analysis {"connection_id":164915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c85"} 
[2026-08-26 10:54:14] local.INFO: Extracted packet for processing {"connection_id":164915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c85"} 
[2026-08-26 10:54:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10: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-26 10:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656691200001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:54:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 10:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 10:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787721751000,"timestamp_ms":1787721751000,"timestamp_seconds":1787721751,"priority":1,"record_length":96,"hex_timestamp":"000001a03c8519d8"} 
[2026-08-26 10: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-26 10: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-26 10: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":233,"data_length":795,"current_offset":136} 
[2026-08-26 10:54: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-26 10: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-26 10: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-26 10:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:54: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-26 10:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656691200001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 10:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656691200001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:54:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656691200001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":164915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:54:14] local.INFO: GPS data processed {"connection_id":164915,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:54:14] local.INFO: Acknowledgment sent {"connection_id":164915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:54:37] local.INFO: TCP Data received {"connection_id":163567,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:54:37] local.INFO: Processing buffer {"connection_id":163567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:54:37] local.INFO: IMEI packet received {"connection_id":163567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 10:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":163567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 10:54:42] local.INFO: TCP Data received {"connection_id":163567,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:54:42] local.INFO: Processing buffer {"connection_id":163567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 10:54:42] local.INFO: IMEI packet received {"connection_id":163567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 10:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":163567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 10:54:43] local.INFO: TCP Data received {"connection_id":163567,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03c8519d8012d34c14006aa4818000800e62b..."} 
[2026-08-26 10:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c8519d8012d34c14006aa4818000800e62b..."} 
[2026-08-26 10:54:43] local.INFO: Processing buffer {"connection_id":163567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c8519d8012d34c14006aa4818000800e62b..."} 
[2026-08-26 10:54:43] local.INFO: Packet analysis {"connection_id":163567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c85"} 
[2026-08-26 10:54:43] local.INFO: Extracted packet for processing {"connection_id":163567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c85"} 
[2026-08-26 10:54:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656691200001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:54:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 10:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 10:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787721751000,"timestamp_ms":1787721751000,"timestamp_seconds":1787721751,"priority":1,"record_length":96,"hex_timestamp":"000001a03c8519d8"} 
[2026-08-26 10:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:54: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-26 10:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 10:54: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-26 10:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:54:43] 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-26 10:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656691200001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 10:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656691200001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:54:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656691200001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":163567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:54:43] local.INFO: GPS data processed {"connection_id":163567,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:54:43] local.INFO: Acknowledgment sent {"connection_id":163567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:55:14] local.INFO: TCP Data received {"connection_id":163567,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03c8519d8012d34c14006aa4818000800e62b..."} 
[2026-08-26 10:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c8519d8012d34c14006aa4818000800e62b..."} 
[2026-08-26 10:55:14] local.INFO: Processing buffer {"connection_id":163567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c8519d8012d34c14006aa4818000800e62b..."} 
[2026-08-26 10:55:14] local.INFO: Packet analysis {"connection_id":163567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c85"} 
[2026-08-26 10:55:14] local.INFO: Extracted packet for processing {"connection_id":163567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c85"} 
[2026-08-26 10:55:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 10:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 10:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656691200001,"note":"Value kept but may cause issues"} 
[2026-08-26 10:55:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 10:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 10:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 10:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 10:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787721751000,"timestamp_ms":1787721751000,"timestamp_seconds":1787721751,"priority":1,"record_length":96,"hex_timestamp":"000001a03c8519d8"} 
[2026-08-26 10:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 10:55: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-26 10:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 10:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 10:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 10:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 10:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 10:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 10:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 10:55: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-26 10:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 10:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 10:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656691200001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 10:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 10:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 10:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656691200001,"description":"Unknown IO ID 0"} 
[2026-08-26 10:55:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 10:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 10:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 10:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656691200001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 10:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":163567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 10:55:14] local.INFO: GPS data processed {"connection_id":163567,"processed":1,"errors":0,"total":1} 
[2026-08-26 10:55:14] local.INFO: Acknowledgment sent {"connection_id":163567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 10:59:43] local.INFO: TCP Data received {"connection_id":163568,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163568,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:59:43] local.INFO: Processing buffer {"connection_id":163568,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 10:59:43] local.INFO: IMEI packet received {"connection_id":163568,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 10:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":163568,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:00:42] local.INFO: TCP Data received {"connection_id":164916,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:00:42] local.INFO: Processing buffer {"connection_id":164916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:00:42] local.INFO: IMEI packet received {"connection_id":164916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":164916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:01:13] local.INFO: TCP Data received {"connection_id":164916,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:01:13] local.INFO: Processing buffer {"connection_id":164916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:01:13] local.INFO: IMEI packet received {"connection_id":164916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":164916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:01:15] local.INFO: TCP Data received {"connection_id":164916,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a03c89b1a0012d34c14006aa4818000500e628..."} 
[2026-08-26 11:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c89b1a0012d34c14006aa4818000500e628..."} 
[2026-08-26 11:01:15] local.INFO: Processing buffer {"connection_id":164916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c89b1a0012d34c14006aa4818000500e628..."} 
[2026-08-26 11:01:15] local.INFO: Packet analysis {"connection_id":164916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c89"} 
[2026-08-26 11:01:15] local.INFO: Extracted packet for processing {"connection_id":164916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c89"} 
[2026-08-26 11:01:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656768256001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 11:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787722052000,"timestamp_ms":1787722052000,"timestamp_seconds":1787722052,"priority":1,"record_length":96,"hex_timestamp":"000001a03c89b1a0"} 
[2026-08-26 11: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-26 11:01: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-26 11: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 11:01: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-26 11: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-26 11: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-26 11:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:01: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-26 11:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656768256001,"66":25343,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 11:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656768256001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:01:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 11:01:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656768256001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":164916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:01:15] local.INFO: GPS data processed {"connection_id":164916,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:01:15] local.INFO: Acknowledgment sent {"connection_id":164916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:01:37] local.INFO: TCP Data received {"connection_id":163570,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:01:37] local.INFO: Processing buffer {"connection_id":163570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:01:37] local.INFO: IMEI packet received {"connection_id":163570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":163570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:01:44] local.INFO: TCP Data received {"connection_id":163570,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:01:44] local.INFO: Processing buffer {"connection_id":163570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:01:44] local.INFO: IMEI packet received {"connection_id":163570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":163570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:02:35] local.INFO: TCP Data received {"connection_id":163570,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03c89b1a0012d34c14006aa4818000500e628..."} 
[2026-08-26 11:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c89b1a0012d34c14006aa4818000500e628..."} 
[2026-08-26 11:02:35] local.INFO: Processing buffer {"connection_id":163570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c89b1a0012d34c14006aa4818000500e628..."} 
[2026-08-26 11:02:35] local.INFO: Packet analysis {"connection_id":163570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c89"} 
[2026-08-26 11:02:35] local.INFO: Extracted packet for processing {"connection_id":163570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c89"} 
[2026-08-26 11:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656768256001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 11:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787722052000,"timestamp_ms":1787722052000,"timestamp_seconds":1787722052,"priority":1,"record_length":96,"hex_timestamp":"000001a03c89b1a0"} 
[2026-08-26 11: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-26 11:02: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-26 11: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-26 11: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-26 11: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-26 11: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-26 11:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:02: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-26 11:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656768256001,"66":25343,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 11:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656768256001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:02:35] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 11:02:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656768256001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":163570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:02:35] local.INFO: GPS data processed {"connection_id":163570,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:02:35] local.INFO: Acknowledgment sent {"connection_id":163570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:02:42] local.INFO: TCP Data received {"connection_id":162311,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:02:42] local.INFO: Processing buffer {"connection_id":162311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:02:42] local.INFO: IMEI packet received {"connection_id":162311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":162311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:02:47] local.INFO: TCP Data received {"connection_id":162311,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:02:47] local.INFO: Processing buffer {"connection_id":162311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:02:47] local.INFO: IMEI packet received {"connection_id":162311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":162311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:02:48] local.INFO: TCP Data received {"connection_id":162311,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03c89b1a0012d34c14006aa4818000500e628..."} 
[2026-08-26 11:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c89b1a0012d34c14006aa4818000500e628..."} 
[2026-08-26 11:02:48] local.INFO: Processing buffer {"connection_id":162311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c89b1a0012d34c14006aa4818000500e628..."} 
[2026-08-26 11:02:48] local.INFO: Packet analysis {"connection_id":162311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c89"} 
[2026-08-26 11:02:48] local.INFO: Extracted packet for processing {"connection_id":162311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c89"} 
[2026-08-26 11:02:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656768256001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 11:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787722052000,"timestamp_ms":1787722052000,"timestamp_seconds":1787722052,"priority":1,"record_length":96,"hex_timestamp":"000001a03c89b1a0"} 
[2026-08-26 11: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-26 11:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 11:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 11: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-26 11: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-26 11:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 11:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656768256001,"66":25343,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 11:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656768256001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:02:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 11:02:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656768256001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":162311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:02:48] local.INFO: GPS data processed {"connection_id":162311,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:02:48] local.INFO: Acknowledgment sent {"connection_id":162311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:02:53] local.INFO: TCP Data received {"connection_id":162311,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03c89b1a0012d34c14006aa4818000500e628..."} 
[2026-08-26 11:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c89b1a0012d34c14006aa4818000500e628..."} 
[2026-08-26 11:02:53] local.INFO: Processing buffer {"connection_id":162311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c89b1a0012d34c14006aa4818000500e628..."} 
[2026-08-26 11:02:53] local.INFO: Packet analysis {"connection_id":162311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c89"} 
[2026-08-26 11:02:53] local.INFO: Extracted packet for processing {"connection_id":162311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c89"} 
[2026-08-26 11:02:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656768256001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 11:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787722052000,"timestamp_ms":1787722052000,"timestamp_seconds":1787722052,"priority":1,"record_length":96,"hex_timestamp":"000001a03c89b1a0"} 
[2026-08-26 11: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-26 11:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 11:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 11: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-26 11: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-26 11:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 11:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656768256001,"66":25343,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 11:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656768256001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:02:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 11:02:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656768256001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":162311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:02:53] local.INFO: GPS data processed {"connection_id":162311,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:02:53] local.INFO: Acknowledgment sent {"connection_id":162311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:05:18] local.INFO: TCP Data received {"connection_id":162553,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:05:18] local.INFO: Processing buffer {"connection_id":162553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:05:18] local.INFO: IMEI packet received {"connection_id":162553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 11:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":162553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:10:37] local.INFO: TCP Data received {"connection_id":163572,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:10:37] local.INFO: Processing buffer {"connection_id":163572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:10:37] local.INFO: IMEI packet received {"connection_id":163572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":163572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:10:42] local.INFO: TCP Data received {"connection_id":163572,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:10:42] local.INFO: Processing buffer {"connection_id":163572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:10:42] local.INFO: IMEI packet received {"connection_id":163572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":163572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:10:44] local.INFO: TCP Data received {"connection_id":163572,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03c8e4968012d34c14006aa4818000a00e62b..."} 
[2026-08-26 11:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c8e4968012d34c14006aa4818000a00e62b..."} 
[2026-08-26 11:10:44] local.INFO: Processing buffer {"connection_id":163572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c8e4968012d34c14006aa4818000a00e62b..."} 
[2026-08-26 11:10:44] local.INFO: Packet analysis {"connection_id":163572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c8e"} 
[2026-08-26 11:10:44] local.INFO: Extracted packet for processing {"connection_id":163572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c8e"} 
[2026-08-26 11:10:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656845312001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 11:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787722353000,"timestamp_ms":1787722353000,"timestamp_seconds":1787722353,"priority":1,"record_length":96,"hex_timestamp":"000001a03c8e4968"} 
[2026-08-26 11:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:10: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-26 11:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 11:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 11:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:10:44] 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-26 11:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656845312001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 11:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656845312001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:10:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 11:10:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656845312001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":163572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:10:44] local.INFO: GPS data processed {"connection_id":163572,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:10:44] local.INFO: Acknowledgment sent {"connection_id":163572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:10:52] local.INFO: TCP Data received {"connection_id":163571,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:10:52] local.INFO: Processing buffer {"connection_id":163571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:10:52] local.INFO: IMEI packet received {"connection_id":163571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 11:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":163571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:11:16] local.INFO: TCP Data received {"connection_id":163572,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03c92e130012d34c14006aa4818000800e62b..."} 
[2026-08-26 11:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c92e130012d34c14006aa4818000800e62b..."} 
[2026-08-26 11:11:16] local.INFO: Processing buffer {"connection_id":163572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c92e130012d34c14006aa4818000800e62b..."} 
[2026-08-26 11:11:16] local.INFO: Packet analysis {"connection_id":163572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c92"} 
[2026-08-26 11:11:16] local.INFO: Extracted packet for processing {"connection_id":163572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c92"} 
[2026-08-26 11:11:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656922368001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:11:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787722654000,"timestamp_ms":1787722654000,"timestamp_seconds":1787722654,"priority":1,"record_length":96,"hex_timestamp":"000001a03c92e130"} 
[2026-08-26 11:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:11: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-26 11:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 11:11:16] 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-26 11:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:11: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-26 11:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656922368001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656922368001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:11:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656922368001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":163572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:11:16] local.INFO: GPS data processed {"connection_id":163572,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:11:16] local.INFO: Acknowledgment sent {"connection_id":163572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:11:45] local.INFO: TCP Data received {"connection_id":162312,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:11:45] local.INFO: Processing buffer {"connection_id":162312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:11:45] local.INFO: IMEI packet received {"connection_id":162312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":162312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:11:47] local.INFO: TCP Data received {"connection_id":162312,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:11:47] local.INFO: Processing buffer {"connection_id":162312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:11:47] local.INFO: IMEI packet received {"connection_id":162312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":162312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:11:48] local.INFO: TCP Data received {"connection_id":162312,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c92e130012d34c14006aa4818000800e62b..."} 
[2026-08-26 11:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c92e130012d34c14006aa4818000800e62b..."} 
[2026-08-26 11:11:48] local.INFO: Processing buffer {"connection_id":162312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c92e130012d34c14006aa4818000800e62b..."} 
[2026-08-26 11:11:48] local.INFO: Packet analysis {"connection_id":162312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c92"} 
[2026-08-26 11:11:48] local.INFO: Extracted packet for processing {"connection_id":162312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c92"} 
[2026-08-26 11:11:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656922368001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:11:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787722654000,"timestamp_ms":1787722654000,"timestamp_seconds":1787722654,"priority":1,"record_length":96,"hex_timestamp":"000001a03c92e130"} 
[2026-08-26 11:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 11:11:48] 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-26 11:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:11:48] 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-26 11:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656922368001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656922368001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:11:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656922368001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":162312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:11:48] local.INFO: GPS data processed {"connection_id":162312,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:11:48] local.INFO: Acknowledgment sent {"connection_id":162312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:11:53] local.INFO: TCP Data received {"connection_id":162312,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c92e130012d34c14006aa4818000800e62b..."} 
[2026-08-26 11:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c92e130012d34c14006aa4818000800e62b..."} 
[2026-08-26 11:11:53] local.INFO: Processing buffer {"connection_id":162312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c92e130012d34c14006aa4818000800e62b..."} 
[2026-08-26 11:11:53] local.INFO: Packet analysis {"connection_id":162312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c92"} 
[2026-08-26 11:11:53] local.INFO: Extracted packet for processing {"connection_id":162312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c92"} 
[2026-08-26 11:11:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656922368001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:11:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787722654000,"timestamp_ms":1787722654000,"timestamp_seconds":1787722654,"priority":1,"record_length":96,"hex_timestamp":"000001a03c92e130"} 
[2026-08-26 11:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 11:11:53] 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-26 11:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:11:53] 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-26 11:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656922368001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656922368001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:11:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656922368001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":162312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:11:53] local.INFO: GPS data processed {"connection_id":162312,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:11:53] local.INFO: Acknowledgment sent {"connection_id":162312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:12:32] local.INFO: TCP Data received {"connection_id":163573,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:12:32] local.INFO: Processing buffer {"connection_id":163573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:12:32] local.INFO: IMEI packet received {"connection_id":163573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":163573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:12:37] local.INFO: TCP Data received {"connection_id":163573,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:12:37] local.INFO: Processing buffer {"connection_id":163573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:12:37] local.INFO: IMEI packet received {"connection_id":163573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":163573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:12:38] local.INFO: TCP Data received {"connection_id":163573,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c92e130012d34c14006aa4818000800e62b..."} 
[2026-08-26 11:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c92e130012d34c14006aa4818000800e62b..."} 
[2026-08-26 11:12:38] local.INFO: Processing buffer {"connection_id":163573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c92e130012d34c14006aa4818000800e62b..."} 
[2026-08-26 11:12:38] local.INFO: Packet analysis {"connection_id":163573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c92"} 
[2026-08-26 11:12:38] local.INFO: Extracted packet for processing {"connection_id":163573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c92"} 
[2026-08-26 11:12:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656922368001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:12:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787722654000,"timestamp_ms":1787722654000,"timestamp_seconds":1787722654,"priority":1,"record_length":96,"hex_timestamp":"000001a03c92e130"} 
[2026-08-26 11: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-26 11:12: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-26 11: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 11:12: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-26 11: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-26 11: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-26 11:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:12: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-26 11:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656922368001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656922368001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:12:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656922368001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":163573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:12:38] local.INFO: GPS data processed {"connection_id":163573,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:12:38] local.INFO: Acknowledgment sent {"connection_id":163573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:13:11] local.INFO: TCP Data received {"connection_id":163573,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c92e130012d34c14006aa4818000800e62b..."} 
[2026-08-26 11:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c92e130012d34c14006aa4818000800e62b..."} 
[2026-08-26 11:13:11] local.INFO: Processing buffer {"connection_id":163573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c92e130012d34c14006aa4818000800e62b..."} 
[2026-08-26 11:13:11] local.INFO: Packet analysis {"connection_id":163573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c92"} 
[2026-08-26 11:13:11] local.INFO: Extracted packet for processing {"connection_id":163573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c92"} 
[2026-08-26 11:13:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656922368001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:13:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787722654000,"timestamp_ms":1787722654000,"timestamp_seconds":1787722654,"priority":1,"record_length":96,"hex_timestamp":"000001a03c92e130"} 
[2026-08-26 11:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:13: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-26 11:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 11:13: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-26 11:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:13: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-26 11:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656922368001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656922368001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:13:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656922368001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":163573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:13:11] local.INFO: GPS data processed {"connection_id":163573,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:13:11] local.INFO: Acknowledgment sent {"connection_id":163573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:13:42] local.INFO: TCP Data received {"connection_id":164918,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:13:42] local.INFO: Processing buffer {"connection_id":164918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:13:42] local.INFO: IMEI packet received {"connection_id":164918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":164918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:13:47] local.INFO: TCP Data received {"connection_id":164918,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:13:47] local.INFO: Processing buffer {"connection_id":164918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:13:47] local.INFO: IMEI packet received {"connection_id":164918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":164918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:13:48] local.INFO: TCP Data received {"connection_id":164918,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:13:48] local.INFO: Processing buffer {"connection_id":164918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:13:48] local.INFO: Packet analysis {"connection_id":164918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c97"} 
[2026-08-26 11:13:48] local.INFO: Extracted packet for processing {"connection_id":164918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c97"} 
[2026-08-26 11:13:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656999424001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:13:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787722955000,"timestamp_ms":1787722955000,"timestamp_seconds":1787722955,"priority":1,"record_length":96,"hex_timestamp":"000001a03c9778f8"} 
[2026-08-26 11: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-26 11:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 11:13:48] 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-26 11: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-26 11: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-26 11:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:13:48] 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-26 11:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656999424001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656999424001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:13:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656999424001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":164918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:13:48] local.INFO: GPS data processed {"connection_id":164918,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:13:48] local.INFO: Acknowledgment sent {"connection_id":164918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:14:08] local.INFO: TCP Data received {"connection_id":164918,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:14:08] local.INFO: Processing buffer {"connection_id":164918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:14:08] local.INFO: Packet analysis {"connection_id":164918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c97"} 
[2026-08-26 11:14:08] local.INFO: Extracted packet for processing {"connection_id":164918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c97"} 
[2026-08-26 11:14:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656999424001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:14:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787722955000,"timestamp_ms":1787722955000,"timestamp_seconds":1787722955,"priority":1,"record_length":96,"hex_timestamp":"000001a03c9778f8"} 
[2026-08-26 11:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:14: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-26 11:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 11:14: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-26 11:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 11:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656999424001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656999424001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:14:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656999424001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":164918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:14:08] local.INFO: GPS data processed {"connection_id":164918,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:14:08] local.INFO: Acknowledgment sent {"connection_id":164918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:14:37] local.INFO: TCP Data received {"connection_id":164919,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:14:37] local.INFO: Processing buffer {"connection_id":164919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:14:37] local.INFO: IMEI packet received {"connection_id":164919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":164919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:14:42] local.INFO: TCP Data received {"connection_id":164919,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:14:42] local.INFO: Processing buffer {"connection_id":164919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:14:42] local.INFO: IMEI packet received {"connection_id":164919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":164919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:14:43] local.INFO: TCP Data received {"connection_id":164919,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:14:43] local.INFO: Processing buffer {"connection_id":164919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:14:43] local.INFO: Packet analysis {"connection_id":164919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c97"} 
[2026-08-26 11:14:43] local.INFO: Extracted packet for processing {"connection_id":164919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c97"} 
[2026-08-26 11:14:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656999424001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:14:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787722955000,"timestamp_ms":1787722955000,"timestamp_seconds":1787722955,"priority":1,"record_length":96,"hex_timestamp":"000001a03c9778f8"} 
[2026-08-26 11: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-26 11:14: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-26 11: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 11:14:43] 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-26 11: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-26 11: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-26 11:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:14:43] 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-26 11:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656999424001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656999424001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:14:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656999424001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":164919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:14:43] local.INFO: GPS data processed {"connection_id":164919,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:14:43] local.INFO: Acknowledgment sent {"connection_id":164919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:15:23] local.INFO: TCP Data received {"connection_id":164919,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:15:23] local.INFO: Processing buffer {"connection_id":164919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:15:23] local.INFO: Packet analysis {"connection_id":164919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c97"} 
[2026-08-26 11:15:23] local.INFO: Extracted packet for processing {"connection_id":164919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c97"} 
[2026-08-26 11:15:23] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656999424001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:15:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787722955000,"timestamp_ms":1787722955000,"timestamp_seconds":1787722955,"priority":1,"record_length":96,"hex_timestamp":"000001a03c9778f8"} 
[2026-08-26 11:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:15: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-26 11:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 11:15:23] 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-26 11:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:15:23] 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-26 11:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656999424001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656999424001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:15:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656999424001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":164919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:15:23] local.INFO: GPS data processed {"connection_id":164919,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:15:23] local.INFO: Acknowledgment sent {"connection_id":164919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:15:37] local.INFO: TCP Data received {"connection_id":162313,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:15:37] local.INFO: Processing buffer {"connection_id":162313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:15:37] local.INFO: IMEI packet received {"connection_id":162313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":162313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:15:42] local.INFO: TCP Data received {"connection_id":162313,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:15:42] local.INFO: Processing buffer {"connection_id":162313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:15:42] local.INFO: IMEI packet received {"connection_id":162313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":162313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:15:43] local.INFO: TCP Data received {"connection_id":162313,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:15:43] local.INFO: Processing buffer {"connection_id":162313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:15:43] local.INFO: Packet analysis {"connection_id":162313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c97"} 
[2026-08-26 11:15:43] local.INFO: Extracted packet for processing {"connection_id":162313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c97"} 
[2026-08-26 11:15:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656999424001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:15:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787722955000,"timestamp_ms":1787722955000,"timestamp_seconds":1787722955,"priority":1,"record_length":96,"hex_timestamp":"000001a03c9778f8"} 
[2026-08-26 11:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:15: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-26 11:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 11:15:43] 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-26 11:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:15:43] 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-26 11:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656999424001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656999424001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:15:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656999424001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":162313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:15:43] local.INFO: GPS data processed {"connection_id":162313,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:15:43] local.INFO: Acknowledgment sent {"connection_id":162313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:16:15] local.INFO: TCP Data received {"connection_id":162313,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:16:15] local.INFO: Processing buffer {"connection_id":162313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:16:15] local.INFO: Packet analysis {"connection_id":162313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c97"} 
[2026-08-26 11:16:15] local.INFO: Extracted packet for processing {"connection_id":162313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c97"} 
[2026-08-26 11:16:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656999424001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:16:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787722955000,"timestamp_ms":1787722955000,"timestamp_seconds":1787722955,"priority":1,"record_length":96,"hex_timestamp":"000001a03c9778f8"} 
[2026-08-26 11:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:16: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-26 11:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 11:16: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-26 11:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:16: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-26 11:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656999424001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656999424001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:16:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656999424001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":162313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:16:15] local.INFO: GPS data processed {"connection_id":162313,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:16:15] local.INFO: Acknowledgment sent {"connection_id":162313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:16:28] local.INFO: TCP Data received {"connection_id":164917,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:16:28] local.INFO: Processing buffer {"connection_id":164917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:16:28] local.INFO: IMEI packet received {"connection_id":164917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 11:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":164917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:16:37] local.INFO: TCP Data received {"connection_id":162314,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:16:37] local.INFO: Processing buffer {"connection_id":162314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:16:37] local.INFO: IMEI packet received {"connection_id":162314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":162314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:16:42] local.INFO: TCP Data received {"connection_id":162314,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:16:42] local.INFO: Processing buffer {"connection_id":162314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:16:42] local.INFO: IMEI packet received {"connection_id":162314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":162314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:16:43] local.INFO: TCP Data received {"connection_id":162314,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:16:43] local.INFO: Processing buffer {"connection_id":162314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:16:43] local.INFO: Packet analysis {"connection_id":162314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c97"} 
[2026-08-26 11:16:43] local.INFO: Extracted packet for processing {"connection_id":162314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c97"} 
[2026-08-26 11:16:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656999424001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:16:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787722955000,"timestamp_ms":1787722955000,"timestamp_seconds":1787722955,"priority":1,"record_length":96,"hex_timestamp":"000001a03c9778f8"} 
[2026-08-26 11: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-26 11:16: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-26 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 11:16:43] 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-26 11: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-26 11: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-26 11:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:16:43] 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-26 11:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656999424001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656999424001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:16:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656999424001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":162314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:16:43] local.INFO: GPS data processed {"connection_id":162314,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:16:43] local.INFO: Acknowledgment sent {"connection_id":162314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:17:14] local.INFO: TCP Data received {"connection_id":162314,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:17:14] local.INFO: Processing buffer {"connection_id":162314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:17:14] local.INFO: Packet analysis {"connection_id":162314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c97"} 
[2026-08-26 11:17:14] local.INFO: Extracted packet for processing {"connection_id":162314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c97"} 
[2026-08-26 11:17:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656999424001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:17:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787722955000,"timestamp_ms":1787722955000,"timestamp_seconds":1787722955,"priority":1,"record_length":96,"hex_timestamp":"000001a03c9778f8"} 
[2026-08-26 11: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-26 11: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-26 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 11:17: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-26 11: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-26 11: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-26 11:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 11:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656999424001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656999424001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:17:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656999424001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":162314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:17:14] local.INFO: GPS data processed {"connection_id":162314,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:17:14] local.INFO: Acknowledgment sent {"connection_id":162314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:17:37] local.INFO: TCP Data received {"connection_id":162315,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:17:37] local.INFO: Processing buffer {"connection_id":162315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:17:37] local.INFO: IMEI packet received {"connection_id":162315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":162315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:17:42] local.INFO: TCP Data received {"connection_id":162315,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:17:42] local.INFO: Processing buffer {"connection_id":162315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:17:42] local.INFO: IMEI packet received {"connection_id":162315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":162315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:17:43] local.INFO: TCP Data received {"connection_id":162315,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:17:43] local.INFO: Processing buffer {"connection_id":162315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:17:43] local.INFO: Packet analysis {"connection_id":162315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c97"} 
[2026-08-26 11:17:43] local.INFO: Extracted packet for processing {"connection_id":162315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c97"} 
[2026-08-26 11:17:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656999424001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:17:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787722955000,"timestamp_ms":1787722955000,"timestamp_seconds":1787722955,"priority":1,"record_length":96,"hex_timestamp":"000001a03c9778f8"} 
[2026-08-26 11: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-26 11: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-26 11: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 11:17:43] 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-26 11: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-26 11: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-26 11:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:17:43] 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-26 11:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656999424001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656999424001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:17:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656999424001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":162315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:17:43] local.INFO: GPS data processed {"connection_id":162315,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:17:43] local.INFO: Acknowledgment sent {"connection_id":162315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:18:14] local.INFO: TCP Data received {"connection_id":162315,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:18:14] local.INFO: Processing buffer {"connection_id":162315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c9778f8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 11:18:14] local.INFO: Packet analysis {"connection_id":162315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c97"} 
[2026-08-26 11:18:14] local.INFO: Extracted packet for processing {"connection_id":162315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c97"} 
[2026-08-26 11:18:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 11:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457656999424001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:18:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787722955000,"timestamp_ms":1787722955000,"timestamp_seconds":1787722955,"priority":1,"record_length":96,"hex_timestamp":"000001a03c9778f8"} 
[2026-08-26 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-26 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-26 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 11:18: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-26 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-26 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-26 11:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 11:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457656999424001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457656999424001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:18:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457656999424001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":162315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:18:14] local.INFO: GPS data processed {"connection_id":162315,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:18:14] local.INFO: Acknowledgment sent {"connection_id":162315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:18:42] local.INFO: TCP Data received {"connection_id":163574,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:18:42] local.INFO: Processing buffer {"connection_id":163574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:18:42] local.INFO: IMEI packet received {"connection_id":163574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":163574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:18:48] local.INFO: TCP Data received {"connection_id":163574,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:18:48] local.INFO: Processing buffer {"connection_id":163574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:18:48] local.INFO: IMEI packet received {"connection_id":163574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":163574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:18:49] local.INFO: TCP Data received {"connection_id":163574,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c9c10c0012d34c14006aa4818000c00e62d..."} 
[2026-08-26 11:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c9c10c0012d34c14006aa4818000c00e62d..."} 
[2026-08-26 11:18:49] local.INFO: Processing buffer {"connection_id":163574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c9c10c0012d34c14006aa4818000c00e62d..."} 
[2026-08-26 11:18:49] local.INFO: Packet analysis {"connection_id":163574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c9c"} 
[2026-08-26 11:18:49] local.INFO: Extracted packet for processing {"connection_id":163574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c9c"} 
[2026-08-26 11:18:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:18: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-26 11:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657076480001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:18: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-26 11:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787723256000,"timestamp_ms":1787723256000,"timestamp_seconds":1787723256,"priority":1,"record_length":96,"hex_timestamp":"000001a03c9c10c0"} 
[2026-08-26 11:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11:18: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-26 11:18: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-26 11:18: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-26 11:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:18:49] 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-26 11:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657076480001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657076480001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:18:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:18:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657076480001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":163574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:18:49] local.INFO: GPS data processed {"connection_id":163574,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:18:49] local.INFO: Acknowledgment sent {"connection_id":163574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:18:53] local.INFO: TCP Data received {"connection_id":163574,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c9c10c0012d34c14006aa4818000c00e62d..."} 
[2026-08-26 11:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c9c10c0012d34c14006aa4818000c00e62d..."} 
[2026-08-26 11:18:53] local.INFO: Processing buffer {"connection_id":163574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c9c10c0012d34c14006aa4818000c00e62d..."} 
[2026-08-26 11:18:53] local.INFO: Packet analysis {"connection_id":163574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c9c"} 
[2026-08-26 11:18:53] local.INFO: Extracted packet for processing {"connection_id":163574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c9c"} 
[2026-08-26 11:18:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657076480001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 11:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787723256000,"timestamp_ms":1787723256000,"timestamp_seconds":1787723256,"priority":1,"record_length":96,"hex_timestamp":"000001a03c9c10c0"} 
[2026-08-26 11: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-26 11:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 11:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 11: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-26 11: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-26 11:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:18:53] 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-26 11:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657076480001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657076480001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:18:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:18:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657076480001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":163574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:18:53] local.INFO: GPS data processed {"connection_id":163574,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:18:53] local.INFO: Acknowledgment sent {"connection_id":163574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:19:37] local.INFO: TCP Data received {"connection_id":162317,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:19:37] local.INFO: Processing buffer {"connection_id":162317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:19:37] local.INFO: IMEI packet received {"connection_id":162317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":162317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:19:42] local.INFO: TCP Data received {"connection_id":162317,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:19:42] local.INFO: Processing buffer {"connection_id":162317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:19:42] local.INFO: IMEI packet received {"connection_id":162317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":162317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:19:43] local.INFO: TCP Data received {"connection_id":162317,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c9c10c0012d34c14006aa4818000c00e62d..."} 
[2026-08-26 11:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c9c10c0012d34c14006aa4818000c00e62d..."} 
[2026-08-26 11:19:43] local.INFO: Processing buffer {"connection_id":162317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c9c10c0012d34c14006aa4818000c00e62d..."} 
[2026-08-26 11:19:43] local.INFO: Packet analysis {"connection_id":162317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c9c"} 
[2026-08-26 11:19:43] local.INFO: Extracted packet for processing {"connection_id":162317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c9c"} 
[2026-08-26 11:19:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657076480001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11: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-26 11:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787723256000,"timestamp_ms":1787723256000,"timestamp_seconds":1787723256,"priority":1,"record_length":96,"hex_timestamp":"000001a03c9c10c0"} 
[2026-08-26 11: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-26 11:19: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-26 11: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-26 11: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-26 11: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-26 11: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-26 11:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:19:43] 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-26 11:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657076480001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657076480001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:19:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:19:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657076480001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":162317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:19:43] local.INFO: GPS data processed {"connection_id":162317,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:19:43] local.INFO: Acknowledgment sent {"connection_id":162317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:20:14] local.INFO: TCP Data received {"connection_id":162317,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c9c10c0012d34c14006aa4818000c00e62d..."} 
[2026-08-26 11:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c9c10c0012d34c14006aa4818000c00e62d..."} 
[2026-08-26 11:20:14] local.INFO: Processing buffer {"connection_id":162317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c9c10c0012d34c14006aa4818000c00e62d..."} 
[2026-08-26 11:20:14] local.INFO: Packet analysis {"connection_id":162317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c9c"} 
[2026-08-26 11:20:14] local.INFO: Extracted packet for processing {"connection_id":162317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c9c"} 
[2026-08-26 11:20:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657076480001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:20: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-26 11:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787723256000,"timestamp_ms":1787723256000,"timestamp_seconds":1787723256,"priority":1,"record_length":96,"hex_timestamp":"000001a03c9c10c0"} 
[2026-08-26 11: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-26 11:20: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-26 11: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 11:20: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-26 11: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-26 11: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-26 11:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 11:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657076480001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657076480001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:20:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:20:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657076480001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":162317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:20:14] local.INFO: GPS data processed {"connection_id":162317,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:20:14] local.INFO: Acknowledgment sent {"connection_id":162317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:20:38] local.INFO: TCP Data received {"connection_id":162554,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:20:38] local.INFO: Processing buffer {"connection_id":162554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:20:38] local.INFO: IMEI packet received {"connection_id":162554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":162554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:20:43] local.INFO: TCP Data received {"connection_id":162554,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:20:43] local.INFO: Processing buffer {"connection_id":162554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:20:43] local.INFO: IMEI packet received {"connection_id":162554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":162554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:20:44] local.INFO: TCP Data received {"connection_id":162554,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c9c10c0012d34c14006aa4818000c00e62d..."} 
[2026-08-26 11:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c9c10c0012d34c14006aa4818000c00e62d..."} 
[2026-08-26 11:20:44] local.INFO: Processing buffer {"connection_id":162554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c9c10c0012d34c14006aa4818000c00e62d..."} 
[2026-08-26 11:20:44] local.INFO: Packet analysis {"connection_id":162554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c9c"} 
[2026-08-26 11:20:44] local.INFO: Extracted packet for processing {"connection_id":162554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c9c"} 
[2026-08-26 11:20:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657076480001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:20: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-26 11:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787723256000,"timestamp_ms":1787723256000,"timestamp_seconds":1787723256,"priority":1,"record_length":96,"hex_timestamp":"000001a03c9c10c0"} 
[2026-08-26 11: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-26 11:20: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-26 11: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 11:20: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-26 11: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-26 11: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-26 11:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:20:44] 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-26 11:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657076480001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657076480001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:20:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:20:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657076480001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":162554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:20:44] local.INFO: GPS data processed {"connection_id":162554,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:20:44] local.INFO: Acknowledgment sent {"connection_id":162554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:21:15] local.INFO: TCP Data received {"connection_id":162554,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c9c10c0012d34c14006aa4818000c00e62d..."} 
[2026-08-26 11:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c9c10c0012d34c14006aa4818000c00e62d..."} 
[2026-08-26 11:21:16] local.INFO: Processing buffer {"connection_id":162554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c9c10c0012d34c14006aa4818000c00e62d..."} 
[2026-08-26 11:21:16] local.INFO: Packet analysis {"connection_id":162554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c9c"} 
[2026-08-26 11:21:16] local.INFO: Extracted packet for processing {"connection_id":162554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c9c"} 
[2026-08-26 11:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657076480001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11: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-26 11:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787723256000,"timestamp_ms":1787723256000,"timestamp_seconds":1787723256,"priority":1,"record_length":96,"hex_timestamp":"000001a03c9c10c0"} 
[2026-08-26 11: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-26 11:21: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-26 11: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-26 11: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-26 11: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-26 11: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-26 11:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:21: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-26 11:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657076480001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657076480001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:21:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:21:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657076480001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":162554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:21:16] local.INFO: GPS data processed {"connection_id":162554,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:21:16] local.INFO: Acknowledgment sent {"connection_id":162554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:22:03] local.INFO: TCP Data received {"connection_id":162316,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:22:03] local.INFO: Processing buffer {"connection_id":162316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:22:03] local.INFO: IMEI packet received {"connection_id":162316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 11:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":162316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:22:37] local.INFO: TCP Data received {"connection_id":162555,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:22:37] local.INFO: Processing buffer {"connection_id":162555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:22:37] local.INFO: IMEI packet received {"connection_id":162555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":162555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:22:43] local.INFO: TCP Data received {"connection_id":162555,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:22:43] local.INFO: Processing buffer {"connection_id":162555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:22:43] local.INFO: IMEI packet received {"connection_id":162555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":162555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:22:44] local.INFO: TCP Data received {"connection_id":162555,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c9c10c0012d34c14006aa4818000c00e62d..."} 
[2026-08-26 11:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c9c10c0012d34c14006aa4818000c00e62d..."} 
[2026-08-26 11:22:44] local.INFO: Processing buffer {"connection_id":162555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c9c10c0012d34c14006aa4818000c00e62d..."} 
[2026-08-26 11:22:44] local.INFO: Packet analysis {"connection_id":162555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c9c"} 
[2026-08-26 11:22:44] local.INFO: Extracted packet for processing {"connection_id":162555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c9c"} 
[2026-08-26 11:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657076480001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:22: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-26 11:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787723256000,"timestamp_ms":1787723256000,"timestamp_seconds":1787723256,"priority":1,"record_length":96,"hex_timestamp":"000001a03c9c10c0"} 
[2026-08-26 11: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-26 11:22: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-26 11: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 11:22: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-26 11: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-26 11: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-26 11:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:22:44] 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-26 11:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657076480001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657076480001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:22:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657076480001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":162555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:22:44] local.INFO: GPS data processed {"connection_id":162555,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:22:44] local.INFO: Acknowledgment sent {"connection_id":162555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:23:16] local.INFO: TCP Data received {"connection_id":162555,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03c9c10c0012d34c14006aa4818000c00e62d..."} 
[2026-08-26 11:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03c9c10c0012d34c14006aa4818000c00e62d..."} 
[2026-08-26 11:23:16] local.INFO: Processing buffer {"connection_id":162555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03c9c10c0012d34c14006aa4818000c00e62d..."} 
[2026-08-26 11:23:16] local.INFO: Packet analysis {"connection_id":162555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03c9c"} 
[2026-08-26 11:23:16] local.INFO: Extracted packet for processing {"connection_id":162555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03c9c"} 
[2026-08-26 11:23:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657076480001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11: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-26 11:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787723256000,"timestamp_ms":1787723256000,"timestamp_seconds":1787723256,"priority":1,"record_length":96,"hex_timestamp":"000001a03c9c10c0"} 
[2026-08-26 11: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-26 11:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 11:23: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-26 11: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-26 11: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-26 11:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:23: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-26 11:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657076480001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657076480001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:23:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:23:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657076480001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":162555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:23:16] local.INFO: GPS data processed {"connection_id":162555,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:23:16] local.INFO: Acknowledgment sent {"connection_id":162555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:23:42] local.INFO: TCP Data received {"connection_id":163575,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:23:42] local.INFO: Processing buffer {"connection_id":163575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:23:42] local.INFO: IMEI packet received {"connection_id":163575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":163575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:23:47] local.INFO: TCP Data received {"connection_id":163575,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:23:47] local.INFO: Processing buffer {"connection_id":163575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:23:47] local.INFO: IMEI packet received {"connection_id":163575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":163575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:23:48] local.INFO: TCP Data received {"connection_id":163575,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03ca0a888012d34c14006aa4818000b00e62e..."} 
[2026-08-26 11:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ca0a888012d34c14006aa4818000b00e62e..."} 
[2026-08-26 11:23:48] local.INFO: Processing buffer {"connection_id":163575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ca0a888012d34c14006aa4818000b00e62e..."} 
[2026-08-26 11:23:48] local.INFO: Packet analysis {"connection_id":163575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ca0"} 
[2026-08-26 11:23:48] local.INFO: Extracted packet for processing {"connection_id":163575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ca0"} 
[2026-08-26 11:23:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657153536001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:23:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787723557000,"timestamp_ms":1787723557000,"timestamp_seconds":1787723557,"priority":1,"record_length":96,"hex_timestamp":"000001a03ca0a888"} 
[2026-08-26 11: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-26 11:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 11:23:48] 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-26 11: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-26 11: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-26 11:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:23:48] 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-26 11:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657153536001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657153536001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:23:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657153536001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":163575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:23:48] local.INFO: GPS data processed {"connection_id":163575,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:23:48] local.INFO: Acknowledgment sent {"connection_id":163575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:23:52] local.INFO: TCP Data received {"connection_id":163575,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03ca0a888012d34c14006aa4818000b00e62e..."} 
[2026-08-26 11:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ca0a888012d34c14006aa4818000b00e62e..."} 
[2026-08-26 11:23:52] local.INFO: Processing buffer {"connection_id":163575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ca0a888012d34c14006aa4818000b00e62e..."} 
[2026-08-26 11:23:52] local.INFO: Packet analysis {"connection_id":163575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ca0"} 
[2026-08-26 11:23:52] local.INFO: Extracted packet for processing {"connection_id":163575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ca0"} 
[2026-08-26 11:23:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657153536001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:23:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787723557000,"timestamp_ms":1787723557000,"timestamp_seconds":1787723557,"priority":1,"record_length":96,"hex_timestamp":"000001a03ca0a888"} 
[2026-08-26 11: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-26 11:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 11:23:52] 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-26 11: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-26 11: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-26 11:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:23:52] 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-26 11:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657153536001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657153536001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:23:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657153536001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":163575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:23:52] local.INFO: GPS data processed {"connection_id":163575,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:23:52] local.INFO: Acknowledgment sent {"connection_id":163575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:25:57] local.INFO: TCP Data received {"connection_id":163576,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:25:57] local.INFO: Processing buffer {"connection_id":163576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:25:57] local.INFO: IMEI packet received {"connection_id":163576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":163576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:26:51] local.INFO: TCP Data received {"connection_id":163576,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:26:51] local.INFO: Processing buffer {"connection_id":163576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:26:51] local.INFO: IMEI packet received {"connection_id":163576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":163576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:27:13] local.INFO: TCP Data received {"connection_id":162556,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:27:13] local.INFO: Processing buffer {"connection_id":162556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:27:13] local.INFO: IMEI packet received {"connection_id":162556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":162556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:27:17] local.INFO: TCP Data received {"connection_id":162556,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:27:17] local.INFO: Processing buffer {"connection_id":162556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:27:17] local.INFO: IMEI packet received {"connection_id":162556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":162556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:27:18] local.INFO: TCP Data received {"connection_id":162556,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03ca0a888012d34c14006aa4818000b00e62e..."} 
[2026-08-26 11:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ca0a888012d34c14006aa4818000b00e62e..."} 
[2026-08-26 11:27:18] local.INFO: Processing buffer {"connection_id":162556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ca0a888012d34c14006aa4818000b00e62e..."} 
[2026-08-26 11:27:18] local.INFO: Packet analysis {"connection_id":162556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ca0"} 
[2026-08-26 11:27:18] local.INFO: Extracted packet for processing {"connection_id":162556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ca0"} 
[2026-08-26 11:27:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657153536001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:27:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787723557000,"timestamp_ms":1787723557000,"timestamp_seconds":1787723557,"priority":1,"record_length":96,"hex_timestamp":"000001a03ca0a888"} 
[2026-08-26 11: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-26 11:27: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-26 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 11:27: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-26 11: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-26 11: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-26 11:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:27:18] 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-26 11:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657153536001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657153536001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:27:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657153536001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":162556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:27:18] local.INFO: GPS data processed {"connection_id":162556,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:27:18] local.INFO: Acknowledgment sent {"connection_id":162556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:27:38] local.INFO: TCP Data received {"connection_id":164920,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164920,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:27:38] local.INFO: Processing buffer {"connection_id":164920,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:27:38] local.INFO: IMEI packet received {"connection_id":164920,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 11:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":164920,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:27:42] local.INFO: TCP Data received {"connection_id":162557,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:27:42] local.INFO: Processing buffer {"connection_id":162557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:27:42] local.INFO: IMEI packet received {"connection_id":162557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":162557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:27:47] local.INFO: TCP Data received {"connection_id":162557,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:27:47] local.INFO: Processing buffer {"connection_id":162557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:27:47] local.INFO: IMEI packet received {"connection_id":162557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":162557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:27:49] local.INFO: TCP Data received {"connection_id":162557,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03ca0a888012d34c14006aa4818000b00e62e..."} 
[2026-08-26 11:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ca0a888012d34c14006aa4818000b00e62e..."} 
[2026-08-26 11:27:49] local.INFO: Processing buffer {"connection_id":162557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ca0a888012d34c14006aa4818000b00e62e..."} 
[2026-08-26 11:27:49] local.INFO: Packet analysis {"connection_id":162557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ca0"} 
[2026-08-26 11:27:49] local.INFO: Extracted packet for processing {"connection_id":162557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ca0"} 
[2026-08-26 11:27:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657153536001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:27:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787723557000,"timestamp_ms":1787723557000,"timestamp_seconds":1787723557,"priority":1,"record_length":96,"hex_timestamp":"000001a03ca0a888"} 
[2026-08-26 11:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 11:27:49] 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-26 11:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:27:49] 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-26 11:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657153536001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657153536001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:27:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657153536001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":162557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:27:49] local.INFO: GPS data processed {"connection_id":162557,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:27:49] local.INFO: Acknowledgment sent {"connection_id":162557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:28:03] local.INFO: TCP Data received {"connection_id":163577,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:28:03] local.INFO: Processing buffer {"connection_id":163577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:28:03] local.INFO: IMEI packet received {"connection_id":163577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 11:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":163577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:28:21] local.INFO: TCP Data received {"connection_id":162557,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03ca54050012d34c14006aa4818000a00e62d..."} 
[2026-08-26 11:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ca54050012d34c14006aa4818000a00e62d..."} 
[2026-08-26 11:28:21] local.INFO: Processing buffer {"connection_id":162557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ca54050012d34c14006aa4818000a00e62d..."} 
[2026-08-26 11:28:21] local.INFO: Packet analysis {"connection_id":162557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ca5"} 
[2026-08-26 11:28:21] local.INFO: Extracted packet for processing {"connection_id":162557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ca5"} 
[2026-08-26 11:28:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657230592001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:28:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787723858000,"timestamp_ms":1787723858000,"timestamp_seconds":1787723858,"priority":1,"record_length":96,"hex_timestamp":"000001a03ca54050"} 
[2026-08-26 11: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-26 11:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 11:28:21] 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-26 11: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-26 11: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-26 11:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:28:21] 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-26 11:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657230592001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657230592001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:28:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657230592001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":162557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:28:21] local.INFO: GPS data processed {"connection_id":162557,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:28:21] local.INFO: Acknowledgment sent {"connection_id":162557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:28:37] local.INFO: TCP Data received {"connection_id":162559,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:28:37] local.INFO: Processing buffer {"connection_id":162559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:28:37] local.INFO: IMEI packet received {"connection_id":162559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":162559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:28:42] local.INFO: TCP Data received {"connection_id":162559,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:28:42] local.INFO: Processing buffer {"connection_id":162559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:28:42] local.INFO: IMEI packet received {"connection_id":162559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":162559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:28:43] local.INFO: TCP Data received {"connection_id":162559,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a03ca54050012d34c14006aa4818000a00e62d..."} 
[2026-08-26 11:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ca54050012d34c14006aa4818000a00e62d..."} 
[2026-08-26 11:28:43] local.INFO: Processing buffer {"connection_id":162559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ca54050012d34c14006aa4818000a00e62d..."} 
[2026-08-26 11:28:43] local.INFO: Packet analysis {"connection_id":162559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ca5"} 
[2026-08-26 11:28:43] local.INFO: Extracted packet for processing {"connection_id":162559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ca5"} 
[2026-08-26 11:28:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657230592001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:28:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787723858000,"timestamp_ms":1787723858000,"timestamp_seconds":1787723858,"priority":1,"record_length":96,"hex_timestamp":"000001a03ca54050"} 
[2026-08-26 11: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-26 11:28: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-26 11: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 11:28:43] 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-26 11: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-26 11: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-26 11:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:28: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-26 11:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657230592001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657230592001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:28:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657230592001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":162559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:28:43] local.INFO: GPS data processed {"connection_id":162559,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:28:43] local.INFO: Acknowledgment sent {"connection_id":162559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:30:14] local.INFO: TCP Data received {"connection_id":162559,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a03ca54050012d34c14006aa4818000a00e62d..."} 
[2026-08-26 11:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ca54050012d34c14006aa4818000a00e62d..."} 
[2026-08-26 11:30:14] local.INFO: Processing buffer {"connection_id":162559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ca54050012d34c14006aa4818000a00e62d..."} 
[2026-08-26 11:30:14] local.INFO: Packet analysis {"connection_id":162559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ca5"} 
[2026-08-26 11:30:14] local.INFO: Extracted packet for processing {"connection_id":162559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ca5"} 
[2026-08-26 11:30:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657230592001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:30:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787723858000,"timestamp_ms":1787723858000,"timestamp_seconds":1787723858,"priority":1,"record_length":96,"hex_timestamp":"000001a03ca54050"} 
[2026-08-26 11: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-26 11: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-26 11: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-26 11: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-26 11: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-26 11: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-26 11:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:30: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-26 11:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657230592001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657230592001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:30:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657230592001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":162559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:30:14] local.INFO: GPS data processed {"connection_id":162559,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:30:14] local.INFO: Acknowledgment sent {"connection_id":162559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:30:47] local.INFO: TCP Data received {"connection_id":164922,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:30:47] local.INFO: Processing buffer {"connection_id":164922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:30:47] local.INFO: IMEI packet received {"connection_id":164922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":164922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:30:52] local.INFO: TCP Data received {"connection_id":164922,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:30:52] local.INFO: Processing buffer {"connection_id":164922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:30:52] local.INFO: IMEI packet received {"connection_id":164922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":164922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:30:53] local.INFO: TCP Data received {"connection_id":164922,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03ca54050012d34c14006aa4818000a00e62d..."} 
[2026-08-26 11:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ca54050012d34c14006aa4818000a00e62d..."} 
[2026-08-26 11:30:53] local.INFO: Processing buffer {"connection_id":164922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ca54050012d34c14006aa4818000a00e62d..."} 
[2026-08-26 11:30:53] local.INFO: Packet analysis {"connection_id":164922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ca5"} 
[2026-08-26 11:30:53] local.INFO: Extracted packet for processing {"connection_id":164922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ca5"} 
[2026-08-26 11:30:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657230592001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:30:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787723858000,"timestamp_ms":1787723858000,"timestamp_seconds":1787723858,"priority":1,"record_length":96,"hex_timestamp":"000001a03ca54050"} 
[2026-08-26 11: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-26 11:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 11:30:53] 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-26 11: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-26 11: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-26 11:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:30:53] 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-26 11:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657230592001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657230592001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:30:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657230592001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":164922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:30:53] local.INFO: GPS data processed {"connection_id":164922,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:30:53] local.INFO: Acknowledgment sent {"connection_id":164922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:31:37] local.INFO: TCP Data received {"connection_id":162318,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:31:37] local.INFO: Processing buffer {"connection_id":162318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:31:37] local.INFO: IMEI packet received {"connection_id":162318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":162318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:31:42] local.INFO: TCP Data received {"connection_id":162318,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:31:42] local.INFO: Processing buffer {"connection_id":162318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:31:42] local.INFO: IMEI packet received {"connection_id":162318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":162318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:31:43] local.INFO: TCP Data received {"connection_id":162318,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a03ca54050012d34c14006aa4818000a00e62d..."} 
[2026-08-26 11:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ca54050012d34c14006aa4818000a00e62d..."} 
[2026-08-26 11:31:43] local.INFO: Processing buffer {"connection_id":162318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ca54050012d34c14006aa4818000a00e62d..."} 
[2026-08-26 11:31:43] local.INFO: Packet analysis {"connection_id":162318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ca5"} 
[2026-08-26 11:31:43] local.INFO: Extracted packet for processing {"connection_id":162318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ca5"} 
[2026-08-26 11:31:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657230592001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:31:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787723858000,"timestamp_ms":1787723858000,"timestamp_seconds":1787723858,"priority":1,"record_length":96,"hex_timestamp":"000001a03ca54050"} 
[2026-08-26 11: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-26 11:31: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-26 11: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 11:31:43] 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-26 11: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-26 11: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-26 11:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:31: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-26 11:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657230592001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657230592001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:31:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657230592001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":162318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:31:43] local.INFO: GPS data processed {"connection_id":162318,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:31:43] local.INFO: Acknowledgment sent {"connection_id":162318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:32:15] local.INFO: TCP Data received {"connection_id":162318,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a03ca54050012d34c14006aa4818000a00e62d..."} 
[2026-08-26 11:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ca54050012d34c14006aa4818000a00e62d..."} 
[2026-08-26 11:32:15] local.INFO: Processing buffer {"connection_id":162318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ca54050012d34c14006aa4818000a00e62d..."} 
[2026-08-26 11:32:15] local.INFO: Packet analysis {"connection_id":162318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ca5"} 
[2026-08-26 11:32:15] local.INFO: Extracted packet for processing {"connection_id":162318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ca5"} 
[2026-08-26 11:32:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 11:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657230592001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:32:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787723858000,"timestamp_ms":1787723858000,"timestamp_seconds":1787723858,"priority":1,"record_length":96,"hex_timestamp":"000001a03ca54050"} 
[2026-08-26 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-26 11:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 11:32: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-26 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-26 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-26 11:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:32: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-26 11:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657230592001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657230592001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:32:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657230592001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":162318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:32:15] local.INFO: GPS data processed {"connection_id":162318,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:32:15] local.INFO: Acknowledgment sent {"connection_id":162318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:32:37] local.INFO: TCP Data received {"connection_id":162319,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:32:37] local.INFO: Processing buffer {"connection_id":162319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:32:37] local.INFO: IMEI packet received {"connection_id":162319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":162319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:32:42] local.INFO: TCP Data received {"connection_id":162319,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:32:42] local.INFO: Processing buffer {"connection_id":162319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:32:42] local.INFO: IMEI packet received {"connection_id":162319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":162319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:32:43] local.INFO: TCP Data received {"connection_id":162319,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03ca54050012d34c14006aa4818000a00e62d..."} 
[2026-08-26 11:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ca54050012d34c14006aa4818000a00e62d..."} 
[2026-08-26 11:32:43] local.INFO: Processing buffer {"connection_id":162319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ca54050012d34c14006aa4818000a00e62d..."} 
[2026-08-26 11:32:43] local.INFO: Packet analysis {"connection_id":162319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ca5"} 
[2026-08-26 11:32:43] local.INFO: Extracted packet for processing {"connection_id":162319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ca5"} 
[2026-08-26 11:32:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657230592001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:32:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787723858000,"timestamp_ms":1787723858000,"timestamp_seconds":1787723858,"priority":1,"record_length":96,"hex_timestamp":"000001a03ca54050"} 
[2026-08-26 11: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-26 11:32: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-26 11: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":118,"data_length":795,"current_offset":136} 
[2026-08-26 11:32:43] 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-26 11: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-26 11: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-26 11:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:32: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-26 11:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657230592001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657230592001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:32:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657230592001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":162319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:32:43] local.INFO: GPS data processed {"connection_id":162319,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:32:43] local.INFO: Acknowledgment sent {"connection_id":162319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:33:14] local.INFO: TCP Data received {"connection_id":162319,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03ca54050012d34c14006aa4818000a00e62d..."} 
[2026-08-26 11:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ca54050012d34c14006aa4818000a00e62d..."} 
[2026-08-26 11:33:14] local.INFO: Processing buffer {"connection_id":162319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ca54050012d34c14006aa4818000a00e62d..."} 
[2026-08-26 11:33:14] local.INFO: Packet analysis {"connection_id":162319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ca5"} 
[2026-08-26 11:33:14] local.INFO: Extracted packet for processing {"connection_id":162319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ca5"} 
[2026-08-26 11:33:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657230592001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:33:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787723858000,"timestamp_ms":1787723858000,"timestamp_seconds":1787723858,"priority":1,"record_length":96,"hex_timestamp":"000001a03ca54050"} 
[2026-08-26 11: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-26 11:33: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-26 11: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 11:33: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-26 11: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-26 11: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-26 11:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:33: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-26 11:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657230592001,"66":25430,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657230592001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:33:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657230592001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":162319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:33:14] local.INFO: GPS data processed {"connection_id":162319,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:33:14] local.INFO: Acknowledgment sent {"connection_id":162319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:33:27] local.INFO: TCP Data received {"connection_id":164923,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:33:27] local.INFO: Processing buffer {"connection_id":164923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:33:27] local.INFO: IMEI packet received {"connection_id":164923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 11:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":164923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:33:42] local.INFO: TCP Data received {"connection_id":164924,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:33:42] local.INFO: Processing buffer {"connection_id":164924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:33:42] local.INFO: IMEI packet received {"connection_id":164924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":164924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:33:47] local.INFO: TCP Data received {"connection_id":164924,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:33:47] local.INFO: Processing buffer {"connection_id":164924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:33:47] local.INFO: IMEI packet received {"connection_id":164924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":164924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:33:48] local.INFO: TCP Data received {"connection_id":164924,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:33:48] local.INFO: Processing buffer {"connection_id":164924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:33:48] local.INFO: Packet analysis {"connection_id":164924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ca9"} 
[2026-08-26 11:33:48] local.INFO: Extracted packet for processing {"connection_id":164924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ca9"} 
[2026-08-26 11:33:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":19,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657307648001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 11:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787724159000,"timestamp_ms":1787724159000,"timestamp_seconds":1787724159,"priority":1,"record_length":96,"hex_timestamp":"000001a03ca9d818"} 
[2026-08-26 11: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-26 11:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 11:33:48] 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-26 11: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-26 11: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-26 11:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:33:48] 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-26 11:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657307648001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657307648001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:33:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:33:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657307648001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":164924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:33:48] local.INFO: GPS data processed {"connection_id":164924,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:33:48] local.INFO: Acknowledgment sent {"connection_id":164924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:33:52] local.INFO: TCP Data received {"connection_id":164924,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:33:52] local.INFO: Processing buffer {"connection_id":164924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:33:52] local.INFO: Packet analysis {"connection_id":164924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ca9"} 
[2026-08-26 11:33:52] local.INFO: Extracted packet for processing {"connection_id":164924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ca9"} 
[2026-08-26 11:33:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":19,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657307648001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:33: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-26 11:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787724159000,"timestamp_ms":1787724159000,"timestamp_seconds":1787724159,"priority":1,"record_length":96,"hex_timestamp":"000001a03ca9d818"} 
[2026-08-26 11: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-26 11:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 11:33:52] 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-26 11: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-26 11: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-26 11:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 11:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657307648001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657307648001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:33:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:33:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657307648001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":164924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:33:53] local.INFO: GPS data processed {"connection_id":164924,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:33:53] local.INFO: Acknowledgment sent {"connection_id":164924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:34:37] local.INFO: TCP Data received {"connection_id":164925,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:34:37] local.INFO: Processing buffer {"connection_id":164925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:34:37] local.INFO: IMEI packet received {"connection_id":164925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":164925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:34:42] local.INFO: TCP Data received {"connection_id":164925,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:34:42] local.INFO: Processing buffer {"connection_id":164925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:34:42] local.INFO: IMEI packet received {"connection_id":164925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":164925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:34:43] local.INFO: TCP Data received {"connection_id":164925,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:34:43] local.INFO: Processing buffer {"connection_id":164925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:34:43] local.INFO: Packet analysis {"connection_id":164925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ca9"} 
[2026-08-26 11:34:43] local.INFO: Extracted packet for processing {"connection_id":164925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ca9"} 
[2026-08-26 11:34:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":19,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657307648001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:34: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-26 11:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787724159000,"timestamp_ms":1787724159000,"timestamp_seconds":1787724159,"priority":1,"record_length":96,"hex_timestamp":"000001a03ca9d818"} 
[2026-08-26 11: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-26 11:34: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-26 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 11:34:43] 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-26 11: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-26 11: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-26 11:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:34: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-26 11:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657307648001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657307648001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:34:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:34:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657307648001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":164925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:34:43] local.INFO: GPS data processed {"connection_id":164925,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:34:43] local.INFO: Acknowledgment sent {"connection_id":164925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:35:14] local.INFO: TCP Data received {"connection_id":164925,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:35:14] local.INFO: Processing buffer {"connection_id":164925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:35:14] local.INFO: Packet analysis {"connection_id":164925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ca9"} 
[2026-08-26 11:35:14] local.INFO: Extracted packet for processing {"connection_id":164925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ca9"} 
[2026-08-26 11:35:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":19,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657307648001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:35: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-26 11:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787724159000,"timestamp_ms":1787724159000,"timestamp_seconds":1787724159,"priority":1,"record_length":96,"hex_timestamp":"000001a03ca9d818"} 
[2026-08-26 11: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-26 11:35: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-26 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 11:35: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-26 11: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-26 11: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-26 11:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:35: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-26 11:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657307648001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657307648001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:35:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:35:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657307648001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":164925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:35:14] local.INFO: GPS data processed {"connection_id":164925,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:35:14] local.INFO: Acknowledgment sent {"connection_id":164925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:35:37] local.INFO: TCP Data received {"connection_id":162560,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:35:37] local.INFO: Processing buffer {"connection_id":162560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:35:37] local.INFO: IMEI packet received {"connection_id":162560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":162560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:35:42] local.INFO: TCP Data received {"connection_id":162560,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:35:42] local.INFO: Processing buffer {"connection_id":162560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:35:42] local.INFO: IMEI packet received {"connection_id":162560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":162560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:35:43] local.INFO: TCP Data received {"connection_id":162560,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:35:43] local.INFO: Processing buffer {"connection_id":162560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:35:43] local.INFO: Packet analysis {"connection_id":162560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ca9"} 
[2026-08-26 11:35:43] local.INFO: Extracted packet for processing {"connection_id":162560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ca9"} 
[2026-08-26 11:35:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":19,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657307648001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11: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-26 11:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787724159000,"timestamp_ms":1787724159000,"timestamp_seconds":1787724159,"priority":1,"record_length":96,"hex_timestamp":"000001a03ca9d818"} 
[2026-08-26 11: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-26 11:35: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-26 11: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 11:35:43] 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-26 11: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-26 11: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-26 11:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:35: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-26 11:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657307648001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657307648001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:35:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:35:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657307648001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":162560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:35:43] local.INFO: GPS data processed {"connection_id":162560,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:35:43] local.INFO: Acknowledgment sent {"connection_id":162560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:36:14] local.INFO: TCP Data received {"connection_id":162560,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:36:14] local.INFO: Processing buffer {"connection_id":162560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:36:14] local.INFO: Packet analysis {"connection_id":162560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ca9"} 
[2026-08-26 11:36:14] local.INFO: Extracted packet for processing {"connection_id":162560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ca9"} 
[2026-08-26 11:36:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":19,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657307648001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:36: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-26 11:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787724159000,"timestamp_ms":1787724159000,"timestamp_seconds":1787724159,"priority":1,"record_length":96,"hex_timestamp":"000001a03ca9d818"} 
[2026-08-26 11: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-26 11:36: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-26 11: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 11:36: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-26 11: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-26 11: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-26 11:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:36: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-26 11:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657307648001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657307648001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:36:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:36:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657307648001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":162560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:36:14] local.INFO: GPS data processed {"connection_id":162560,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:36:14] local.INFO: Acknowledgment sent {"connection_id":162560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:36:37] local.INFO: TCP Data received {"connection_id":163578,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:36:37] local.INFO: Processing buffer {"connection_id":163578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:36:37] local.INFO: IMEI packet received {"connection_id":163578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":163578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:36:42] local.INFO: TCP Data received {"connection_id":163578,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:36:42] local.INFO: Processing buffer {"connection_id":163578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:36:42] local.INFO: IMEI packet received {"connection_id":163578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":163578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:36:43] local.INFO: TCP Data received {"connection_id":163578,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:36:43] local.INFO: Processing buffer {"connection_id":163578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:36:43] local.INFO: Packet analysis {"connection_id":163578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ca9"} 
[2026-08-26 11:36:43] local.INFO: Extracted packet for processing {"connection_id":163578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ca9"} 
[2026-08-26 11:36:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":19,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657307648001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:36: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-26 11:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787724159000,"timestamp_ms":1787724159000,"timestamp_seconds":1787724159,"priority":1,"record_length":96,"hex_timestamp":"000001a03ca9d818"} 
[2026-08-26 11:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:36: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-26 11:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 11:36:43] 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-26 11:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:36: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-26 11:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657307648001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657307648001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:36:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:36:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657307648001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":163578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:36:43] local.INFO: GPS data processed {"connection_id":163578,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:36:43] local.INFO: Acknowledgment sent {"connection_id":163578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:37:15] local.INFO: TCP Data received {"connection_id":163578,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:37:15] local.INFO: Processing buffer {"connection_id":163578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:37:15] local.INFO: Packet analysis {"connection_id":163578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ca9"} 
[2026-08-26 11:37:15] local.INFO: Extracted packet for processing {"connection_id":163578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ca9"} 
[2026-08-26 11:37:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":19,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657307648001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:37: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-26 11:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787724159000,"timestamp_ms":1787724159000,"timestamp_seconds":1787724159,"priority":1,"record_length":96,"hex_timestamp":"000001a03ca9d818"} 
[2026-08-26 11:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 11:37: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-26 11:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:37: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-26 11:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657307648001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657307648001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:37:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:37:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657307648001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":163578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:37:15] local.INFO: GPS data processed {"connection_id":163578,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:37:15] local.INFO: Acknowledgment sent {"connection_id":163578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:37:37] local.INFO: TCP Data received {"connection_id":162561,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:37:37] local.INFO: Processing buffer {"connection_id":162561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:37:37] local.INFO: IMEI packet received {"connection_id":162561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":162561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:37:46] local.INFO: TCP Data received {"connection_id":162561,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:37:46] local.INFO: Processing buffer {"connection_id":162561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:37:46] local.INFO: IMEI packet received {"connection_id":162561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":162561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:37:47] local.INFO: TCP Data received {"connection_id":162561,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:37:47] local.INFO: Processing buffer {"connection_id":162561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:37:47] local.INFO: Packet analysis {"connection_id":162561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ca9"} 
[2026-08-26 11:37:47] local.INFO: Extracted packet for processing {"connection_id":162561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ca9"} 
[2026-08-26 11:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":19,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657307648001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:37: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-26 11:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787724159000,"timestamp_ms":1787724159000,"timestamp_seconds":1787724159,"priority":1,"record_length":96,"hex_timestamp":"000001a03ca9d818"} 
[2026-08-26 11: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-26 11:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 11:37:47] 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-26 11: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-26 11: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-26 11:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:37:47] 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-26 11:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657307648001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657307648001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:37:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:37:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657307648001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":162561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:37:47] local.INFO: GPS data processed {"connection_id":162561,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:37:47] local.INFO: Acknowledgment sent {"connection_id":162561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:38:19] local.INFO: TCP Data received {"connection_id":162561,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:38:19] local.INFO: Processing buffer {"connection_id":162561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ca9d818012d34c14006aa4818001300e62d..."} 
[2026-08-26 11:38:19] local.INFO: Packet analysis {"connection_id":162561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ca9"} 
[2026-08-26 11:38:19] local.INFO: Extracted packet for processing {"connection_id":162561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ca9"} 
[2026-08-26 11:38:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":19,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657307648001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 11:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787724159000,"timestamp_ms":1787724159000,"timestamp_seconds":1787724159,"priority":1,"record_length":96,"hex_timestamp":"000001a03ca9d818"} 
[2026-08-26 11: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-26 11:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 11:38:19] 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-26 11: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-26 11: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-26 11:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:38:19] 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-26 11:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657307648001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657307648001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:38:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:38:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657307648001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":162561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:38:19] local.INFO: GPS data processed {"connection_id":162561,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:38:19] local.INFO: Acknowledgment sent {"connection_id":162561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:38:44] local.INFO: TCP Data received {"connection_id":164927,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:38:44] local.INFO: Processing buffer {"connection_id":164927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:38:44] local.INFO: IMEI packet received {"connection_id":164927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":164927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:38:47] local.INFO: TCP Data received {"connection_id":164927,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:38:47] local.INFO: Processing buffer {"connection_id":164927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:38:47] local.INFO: IMEI packet received {"connection_id":164927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":164927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:38:48] local.INFO: TCP Data received {"connection_id":164927,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03cae6fe0012d34c14006aa4818000e00e62d..."} 
[2026-08-26 11:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cae6fe0012d34c14006aa4818000e00e62d..."} 
[2026-08-26 11:38:48] local.INFO: Processing buffer {"connection_id":164927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cae6fe0012d34c14006aa4818000e00e62d..."} 
[2026-08-26 11:38:48] local.INFO: Packet analysis {"connection_id":164927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cae"} 
[2026-08-26 11:38:48] local.INFO: Extracted packet for processing {"connection_id":164927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cae"} 
[2026-08-26 11:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657384704001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 11:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787724460000,"timestamp_ms":1787724460000,"timestamp_seconds":1787724460,"priority":1,"record_length":96,"hex_timestamp":"000001a03cae6fe0"} 
[2026-08-26 11: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-26 11:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 11:38:48] 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-26 11: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-26 11: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-26 11:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:38:48] 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-26 11:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657384704001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657384704001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:38:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:38:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657384704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":164927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:38:48] local.INFO: GPS data processed {"connection_id":164927,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:38:48] local.INFO: Acknowledgment sent {"connection_id":164927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:38:57] local.INFO: TCP Data received {"connection_id":164927,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03cae6fe0012d34c14006aa4818000e00e62d..."} 
[2026-08-26 11:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cae6fe0012d34c14006aa4818000e00e62d..."} 
[2026-08-26 11:38:57] local.INFO: Processing buffer {"connection_id":164927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cae6fe0012d34c14006aa4818000e00e62d..."} 
[2026-08-26 11:38:57] local.INFO: Packet analysis {"connection_id":164927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cae"} 
[2026-08-26 11:38:57] local.INFO: Extracted packet for processing {"connection_id":164927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cae"} 
[2026-08-26 11:38:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657384704001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:38: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-26 11:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787724460000,"timestamp_ms":1787724460000,"timestamp_seconds":1787724460,"priority":1,"record_length":96,"hex_timestamp":"000001a03cae6fe0"} 
[2026-08-26 11:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 11:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 11:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:38:57] 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-26 11:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657384704001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657384704001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:38:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:38:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657384704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":164927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:38:57] local.INFO: GPS data processed {"connection_id":164927,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:38:57] local.INFO: Acknowledgment sent {"connection_id":164927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:39:03] local.INFO: TCP Data received {"connection_id":164926,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:39:03] local.INFO: Processing buffer {"connection_id":164926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:39:03] local.INFO: IMEI packet received {"connection_id":164926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 11:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":164926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:39:37] local.INFO: TCP Data received {"connection_id":163579,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:39:37] local.INFO: Processing buffer {"connection_id":163579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:39:37] local.INFO: IMEI packet received {"connection_id":163579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":163579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:39:43] local.INFO: TCP Data received {"connection_id":163579,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:39:43] local.INFO: Processing buffer {"connection_id":163579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:39:43] local.INFO: IMEI packet received {"connection_id":163579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":163579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:39:44] local.INFO: TCP Data received {"connection_id":163579,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03cae6fe0012d34c14006aa4818000e00e62d..."} 
[2026-08-26 11:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cae6fe0012d34c14006aa4818000e00e62d..."} 
[2026-08-26 11:39:44] local.INFO: Processing buffer {"connection_id":163579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cae6fe0012d34c14006aa4818000e00e62d..."} 
[2026-08-26 11:39:44] local.INFO: Packet analysis {"connection_id":163579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cae"} 
[2026-08-26 11:39:44] local.INFO: Extracted packet for processing {"connection_id":163579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cae"} 
[2026-08-26 11:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657384704001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:39: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-26 11:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787724460000,"timestamp_ms":1787724460000,"timestamp_seconds":1787724460,"priority":1,"record_length":96,"hex_timestamp":"000001a03cae6fe0"} 
[2026-08-26 11:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:39: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-26 11:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 11:39:44] 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-26 11:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:39:44] 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-26 11:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657384704001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657384704001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:39:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:39:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657384704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":163579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:39:44] local.INFO: GPS data processed {"connection_id":163579,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:39:44] local.INFO: Acknowledgment sent {"connection_id":163579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:40:16] local.INFO: TCP Data received {"connection_id":163579,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03cae6fe0012d34c14006aa4818000e00e62d..."} 
[2026-08-26 11:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cae6fe0012d34c14006aa4818000e00e62d..."} 
[2026-08-26 11:40:16] local.INFO: Processing buffer {"connection_id":163579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cae6fe0012d34c14006aa4818000e00e62d..."} 
[2026-08-26 11:40:16] local.INFO: Packet analysis {"connection_id":163579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cae"} 
[2026-08-26 11:40:16] local.INFO: Extracted packet for processing {"connection_id":163579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cae"} 
[2026-08-26 11:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657384704001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:40: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-26 11:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787724460000,"timestamp_ms":1787724460000,"timestamp_seconds":1787724460,"priority":1,"record_length":96,"hex_timestamp":"000001a03cae6fe0"} 
[2026-08-26 11:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:40: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-26 11:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 11:40:16] 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-26 11:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:40:16] 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-26 11:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657384704001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657384704001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:40:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:40:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657384704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":163579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:40:16] local.INFO: GPS data processed {"connection_id":163579,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:40:16] local.INFO: Acknowledgment sent {"connection_id":163579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:44:37] local.INFO: TCP Data received {"connection_id":164928,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:44:37] local.INFO: Processing buffer {"connection_id":164928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:44:37] local.INFO: IMEI packet received {"connection_id":164928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 11:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":164928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:44:52] local.INFO: TCP Data received {"connection_id":163580,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:44:52] local.INFO: Processing buffer {"connection_id":163580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:44:52] local.INFO: IMEI packet received {"connection_id":163580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":163580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:44:57] local.INFO: TCP Data received {"connection_id":163580,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:44:57] local.INFO: Processing buffer {"connection_id":163580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:44:57] local.INFO: IMEI packet received {"connection_id":163580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":163580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:44:58] local.INFO: TCP Data received {"connection_id":163580,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03cb307a8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 11:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cb307a8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 11:44:58] local.INFO: Processing buffer {"connection_id":163580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cb307a8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 11:44:58] local.INFO: Packet analysis {"connection_id":163580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cb3"} 
[2026-08-26 11:44:58] local.INFO: Extracted packet for processing {"connection_id":163580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cb3"} 
[2026-08-26 11:44:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657461760001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 11:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787724761000,"timestamp_ms":1787724761000,"timestamp_seconds":1787724761,"priority":1,"record_length":96,"hex_timestamp":"000001a03cb307a8"} 
[2026-08-26 11:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 11:44: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-26 11:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 11:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657461760001,"66":25071,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 11:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657461760001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:44:58] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 11:44:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657461760001,"power":25071,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":163580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:44:58] local.INFO: GPS data processed {"connection_id":163580,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:44:58] local.INFO: Acknowledgment sent {"connection_id":163580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:45:42] local.INFO: TCP Data received {"connection_id":164929,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:45:42] local.INFO: Processing buffer {"connection_id":164929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:45:42] local.INFO: IMEI packet received {"connection_id":164929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":164929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:45:47] local.INFO: TCP Data received {"connection_id":164929,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:45:47] local.INFO: Processing buffer {"connection_id":164929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:45:47] local.INFO: IMEI packet received {"connection_id":164929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":164929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:45:48] local.INFO: TCP Data received {"connection_id":164929,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03cb307a8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 11:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cb307a8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 11:45:48] local.INFO: Processing buffer {"connection_id":164929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cb307a8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 11:45:48] local.INFO: Packet analysis {"connection_id":164929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cb3"} 
[2026-08-26 11:45:48] local.INFO: Extracted packet for processing {"connection_id":164929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cb3"} 
[2026-08-26 11:45:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657461760001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 11:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787724761000,"timestamp_ms":1787724761000,"timestamp_seconds":1787724761,"priority":1,"record_length":96,"hex_timestamp":"000001a03cb307a8"} 
[2026-08-26 11: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-26 11:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 11:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 11: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-26 11: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-26 11:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:45:48] 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-26 11:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657461760001,"66":25071,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 11:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657461760001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:45:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 11:45:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657461760001,"power":25071,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":164929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:45:48] local.INFO: GPS data processed {"connection_id":164929,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:45:48] local.INFO: Acknowledgment sent {"connection_id":164929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:45:52] local.INFO: TCP Data received {"connection_id":164929,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03cb307a8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 11:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cb307a8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 11:45:52] local.INFO: Processing buffer {"connection_id":164929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cb307a8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 11:45:52] local.INFO: Packet analysis {"connection_id":164929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cb3"} 
[2026-08-26 11:45:52] local.INFO: Extracted packet for processing {"connection_id":164929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cb3"} 
[2026-08-26 11:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657461760001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 11:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787724761000,"timestamp_ms":1787724761000,"timestamp_seconds":1787724761,"priority":1,"record_length":96,"hex_timestamp":"000001a03cb307a8"} 
[2026-08-26 11: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-26 11:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 11:45: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-26 11: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-26 11: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-26 11:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:45:52] 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-26 11:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657461760001,"66":25071,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 11:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657461760001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:45:52] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 11:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657461760001,"power":25071,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":164929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:45:52] local.INFO: GPS data processed {"connection_id":164929,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:45:52] local.INFO: Acknowledgment sent {"connection_id":164929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:46:37] local.INFO: TCP Data received {"connection_id":162562,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:46:37] local.INFO: Processing buffer {"connection_id":162562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:46:37] local.INFO: IMEI packet received {"connection_id":162562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":162562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:46:42] local.INFO: TCP Data received {"connection_id":162562,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:46:42] local.INFO: Processing buffer {"connection_id":162562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:46:42] local.INFO: IMEI packet received {"connection_id":162562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":162562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:46:43] local.INFO: TCP Data received {"connection_id":162562,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03cb307a8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 11:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cb307a8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 11:46:43] local.INFO: Processing buffer {"connection_id":162562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cb307a8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 11:46:43] local.INFO: Packet analysis {"connection_id":162562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cb3"} 
[2026-08-26 11:46:43] local.INFO: Extracted packet for processing {"connection_id":162562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cb3"} 
[2026-08-26 11:46:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657461760001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 11:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787724761000,"timestamp_ms":1787724761000,"timestamp_seconds":1787724761,"priority":1,"record_length":96,"hex_timestamp":"000001a03cb307a8"} 
[2026-08-26 11:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:46: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-26 11:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 11:46: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-26 11:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:46:43] 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-26 11:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657461760001,"66":25071,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 11:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657461760001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:46:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 11:46:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657461760001,"power":25071,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":162562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:46:43] local.INFO: GPS data processed {"connection_id":162562,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:46:43] local.INFO: Acknowledgment sent {"connection_id":162562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:47:14] local.INFO: TCP Data received {"connection_id":162562,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03cb307a8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 11:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cb307a8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 11:47:14] local.INFO: Processing buffer {"connection_id":162562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cb307a8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 11:47:14] local.INFO: Packet analysis {"connection_id":162562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cb3"} 
[2026-08-26 11:47:14] local.INFO: Extracted packet for processing {"connection_id":162562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cb3"} 
[2026-08-26 11:47:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 11:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657461760001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 11:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787724761000,"timestamp_ms":1787724761000,"timestamp_seconds":1787724761,"priority":1,"record_length":96,"hex_timestamp":"000001a03cb307a8"} 
[2026-08-26 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-26 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-26 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 11:47: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-26 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-26 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-26 11:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11: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-26 11:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657461760001,"66":25071,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 11:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657461760001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:47:14] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 11:47:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657461760001,"power":25071,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":162562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:47:14] local.INFO: GPS data processed {"connection_id":162562,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:47:14] local.INFO: Acknowledgment sent {"connection_id":162562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:47:37] local.INFO: TCP Data received {"connection_id":162563,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:47:37] local.INFO: Processing buffer {"connection_id":162563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:47:37] local.INFO: IMEI packet received {"connection_id":162563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":162563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:47:42] local.INFO: TCP Data received {"connection_id":162563,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:47:42] local.INFO: Processing buffer {"connection_id":162563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:47:42] local.INFO: IMEI packet received {"connection_id":162563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":162563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:47:44] local.INFO: TCP Data received {"connection_id":162563,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03cb307a8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 11:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cb307a8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 11:47:44] local.INFO: Processing buffer {"connection_id":162563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cb307a8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 11:47:44] local.INFO: Packet analysis {"connection_id":162563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cb3"} 
[2026-08-26 11:47:44] local.INFO: Extracted packet for processing {"connection_id":162563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cb3"} 
[2026-08-26 11:47:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657461760001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 11:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787724761000,"timestamp_ms":1787724761000,"timestamp_seconds":1787724761,"priority":1,"record_length":96,"hex_timestamp":"000001a03cb307a8"} 
[2026-08-26 11: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-26 11:47: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-26 11: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 11:47: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-26 11: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-26 11: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-26 11:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:47: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-26 11:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657461760001,"66":25071,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 11:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657461760001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:47:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 11:47:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657461760001,"power":25071,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":162563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:47:44] local.INFO: GPS data processed {"connection_id":162563,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:47:44] local.INFO: Acknowledgment sent {"connection_id":162563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:48:15] local.INFO: TCP Data received {"connection_id":162563,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03cb307a8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 11:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cb307a8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 11:48:15] local.INFO: Processing buffer {"connection_id":162563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cb307a8012d34c14006aa4818000a00e62e..."} 
[2026-08-26 11:48:15] local.INFO: Packet analysis {"connection_id":162563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cb3"} 
[2026-08-26 11:48:15] local.INFO: Extracted packet for processing {"connection_id":162563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cb3"} 
[2026-08-26 11:48:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657461760001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 11:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787724761000,"timestamp_ms":1787724761000,"timestamp_seconds":1787724761,"priority":1,"record_length":96,"hex_timestamp":"000001a03cb307a8"} 
[2026-08-26 11:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 11:48: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-26 11:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:48: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-26 11:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657461760001,"66":25071,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 11:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657461760001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:48:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 11:48:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657461760001,"power":25071,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":162563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:48:15] local.INFO: GPS data processed {"connection_id":162563,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:48:15] local.INFO: Acknowledgment sent {"connection_id":162563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:48:37] local.INFO: TCP Data received {"connection_id":162564,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:48:37] local.INFO: Processing buffer {"connection_id":162564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:48:37] local.INFO: IMEI packet received {"connection_id":162564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":162564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:48:42] local.INFO: TCP Data received {"connection_id":162564,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:48:42] local.INFO: Processing buffer {"connection_id":162564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:48:42] local.INFO: IMEI packet received {"connection_id":162564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":162564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:48:43] local.INFO: TCP Data received {"connection_id":162564,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03cb79f70012d34c14006aa4818000c00e62e..."} 
[2026-08-26 11:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cb79f70012d34c14006aa4818000c00e62e..."} 
[2026-08-26 11:48:43] local.INFO: Processing buffer {"connection_id":162564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cb79f70012d34c14006aa4818000c00e62e..."} 
[2026-08-26 11:48:43] local.INFO: Packet analysis {"connection_id":162564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cb7"} 
[2026-08-26 11:48:43] local.INFO: Extracted packet for processing {"connection_id":162564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cb7"} 
[2026-08-26 11:48:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657538816001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:48: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-26 11:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787725062000,"timestamp_ms":1787725062000,"timestamp_seconds":1787725062,"priority":1,"record_length":96,"hex_timestamp":"000001a03cb79f70"} 
[2026-08-26 11:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:48: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-26 11:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-26 11:48:43] 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-26 11:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:48:43] 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-26 11:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657538816001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657538816001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:48:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:48:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657538816001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":162564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:48:43] local.INFO: GPS data processed {"connection_id":162564,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:48:43] local.INFO: Acknowledgment sent {"connection_id":162564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:49:20] local.INFO: TCP Data received {"connection_id":162564,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03cb79f70012d34c14006aa4818000c00e62e..."} 
[2026-08-26 11:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cb79f70012d34c14006aa4818000c00e62e..."} 
[2026-08-26 11:49:20] local.INFO: Processing buffer {"connection_id":162564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cb79f70012d34c14006aa4818000c00e62e..."} 
[2026-08-26 11:49:20] local.INFO: Packet analysis {"connection_id":162564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cb7"} 
[2026-08-26 11:49:20] local.INFO: Extracted packet for processing {"connection_id":162564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cb7"} 
[2026-08-26 11:49:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657538816001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:49: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-26 11:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787725062000,"timestamp_ms":1787725062000,"timestamp_seconds":1787725062,"priority":1,"record_length":96,"hex_timestamp":"000001a03cb79f70"} 
[2026-08-26 11: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-26 11:49: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-26 11: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-26 11:49:20] 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-26 11: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-26 11: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-26 11:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:49:20] 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-26 11:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657538816001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657538816001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:49:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:49:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657538816001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":162564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:49:20] local.INFO: GPS data processed {"connection_id":162564,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:49:20] local.INFO: Acknowledgment sent {"connection_id":162564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:49:38] local.INFO: TCP Data received {"connection_id":164930,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:49:38] local.INFO: Processing buffer {"connection_id":164930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:49:38] local.INFO: IMEI packet received {"connection_id":164930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":164930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:49:44] local.INFO: TCP Data received {"connection_id":164930,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:49:44] local.INFO: Processing buffer {"connection_id":164930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:49:44] local.INFO: IMEI packet received {"connection_id":164930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":164930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:50:12] local.INFO: TCP Data received {"connection_id":162320,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:50:12] local.INFO: Processing buffer {"connection_id":162320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:50:12] local.INFO: IMEI packet received {"connection_id":162320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 11:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":162320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:50:15] local.INFO: TCP Data received {"connection_id":164930,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03cb79f70012d34c14006aa4818000c00e62e..."} 
[2026-08-26 11:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cb79f70012d34c14006aa4818000c00e62e..."} 
[2026-08-26 11:50:15] local.INFO: Processing buffer {"connection_id":164930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cb79f70012d34c14006aa4818000c00e62e..."} 
[2026-08-26 11:50:15] local.INFO: Packet analysis {"connection_id":164930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cb7"} 
[2026-08-26 11:50:15] local.INFO: Extracted packet for processing {"connection_id":164930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cb7"} 
[2026-08-26 11:50:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657538816001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:50: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-26 11:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787725062000,"timestamp_ms":1787725062000,"timestamp_seconds":1787725062,"priority":1,"record_length":96,"hex_timestamp":"000001a03cb79f70"} 
[2026-08-26 11:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:50: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-26 11:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-26 11:50:15] 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-26 11:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:50: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-26 11:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657538816001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657538816001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:50:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:50:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657538816001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":164930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:50:15] local.INFO: GPS data processed {"connection_id":164930,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:50:15] local.INFO: Acknowledgment sent {"connection_id":164930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:50:59] local.INFO: TCP Data received {"connection_id":164930,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03cb79f70012d34c14006aa4818000c00e62e..."} 
[2026-08-26 11:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cb79f70012d34c14006aa4818000c00e62e..."} 
[2026-08-26 11:50:59] local.INFO: Processing buffer {"connection_id":164930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cb79f70012d34c14006aa4818000c00e62e..."} 
[2026-08-26 11:50:59] local.INFO: Packet analysis {"connection_id":164930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cb7"} 
[2026-08-26 11:50:59] local.INFO: Extracted packet for processing {"connection_id":164930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cb7"} 
[2026-08-26 11:50:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657538816001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 11:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787725062000,"timestamp_ms":1787725062000,"timestamp_seconds":1787725062,"priority":1,"record_length":96,"hex_timestamp":"000001a03cb79f70"} 
[2026-08-26 11:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:50: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-26 11:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-26 11:50:59] 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-26 11:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 11:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657538816001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657538816001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:50:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:50:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657538816001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":164930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:50:59] local.INFO: GPS data processed {"connection_id":164930,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:50:59] local.INFO: Acknowledgment sent {"connection_id":164930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:51:12] local.INFO: TCP Data received {"connection_id":162321,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:51:12] local.INFO: Processing buffer {"connection_id":162321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:51:12] local.INFO: IMEI packet received {"connection_id":162321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":162321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:51:19] local.INFO: TCP Data received {"connection_id":162321,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:51:19] local.INFO: Processing buffer {"connection_id":162321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:51:19] local.INFO: IMEI packet received {"connection_id":162321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":162321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:52:41] local.INFO: TCP Data received {"connection_id":162321,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03cb79f70012d34c14006aa4818000c00e62e..."} 
[2026-08-26 11:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cb79f70012d34c14006aa4818000c00e62e..."} 
[2026-08-26 11:52:41] local.INFO: Processing buffer {"connection_id":162321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cb79f70012d34c14006aa4818000c00e62e..."} 
[2026-08-26 11:52:41] local.INFO: Packet analysis {"connection_id":162321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cb7"} 
[2026-08-26 11:52:41] local.INFO: Extracted packet for processing {"connection_id":162321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cb7"} 
[2026-08-26 11:52:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657538816001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:52: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-26 11:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787725062000,"timestamp_ms":1787725062000,"timestamp_seconds":1787725062,"priority":1,"record_length":96,"hex_timestamp":"000001a03cb79f70"} 
[2026-08-26 11:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:52: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-26 11:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-26 11:52:41] 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-26 11:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 11:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657538816001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657538816001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:52:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:52:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657538816001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":162321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:52:41] local.INFO: GPS data processed {"connection_id":162321,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:52:41] local.INFO: Acknowledgment sent {"connection_id":162321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:52:47] local.INFO: TCP Data received {"connection_id":163581,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:52:47] local.INFO: Processing buffer {"connection_id":163581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:52:47] local.INFO: IMEI packet received {"connection_id":163581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":163581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:52:52] local.INFO: TCP Data received {"connection_id":163581,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:52:52] local.INFO: Processing buffer {"connection_id":163581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:52:52] local.INFO: IMEI packet received {"connection_id":163581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":163581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:52:52] local.INFO: TCP Data received {"connection_id":163581,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03cb79f70012d34c14006aa4818000c00e62e..."} 
[2026-08-26 11:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cb79f70012d34c14006aa4818000c00e62e..."} 
[2026-08-26 11:52:52] local.INFO: Processing buffer {"connection_id":163581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cb79f70012d34c14006aa4818000c00e62e..."} 
[2026-08-26 11:52:52] local.INFO: Packet analysis {"connection_id":163581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cb7"} 
[2026-08-26 11:52:52] local.INFO: Extracted packet for processing {"connection_id":163581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cb7"} 
[2026-08-26 11:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657538816001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:52: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-26 11:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787725062000,"timestamp_ms":1787725062000,"timestamp_seconds":1787725062,"priority":1,"record_length":96,"hex_timestamp":"000001a03cb79f70"} 
[2026-08-26 11: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-26 11:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-26 11:52:52] 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-26 11: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-26 11: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-26 11:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:52:52] 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-26 11:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657538816001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 11:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657538816001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:52:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 11:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657538816001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":163581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:52:52] local.INFO: GPS data processed {"connection_id":163581,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:52:52] local.INFO: Acknowledgment sent {"connection_id":163581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:53:42] local.INFO: TCP Data received {"connection_id":162322,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:53:42] local.INFO: Processing buffer {"connection_id":162322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:53:42] local.INFO: IMEI packet received {"connection_id":162322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":162322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:53:47] local.INFO: TCP Data received {"connection_id":162322,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:53:47] local.INFO: Processing buffer {"connection_id":162322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:53:47] local.INFO: IMEI packet received {"connection_id":162322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":162322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:53:48] local.INFO: TCP Data received {"connection_id":162322,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03cbc3738012d34c14006aa4818000a00e62b..."} 
[2026-08-26 11:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cbc3738012d34c14006aa4818000a00e62b..."} 
[2026-08-26 11:53:48] local.INFO: Processing buffer {"connection_id":162322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cbc3738012d34c14006aa4818000a00e62b..."} 
[2026-08-26 11:53:48] local.INFO: Packet analysis {"connection_id":162322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cbc"} 
[2026-08-26 11:53:48] local.INFO: Extracted packet for processing {"connection_id":162322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cbc"} 
[2026-08-26 11:53:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657615872001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:53:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787725363000,"timestamp_ms":1787725363000,"timestamp_seconds":1787725363,"priority":1,"record_length":96,"hex_timestamp":"000001a03cbc3738"} 
[2026-08-26 11: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-26 11:53:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 11:53:48] 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-26 11: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-26 11: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-26 11:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:53:48] 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-26 11:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657615872001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657615872001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:53:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657615872001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":162322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:53:48] local.INFO: GPS data processed {"connection_id":162322,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:53:48] local.INFO: Acknowledgment sent {"connection_id":162322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:54:21] local.INFO: TCP Data received {"connection_id":162322,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03cbc3738012d34c14006aa4818000a00e62b..."} 
[2026-08-26 11:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cbc3738012d34c14006aa4818000a00e62b..."} 
[2026-08-26 11:54:21] local.INFO: Processing buffer {"connection_id":162322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cbc3738012d34c14006aa4818000a00e62b..."} 
[2026-08-26 11:54:21] local.INFO: Packet analysis {"connection_id":162322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cbc"} 
[2026-08-26 11:54:21] local.INFO: Extracted packet for processing {"connection_id":162322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cbc"} 
[2026-08-26 11:54:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657615872001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:54:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787725363000,"timestamp_ms":1787725363000,"timestamp_seconds":1787725363,"priority":1,"record_length":96,"hex_timestamp":"000001a03cbc3738"} 
[2026-08-26 11:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 11:54:21] 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-26 11:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:54:21] 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-26 11:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657615872001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657615872001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:54:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657615872001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":162322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:54:21] local.INFO: GPS data processed {"connection_id":162322,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:54:21] local.INFO: Acknowledgment sent {"connection_id":162322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:54:37] local.INFO: TCP Data received {"connection_id":164932,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:54:37] local.INFO: Processing buffer {"connection_id":164932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:54:37] local.INFO: IMEI packet received {"connection_id":164932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":164932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:54:51] local.INFO: TCP Data received {"connection_id":164932,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:54:51] local.INFO: Processing buffer {"connection_id":164932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:54:51] local.INFO: IMEI packet received {"connection_id":164932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":164932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:54:51] local.INFO: TCP Data received {"connection_id":164932,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03cbc3738012d34c14006aa4818000a00e62b..."} 
[2026-08-26 11:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cbc3738012d34c14006aa4818000a00e62b..."} 
[2026-08-26 11:54:51] local.INFO: Processing buffer {"connection_id":164932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cbc3738012d34c14006aa4818000a00e62b..."} 
[2026-08-26 11:54:51] local.INFO: Packet analysis {"connection_id":164932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cbc"} 
[2026-08-26 11:54:51] local.INFO: Extracted packet for processing {"connection_id":164932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cbc"} 
[2026-08-26 11:54:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:54: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-26 11:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657615872001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:54:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787725363000,"timestamp_ms":1787725363000,"timestamp_seconds":1787725363,"priority":1,"record_length":96,"hex_timestamp":"000001a03cbc3738"} 
[2026-08-26 11:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11:54: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 11:54:51] 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-26 11:54: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-26 11:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:54:51] 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-26 11:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657615872001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657615872001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:54:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657615872001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":164932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:54:51] local.INFO: GPS data processed {"connection_id":164932,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:54:51] local.INFO: Acknowledgment sent {"connection_id":164932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:55:37] local.INFO: TCP Data received {"connection_id":162565,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:55:37] local.INFO: Processing buffer {"connection_id":162565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:55:37] local.INFO: IMEI packet received {"connection_id":162565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":162565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:55:42] local.INFO: TCP Data received {"connection_id":162565,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:55:42] local.INFO: Processing buffer {"connection_id":162565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:55:42] local.INFO: IMEI packet received {"connection_id":162565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":162565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:55:43] local.INFO: TCP Data received {"connection_id":162565,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03cbc3738012d34c14006aa4818000a00e62b..."} 
[2026-08-26 11:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cbc3738012d34c14006aa4818000a00e62b..."} 
[2026-08-26 11:55:43] local.INFO: Processing buffer {"connection_id":162565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cbc3738012d34c14006aa4818000a00e62b..."} 
[2026-08-26 11:55:43] local.INFO: Packet analysis {"connection_id":162565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cbc"} 
[2026-08-26 11:55:43] local.INFO: Extracted packet for processing {"connection_id":162565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cbc"} 
[2026-08-26 11:55:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657615872001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:55:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787725363000,"timestamp_ms":1787725363000,"timestamp_seconds":1787725363,"priority":1,"record_length":96,"hex_timestamp":"000001a03cbc3738"} 
[2026-08-26 11:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:55: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-26 11:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 11:55:43] 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-26 11:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:55:43] 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-26 11:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657615872001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657615872001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:55:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657615872001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":162565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:55:43] local.INFO: GPS data processed {"connection_id":162565,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:55:43] local.INFO: Acknowledgment sent {"connection_id":162565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:55:48] local.INFO: TCP Data received {"connection_id":164931,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:55:48] local.INFO: Processing buffer {"connection_id":164931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 11:55:48] local.INFO: IMEI packet received {"connection_id":164931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 11:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":164931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:56:15] local.INFO: TCP Data received {"connection_id":162565,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03cbc3738012d34c14006aa4818000a00e62b..."} 
[2026-08-26 11:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cbc3738012d34c14006aa4818000a00e62b..."} 
[2026-08-26 11:56:15] local.INFO: Processing buffer {"connection_id":162565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cbc3738012d34c14006aa4818000a00e62b..."} 
[2026-08-26 11:56:15] local.INFO: Packet analysis {"connection_id":162565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cbc"} 
[2026-08-26 11:56:15] local.INFO: Extracted packet for processing {"connection_id":162565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cbc"} 
[2026-08-26 11:56:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657615872001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:56:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787725363000,"timestamp_ms":1787725363000,"timestamp_seconds":1787725363,"priority":1,"record_length":96,"hex_timestamp":"000001a03cbc3738"} 
[2026-08-26 11: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-26 11: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-26 11: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 11:56:15] 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-26 11: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-26 11: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-26 11:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:56: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-26 11:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657615872001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657615872001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:56:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657615872001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":162565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:56:15] local.INFO: GPS data processed {"connection_id":162565,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:56:15] local.INFO: Acknowledgment sent {"connection_id":162565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:56:58] local.INFO: TCP Data received {"connection_id":162566,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 11:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 11:56:58] local.INFO: Processing buffer {"connection_id":162566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 11:56:58] local.INFO: IMEI packet received {"connection_id":162566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 11:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":162566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:57:03] local.INFO: TCP Data received {"connection_id":162566,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 11:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162566,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 11:57:03] local.INFO: Processing buffer {"connection_id":162566,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 11:57:03] local.INFO: IMEI packet received {"connection_id":162566,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 11:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":162566,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:57:04] local.INFO: TCP Data received {"connection_id":162566,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a00000000000055f00100000000000000000000000000..."} 
[2026-08-26 11:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162566,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000055f00100000000000000000000000000..."} 
[2026-08-26 11:57:04] local.INFO: Processing buffer {"connection_id":162566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000055f00100000000000000000000000000..."} 
[2026-08-26 11:57:04] local.INFO: Packet analysis {"connection_id":162566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-26 11:57:04] local.INFO: Extracted packet for processing {"connection_id":162566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-26 11:57: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-26 11:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 11:57:04] 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-26 11:57:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":22000,"timestamp_seconds":22,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 11:57:04] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-26 11:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162566,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162566,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 11:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162566,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 11:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-26 11:57:04] local.WARNING: DEBUG: No valid data to process  
[2026-08-26 11:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":162566,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-26 11:57:04] local.ERROR: GPS data processing failed {"connection_id":162566,"error":"No valid data to process"} 
[2026-08-26 11:57:04] local.INFO: Acknowledgment sent {"connection_id":162566,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-26 11:57:35] local.INFO: TCP Data received {"connection_id":162566,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a00000000000059d80100000000000000000000000000..."} 
[2026-08-26 11:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162566,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000059d80100000000000000000000000000..."} 
[2026-08-26 11:57:35] local.INFO: Processing buffer {"connection_id":162566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000059d80100000000000000000000000000..."} 
[2026-08-26 11:57:35] local.INFO: Packet analysis {"connection_id":162566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-26 11:57:35] local.INFO: Extracted packet for processing {"connection_id":162566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-26 11:57:35] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-26 11:57: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-26 11:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 11:57:35] 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-26 11:57:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":23000,"timestamp_seconds":23,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 11:57:35] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-26 11:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":162566,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":162566,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 11:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":162566,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 11:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-26 11:57:35] local.WARNING: DEBUG: No valid data to process  
[2026-08-26 11:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":162566,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-26 11:57:35] local.ERROR: GPS data processing failed {"connection_id":162566,"error":"No valid data to process"} 
[2026-08-26 11:57:35] local.INFO: Acknowledgment sent {"connection_id":162566,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-26 11:57:47] local.INFO: TCP Data received {"connection_id":162323,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:57:47] local.INFO: Processing buffer {"connection_id":162323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:57:47] local.INFO: IMEI packet received {"connection_id":162323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":162323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:58:03] local.INFO: TCP Data received {"connection_id":162323,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:58:03] local.INFO: Processing buffer {"connection_id":162323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:58:03] local.INFO: IMEI packet received {"connection_id":162323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":162323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:58:05] local.INFO: TCP Data received {"connection_id":162323,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03cbc3738012d34c14006aa4818000a00e62b..."} 
[2026-08-26 11:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cbc3738012d34c14006aa4818000a00e62b..."} 
[2026-08-26 11:58:05] local.INFO: Processing buffer {"connection_id":162323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cbc3738012d34c14006aa4818000a00e62b..."} 
[2026-08-26 11:58:05] local.INFO: Packet analysis {"connection_id":162323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cbc"} 
[2026-08-26 11:58:05] local.INFO: Extracted packet for processing {"connection_id":162323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cbc"} 
[2026-08-26 11:58:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657615872001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:58:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787725363000,"timestamp_ms":1787725363000,"timestamp_seconds":1787725363,"priority":1,"record_length":96,"hex_timestamp":"000001a03cbc3738"} 
[2026-08-26 11:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11: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-26 11:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 11: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-26 11: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-26 11:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":162323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":162323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":162323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11: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-26 11:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657615872001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657615872001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:58:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657615872001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":162323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:58:05] local.INFO: GPS data processed {"connection_id":162323,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:58:05] local.INFO: Acknowledgment sent {"connection_id":162323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:58:06] local.INFO: TCP Data received {"connection_id":162566,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a00000000000059d80100000000000000000000000000..."} 
[2026-08-26 11:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162566,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000059d80100000000000000000000000000..."} 
[2026-08-26 11:58:06] local.INFO: Processing buffer {"connection_id":162566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000059d80100000000000000000000000000..."} 
[2026-08-26 11:58:06] local.INFO: Packet analysis {"connection_id":162566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-26 11:58:06] local.INFO: Extracted packet for processing {"connection_id":162566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-26 11:58:06] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-26 11:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 11:58:06] 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-26 11:58:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":23000,"timestamp_seconds":23,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 11:58:06] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-26 11:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162566,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162566,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 11:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162566,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 11:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-26 11:58:06] local.WARNING: DEBUG: No valid data to process  
[2026-08-26 11:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":162566,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-26 11:58:06] local.ERROR: GPS data processing failed {"connection_id":162566,"error":"No valid data to process"} 
[2026-08-26 11:58:06] local.INFO: Acknowledgment sent {"connection_id":162566,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-26 11:58:07] local.INFO: TCP Data received {"connection_id":162323,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03cbc3738012d34c14006aa4818000a00e62b..."} 
[2026-08-26 11:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cbc3738012d34c14006aa4818000a00e62b..."} 
[2026-08-26 11:58:07] local.INFO: Processing buffer {"connection_id":162323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cbc3738012d34c14006aa4818000a00e62b..."} 
[2026-08-26 11:58:07] local.INFO: Packet analysis {"connection_id":162323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cbc"} 
[2026-08-26 11:58:07] local.INFO: Extracted packet for processing {"connection_id":162323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cbc"} 
[2026-08-26 11:58:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11: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-26 11:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657615872001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:58:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 11:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 11:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787725363000,"timestamp_ms":1787725363000,"timestamp_seconds":1787725363,"priority":1,"record_length":96,"hex_timestamp":"000001a03cbc3738"} 
[2026-08-26 11: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-26 11:58: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-26 11: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":107,"data_length":795,"current_offset":136} 
[2026-08-26 11:58: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-26 11: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-26 11: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-26 11:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:58: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-26 11:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657615872001,"66":25473,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 11:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657615872001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:58:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657615872001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":162323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:58:07] local.INFO: GPS data processed {"connection_id":162323,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:58:07] local.INFO: Acknowledgment sent {"connection_id":162323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 11:58:37] local.INFO: TCP Data received {"connection_id":162566,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a00000000000059d80100000000000000000000000000..."} 
[2026-08-26 11:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162566,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000059d80100000000000000000000000000..."} 
[2026-08-26 11:58:37] local.INFO: Processing buffer {"connection_id":162566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000059d80100000000000000000000000000..."} 
[2026-08-26 11:58:37] local.INFO: Packet analysis {"connection_id":162566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-26 11:58:37] local.INFO: Extracted packet for processing {"connection_id":162566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-26 11:58:37] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-26 11:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 11:58:37] 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-26 11:58:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":23000,"timestamp_seconds":23,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 11:58:37] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-26 11:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":162566,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":162566,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 11:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":162566,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 11:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-26 11:58:37] local.WARNING: DEBUG: No valid data to process  
[2026-08-26 11:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":162566,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-26 11:58:37] local.ERROR: GPS data processing failed {"connection_id":162566,"error":"No valid data to process"} 
[2026-08-26 11:58:37] local.INFO: Acknowledgment sent {"connection_id":162566,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-26 11:59:32] local.INFO: TCP Data received {"connection_id":162325,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:59:32] local.INFO: Processing buffer {"connection_id":162325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:59:32] local.INFO: IMEI packet received {"connection_id":162325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 11:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":162325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 11:59:37] local.INFO: TCP Data received {"connection_id":162325,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:59:37] local.INFO: Processing buffer {"connection_id":162325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 11:59:37] local.INFO: IMEI packet received {"connection_id":162325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 11:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":162325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 11:59:38] local.INFO: TCP Data received {"connection_id":162325,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03cc0cf00012d34c14006aa4818000400e62d..."} 
[2026-08-26 11:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cc0cf00012d34c14006aa4818000400e62d..."} 
[2026-08-26 11:59:38] local.INFO: Processing buffer {"connection_id":162325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cc0cf00012d34c14006aa4818000400e62d..."} 
[2026-08-26 11:59:38] local.INFO: Packet analysis {"connection_id":162325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cc0"} 
[2026-08-26 11:59:38] local.INFO: Extracted packet for processing {"connection_id":162325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cc0"} 
[2026-08-26 11:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 11:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 11:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657692928001,"note":"Value kept but may cause issues"} 
[2026-08-26 11:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 11:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 11:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 11:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787725664000,"timestamp_ms":1787725664000,"timestamp_seconds":1787725664,"priority":1,"record_length":96,"hex_timestamp":"000001a03cc0cf00"} 
[2026-08-26 11:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 11:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 11:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 11:59: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-26 11:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 11:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 11:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 11:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":162325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 11:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":162325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":162325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 11:59: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-26 11:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 11:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 11:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657692928001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 11:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 11:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 11:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657692928001,"description":"Unknown IO ID 0"} 
[2026-08-26 11:59:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 11:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 11:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 11:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 11:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657692928001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 11:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":162325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 11:59:38] local.INFO: GPS data processed {"connection_id":162325,"processed":1,"errors":0,"total":1} 
[2026-08-26 11:59:38] local.INFO: Acknowledgment sent {"connection_id":162325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:00:14] local.INFO: TCP Data received {"connection_id":162325,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03cc0cf00012d34c14006aa4818000400e62d..."} 
[2026-08-26 12:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cc0cf00012d34c14006aa4818000400e62d..."} 
[2026-08-26 12:00:14] local.INFO: Processing buffer {"connection_id":162325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cc0cf00012d34c14006aa4818000400e62d..."} 
[2026-08-26 12:00:14] local.INFO: Packet analysis {"connection_id":162325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cc0"} 
[2026-08-26 12:00:14] local.INFO: Extracted packet for processing {"connection_id":162325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cc0"} 
[2026-08-26 12:00:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657692928001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787725664000,"timestamp_ms":1787725664000,"timestamp_seconds":1787725664,"priority":1,"record_length":96,"hex_timestamp":"000001a03cc0cf00"} 
[2026-08-26 12: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-26 12:00: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-26 12: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":129,"data_length":795,"current_offset":136} 
[2026-08-26 12:00: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-26 12: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-26 12: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-26 12:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12: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-26 12:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657692928001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657692928001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:00:14] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:00:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657692928001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":162325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:00:14] local.INFO: GPS data processed {"connection_id":162325,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:00:14] local.INFO: Acknowledgment sent {"connection_id":162325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:00:42] local.INFO: TCP Data received {"connection_id":164933,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:00:42] local.INFO: Processing buffer {"connection_id":164933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:00:42] local.INFO: IMEI packet received {"connection_id":164933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":164933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:01:23] local.INFO: TCP Data received {"connection_id":162324,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:01:23] local.INFO: Processing buffer {"connection_id":162324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:01:23] local.INFO: IMEI packet received {"connection_id":162324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 12:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":162324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:01:39] local.INFO: TCP Data received {"connection_id":164933,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:01:39] local.INFO: Processing buffer {"connection_id":164933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:01:39] local.INFO: IMEI packet received {"connection_id":164933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":164933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:01:39] local.INFO: TCP Data received {"connection_id":164933,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:01:39] local.INFO: Processing buffer {"connection_id":164933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:01:39] local.INFO: IMEI packet received {"connection_id":164933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":164933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:01:42] local.INFO: TCP Data received {"connection_id":163582,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:01:42] local.INFO: Processing buffer {"connection_id":163582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:01:42] local.INFO: IMEI packet received {"connection_id":163582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":163582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:03:51] local.INFO: TCP Data received {"connection_id":163584,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:03:51] local.INFO: Processing buffer {"connection_id":163584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:03:51] local.INFO: IMEI packet received {"connection_id":163584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":163584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:03:52] local.INFO: TCP Data received {"connection_id":163584,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:03:52] local.INFO: Processing buffer {"connection_id":163584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:03:52] local.INFO: IMEI packet received {"connection_id":163584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":163584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:03:56] local.INFO: TCP Data received {"connection_id":163584,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:03:56] local.INFO: Processing buffer {"connection_id":163584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:03:56] local.INFO: IMEI packet received {"connection_id":163584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":163584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:04:01] local.INFO: TCP Data received {"connection_id":163584,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cc687d8012d7b494005e131a0000c002f08..."} 
[2026-08-26 12:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cc687d8012d7b494005e131a0000c002f08..."} 
[2026-08-26 12:04:01] local.INFO: Processing buffer {"connection_id":163584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cc687d8012d7b494005e131a0000c002f08..."} 
[2026-08-26 12:04:01] local.INFO: Packet analysis {"connection_id":163584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cc6"} 
[2026-08-26 12:04:01] local.INFO: Extracted packet for processing {"connection_id":163584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cc6"} 
[2026-08-26 12:04:01] local.INFO: GPS Element Parsed {"raw_longitude":763054400,"raw_latitude":98644384,"longitude_deg":76.30544,"latitude_deg":9.8644384,"altitude":12,"angle":47,"satellites":8,"speed":1,"hex_longitude":"2d7b4940","hex_latitude":"05e131a0","is_valid_coordinates":true} 
[2026-08-26 12:04:01] 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-26 12:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657784320001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571162733707264,"note":"Value kept but may cause issues"} 
[2026-08-26 12:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883913240194785280,"note":"Value kept but may cause issues"} 
[2026-08-26 12:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787726039000,"timestamp_ms":1787726039000,"timestamp_seconds":1787726039,"priority":1,"record_length":96,"hex_timestamp":"000001a03cc687d8"} 
[2026-08-26 12:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2816,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-26 12:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31806676394836037,"note":"Value kept but may cause issues"} 
[2026-08-26 12:04:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-26 12:04:01] local.WARNING: Large IO value detected {"io_id":144,"raw_value":3623878656,"note":"Value kept but may cause issues"} 
[2026-08-26 12:04:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277291494144291816,"note":"Value kept but may cause issues"} 
[2026-08-26 12:04:01] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3230183425,"note":"Value kept but may cause issues"} 
[2026-08-26 12:04:01] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67272521329672432,"note":"Value kept but may cause issues"} 
[2026-08-26 12:04:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1608057038,"corrected_to":0} 
[2026-08-26 12:04:01] local.WARNING: Large IO value detected {"io_id":136,"raw_value":2952867195,"note":"Value kept but may cause issues"} 
[2026-08-26 12:04:01] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3221610803,"note":"Value kept but may cause issues"} 
[2026-08-26 12:04:01] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2181090655,"note":"Value kept but may cause issues"} 
[2026-08-26 12:04:01] local.WARNING: Large IO value detected {"io_id":2,"raw_value":1126184144273613,"note":"Value kept but may cause issues"} 
[2026-08-26 12:04:01] local.WARNING: Large IO value detected {"io_id":186,"raw_value":-8011903737092112384,"note":"Value kept but may cause issues"} 
[2026-08-26 12:04:01] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929018370,"note":"Value kept but may cause issues"} 
[2026-08-26 12:04:01] local.WARNING: Large IO value detected {"io_id":223,"raw_value":57807755851748667,"note":"Value kept but may cause issues"} 
[2026-08-26 12:04:01] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,217,85,24,241,157,16,144,160,107,45,192,51,10,11,66,29,234,64,1,240,22,227,60,225,4,113,205,136,71,224,239,46,2,186,206,223],"length":632,"final_offset":762,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1608057038,"validated":0}]} 
[2026-08-26 12:04:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720829974809936111,"timestamp_seconds":720829974809936.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 12:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":163584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":163584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":163584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657784320001,"66":11015,"217":206,"85":15104,"24":1,"16":124571162733707264,"45":8883913240194785280},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-26 12:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657784320001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:04:01] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-26 12:04:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124571162733707264,"km_value":124571162733707.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883913240194785280,"description":"Unknown IO ID 45"} 
[2026-08-26 12:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657784320001,"power":11015,"unknown_217":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8883913240194785280}} 
[2026-08-26 12:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":163584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700296,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:04:01] local.INFO: GPS data processed {"connection_id":163584,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:04:01] local.INFO: Acknowledgment sent {"connection_id":163584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:04:33] local.INFO: TCP Data received {"connection_id":163584,"ip":"42.109.136.4","data_length":93,"data_hex":"00000000000000518e01000001a03cc6b2d0012d7b494005e132a0000d002808..."} 
[2026-08-26 12:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163584,"packet_length":93,"packet_hex":"00000000000000518e01000001a03cc6b2d0012d7b494005e132a0000d002808..."} 
[2026-08-26 12:04:33] local.INFO: Processing buffer {"connection_id":163584,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a03cc6b2d0012d7b494005e132a0000d002808..."} 
[2026-08-26 12:04:33] local.INFO: Packet analysis {"connection_id":163584,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a03cc6"} 
[2026-08-26 12:04:33] local.INFO: Extracted packet for processing {"connection_id":163584,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a03cc6"} 
[2026-08-26 12:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763054400,"raw_latitude":98644640,"longitude_deg":76.30544,"latitude_deg":9.864464,"altitude":13,"angle":40,"satellites":8,"speed":0,"hex_longitude":"2d7b4940","hex_latitude":"05e132a0","is_valid_coordinates":true} 
[2026-08-26 12:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-26 12:04:33] 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-26 12:04:33] 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-26 12:04:33] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:04:33] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-26 12:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":163584,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-26 12:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":163584,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 12:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":163584,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 12:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-26 12:04:33] local.WARNING: DEBUG: No valid data to process  
[2026-08-26 12:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":163584,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-26 12:04:33] local.ERROR: GPS data processing failed {"connection_id":163584,"error":"No valid data to process"} 
[2026-08-26 12:04:33] local.INFO: Acknowledgment sent {"connection_id":163584,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-26 12:05:04] local.INFO: TCP Data received {"connection_id":163584,"ip":"42.109.136.4","data_length":93,"data_hex":"00000000000000518e01000001a03cc6be88012d7b494005e13300000e001808..."} 
[2026-08-26 12:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163584,"packet_length":93,"packet_hex":"00000000000000518e01000001a03cc6be88012d7b494005e13300000e001808..."} 
[2026-08-26 12:05:04] local.INFO: Processing buffer {"connection_id":163584,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a03cc6be88012d7b494005e13300000e001808..."} 
[2026-08-26 12:05:04] local.INFO: Packet analysis {"connection_id":163584,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a03cc6"} 
[2026-08-26 12:05:04] local.INFO: Extracted packet for processing {"connection_id":163584,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a03cc6"} 
[2026-08-26 12:05:04] local.INFO: GPS Element Parsed {"raw_longitude":763054400,"raw_latitude":98644736,"longitude_deg":76.30544,"latitude_deg":9.8644736,"altitude":14,"angle":24,"satellites":8,"speed":1,"hex_longitude":"2d7b4940","hex_latitude":"05e13300","is_valid_coordinates":true} 
[2026-08-26 12: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":93,"current_offset":40} 
[2026-08-26 12:05:04] 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-26 12:05:04] 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-26 12:05:04] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:05:04] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-26 12:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163584,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-26 12:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163584,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 12:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163584,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 12:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-26 12:05:04] local.WARNING: DEBUG: No valid data to process  
[2026-08-26 12:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":163584,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-26 12:05:04] local.ERROR: GPS data processing failed {"connection_id":163584,"error":"No valid data to process"} 
[2026-08-26 12:05:04] local.INFO: Acknowledgment sent {"connection_id":163584,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-26 12:05:35] local.INFO: TCP Data received {"connection_id":163584,"ip":"42.109.136.4","data_length":93,"data_hex":"00000000000000518e01000001a03cc6c658012d7b494005e13378000e000d09..."} 
[2026-08-26 12:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163584,"packet_length":93,"packet_hex":"00000000000000518e01000001a03cc6c658012d7b494005e13378000e000d09..."} 
[2026-08-26 12:05:35] local.INFO: Processing buffer {"connection_id":163584,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a03cc6c658012d7b494005e13378000e000d09..."} 
[2026-08-26 12:05:35] local.INFO: Packet analysis {"connection_id":163584,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a03cc6"} 
[2026-08-26 12:05:35] local.INFO: Extracted packet for processing {"connection_id":163584,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a03cc6"} 
[2026-08-26 12:05:35] local.INFO: GPS Element Parsed {"raw_longitude":763054400,"raw_latitude":98644856,"longitude_deg":76.30544,"latitude_deg":9.8644856,"altitude":14,"angle":13,"satellites":9,"speed":2,"hex_longitude":"2d7b4940","hex_latitude":"05e13378","is_valid_coordinates":true} 
[2026-08-26 12: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":93,"current_offset":40} 
[2026-08-26 12:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:05:35] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:05:35] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-26 12:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163584,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-26 12:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163584,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 12:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163584,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 12:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-26 12:05:35] local.WARNING: DEBUG: No valid data to process  
[2026-08-26 12:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":163584,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-26 12:05:35] local.ERROR: GPS data processing failed {"connection_id":163584,"error":"No valid data to process"} 
[2026-08-26 12:05:35] local.INFO: Acknowledgment sent {"connection_id":163584,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-26 12:06:06] local.INFO: TCP Data received {"connection_id":163584,"ip":"42.109.136.4","data_length":93,"data_hex":"00000000000000518e01000001a03cc7fed8012d7b4a0005e13848000a004a0b..."} 
[2026-08-26 12:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163584,"packet_length":93,"packet_hex":"00000000000000518e01000001a03cc7fed8012d7b4a0005e13848000a004a0b..."} 
[2026-08-26 12:06:06] local.INFO: Processing buffer {"connection_id":163584,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a03cc7fed8012d7b4a0005e13848000a004a0b..."} 
[2026-08-26 12:06:06] local.INFO: Packet analysis {"connection_id":163584,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a03cc7"} 
[2026-08-26 12:06:06] local.INFO: Extracted packet for processing {"connection_id":163584,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a03cc7"} 
[2026-08-26 12:06:06] local.INFO: GPS Element Parsed {"raw_longitude":763054592,"raw_latitude":98646088,"longitude_deg":76.3054592,"latitude_deg":9.8646088,"altitude":10,"angle":74,"satellites":11,"speed":2,"hex_longitude":"2d7b4a00","hex_latitude":"05e13848","is_valid_coordinates":true} 
[2026-08-26 12:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-26 12:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:06:06] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:06:06] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-26 12:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163584,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-26 12:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163584,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 12:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163584,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 12:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-26 12:06:06] local.WARNING: DEBUG: No valid data to process  
[2026-08-26 12:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":163584,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-26 12:06:06] local.ERROR: GPS data processing failed {"connection_id":163584,"error":"No valid data to process"} 
[2026-08-26 12:06:06] local.INFO: Acknowledgment sent {"connection_id":163584,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-26 12:06:38] local.INFO: TCP Data received {"connection_id":163584,"ip":"42.109.136.4","data_length":93,"data_hex":"00000000000000518e01000001a03cc806a8012d7b4a4005e138500009005c0b..."} 
[2026-08-26 12:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163584,"packet_length":93,"packet_hex":"00000000000000518e01000001a03cc806a8012d7b4a4005e138500009005c0b..."} 
[2026-08-26 12:06:38] local.INFO: Processing buffer {"connection_id":163584,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a03cc806a8012d7b4a4005e138500009005c0b..."} 
[2026-08-26 12:06:38] local.INFO: Packet analysis {"connection_id":163584,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a03cc8"} 
[2026-08-26 12:06:38] local.INFO: Extracted packet for processing {"connection_id":163584,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a03cc8"} 
[2026-08-26 12:06:38] local.INFO: GPS Element Parsed {"raw_longitude":763054656,"raw_latitude":98646096,"longitude_deg":76.3054656,"latitude_deg":9.8646096,"altitude":9,"angle":92,"satellites":11,"speed":1,"hex_longitude":"2d7b4a40","hex_latitude":"05e13850","is_valid_coordinates":true} 
[2026-08-26 12: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":93,"current_offset":40} 
[2026-08-26 12:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:06:38] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:06:38] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-26 12:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163584,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-26 12:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163584,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 12:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163584,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-26 12:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-26 12:06:38] local.WARNING: DEBUG: No valid data to process  
[2026-08-26 12:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":163584,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-26 12:06:38] local.ERROR: GPS data processing failed {"connection_id":163584,"error":"No valid data to process"} 
[2026-08-26 12:06:38] local.INFO: Acknowledgment sent {"connection_id":163584,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-26 12:06:47] local.INFO: TCP Data received {"connection_id":162567,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:06:47] local.INFO: Processing buffer {"connection_id":162567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:06:47] local.INFO: IMEI packet received {"connection_id":162567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":162567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:06:52] local.INFO: TCP Data received {"connection_id":162567,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:06:52] local.INFO: Processing buffer {"connection_id":162567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:06:52] local.INFO: IMEI packet received {"connection_id":162567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":162567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:06:54] local.INFO: TCP Data received {"connection_id":162567,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03cc566c8012d34c14006aa4818000b00e62d..."} 
[2026-08-26 12:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cc566c8012d34c14006aa4818000b00e62d..."} 
[2026-08-26 12:06:54] local.INFO: Processing buffer {"connection_id":162567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cc566c8012d34c14006aa4818000b00e62d..."} 
[2026-08-26 12:06:54] local.INFO: Packet analysis {"connection_id":162567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cc5"} 
[2026-08-26 12:06:54] local.INFO: Extracted packet for processing {"connection_id":162567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cc5"} 
[2026-08-26 12:06:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657769984001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787725965000,"timestamp_ms":1787725965000,"timestamp_seconds":1787725965,"priority":1,"record_length":96,"hex_timestamp":"000001a03cc566c8"} 
[2026-08-26 12: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-26 12:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12: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-26 12: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-26 12:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":162567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":162567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":162567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:06:54] 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-26 12:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657769984001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657769984001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:06:54] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:06:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657769984001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":162567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:06:54] local.INFO: GPS data processed {"connection_id":162567,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:06:54] local.INFO: Acknowledgment sent {"connection_id":162567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:07:01] local.INFO: TCP Data received {"connection_id":164934,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:07:01] local.INFO: Processing buffer {"connection_id":164934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:07:01] local.INFO: IMEI packet received {"connection_id":164934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 12:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":164934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:07:09] local.INFO: TCP Data received {"connection_id":163584,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cc927b8012d7b4c0005e15788000400a10d..."} 
[2026-08-26 12:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cc927b8012d7b4c0005e15788000400a10d..."} 
[2026-08-26 12:07:09] local.INFO: Processing buffer {"connection_id":163584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cc927b8012d7b4c0005e15788000400a10d..."} 
[2026-08-26 12:07:09] local.INFO: Packet analysis {"connection_id":163584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cc9"} 
[2026-08-26 12:07:09] local.INFO: Extracted packet for processing {"connection_id":163584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cc9"} 
[2026-08-26 12:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763055104,"raw_latitude":98654088,"longitude_deg":76.3055104,"latitude_deg":9.8654088,"altitude":4,"angle":161,"satellites":13,"speed":9,"hex_longitude":"2d7b4c00","hex_latitude":"05e15788","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657909760001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571806978801664,"note":"Value kept but may cause issues"} 
[2026-08-26 12:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884405821406480384,"note":"Value kept but may cause issues"} 
[2026-08-26 12:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787726211000,"timestamp_ms":1787726211000,"timestamp_seconds":1787726211,"priority":1,"record_length":96,"hex_timestamp":"000001a03cc927b8"} 
[2026-08-26 12: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-26 12:07:09] 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-26 12: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":43,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-26 12:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1457,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12: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-26 12: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-26 12:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657909760001,"66":11047,"217":206,"85":15104,"24":9,"16":124571806978801664,"45":8884405821406480384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-26 12:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657909760001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:07:09] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-26 12:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124571806978801664,"km_value":124571806978801.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884405821406480384,"description":"Unknown IO ID 45"} 
[2026-08-26 12:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657909760001,"power":11047,"unknown_217":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8884405821406480384}} 
[2026-08-26 12:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":163584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:07:09] local.INFO: GPS data processed {"connection_id":163584,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:07:09] local.INFO: Acknowledgment sent {"connection_id":163584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:07:40] local.INFO: TCP Data received {"connection_id":163584,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cc92f88012d7b4c4005e154e0000300ae0c..."} 
[2026-08-26 12:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cc92f88012d7b4c4005e154e0000300ae0c..."} 
[2026-08-26 12:07:40] local.INFO: Processing buffer {"connection_id":163584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cc92f88012d7b4c4005e154e0000300ae0c..."} 
[2026-08-26 12:07:40] local.INFO: Packet analysis {"connection_id":163584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cc9"} 
[2026-08-26 12:07:40] local.INFO: Extracted packet for processing {"connection_id":163584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cc9"} 
[2026-08-26 12:07:40] local.INFO: GPS Element Parsed {"raw_longitude":763055168,"raw_latitude":98653408,"longitude_deg":76.3055168,"latitude_deg":9.8653408,"altitude":3,"angle":174,"satellites":12,"speed":13,"hex_longitude":"2d7b4c40","hex_latitude":"05e154e0","is_valid_coordinates":true} 
[2026-08-26 12:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657910016001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124571841338540032,"note":"Value kept but may cause issues"} 
[2026-08-26 12:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884476190150592512,"note":"Value kept but may cause issues"} 
[2026-08-26 12:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787726213000,"timestamp_ms":1787726213000,"timestamp_seconds":1787726213,"priority":1,"record_length":96,"hex_timestamp":"000001a03cc92f88"} 
[2026-08-26 12:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 12:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-26 12:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":764,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657910016001,"66":11189,"217":206,"85":15104,"24":13,"16":124571841338540032,"45":8884476190150592512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-26 12:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657910016001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:07:40] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-26 12:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124571841338540032,"km_value":124571841338540.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884476190150592512,"description":"Unknown IO ID 45"} 
[2026-08-26 12:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657910016001,"power":11189,"unknown_217":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8884476190150592512}} 
[2026-08-26 12:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":163584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:07:40] local.INFO: GPS data processed {"connection_id":163584,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:07:40] local.INFO: Acknowledgment sent {"connection_id":163584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:07:52] local.INFO: TCP Data received {"connection_id":162568,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:07:52] local.INFO: Processing buffer {"connection_id":162568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:07:52] local.INFO: IMEI packet received {"connection_id":162568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":162568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:08:11] local.INFO: TCP Data received {"connection_id":163584,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cc96250012d7b550005e13058000000a80c..."} 
[2026-08-26 12:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cc96250012d7b550005e13058000000a80c..."} 
[2026-08-26 12:08:11] local.INFO: Processing buffer {"connection_id":163584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cc96250012d7b550005e13058000000a80c..."} 
[2026-08-26 12:08:11] local.INFO: Packet analysis {"connection_id":163584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cc9"} 
[2026-08-26 12:08:11] local.INFO: Extracted packet for processing {"connection_id":163584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cc9"} 
[2026-08-26 12:08:11] local.INFO: GPS Element Parsed {"raw_longitude":763057408,"raw_latitude":98644056,"longitude_deg":76.3057408,"latitude_deg":9.8644056,"altitude":0,"angle":168,"satellites":12,"speed":35,"hex_longitude":"2d7b5500","hex_latitude":"05e13058","is_valid_coordinates":true} 
[2026-08-26 12:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657910528001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124572305195008000,"note":"Value kept but may cause issues"} 
[2026-08-26 12:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884546558894596096,"note":"Value kept but may cause issues"} 
[2026-08-26 12:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787726226000,"timestamp_ms":1787726226000,"timestamp_seconds":1787726226,"priority":1,"record_length":96,"hex_timestamp":"000001a03cc96250"} 
[2026-08-26 12:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:08:11] 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-26 12:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-26 12:08:11] 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-26 12:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657910528001,"66":10960,"217":206,"85":15104,"24":35,"16":124572305195008000,"45":8884546558894596096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-26 12:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657910528001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:08:11] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-26 12:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124572305195008000,"km_value":124572305195008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884546558894596096,"description":"Unknown IO ID 45"} 
[2026-08-26 12:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657910528001,"power":10960,"unknown_217":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8884546558894596096}} 
[2026-08-26 12:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":163584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:08:11] local.INFO: GPS data processed {"connection_id":163584,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:08:11] local.INFO: Acknowledgment sent {"connection_id":163584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:08:20] local.INFO: TCP Data received {"connection_id":162568,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:08:20] local.INFO: Processing buffer {"connection_id":162568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:08:20] local.INFO: IMEI packet received {"connection_id":162568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":162568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:08:31] local.INFO: TCP Data received {"connection_id":162328,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:08:31] local.INFO: Processing buffer {"connection_id":162328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:08:31] local.INFO: IMEI packet received {"connection_id":162328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":162328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:08:36] local.INFO: TCP Data received {"connection_id":162328,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:08:36] local.INFO: Processing buffer {"connection_id":162328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:08:36] local.INFO: IMEI packet received {"connection_id":162328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":162328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:08:37] local.INFO: TCP Data received {"connection_id":162328,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cc98578012d7b5b8005e10b78000000a70c..."} 
[2026-08-26 12:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cc98578012d7b5b8005e10b78000000a70c..."} 
[2026-08-26 12:08:37] local.INFO: Processing buffer {"connection_id":162328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cc98578012d7b5b8005e10b78000000a70c..."} 
[2026-08-26 12:08:37] local.INFO: Packet analysis {"connection_id":162328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cc9"} 
[2026-08-26 12:08:37] local.INFO: Extracted packet for processing {"connection_id":162328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cc9"} 
[2026-08-26 12:08:37] local.INFO: GPS Element Parsed {"raw_longitude":763059072,"raw_latitude":98634616,"longitude_deg":76.3059072,"latitude_deg":9.8634616,"altitude":0,"angle":167,"satellites":12,"speed":44,"hex_longitude":"2d7b5b80","hex_latitude":"05e10b78","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657913856001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124572773346443264,"note":"Value kept but may cause issues"} 
[2026-08-26 12:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887009464938420224,"note":"Value kept but may cause issues"} 
[2026-08-26 12:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787726235000,"timestamp_ms":1787726235000,"timestamp_seconds":1787726235,"priority":1,"record_length":96,"hex_timestamp":"000001a03cc98578"} 
[2026-08-26 12: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-26 12:08:37] 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-26 12: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":42,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-08-26 12:08:37] 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-26 12: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-26 12: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-26 12:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":162328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":162328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":162328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657913856001,"66":11178,"217":206,"85":15104,"24":44,"16":124572773346443264,"45":8887009464938420224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-26 12:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657913856001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:08:37] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-26 12:08:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124572773346443264,"km_value":124572773346443.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887009464938420224,"description":"Unknown IO ID 45"} 
[2026-08-26 12:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657913856001,"power":11178,"unknown_217":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8887009464938420224}} 
[2026-08-26 12:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":162328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:08:37] local.INFO: GPS data processed {"connection_id":162328,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:08:37] local.INFO: Acknowledgment sent {"connection_id":162328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:09:07] local.INFO: TCP Data received {"connection_id":162328,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cc9a4b8012d7b638005e0e6b0000000a80b..."} 
[2026-08-26 12:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cc9a4b8012d7b638005e0e6b0000000a80b..."} 
[2026-08-26 12:09:07] local.INFO: Processing buffer {"connection_id":162328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cc9a4b8012d7b638005e0e6b0000000a80b..."} 
[2026-08-26 12:09:07] local.INFO: Packet analysis {"connection_id":162328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cc9"} 
[2026-08-26 12:09:07] local.INFO: Extracted packet for processing {"connection_id":162328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cc9"} 
[2026-08-26 12:09:07] local.INFO: GPS Element Parsed {"raw_longitude":763061120,"raw_latitude":98625200,"longitude_deg":76.306112,"latitude_deg":9.86252,"altitude":0,"angle":168,"satellites":11,"speed":48,"hex_longitude":"2d7b6380","hex_latitude":"05e0e6b0","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657916160001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124573241497878528,"note":"Value kept but may cause issues"} 
[2026-08-26 12:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888839052284622848,"note":"Value kept but may cause issues"} 
[2026-08-26 12:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787726243000,"timestamp_ms":1787726243000,"timestamp_seconds":1787726243,"priority":1,"record_length":96,"hex_timestamp":"000001a03cc9a4b8"} 
[2026-08-26 12: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-26 12:09:07] 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-26 12: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":43,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-26 12:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1943,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12: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-26 12: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-26 12:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657916160001,"66":11189,"217":206,"85":15104,"24":48,"16":124573241497878528,"45":8888839052284622848},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-26 12:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657916160001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:09:07] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-26 12:09:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124573241497878528,"km_value":124573241497878.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888839052284622848,"description":"Unknown IO ID 45"} 
[2026-08-26 12:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657916160001,"power":11189,"unknown_217":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8888839052284622848}} 
[2026-08-26 12:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":162328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:09:07] local.INFO: GPS data processed {"connection_id":162328,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:09:07] local.INFO: Acknowledgment sent {"connection_id":162328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:09:18] local.INFO: TCP Data received {"connection_id":162568,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03cc566c8012d34c14006aa4818000b00e62d..."} 
[2026-08-26 12:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cc566c8012d34c14006aa4818000b00e62d..."} 
[2026-08-26 12:09:18] local.INFO: Processing buffer {"connection_id":162568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cc566c8012d34c14006aa4818000b00e62d..."} 
[2026-08-26 12:09:18] local.INFO: Packet analysis {"connection_id":162568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cc5"} 
[2026-08-26 12:09:18] local.INFO: Extracted packet for processing {"connection_id":162568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cc5"} 
[2026-08-26 12:09:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657769984001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787725965000,"timestamp_ms":1787725965000,"timestamp_seconds":1787725965,"priority":1,"record_length":96,"hex_timestamp":"000001a03cc566c8"} 
[2026-08-26 12: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-26 12:09: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-26 12: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:09:18] 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-26 12: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-26 12: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-26 12:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:09:18] 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-26 12:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657769984001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657769984001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:09:18] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:09:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657769984001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":162568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:09:18] local.INFO: GPS data processed {"connection_id":162568,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:09:18] local.INFO: Acknowledgment sent {"connection_id":162568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:09:43] local.INFO: TCP Data received {"connection_id":162568,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03cc566c8012d34c14006aa4818000b00e62d..."} 
[2026-08-26 12:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cc566c8012d34c14006aa4818000b00e62d..."} 
[2026-08-26 12:09:43] local.INFO: Processing buffer {"connection_id":162568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cc566c8012d34c14006aa4818000b00e62d..."} 
[2026-08-26 12:09:43] local.INFO: Packet analysis {"connection_id":162568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cc5"} 
[2026-08-26 12:09:43] local.INFO: Extracted packet for processing {"connection_id":162568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cc5"} 
[2026-08-26 12:09:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657769984001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787725965000,"timestamp_ms":1787725965000,"timestamp_seconds":1787725965,"priority":1,"record_length":96,"hex_timestamp":"000001a03cc566c8"} 
[2026-08-26 12: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-26 12:09: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-26 12: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:09:43] 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-26 12: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-26 12: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-26 12:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:09:43] 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-26 12:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657769984001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657769984001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:09:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:09:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657769984001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":162568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:09:43] local.INFO: GPS data processed {"connection_id":162568,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:09:43] local.INFO: Acknowledgment sent {"connection_id":162568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:09:44] local.INFO: TCP Data received {"connection_id":162328,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ccb5268012d7ba48005debb28000000b10c..."} 
[2026-08-26 12:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ccb5268012d7ba48005debb28000000b10c..."} 
[2026-08-26 12:09:44] local.INFO: Processing buffer {"connection_id":162328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ccb5268012d7ba48005debb28000000b10c..."} 
[2026-08-26 12:09:44] local.INFO: Packet analysis {"connection_id":162328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ccb"} 
[2026-08-26 12:09:44] local.INFO: Extracted packet for processing {"connection_id":162328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ccb"} 
[2026-08-26 12:09:44] local.INFO: GPS Element Parsed {"raw_longitude":763077760,"raw_latitude":98482984,"longitude_deg":76.307776,"latitude_deg":9.8482984,"altitude":0,"angle":177,"satellites":12,"speed":50,"hex_longitude":"2d7ba480","hex_latitude":"05debb28","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657944320001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124576733306290176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908542300618113024,"note":"Value kept but may cause issues"} 
[2026-08-26 12:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787726353000,"timestamp_ms":1787726353000,"timestamp_seconds":1787726353,"priority":1,"record_length":96,"hex_timestamp":"000001a03ccb5268"} 
[2026-08-26 12: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-26 12:09: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-26 12: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":43,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-08-26 12:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1061,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12: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-26 12: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-26 12:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657944320001,"66":11026,"44":206,"85":15104,"24":50,"16":124576733306290176,"45":8908542300618113024},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-26 12:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657944320001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:09:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-26 12:09:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124576733306290176,"km_value":124576733306290.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908542300618113024,"description":"Unknown IO ID 45"} 
[2026-08-26 12:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657944320001,"power":11026,"unknown_44":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8908542300618113024}} 
[2026-08-26 12:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":162328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:09:44] local.INFO: GPS data processed {"connection_id":162328,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:09:44] local.INFO: Acknowledgment sent {"connection_id":162328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:09:47] local.INFO: TCP Data received {"connection_id":163586,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:09:47] local.INFO: Processing buffer {"connection_id":163586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:09:47] local.INFO: IMEI packet received {"connection_id":163586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":163586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:09:58] local.INFO: TCP Data received {"connection_id":163586,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:09:58] local.INFO: Processing buffer {"connection_id":163586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:09:58] local.INFO: IMEI packet received {"connection_id":163586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":163586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:10:05] local.INFO: TCP Data received {"connection_id":163586,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03cc9fe90012d34c14006aa4818000a00e62d..."} 
[2026-08-26 12:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cc9fe90012d34c14006aa4818000a00e62d..."} 
[2026-08-26 12:10:05] local.INFO: Processing buffer {"connection_id":163586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cc9fe90012d34c14006aa4818000a00e62d..."} 
[2026-08-26 12:10:05] local.INFO: Packet analysis {"connection_id":163586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cc9"} 
[2026-08-26 12:10:05] local.INFO: Extracted packet for processing {"connection_id":163586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cc9"} 
[2026-08-26 12:10:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657847040001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787726266000,"timestamp_ms":1787726266000,"timestamp_seconds":1787726266,"priority":1,"record_length":96,"hex_timestamp":"000001a03cc9fe90"} 
[2026-08-26 12:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:10: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-26 12: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-26 12:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:10: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-26 12:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657847040001,"66":25343,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657847040001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:10:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:10:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657847040001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":163586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:10:05] local.INFO: GPS data processed {"connection_id":163586,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:10:05] local.INFO: Acknowledgment sent {"connection_id":163586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:10:15] local.INFO: TCP Data received {"connection_id":162328,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ccb71a8012d7ba88005de9538000000ad0c..."} 
[2026-08-26 12:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ccb71a8012d7ba88005de9538000000ad0c..."} 
[2026-08-26 12:10:15] local.INFO: Processing buffer {"connection_id":162328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ccb71a8012d7ba88005de9538000000ad0c..."} 
[2026-08-26 12:10:15] local.INFO: Packet analysis {"connection_id":162328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ccb"} 
[2026-08-26 12:10:15] local.INFO: Extracted packet for processing {"connection_id":162328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ccb"} 
[2026-08-26 12:10:15] local.INFO: GPS Element Parsed {"raw_longitude":763078784,"raw_latitude":98473272,"longitude_deg":76.3078784,"latitude_deg":9.8473272,"altitude":0,"angle":173,"satellites":12,"speed":48,"hex_longitude":"2d7ba880","hex_latitude":"05de9538","is_valid_coordinates":true} 
[2026-08-26 12:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657946368001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124577205752692736,"note":"Value kept but may cause issues"} 
[2026-08-26 12:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909386725545682944,"note":"Value kept but may cause issues"} 
[2026-08-26 12:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787726361000,"timestamp_ms":1787726361000,"timestamp_seconds":1787726361,"priority":1,"record_length":96,"hex_timestamp":"000001a03ccb71a8"} 
[2026-08-26 12:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:10:15] 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-26 12:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-26 12:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1153408121666797568,"note":"Value kept but may cause issues"} 
[2026-08-26 12:10:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-26 12:10:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184111505613,"note":"Value kept but may cause issues"} 
[2026-08-26 12:10:15] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-08-26 12:10:15] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3403239425,"note":"Value kept but may cause issues"} 
[2026-08-26 12:10:15] local.WARNING: Large IO value detected {"io_id":223,"raw_value":-7426435785522476288,"note":"Value kept but may cause issues"} 
[2026-08-26 12:10:15] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620843921648,"note":"Value kept but may cause issues"} 
[2026-08-26 12:10:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2338783438,"corrected_to":0} 
[2026-08-26 12:10:15] local.WARNING: Large IO value detected {"io_id":186,"raw_value":-7799108654698856448,"note":"Value kept but may cause issues"} 
[2026-08-26 12:10:15] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3942698379,"note":"Value kept but may cause issues"} 
[2026-08-26 12:10:15] local.WARNING: Large IO value detected {"io_id":143,"raw_value":1653222838108160,"note":"Value kept but may cause issues"} 
[2026-08-26 12:10:15] local.WARNING: Large IO value detected {"io_id":175,"raw_value":792685211463715328,"note":"Value kept but may cause issues"} 
[2026-08-26 12:10:15] local.WARNING: Large IO value detected {"io_id":235,"raw_value":57855644737099067,"note":"Value kept but may cause issues"} 
[2026-08-26 12:10:15] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":-7291326501854707707,"corrected_to":0} 
[2026-08-26 12:10:15] local.WARNING: Large IO value detected {"io_id":47,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-26 12:10:15] local.WARNING: Large IO value detected {"io_id":139,"raw_value":7422159051363981312,"note":"Value kept but may cause issues"} 
[2026-08-26 12:10:15] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,44,85,24,241,157,16,149,160,51,45,128,226,11,10,66,19,64,6,103,244,1,240,181,227,148,60,223,4,113,205,186,147,72,239,43,2,143,175,235,202,47,139],"length":581,"final_offset":711,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2338783438,"validated":0},{"io_id":202,"original":-7291326501854707707,"validated":0}]} 
[2026-08-26 12:10:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":194665101000704,"timestamp_seconds":194665101000.704,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 12:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657946368001,"66":11145,"44":206,"85":15104,"24":48,"16":124577205752692736,"45":8909386725545682944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-26 12:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657946368001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:10:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-26 12:10:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124577205752692736,"km_value":124577205752692.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909386725545682944,"description":"Unknown IO ID 45"} 
[2026-08-26 12:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657946368001,"power":11145,"unknown_44":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8909386725545682944}} 
[2026-08-26 12:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":162328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:10:15] local.INFO: GPS data processed {"connection_id":162328,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:10:15] local.INFO: Acknowledgment sent {"connection_id":162328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:10:31] local.INFO: TCP Data received {"connection_id":162569,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:10:31] local.INFO: Processing buffer {"connection_id":162569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:10:31] local.INFO: IMEI packet received {"connection_id":162569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":162569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:10:31] local.INFO: TCP Data received {"connection_id":162569,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:10:31] local.INFO: Processing buffer {"connection_id":162569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:10:31] local.INFO: IMEI packet received {"connection_id":162569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":162569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:10:36] local.INFO: TCP Data received {"connection_id":162569,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:10:36] local.INFO: Processing buffer {"connection_id":162569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:10:36] local.INFO: IMEI packet received {"connection_id":162569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":162569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:10:36] local.INFO: TCP Data received {"connection_id":162569,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ccb90e8012d7bad8005de7258000000aa09..."} 
[2026-08-26 12:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ccb90e8012d7bad8005de7258000000aa09..."} 
[2026-08-26 12:10:36] local.INFO: Processing buffer {"connection_id":162569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ccb90e8012d7bad8005de7258000000aa09..."} 
[2026-08-26 12:10:36] local.INFO: Packet analysis {"connection_id":162569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ccb"} 
[2026-08-26 12:10:36] local.INFO: Extracted packet for processing {"connection_id":162569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ccb"} 
[2026-08-26 12:10:36] local.INFO: GPS Element Parsed {"raw_longitude":763080064,"raw_latitude":98464344,"longitude_deg":76.3080064,"latitude_deg":9.8464344,"altitude":0,"angle":170,"satellites":9,"speed":41,"hex_longitude":"2d7bad80","hex_latitude":"05de7258","is_valid_coordinates":true} 
[2026-08-26 12:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657948416001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124577643839356928,"note":"Value kept but may cause issues"} 
[2026-08-26 12:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910512625450039296,"note":"Value kept but may cause issues"} 
[2026-08-26 12:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787726369000,"timestamp_ms":1787726369000,"timestamp_seconds":1787726369,"priority":1,"record_length":96,"hex_timestamp":"000001a03ccb90e8"} 
[2026-08-26 12:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:10:36] 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-26 12:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-26 12:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1646,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12: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-26 12:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657948416001,"66":11167,"44":206,"85":15104,"24":41,"16":124577643839356928,"45":8910512625450039296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-26 12:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657948416001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:10:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-26 12:10:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124577643839356928,"km_value":124577643839356.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910512625450039296,"description":"Unknown IO ID 45"} 
[2026-08-26 12:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657948416001,"power":11167,"unknown_44":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8910512625450039296}} 
[2026-08-26 12:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":162569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:10:36] local.INFO: GPS data processed {"connection_id":162569,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:10:36] local.INFO: Acknowledgment sent {"connection_id":162569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:10:52] local.INFO: TCP Data received {"connection_id":162570,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:10:52] local.INFO: Processing buffer {"connection_id":162570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:10:52] local.INFO: IMEI packet received {"connection_id":162570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":162570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:11:00] local.INFO: TCP Data received {"connection_id":162570,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:11:00] local.INFO: Processing buffer {"connection_id":162570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:11:00] local.INFO: IMEI packet received {"connection_id":162570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":162570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:11:04] local.INFO: TCP Data received {"connection_id":162570,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03cc9fe90012d34c14006aa4818000a00e62d..."} 
[2026-08-26 12:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cc9fe90012d34c14006aa4818000a00e62d..."} 
[2026-08-26 12:11:04] local.INFO: Processing buffer {"connection_id":162570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cc9fe90012d34c14006aa4818000a00e62d..."} 
[2026-08-26 12:11:04] local.INFO: Packet analysis {"connection_id":162570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cc9"} 
[2026-08-26 12:11:04] local.INFO: Extracted packet for processing {"connection_id":162570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cc9"} 
[2026-08-26 12:11:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657847040001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787726266000,"timestamp_ms":1787726266000,"timestamp_seconds":1787726266,"priority":1,"record_length":96,"hex_timestamp":"000001a03cc9fe90"} 
[2026-08-26 12: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-26 12: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-26 12: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:11: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-26 12: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-26 12: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-26 12:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:11: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-26 12:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657847040001,"66":25343,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657847040001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:11:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:11:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657847040001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":162570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:11:04] local.INFO: GPS data processed {"connection_id":162570,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:11:04] local.INFO: Acknowledgment sent {"connection_id":162570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:11:07] local.INFO: TCP Data received {"connection_id":162570,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03cc9fe90012d34c14006aa4818000a00e62d..."} 
[2026-08-26 12:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cc9fe90012d34c14006aa4818000a00e62d..."} 
[2026-08-26 12:11:07] local.INFO: Processing buffer {"connection_id":162570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cc9fe90012d34c14006aa4818000a00e62d..."} 
[2026-08-26 12:11:07] local.INFO: Packet analysis {"connection_id":162570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cc9"} 
[2026-08-26 12:11:07] local.INFO: Extracted packet for processing {"connection_id":162570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cc9"} 
[2026-08-26 12:11:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657847040001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787726266000,"timestamp_ms":1787726266000,"timestamp_seconds":1787726266,"priority":1,"record_length":96,"hex_timestamp":"000001a03cc9fe90"} 
[2026-08-26 12: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-26 12:11: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-26 12: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:11: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-26 12: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-26 12: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-26 12:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:11:07] 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-26 12:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657847040001,"66":25343,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657847040001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:11:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:11:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657847040001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":162570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:11:07] local.INFO: GPS data processed {"connection_id":162570,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:11:07] local.INFO: Acknowledgment sent {"connection_id":162570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:11:07] local.INFO: TCP Data received {"connection_id":162569,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ccbb028012d7bb50005de4f08000000a80a..."} 
[2026-08-26 12:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ccbb028012d7bb50005de4f08000000a80a..."} 
[2026-08-26 12:11:07] local.INFO: Processing buffer {"connection_id":162569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ccbb028012d7bb50005de4f08000000a80a..."} 
[2026-08-26 12:11:07] local.INFO: Packet analysis {"connection_id":162569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ccb"} 
[2026-08-26 12:11:07] local.INFO: Extracted packet for processing {"connection_id":162569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ccb"} 
[2026-08-26 12:11:07] local.INFO: GPS Element Parsed {"raw_longitude":763081984,"raw_latitude":98455304,"longitude_deg":76.3081984,"latitude_deg":9.8455304,"altitude":0,"angle":168,"satellites":10,"speed":42,"hex_longitude":"2d7bb500","hex_latitude":"05de4f08","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657950464001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124578090515955712,"note":"Value kept but may cause issues"} 
[2026-08-26 12:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911920000331307008,"note":"Value kept but may cause issues"} 
[2026-08-26 12:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787726377000,"timestamp_ms":1787726377000,"timestamp_seconds":1787726377,"priority":1,"record_length":96,"hex_timestamp":"000001a03ccbb028"} 
[2026-08-26 12: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-26 12:11:07] 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-26 12: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":43,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-26 12:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1844,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12: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-26 12: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-26 12:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657950464001,"66":11069,"44":206,"85":15104,"24":42,"16":124578090515955712,"45":8911920000331307008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-26 12:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657950464001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:11:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-26 12:11:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124578090515955712,"km_value":124578090515955.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911920000331307008,"description":"Unknown IO ID 45"} 
[2026-08-26 12:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657950464001,"power":11069,"unknown_44":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8911920000331307008}} 
[2026-08-26 12:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":162569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:11:07] local.INFO: GPS data processed {"connection_id":162569,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:11:07] local.INFO: Acknowledgment sent {"connection_id":162569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:11:31] local.INFO: TCP Data received {"connection_id":164935,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:11:31] local.INFO: Processing buffer {"connection_id":164935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:11:31] local.INFO: IMEI packet received {"connection_id":164935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":164935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:11:36] local.INFO: TCP Data received {"connection_id":164935,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164935,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:11:36] local.INFO: Processing buffer {"connection_id":164935,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:11:36] local.INFO: IMEI packet received {"connection_id":164935,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":164935,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:11:37] local.INFO: TCP Data received {"connection_id":164935,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ccd0fb8012d7be54005dcc138000000b10e..."} 
[2026-08-26 12:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ccd0fb8012d7be54005dcc138000000b10e..."} 
[2026-08-26 12:11:37] local.INFO: Processing buffer {"connection_id":164935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ccd0fb8012d7be54005dcc138000000b10e..."} 
[2026-08-26 12:11:37] local.INFO: Packet analysis {"connection_id":164935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ccd"} 
[2026-08-26 12:11:37] local.INFO: Extracted packet for processing {"connection_id":164935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ccd"} 
[2026-08-26 12:11:37] local.INFO: GPS Element Parsed {"raw_longitude":763094336,"raw_latitude":98353464,"longitude_deg":76.3094336,"latitude_deg":9.8353464,"altitude":0,"angle":177,"satellites":14,"speed":39,"hex_longitude":"2d7be540","hex_latitude":"05dcc138","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657973504001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124583089857888256,"note":"Value kept but may cause issues"} 
[2026-08-26 12:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927119649047713792,"note":"Value kept but may cause issues"} 
[2026-08-26 12:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787726467000,"timestamp_ms":1787726467000,"timestamp_seconds":1787726467,"priority":1,"record_length":96,"hex_timestamp":"000001a03ccd0fb8"} 
[2026-08-26 12: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-26 12:11:37] 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-26 12: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":42,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-26 12:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1794,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12: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-26 12: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-26 12:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657973504001,"66":10960,"169":206,"85":15104,"24":39,"16":124583089857888256,"45":8927119649047713792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-26 12:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657973504001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:11:37] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-26 12:11:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124583089857888256,"km_value":124583089857888.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927119649047713792,"description":"Unknown IO ID 45"} 
[2026-08-26 12:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657973504001,"power":10960,"unknown_169":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8927119649047713792}} 
[2026-08-26 12:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":164935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:11:37] local.INFO: GPS data processed {"connection_id":164935,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:11:37] local.INFO: Acknowledgment sent {"connection_id":164935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:12:09] local.INFO: TCP Data received {"connection_id":164935,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ccd36c8012d7be9c005dc9eb8000000b00f..."} 
[2026-08-26 12:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ccd36c8012d7be9c005dc9eb8000000b00f..."} 
[2026-08-26 12:12:09] local.INFO: Processing buffer {"connection_id":164935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ccd36c8012d7be9c005dc9eb8000000b00f..."} 
[2026-08-26 12:12:09] local.INFO: Packet analysis {"connection_id":164935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ccd"} 
[2026-08-26 12:12:09] local.INFO: Extracted packet for processing {"connection_id":164935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ccd"} 
[2026-08-26 12:12:09] local.INFO: GPS Element Parsed {"raw_longitude":763095488,"raw_latitude":98344632,"longitude_deg":76.3095488,"latitude_deg":9.8344632,"altitude":0,"angle":176,"satellites":15,"speed":30,"hex_longitude":"2d7be9c0","hex_latitude":"05dc9eb8","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657975552001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124583519354617856,"note":"Value kept but may cause issues"} 
[2026-08-26 12:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927612230254540800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787726477000,"timestamp_ms":1787726477000,"timestamp_seconds":1787726477,"priority":1,"record_length":96,"hex_timestamp":"000001a03ccd36c8"} 
[2026-08-26 12: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-26 12:12:09] 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-26 12: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":42,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-08-26 12:12:09] 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-26 12: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-26 12: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-26 12:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164935,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657975552001,"66":11047,"169":206,"85":15104,"24":30,"16":124583519354617856,"45":8927612230254540800},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-26 12:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657975552001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:12:09] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-26 12:12:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124583519354617856,"km_value":124583519354617.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927612230254540800,"description":"Unknown IO ID 45"} 
[2026-08-26 12:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657975552001,"power":11047,"unknown_169":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8927612230254540800}} 
[2026-08-26 12:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":164935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:12:09] local.INFO: GPS data processed {"connection_id":164935,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:12:09] local.INFO: Acknowledgment sent {"connection_id":164935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:12:24] local.INFO: TCP Data received {"connection_id":162329,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:12:24] local.INFO: Processing buffer {"connection_id":162329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:12:24] local.INFO: IMEI packet received {"connection_id":162329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":162329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:12:32] local.INFO: TCP Data received {"connection_id":162327,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:12:32] local.INFO: Processing buffer {"connection_id":162327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:12:32] local.INFO: IMEI packet received {"connection_id":162327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 12:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":162327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:12:35] local.INFO: TCP Data received {"connection_id":163587,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:12:35] local.INFO: Processing buffer {"connection_id":163587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:12:35] local.INFO: IMEI packet received {"connection_id":163587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":163587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:12:42] local.INFO: TCP Data received {"connection_id":162330,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:12:42] local.INFO: Processing buffer {"connection_id":162330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:12:42] local.INFO: IMEI packet received {"connection_id":162330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":162330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:12:43] local.INFO: TCP Data received {"connection_id":163587,"ip":"42.109.136.4","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-26 12:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163587,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-26 12:12:43] local.INFO: Processing buffer {"connection_id":163587,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-26 12:12:43] local.INFO: IMEI packet received {"connection_id":163587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":163587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:12:43] local.INFO: TCP Data received {"connection_id":163587,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ccd5608012d7bef0005dc7ab0000000b40f..."} 
[2026-08-26 12:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ccd5608012d7bef0005dc7ab0000000b40f..."} 
[2026-08-26 12:12:43] local.INFO: Processing buffer {"connection_id":163587,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a03c..."} 
[2026-08-26 12:12:43] local.INFO: IMEI packet received {"connection_id":163587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":163587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:12:44] local.INFO: TCP Data received {"connection_id":163587,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ccd7930012d7bed8005dc5720000000b40d..."} 
[2026-08-26 12:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ccd7930012d7bed8005dc5720000000b40d..."} 
[2026-08-26 12:12:44] local.INFO: Processing buffer {"connection_id":163587,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a03ccd5608012d7bef0005dc7ab0000000b40f..."} 
[2026-08-26 12:12:44] local.INFO: Packet analysis {"connection_id":163587,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a03ccd"} 
[2026-08-26 12:12:44] local.INFO: Extracted packet for processing {"connection_id":163587,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ccd"} 
[2026-08-26 12:12:44] local.INFO: GPS Element Parsed {"raw_longitude":763096832,"raw_latitude":98335408,"longitude_deg":76.3096832,"latitude_deg":9.8335408,"altitude":0,"angle":180,"satellites":15,"speed":36,"hex_longitude":"2d7bef00","hex_latitude":"05dc7ab0","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657978112001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124583974621151232,"note":"Value kept but may cause issues"} 
[2026-08-26 12:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928878867647477760,"note":"Value kept but may cause issues"} 
[2026-08-26 12:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787726485000,"timestamp_ms":1787726485000,"timestamp_seconds":1787726485,"priority":1,"record_length":96,"hex_timestamp":"000001a03ccd5608"} 
[2026-08-26 12: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-26 12:12:44] 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-26 12: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":43,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-26 12:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":764,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12: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-26 12: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-26 12:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657978112001,"66":11037,"168":206,"85":15104,"24":36,"16":124583974621151232,"45":8928878867647477760},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-26 12:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657978112001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:12:44] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-26 12:12:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124583974621151232,"km_value":124583974621151.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928878867647477760,"description":"Unknown IO ID 45"} 
[2026-08-26 12:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657978112001,"power":11037,"unknown_168":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8928878867647477760}} 
[2026-08-26 12:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":163587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:12:44] local.INFO: GPS data processed {"connection_id":163587,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:12:44] local.INFO: Acknowledgment sent {"connection_id":163587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:12:44] local.INFO: Packet analysis {"connection_id":163587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ccd"} 
[2026-08-26 12:12:44] local.INFO: Extracted packet for processing {"connection_id":163587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ccd"} 
[2026-08-26 12:12:44] local.INFO: GPS Element Parsed {"raw_longitude":763096448,"raw_latitude":98326304,"longitude_deg":76.3096448,"latitude_deg":9.8326304,"altitude":0,"angle":180,"satellites":13,"speed":40,"hex_longitude":"2d7bed80","hex_latitude":"05dc5720","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657980160001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124584417002782720,"note":"Value kept but may cause issues"} 
[2026-08-26 12:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930356611272847360,"note":"Value kept but may cause issues"} 
[2026-08-26 12:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787726494000,"timestamp_ms":1787726494000,"timestamp_seconds":1787726494,"priority":1,"record_length":96,"hex_timestamp":"000001a03ccd7930"} 
[2026-08-26 12: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-26 12:12:44] 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-26 12: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":43,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-26 12:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12: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-26 12: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-26 12:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657980160001,"66":10982,"168":206,"85":15104,"24":40,"16":124584417002782720,"45":8930356611272847360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-26 12:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657980160001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:12:44] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-26 12:12:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124584417002782720,"km_value":124584417002782.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930356611272847360,"description":"Unknown IO ID 45"} 
[2026-08-26 12:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657980160001,"power":10982,"unknown_168":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8930356611272847360}} 
[2026-08-26 12:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":163587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:12:44] local.INFO: GPS data processed {"connection_id":163587,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:12:44] local.INFO: Acknowledgment sent {"connection_id":163587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:12:46] local.INFO: TCP Data received {"connection_id":163587,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ccd9c58012d7bef0005dc3478000000b112..."} 
[2026-08-26 12:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ccd9c58012d7bef0005dc3478000000b112..."} 
[2026-08-26 12:12:46] local.INFO: Processing buffer {"connection_id":163587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ccd9c58012d7bef0005dc3478000000b112..."} 
[2026-08-26 12:12:46] local.INFO: Packet analysis {"connection_id":163587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ccd"} 
[2026-08-26 12:12:46] local.INFO: Extracted packet for processing {"connection_id":163587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ccd"} 
[2026-08-26 12:12:46] local.INFO: GPS Element Parsed {"raw_longitude":763096832,"raw_latitude":98317432,"longitude_deg":76.3096832,"latitude_deg":9.8317432,"altitude":0,"angle":177,"satellites":18,"speed":38,"hex_longitude":"2d7bef00","hex_latitude":"05dc3478","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:12:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657982464001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:12:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124584846499512320,"note":"Value kept but may cause issues"} 
[2026-08-26 12:12:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929934398805450752,"note":"Value kept but may cause issues"} 
[2026-08-26 12:12:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:12:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787726503000,"timestamp_ms":1787726503000,"timestamp_seconds":1787726503,"priority":1,"record_length":96,"hex_timestamp":"000001a03ccd9c58"} 
[2026-08-26 12: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-26 12:12: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-26 12: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":42,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-26 12:12:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2478,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12: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-26 12: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-26 12:12:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:12:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:12:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:12:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:12:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:12:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:12:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:12:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657982464001,"66":11069,"168":206,"85":15104,"24":38,"16":124584846499512320,"45":8929934398805450752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-26 12:12:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:12:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:12:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657982464001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:12:46] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-26 12:12:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:12:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124584846499512320,"km_value":124584846499512.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:12:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929934398805450752,"description":"Unknown IO ID 45"} 
[2026-08-26 12:12:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657982464001,"power":11069,"unknown_168":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8929934398805450752}} 
[2026-08-26 12:12:46] local.INFO: DEBUG: GPS processor result {"connection_id":163587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:12:46] local.INFO: GPS data processed {"connection_id":163587,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:12:46] local.INFO: Acknowledgment sent {"connection_id":163587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:12:49] local.INFO: TCP Data received {"connection_id":162330,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:12:49] local.INFO: Processing buffer {"connection_id":162330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:12:49] local.INFO: IMEI packet received {"connection_id":162330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":162330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:12:50] local.INFO: TCP Data received {"connection_id":162330,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a03cc9fe90012d34c14006aa4818000a00e62d..."} 
[2026-08-26 12:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cc9fe90012d34c14006aa4818000a00e62d..."} 
[2026-08-26 12:12:50] local.INFO: Processing buffer {"connection_id":162330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cc9fe90012d34c14006aa4818000a00e62d..."} 
[2026-08-26 12:12:50] local.INFO: Packet analysis {"connection_id":162330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cc9"} 
[2026-08-26 12:12:50] local.INFO: Extracted packet for processing {"connection_id":162330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cc9"} 
[2026-08-26 12:12:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657847040001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787726266000,"timestamp_ms":1787726266000,"timestamp_seconds":1787726266,"priority":1,"record_length":96,"hex_timestamp":"000001a03cc9fe90"} 
[2026-08-26 12: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-26 12:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:12:50] 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-26 12: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-26 12: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-26 12:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":162330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":162330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":162330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:12:50] 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-26 12:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657847040001,"66":25343,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657847040001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:12:50] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:12:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657847040001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":162330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:12:50] local.INFO: GPS data processed {"connection_id":162330,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:12:50] local.INFO: Acknowledgment sent {"connection_id":162330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:13:07] local.INFO: TCP Data received {"connection_id":162331,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:13:07] local.INFO: Processing buffer {"connection_id":162331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:13:07] local.INFO: IMEI packet received {"connection_id":162331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 12:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":162331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:13:28] local.INFO: TCP Data received {"connection_id":162571,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:13:28] local.INFO: Processing buffer {"connection_id":162571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:13:28] local.INFO: IMEI packet received {"connection_id":162571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":162571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:13:31] local.INFO: TCP Data received {"connection_id":162571,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:13:31] local.INFO: Processing buffer {"connection_id":162571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:13:31] local.INFO: IMEI packet received {"connection_id":162571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":162571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:13:35] local.INFO: TCP Data received {"connection_id":162571,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:13:35] local.INFO: Processing buffer {"connection_id":162571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:13:35] local.INFO: IMEI packet received {"connection_id":162571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":162571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:13:36] local.INFO: TCP Data received {"connection_id":162571,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ccedca8012d7c414005daa6e0000000a313..."} 
[2026-08-26 12:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ccedca8012d7c414005daa6e0000000a313..."} 
[2026-08-26 12:13:36] local.INFO: Processing buffer {"connection_id":162571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ccedca8012d7c414005daa6e0000000a313..."} 
[2026-08-26 12:13:36] local.INFO: Packet analysis {"connection_id":162571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cce"} 
[2026-08-26 12:13:36] local.INFO: Extracted packet for processing {"connection_id":162571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cce"} 
[2026-08-26 12:13:36] local.INFO: GPS Element Parsed {"raw_longitude":763117888,"raw_latitude":98215648,"longitude_deg":76.3117888,"latitude_deg":9.8215648,"altitude":0,"angle":163,"satellites":19,"speed":55,"hex_longitude":"2d7c4140","hex_latitude":"05daa6e0","is_valid_coordinates":true} 
[2026-08-26 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-26 12:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658003968001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124589905970987008,"note":"Value kept but may cause issues"} 
[2026-08-26 12:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950763547056048128,"note":"Value kept but may cause issues"} 
[2026-08-26 12:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787726585000,"timestamp_ms":1787726585000,"timestamp_seconds":1787726585,"priority":1,"record_length":96,"hex_timestamp":"000001a03ccedca8"} 
[2026-08-26 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-26 12:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 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":43,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-26 12:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1457,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 12:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658003968001,"66":11124,"187":206,"85":15104,"24":55,"16":124589905970987008,"45":8950763547056048128},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-26 12:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658003968001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:13:36] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-26 12:13:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124589905970987008,"km_value":124589905970987.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950763547056048128,"description":"Unknown IO ID 45"} 
[2026-08-26 12:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658003968001,"power":11124,"unknown_187":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8950763547056048128}} 
[2026-08-26 12:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":162571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:13:36] local.INFO: GPS data processed {"connection_id":162571,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:13:36] local.INFO: Acknowledgment sent {"connection_id":162571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:13:36] local.INFO: TCP Data received {"connection_id":162571,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ccef800012d7c4dc005da83b8000000a112..."} 
[2026-08-26 12:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ccef800012d7c4dc005da83b8000000a112..."} 
[2026-08-26 12:13:36] local.INFO: Processing buffer {"connection_id":162571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ccef800012d7c4dc005da83b8000000a112..."} 
[2026-08-26 12:13:36] local.INFO: Packet analysis {"connection_id":162571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cce"} 
[2026-08-26 12:13:36] local.INFO: Extracted packet for processing {"connection_id":162571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cce"} 
[2026-08-26 12:13:36] local.INFO: GPS Element Parsed {"raw_longitude":763121088,"raw_latitude":98206648,"longitude_deg":76.3121088,"latitude_deg":9.8206648,"altitude":0,"angle":161,"satellites":18,"speed":48,"hex_longitude":"2d7c4dc0","hex_latitude":"05da83b8","is_valid_coordinates":true} 
[2026-08-26 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-26 12:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658005760001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124590369827454976,"note":"Value kept but may cause issues"} 
[2026-08-26 12:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953507928076640256,"note":"Value kept but may cause issues"} 
[2026-08-26 12:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787726592000,"timestamp_ms":1787726592000,"timestamp_seconds":1787726592,"priority":1,"record_length":96,"hex_timestamp":"000001a03ccef800"} 
[2026-08-26 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-26 12:13:36] 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-26 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":43,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-26 12:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1457,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 12:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658005760001,"66":11026,"187":206,"85":15104,"24":48,"16":124590369827454976,"45":8953507928076640256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-26 12:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658005760001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:13:36] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-26 12:13:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124590369827454976,"km_value":124590369827454.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953507928076640256,"description":"Unknown IO ID 45"} 
[2026-08-26 12:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658005760001,"power":11026,"unknown_187":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8953507928076640256}} 
[2026-08-26 12:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":162571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:13:36] local.INFO: GPS data processed {"connection_id":162571,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:13:36] local.INFO: Acknowledgment sent {"connection_id":162571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:14:12] local.INFO: TCP Data received {"connection_id":162332,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:14:12] local.INFO: Processing buffer {"connection_id":162332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:14:12] local.INFO: IMEI packet received {"connection_id":162332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":162332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:14:15] local.INFO: TCP Data received {"connection_id":162571,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ccf1358012d7c58c005da6120000000a210..."} 
[2026-08-26 12:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ccf1358012d7c58c005da6120000000a210..."} 
[2026-08-26 12:14:15] local.INFO: Processing buffer {"connection_id":162571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ccf1358012d7c58c005da6120000000a210..."} 
[2026-08-26 12:14:15] local.INFO: Packet analysis {"connection_id":162571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ccf"} 
[2026-08-26 12:14:15] local.INFO: Extracted packet for processing {"connection_id":162571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ccf"} 
[2026-08-26 12:14:15] local.INFO: GPS Element Parsed {"raw_longitude":763123904,"raw_latitude":98197792,"longitude_deg":76.3123904,"latitude_deg":9.8197792,"altitude":0,"angle":162,"satellites":16,"speed":54,"hex_longitude":"2d7c58c0","hex_latitude":"05da6120","is_valid_coordinates":true} 
[2026-08-26 12:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658007552001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124590816504053760,"note":"Value kept but may cause issues"} 
[2026-08-26 12:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8957026365283219456,"note":"Value kept but may cause issues"} 
[2026-08-26 12:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787726599000,"timestamp_ms":1787726599000,"timestamp_seconds":1787726599,"priority":1,"record_length":96,"hex_timestamp":"000001a03ccf1358"} 
[2026-08-26 12:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:14:15] 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-26 12:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-26 12:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1153408173088964608,"note":"Value kept but may cause issues"} 
[2026-08-26 12:14:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-26 12:14:15] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":34816,"corrected_to":0} 
[2026-08-26 12:14:15] local.WARNING: Large IO value detected {"io_id":18,"raw_value":-9221723481169723392,"note":"Value kept but may cause issues"} 
[2026-08-26 12:14:15] local.WARNING: Large IO value detected {"io_id":168,"raw_value":1513263350866250240,"note":"Value kept but may cause issues"} 
[2026-08-26 12:14:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184098005197,"note":"Value kept but may cause issues"} 
[2026-08-26 12:14:15] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3464423425,"note":"Value kept but may cause issues"} 
[2026-08-26 12:14:15] local.WARNING: Large IO value detected {"io_id":219,"raw_value":9151314442827797760,"note":"Value kept but may cause issues"} 
[2026-08-26 12:14:15] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845035760,"note":"Value kept but may cause issues"} 
[2026-08-26 12:14:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930245838,"corrected_to":0} 
[2026-08-26 12:14:15] local.WARNING: Large IO value detected {"io_id":95,"raw_value":2818649468,"note":"Value kept but may cause issues"} 
[2026-08-26 12:14:15] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3221609271,"note":"Value kept but may cause issues"} 
[2026-08-26 12:14:15] local.WARNING: Large IO value detected {"io_id":186,"raw_value":-6905144128665812992,"note":"Value kept but may cause issues"} 
[2026-08-26 12:14:15] local.WARNING: Large IO value detected {"io_id":72,"raw_value":57894406816945467,"note":"Value kept but may cause issues"} 
[2026-08-26 12:14:15] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2952110850607464453,"note":"Value kept but may cause issues"} 
[2026-08-26 12:14:15] local.WARNING: Large IO value detected {"io_id":51,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-26 12:14:15] local.WARNING: Large IO value detected {"io_id":174,"raw_value":-6340841409880254464,"note":"Value kept but may cause issues"} 
[2026-08-26 12:14:15] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,187,85,24,241,157,16,162,160,220,45,64,166,19,10,66,161,193,128,202,18,168,1,240,170,227,60,219,4,113,205,44,95,27,239,43,2,186,72,206,51,174],"length":581,"final_offset":711,"validated_count":42,"validation_warnings":[{"io_id":202,"original":34816,"validated":0},{"io_id":205,"original":2930245838,"validated":0}]} 
[2026-08-26 12:14:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":177098684628992,"timestamp_seconds":177098684628.992,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 12:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162571,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658007552001,"66":11004,"187":206,"85":15104,"24":54,"16":124590816504053760,"45":8957026365283219456},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-26 12:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658007552001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:14:15] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-26 12:14:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124590816504053760,"km_value":124590816504053.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8957026365283219456,"description":"Unknown IO ID 45"} 
[2026-08-26 12:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658007552001,"power":11004,"unknown_187":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8957026365283219456}} 
[2026-08-26 12:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":162571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:14:15] local.INFO: GPS data processed {"connection_id":162571,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:14:15] local.INFO: Acknowledgment sent {"connection_id":162571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:14:17] local.INFO: TCP Data received {"connection_id":162332,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:14:17] local.INFO: Processing buffer {"connection_id":162332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:14:17] local.INFO: IMEI packet received {"connection_id":162332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":162332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:14:18] local.INFO: TCP Data received {"connection_id":162332,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03cce9658012d34c14006aa4818000c00e62d..."} 
[2026-08-26 12:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cce9658012d34c14006aa4818000c00e62d..."} 
[2026-08-26 12:14:18] local.INFO: Processing buffer {"connection_id":162332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cce9658012d34c14006aa4818000c00e62d..."} 
[2026-08-26 12:14:18] local.INFO: Packet analysis {"connection_id":162332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cce"} 
[2026-08-26 12:14:18] local.INFO: Extracted packet for processing {"connection_id":162332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cce"} 
[2026-08-26 12:14:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657924096001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787726567000,"timestamp_ms":1787726567000,"timestamp_seconds":1787726567,"priority":1,"record_length":96,"hex_timestamp":"000001a03cce9658"} 
[2026-08-26 12: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-26 12:14: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-26 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 12:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 12: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-26 12: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-26 12:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:14:18] 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-26 12:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657924096001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657924096001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:14:18] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:14:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657924096001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":162332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:14:18] local.INFO: GPS data processed {"connection_id":162332,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:14:18] local.INFO: Acknowledgment sent {"connection_id":162332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:14:31] local.INFO: TCP Data received {"connection_id":163588,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:14:31] local.INFO: Processing buffer {"connection_id":163588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:14:31] local.INFO: IMEI packet received {"connection_id":163588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":163588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:14:31] local.INFO: TCP Data received {"connection_id":163588,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:14:31] local.INFO: Processing buffer {"connection_id":163588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:14:31] local.INFO: IMEI packet received {"connection_id":163588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":163588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:14:36] local.INFO: TCP Data received {"connection_id":163588,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:14:36] local.INFO: Processing buffer {"connection_id":163588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:14:36] local.INFO: IMEI packet received {"connection_id":163588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":163588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:14:37] local.INFO: TCP Data received {"connection_id":163588,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ccf2eb0012d7c650005da3dd8000000a412..."} 
[2026-08-26 12:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ccf2eb0012d7c650005da3dd8000000a412..."} 
[2026-08-26 12:14:37] local.INFO: Processing buffer {"connection_id":163588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ccf2eb0012d7c650005da3dd8000000a412..."} 
[2026-08-26 12:14:37] local.INFO: Packet analysis {"connection_id":163588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ccf"} 
[2026-08-26 12:14:37] local.INFO: Extracted packet for processing {"connection_id":163588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ccf"} 
[2026-08-26 12:14:37] local.INFO: GPS Element Parsed {"raw_longitude":763127040,"raw_latitude":98188760,"longitude_deg":76.312704,"latitude_deg":9.818876,"altitude":0,"angle":164,"satellites":18,"speed":52,"hex_longitude":"2d7c6500","hex_latitude":"05da3dd8","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658009344001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124591280360521728,"note":"Value kept but may cause issues"} 
[2026-08-26 12:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8960122590024769536,"note":"Value kept but may cause issues"} 
[2026-08-26 12:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787726606000,"timestamp_ms":1787726606000,"timestamp_seconds":1787726606,"priority":1,"record_length":96,"hex_timestamp":"000001a03ccf2eb0"} 
[2026-08-26 12: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-26 12:14: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-26 12: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":42,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-26 12:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2676,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12: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-26 12: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-26 12:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658009344001,"66":10765,"187":206,"85":15104,"24":52,"16":124591280360521728,"45":8960122590024769536},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-26 12:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658009344001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:14:37] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-26 12:14:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124591280360521728,"km_value":124591280360521.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8960122590024769536,"description":"Unknown IO ID 45"} 
[2026-08-26 12:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658009344001,"power":10765,"unknown_187":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8960122590024769536}} 
[2026-08-26 12:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":163588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:14:37] local.INFO: GPS data processed {"connection_id":163588,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:14:37] local.INFO: Acknowledgment sent {"connection_id":163588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:15:08] local.INFO: TCP Data received {"connection_id":163588,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd072e8012d7c99c005d8a6f0000e00b013..."} 
[2026-08-26 12:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd072e8012d7c99c005d8a6f0000e00b013..."} 
[2026-08-26 12:15:08] local.INFO: Processing buffer {"connection_id":163588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd072e8012d7c99c005d8a6f0000e00b013..."} 
[2026-08-26 12:15:08] local.INFO: Packet analysis {"connection_id":163588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd0"} 
[2026-08-26 12:15:08] local.INFO: Extracted packet for processing {"connection_id":163588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd0"} 
[2026-08-26 12:15:08] local.INFO: GPS Element Parsed {"raw_longitude":763140544,"raw_latitude":98084592,"longitude_deg":76.3140544,"latitude_deg":9.8084592,"altitude":14,"angle":176,"satellites":19,"speed":56,"hex_longitude":"2d7c99c0","hex_latitude":"05d8a6f0","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658030592001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124596378486702080,"note":"Value kept but may cause issues"} 
[2026-08-26 12:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977503669810137088,"note":"Value kept but may cause issues"} 
[2026-08-26 12:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787726689000,"timestamp_ms":1787726689000,"timestamp_seconds":1787726689,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd072e8"} 
[2026-08-26 12: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-26 12:15:08] 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-26 12: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":43,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-08-26 12:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":962,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12: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-26 12: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-26 12:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658030592001,"66":11069,"244":206,"85":15104,"24":56,"16":124596378486702080,"45":8977503669810137088},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-08-26 12:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658030592001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:15:08] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-26 12:15:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124596378486702080,"km_value":124596378486702.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977503669810137088,"description":"Unknown IO ID 45"} 
[2026-08-26 12:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658030592001,"power":11069,"unknown_244":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":8977503669810137088}} 
[2026-08-26 12:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":163588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:15:08] local.INFO: GPS data processed {"connection_id":163588,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:15:08] local.INFO: Acknowledgment sent {"connection_id":163588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:15:27] local.INFO: TCP Data received {"connection_id":162572,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:15:27] local.INFO: Processing buffer {"connection_id":162572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:15:27] local.INFO: IMEI packet received {"connection_id":162572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":162572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:15:30] local.INFO: TCP Data received {"connection_id":162333,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:15:30] local.INFO: Processing buffer {"connection_id":162333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:15:30] local.INFO: IMEI packet received {"connection_id":162333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":162333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:15:31] local.INFO: TCP Data received {"connection_id":162333,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:15:31] local.INFO: Processing buffer {"connection_id":162333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:15:31] local.INFO: IMEI packet received {"connection_id":162333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":162333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:15:32] local.INFO: TCP Data received {"connection_id":162572,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:15:32] local.INFO: Processing buffer {"connection_id":162572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:15:32] local.INFO: IMEI packet received {"connection_id":162572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":162572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:15:33] local.INFO: TCP Data received {"connection_id":162572,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03cce9658012d34c14006aa4818000c00e62d..."} 
[2026-08-26 12:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cce9658012d34c14006aa4818000c00e62d..."} 
[2026-08-26 12:15:33] local.INFO: Processing buffer {"connection_id":162572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cce9658012d34c14006aa4818000c00e62d..."} 
[2026-08-26 12:15:33] local.INFO: Packet analysis {"connection_id":162572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cce"} 
[2026-08-26 12:15:33] local.INFO: Extracted packet for processing {"connection_id":162572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cce"} 
[2026-08-26 12:15:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657924096001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787726567000,"timestamp_ms":1787726567000,"timestamp_seconds":1787726567,"priority":1,"record_length":96,"hex_timestamp":"000001a03cce9658"} 
[2026-08-26 12: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-26 12:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 12:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12: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-26 12:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":162572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":162572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":162572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:15:33] 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-26 12:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657924096001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657924096001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:15:33] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:15:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657924096001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":162572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:15:33] local.INFO: GPS data processed {"connection_id":162572,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:15:33] local.INFO: Acknowledgment sent {"connection_id":162572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:15:36] local.INFO: TCP Data received {"connection_id":162333,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:15:36] local.INFO: Processing buffer {"connection_id":162333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:15:36] local.INFO: IMEI packet received {"connection_id":162333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":162333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:15:37] local.INFO: TCP Data received {"connection_id":162333,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd08e40012d7c9b8005d88048000d00b115..."} 
[2026-08-26 12:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd08e40012d7c9b8005d88048000d00b115..."} 
[2026-08-26 12:15:37] local.INFO: Processing buffer {"connection_id":162333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd08e40012d7c9b8005d88048000d00b115..."} 
[2026-08-26 12:15:37] local.INFO: Packet analysis {"connection_id":162333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd0"} 
[2026-08-26 12:15:37] local.INFO: Extracted packet for processing {"connection_id":162333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd0"} 
[2026-08-26 12:15:37] local.INFO: GPS Element Parsed {"raw_longitude":763140992,"raw_latitude":98074696,"longitude_deg":76.3140992,"latitude_deg":9.8074696,"altitude":13,"angle":177,"satellites":21,"speed":57,"hex_longitude":"2d7c9b80","hex_latitude":"05d88048","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658032384001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124596859523039232,"note":"Value kept but may cause issues"} 
[2026-08-26 12:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978418463481982976,"note":"Value kept but may cause issues"} 
[2026-08-26 12:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787726696000,"timestamp_ms":1787726696000,"timestamp_seconds":1787726696,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd08e40"} 
[2026-08-26 12: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-26 12:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 12: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":43,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-08-26 12:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":962,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12: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-26 12: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-26 12:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":162333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":162333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":162333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658032384001,"66":11058,"196":206,"85":15104,"24":57,"16":124596859523039232,"45":8978418463481982976},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-08-26 12:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658032384001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:15:37] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-26 12:15:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124596859523039232,"km_value":124596859523039.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978418463481982976,"description":"Unknown IO ID 45"} 
[2026-08-26 12:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658032384001,"power":11058,"unknown_196":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":8978418463481982976}} 
[2026-08-26 12:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":162333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:15:37] local.INFO: GPS data processed {"connection_id":162333,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:15:37] local.INFO: Acknowledgment sent {"connection_id":162333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:16:04] local.INFO: TCP Data received {"connection_id":162572,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03cce9658012d34c14006aa4818000c00e62d..."} 
[2026-08-26 12:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cce9658012d34c14006aa4818000c00e62d..."} 
[2026-08-26 12:16:04] local.INFO: Processing buffer {"connection_id":162572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cce9658012d34c14006aa4818000c00e62d..."} 
[2026-08-26 12:16:04] local.INFO: Packet analysis {"connection_id":162572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cce"} 
[2026-08-26 12:16:04] local.INFO: Extracted packet for processing {"connection_id":162572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cce"} 
[2026-08-26 12:16:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657924096001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787726567000,"timestamp_ms":1787726567000,"timestamp_seconds":1787726567,"priority":1,"record_length":96,"hex_timestamp":"000001a03cce9658"} 
[2026-08-26 12:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12: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-26 12:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 12:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":162572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":162572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":162572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:16: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-26 12:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657924096001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657924096001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:16:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:16:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657924096001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":162572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:16:04] local.INFO: GPS data processed {"connection_id":162572,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:16:04] local.INFO: Acknowledgment sent {"connection_id":162572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:16:08] local.INFO: TCP Data received {"connection_id":162333,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd0a998012d7c9c8005d858c8000d00b214..."} 
[2026-08-26 12:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd0a998012d7c9c8005d858c8000d00b214..."} 
[2026-08-26 12:16:08] local.INFO: Processing buffer {"connection_id":162333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd0a998012d7c9c8005d858c8000d00b214..."} 
[2026-08-26 12:16:08] local.INFO: Packet analysis {"connection_id":162333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd0"} 
[2026-08-26 12:16:08] local.INFO: Extracted packet for processing {"connection_id":162333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd0"} 
[2026-08-26 12:16:08] local.INFO: GPS Element Parsed {"raw_longitude":763141248,"raw_latitude":98064584,"longitude_deg":76.3141248,"latitude_deg":9.8064584,"altitude":13,"angle":178,"satellites":20,"speed":58,"hex_longitude":"2d7c9c80","hex_latitude":"05d858c8","is_valid_coordinates":true} 
[2026-08-26 12:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658034176001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124597349149310976,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978911044688693248,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787726703000,"timestamp_ms":1787726703000,"timestamp_seconds":1787726703,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd0a998"} 
[2026-08-26 12:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:16:08] 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-26 12:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-26 12:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":863,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":162333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":162333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":162333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658034176001,"66":11026,"196":206,"85":15104,"24":58,"16":124597349149310976,"45":8978911044688693248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-08-26 12:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658034176001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:16:08] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-26 12:16:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124597349149310976,"km_value":124597349149310.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978911044688693248,"description":"Unknown IO ID 45"} 
[2026-08-26 12:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658034176001,"power":11026,"unknown_196":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":8978911044688693248}} 
[2026-08-26 12:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":162333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:16:08] local.INFO: GPS data processed {"connection_id":162333,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:16:08] local.INFO: Acknowledgment sent {"connection_id":162333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:16:31] local.INFO: TCP Data received {"connection_id":162334,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:16:31] local.INFO: Processing buffer {"connection_id":162334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:16:31] local.INFO: IMEI packet received {"connection_id":162334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":162334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:16:31] local.INFO: TCP Data received {"connection_id":162334,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:16:31] local.INFO: Processing buffer {"connection_id":162334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:16:31] local.INFO: IMEI packet received {"connection_id":162334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":162334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:16:36] local.INFO: TCP Data received {"connection_id":162334,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:16:36] local.INFO: Processing buffer {"connection_id":162334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:16:36] local.INFO: IMEI packet received {"connection_id":162334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":162334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:16:37] local.INFO: TCP Data received {"connection_id":162334,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd0c4f0012d7c9e8005d831e8000d00b314..."} 
[2026-08-26 12:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd0c4f0012d7c9e8005d831e8000d00b314..."} 
[2026-08-26 12:16:37] local.INFO: Processing buffer {"connection_id":162334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd0c4f0012d7c9e8005d831e8000d00b314..."} 
[2026-08-26 12:16:37] local.INFO: Packet analysis {"connection_id":162334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd0"} 
[2026-08-26 12:16:37] local.INFO: Extracted packet for processing {"connection_id":162334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd0"} 
[2026-08-26 12:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763141760,"raw_latitude":98054632,"longitude_deg":76.314176,"latitude_deg":9.8054632,"altitude":13,"angle":179,"satellites":20,"speed":56,"hex_longitude":"2d7c9e80","hex_latitude":"05d831e8","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658035968001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124597834480615424,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979192519662815232,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787726710000,"timestamp_ms":1787726710000,"timestamp_seconds":1787726710,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd0c4f0"} 
[2026-08-26 12: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-26 12:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 12: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":43,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-26 12:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1153408199848624128,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:37] local.WARNING: Large IO value detected {"io_id":166,"raw_value":-4971747123159623680,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184099381453,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:37] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3493607425,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:37] local.WARNING: Large IO value detected {"io_id":216,"raw_value":4066377743,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845232368,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2834563278,"corrected_to":0} 
[2026-08-26 12:16:37] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3758173564,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:37] local.WARNING: Large IO value detected {"io_id":141,"raw_value":2147866904,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:37] local.WARNING: Large IO value detected {"io_id":176,"raw_value":1513261151842994688,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:37] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2399194536,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:37] local.WARNING: Large IO value detected {"io_id":186,"raw_value":-6452250891138367488,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:37] local.WARNING: Large IO value detected {"io_id":137,"raw_value":-4610039773434737920,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:37] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57888140459660603,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:37] local.WARNING: Large IO value detected {"io_id":207,"raw_value":-2134704928499335163,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:37] local.WARNING: Large IO value detected {"io_id":217,"raw_value":7428687619718779136,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:37] local.WARNING: Large IO value detected {"io_id":53,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:37] local.INFO: IO Element Parsed {"io_data_count":48,"io_data_keys":[0,196,85,24,241,157,16,168,160,142,45,128,13,21,10,66,114,192,166,14,19,244,167,87,1,240,61,227,60,216,4,113,205,56,32,141,176,22,239,42,245,2,186,137,7,207,217,53],"length":581,"final_offset":711,"validated_count":48,"validation_warnings":[{"io_id":205,"original":2834563278,"validated":0}]} 
[2026-08-26 12:16:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936944521465954304,"timestamp_seconds":936944521465954.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 12: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-26 12:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":162334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":162334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":162334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658035968001,"66":11047,"196":206,"85":15104,"24":56,"16":124597834480615424,"45":8979192519662815232},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-08-26 12:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658035968001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:16:37] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-26 12:16:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124597834480615424,"km_value":124597834480615.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979192519662815232,"description":"Unknown IO ID 45"} 
[2026-08-26 12:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658035968001,"power":11047,"unknown_196":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":8979192519662815232}} 
[2026-08-26 12:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":162334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:16:37] local.INFO: GPS data processed {"connection_id":162334,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:16:37] local.INFO: Acknowledgment sent {"connection_id":162334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:16:42] local.INFO: TCP Data received {"connection_id":162573,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:16:42] local.INFO: Processing buffer {"connection_id":162573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:16:42] local.INFO: IMEI packet received {"connection_id":162573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":162573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:16:47] local.INFO: TCP Data received {"connection_id":162573,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:16:47] local.INFO: Processing buffer {"connection_id":162573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:16:47] local.INFO: IMEI packet received {"connection_id":162573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":162573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:16:48] local.INFO: TCP Data received {"connection_id":162573,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03cce9658012d34c14006aa4818000c00e62d..."} 
[2026-08-26 12:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cce9658012d34c14006aa4818000c00e62d..."} 
[2026-08-26 12:16:48] local.INFO: Processing buffer {"connection_id":162573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cce9658012d34c14006aa4818000c00e62d..."} 
[2026-08-26 12:16:48] local.INFO: Packet analysis {"connection_id":162573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cce"} 
[2026-08-26 12:16:48] local.INFO: Extracted packet for processing {"connection_id":162573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cce"} 
[2026-08-26 12:16:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657924096001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787726567000,"timestamp_ms":1787726567000,"timestamp_seconds":1787726567,"priority":1,"record_length":96,"hex_timestamp":"000001a03cce9658"} 
[2026-08-26 12: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-26 12:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 12:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 12: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-26 12: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-26 12:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657924096001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657924096001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:16:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:16:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657924096001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":162573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:16:48] local.INFO: GPS data processed {"connection_id":162573,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:16:48] local.INFO: Acknowledgment sent {"connection_id":162573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:16:52] local.INFO: TCP Data received {"connection_id":162573,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03cce9658012d34c14006aa4818000c00e62d..."} 
[2026-08-26 12:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cce9658012d34c14006aa4818000c00e62d..."} 
[2026-08-26 12:16:52] local.INFO: Processing buffer {"connection_id":162573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cce9658012d34c14006aa4818000c00e62d..."} 
[2026-08-26 12:16:52] local.INFO: Packet analysis {"connection_id":162573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cce"} 
[2026-08-26 12:16:52] local.INFO: Extracted packet for processing {"connection_id":162573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cce"} 
[2026-08-26 12:16:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657924096001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787726567000,"timestamp_ms":1787726567000,"timestamp_seconds":1787726567,"priority":1,"record_length":96,"hex_timestamp":"000001a03cce9658"} 
[2026-08-26 12:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 12:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 12:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:16:52] 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-26 12:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657924096001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657924096001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:16:52] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:16:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:16:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657924096001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":162573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:16:52] local.INFO: GPS data processed {"connection_id":162573,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:16:52] local.INFO: Acknowledgment sent {"connection_id":162573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:17:08] local.INFO: TCP Data received {"connection_id":162334,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd24b90012d7cf3c005d64118001300ae15..."} 
[2026-08-26 12:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd24b90012d7cf3c005d64118001300ae15..."} 
[2026-08-26 12:17:08] local.INFO: Processing buffer {"connection_id":162334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd24b90012d7cf3c005d64118001300ae15..."} 
[2026-08-26 12:17:08] local.INFO: Packet analysis {"connection_id":162334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd2"} 
[2026-08-26 12:17:08] local.INFO: Extracted packet for processing {"connection_id":162334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd2"} 
[2026-08-26 12:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763163584,"raw_latitude":97927448,"longitude_deg":76.3163584,"latitude_deg":9.7927448,"altitude":19,"angle":174,"satellites":21,"speed":57,"hex_longitude":"2d7cf3c0","hex_latitude":"05d64118","is_valid_coordinates":true} 
[2026-08-26 12:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658061568001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124604113722802176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002484573953118208,"note":"Value kept but may cause issues"} 
[2026-08-26 12:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787726810000,"timestamp_ms":1787726810000,"timestamp_seconds":1787726810,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd24b90"} 
[2026-08-26 12:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:17:08] 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-26 12:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-26 12:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2676,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":162334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":162334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":162334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658061568001,"66":11015,"30":206,"85":15104,"24":57,"16":124604113722802176,"45":9002484573953118208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-26 12:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658061568001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:17:08] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-26 12:17:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124604113722802176,"km_value":124604113722802.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002484573953118208,"description":"Unknown IO ID 45"} 
[2026-08-26 12:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658061568001,"power":11015,"unknown_30":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":9002484573953118208}} 
[2026-08-26 12:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":162334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:17:08] local.INFO: GPS data processed {"connection_id":162334,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:17:08] local.INFO: Acknowledgment sent {"connection_id":162334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:17:32] local.INFO: TCP Data received {"connection_id":163589,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:17:32] local.INFO: Processing buffer {"connection_id":163589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:17:32] local.INFO: IMEI packet received {"connection_id":163589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":163589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:17:37] local.INFO: TCP Data received {"connection_id":163589,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:17:37] local.INFO: Processing buffer {"connection_id":163589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:17:37] local.INFO: IMEI packet received {"connection_id":163589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":163589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:17:37] local.INFO: TCP Data received {"connection_id":164936,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:17:37] local.INFO: Processing buffer {"connection_id":164936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:17:37] local.INFO: IMEI packet received {"connection_id":164936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":164936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:17:41] local.INFO: TCP Data received {"connection_id":163589,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:17:41] local.INFO: Processing buffer {"connection_id":163589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:17:41] local.INFO: IMEI packet received {"connection_id":163589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":163589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:17:41] local.INFO: TCP Data received {"connection_id":163589,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd266e8012d7cf78005d61b88001300af14..."} 
[2026-08-26 12:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd266e8012d7cf78005d61b88001300af14..."} 
[2026-08-26 12:17:41] local.INFO: Processing buffer {"connection_id":163589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd266e8012d7cf78005d61b88001300af14..."} 
[2026-08-26 12:17:41] local.INFO: Packet analysis {"connection_id":163589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd2"} 
[2026-08-26 12:17:41] local.INFO: Extracted packet for processing {"connection_id":163589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd2"} 
[2026-08-26 12:17:41] local.INFO: GPS Element Parsed {"raw_longitude":763164544,"raw_latitude":97917832,"longitude_deg":76.3164544,"latitude_deg":9.7917832,"altitude":19,"angle":175,"satellites":20,"speed":55,"hex_longitude":"2d7cf780","hex_latitude":"05d61b88","is_valid_coordinates":true} 
[2026-08-26 12:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658063360001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124604581874237440,"note":"Value kept but may cause issues"} 
[2026-08-26 12:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003751211345713152,"note":"Value kept but may cause issues"} 
[2026-08-26 12:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787726817000,"timestamp_ms":1787726817000,"timestamp_seconds":1787726817,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd266e8"} 
[2026-08-26 12:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:17:41] 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-26 12:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-26 12:17:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-26 12:17:41] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788842,"note":"Value kept but may cause issues"} 
[2026-08-26 12:17:41] local.WARNING: Large IO value detected {"io_id":208,"raw_value":57797765757818171,"note":"Value kept but may cause issues"} 
[2026-08-26 12:17:41] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3520999425,"note":"Value kept but may cause issues"} 
[2026-08-26 12:17:41] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3722444817,"note":"Value kept but may cause issues"} 
[2026-08-26 12:17:41] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845494512,"note":"Value kept but may cause issues"} 
[2026-08-26 12:17:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2803826894,"corrected_to":0} 
[2026-08-26 12:17:41] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3623955836,"note":"Value kept but may cause issues"} 
[2026-08-26 12:17:41] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2147866372,"note":"Value kept but may cause issues"} 
[2026-08-26 12:17:41] local.WARNING: Large IO value detected {"io_id":195,"raw_value":-9221728083898265088,"note":"Value kept but may cause issues"} 
[2026-08-26 12:17:41] local.WARNING: Large IO value detected {"io_id":186,"raw_value":-6014275827376586752,"note":"Value kept but may cause issues"} 
[2026-08-26 12:17:41] local.WARNING: Large IO value detected {"io_id":163,"raw_value":1152984176769632768,"note":"Value kept but may cause issues"} 
[2026-08-26 12:17:41] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,30,85,24,241,157,16,174,160,48,45,64,104,20,21,10,66,144,173,249,1,240,208,227,60,214,4,113,205,57,194,207,19,239,43,195,2,186,163],"length":482,"final_offset":612,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2803826894,"validated":0}]} 
[2026-08-26 12:17:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1369285691941912576,"timestamp_seconds":1369285691941912.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 12:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658063360001,"66":11124,"30":206,"85":15104,"24":55,"16":124604581874237440,"45":9003751211345713152},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-26 12:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658063360001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:17:41] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-26 12:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124604581874237440,"km_value":124604581874237.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003751211345713152,"description":"Unknown IO ID 45"} 
[2026-08-26 12:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658063360001,"power":11124,"unknown_30":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":9003751211345713152}} 
[2026-08-26 12:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":163589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:17:41] local.INFO: GPS data processed {"connection_id":163589,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:17:41] local.INFO: Acknowledgment sent {"connection_id":163589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:17:42] local.INFO: TCP Data received {"connection_id":163589,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd28240012d7cfe0005d5f5e0001000a813..."} 
[2026-08-26 12:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd28240012d7cfe0005d5f5e0001000a813..."} 
[2026-08-26 12:17:42] local.INFO: Processing buffer {"connection_id":163589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd28240012d7cfe0005d5f5e0001000a813..."} 
[2026-08-26 12:17:42] local.INFO: Packet analysis {"connection_id":163589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd2"} 
[2026-08-26 12:17:42] local.INFO: Extracted packet for processing {"connection_id":163589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd2"} 
[2026-08-26 12:17:42] local.INFO: GPS Element Parsed {"raw_longitude":763166208,"raw_latitude":97908192,"longitude_deg":76.3166208,"latitude_deg":9.7908192,"altitude":16,"angle":168,"satellites":19,"speed":53,"hex_longitude":"2d7cfe00","hex_latitude":"05d5f5e0","is_valid_coordinates":true} 
[2026-08-26 12:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658065152001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124605058615607296,"note":"Value kept but may cause issues"} 
[2026-08-26 12:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004806742505916416,"note":"Value kept but may cause issues"} 
[2026-08-26 12:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787726824000,"timestamp_ms":1787726824000,"timestamp_seconds":1787726824,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd28240"} 
[2026-08-26 12:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 12:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-26 12:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1457,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658065152001,"66":10754,"30":206,"85":15104,"24":53,"16":124605058615607296,"45":9004806742505916416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-26 12:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658065152001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:17:42] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-26 12:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124605058615607296,"km_value":124605058615607.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004806742505916416,"description":"Unknown IO ID 45"} 
[2026-08-26 12:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658065152001,"power":10754,"unknown_30":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9004806742505916416}} 
[2026-08-26 12:17:42] local.INFO: TCP Data received {"connection_id":164936,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:17:42] local.INFO: Processing buffer {"connection_id":164936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:17:42] local.INFO: IMEI packet received {"connection_id":164936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":164936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":163589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:17:42] local.INFO: GPS data processed {"connection_id":163589,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:17:42] local.INFO: Acknowledgment sent {"connection_id":163589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:17:44] local.INFO: TCP Data received {"connection_id":164936,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03cce9658012d34c14006aa4818000c00e62d..."} 
[2026-08-26 12:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cce9658012d34c14006aa4818000c00e62d..."} 
[2026-08-26 12:17:44] local.INFO: Processing buffer {"connection_id":164936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cce9658012d34c14006aa4818000c00e62d..."} 
[2026-08-26 12:17:44] local.INFO: Packet analysis {"connection_id":164936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cce"} 
[2026-08-26 12:17:44] local.INFO: Extracted packet for processing {"connection_id":164936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cce"} 
[2026-08-26 12:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657924096001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787726567000,"timestamp_ms":1787726567000,"timestamp_seconds":1787726567,"priority":1,"record_length":96,"hex_timestamp":"000001a03cce9658"} 
[2026-08-26 12:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:17: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-26 12:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 12:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 12:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:17:44] 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-26 12:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657924096001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657924096001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:17:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657924096001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":164936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:17:44] local.INFO: GPS data processed {"connection_id":164936,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:17:44] local.INFO: Acknowledgment sent {"connection_id":164936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:18:13] local.INFO: TCP Data received {"connection_id":163589,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd2a180012d7d090005d5d1100011009f13..."} 
[2026-08-26 12:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd2a180012d7d090005d5d1100011009f13..."} 
[2026-08-26 12:18:13] local.INFO: Processing buffer {"connection_id":163589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd2a180012d7d090005d5d1100011009f13..."} 
[2026-08-26 12:18:13] local.INFO: Packet analysis {"connection_id":163589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd2"} 
[2026-08-26 12:18:13] local.INFO: Extracted packet for processing {"connection_id":163589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd2"} 
[2026-08-26 12:18:13] local.INFO: GPS Element Parsed {"raw_longitude":763169024,"raw_latitude":97898768,"longitude_deg":76.3169024,"latitude_deg":9.7898768,"altitude":17,"angle":159,"satellites":19,"speed":43,"hex_longitude":"2d7d0900","hex_latitude":"05d5d110","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658066944001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124605535356977152,"note":"Value kept but may cause issues"} 
[2026-08-26 12:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006636329852067840,"note":"Value kept but may cause issues"} 
[2026-08-26 12:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787726832000,"timestamp_ms":1787726832000,"timestamp_seconds":1787726832,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd2a180"} 
[2026-08-26 12: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-26 12:18:13] 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-26 12: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":42,"n8_eight_byte":2,"data_length":795,"current_offset":136} 
[2026-08-26 12:18:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627486969856,"note":"Value kept but may cause issues"} 
[2026-08-26 12:18:13] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3524583425,"note":"Value kept but may cause issues"} 
[2026-08-26 12:18:13] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2415919124,"note":"Value kept but may cause issues"} 
[2026-08-26 12:18:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2803761358,"corrected_to":0} 
[2026-08-26 12:18:13] local.WARNING: Large IO value detected {"io_id":249,"raw_value":2281778556,"note":"Value kept but may cause issues"} 
[2026-08-26 12:18:13] local.WARNING: Large IO value detected {"io_id":42,"raw_value":3489713575,"note":"Value kept but may cause issues"} 
[2026-08-26 12:18:13] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,30,85,24,241,157,16,175,160,102,45,128,27,19,20,10,66,75,192,65,21,174,48,64,1,240,252,227,60,214,4,113,205,58,249,229,80,239,42,31,2],"length":432,"final_offset":562,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2803761358,"validated":0}]} 
[2026-08-26 12:18:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153106304168165376,"timestamp_seconds":1153106304168165.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 12: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-26 12:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658066944001,"66":10841,"30":206,"85":15104,"24":43,"16":124605535356977152,"45":9006636329852067840},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-26 12:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658066944001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:18:13] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-26 12:18:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124605535356977152,"km_value":124605535356977.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006636329852067840,"description":"Unknown IO ID 45"} 
[2026-08-26 12:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658066944001,"power":10841,"unknown_30":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9006636329852067840}} 
[2026-08-26 12:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":163589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:18:13] local.INFO: GPS data processed {"connection_id":163589,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:18:13] local.INFO: Acknowledgment sent {"connection_id":163589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:18:15] local.INFO: TCP Data received {"connection_id":164936,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03cce9658012d34c14006aa4818000c00e62d..."} 
[2026-08-26 12:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cce9658012d34c14006aa4818000c00e62d..."} 
[2026-08-26 12:18:15] local.INFO: Processing buffer {"connection_id":164936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cce9658012d34c14006aa4818000c00e62d..."} 
[2026-08-26 12:18:15] local.INFO: Packet analysis {"connection_id":164936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cce"} 
[2026-08-26 12:18:15] local.INFO: Extracted packet for processing {"connection_id":164936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cce"} 
[2026-08-26 12:18:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457657924096001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787726567000,"timestamp_ms":1787726567000,"timestamp_seconds":1787726567,"priority":1,"record_length":96,"hex_timestamp":"000001a03cce9658"} 
[2026-08-26 12:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:18: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-26 12:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 12:18: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-26 12:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:18: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-26 12:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457657924096001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457657924096001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:18:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:18:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457657924096001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":164936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:18:15] local.INFO: GPS data processed {"connection_id":164936,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:18:15] local.INFO: Acknowledgment sent {"connection_id":164936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:18:22] local.INFO: TCP Data received {"connection_id":162574,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:18:22] local.INFO: Processing buffer {"connection_id":162574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:18:22] local.INFO: IMEI packet received {"connection_id":162574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 12:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":162574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:18:31] local.INFO: TCP Data received {"connection_id":162335,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:18:31] local.INFO: Processing buffer {"connection_id":162335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:18:31] local.INFO: IMEI packet received {"connection_id":162335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":162335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:18:36] local.INFO: TCP Data received {"connection_id":162335,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:18:36] local.INFO: Processing buffer {"connection_id":162335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:18:36] local.INFO: IMEI packet received {"connection_id":162335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":162335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:18:37] local.INFO: TCP Data received {"connection_id":162335,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd2c4a8012d7d174005d5ae28001000a014..."} 
[2026-08-26 12:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd2c4a8012d7d174005d5ae28001000a014..."} 
[2026-08-26 12:18:37] local.INFO: Processing buffer {"connection_id":162335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd2c4a8012d7d174005d5ae28001000a014..."} 
[2026-08-26 12:18:37] local.INFO: Packet analysis {"connection_id":162335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd2"} 
[2026-08-26 12:18:37] local.INFO: Extracted packet for processing {"connection_id":162335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd2"} 
[2026-08-26 12:18:37] local.INFO: GPS Element Parsed {"raw_longitude":763172672,"raw_latitude":97889832,"longitude_deg":76.3172672,"latitude_deg":9.7889832,"altitude":16,"angle":160,"satellites":20,"speed":42,"hex_longitude":"2d7d1740","hex_latitude":"05d5ae28","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658068992001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124605999213445120,"note":"Value kept but may cause issues"} 
[2026-08-26 12:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009732554593472512,"note":"Value kept but may cause issues"} 
[2026-08-26 12:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787726841000,"timestamp_ms":1787726841000,"timestamp_seconds":1787726841,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd2c4a8"} 
[2026-08-26 12: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-26 12:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 12: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":42,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-08-26 12:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1209,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12: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-26 12: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-26 12:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":162335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":162335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":162335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658068992001,"66":11069,"29":206,"85":15104,"24":42,"16":124605999213445120,"45":9009732554593472512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-26 12:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658068992001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:18:37] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-26 12:18:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124605999213445120,"km_value":124605999213445.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009732554593472512,"description":"Unknown IO ID 45"} 
[2026-08-26 12:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658068992001,"power":11069,"unknown_29":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9009732554593472512}} 
[2026-08-26 12:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":162335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:18:37] local.INFO: GPS data processed {"connection_id":162335,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:18:37] local.INFO: Acknowledgment sent {"connection_id":162335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:18:37] local.INFO: TCP Data received {"connection_id":163590,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:18:37] local.INFO: Processing buffer {"connection_id":163590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:18:37] local.INFO: IMEI packet received {"connection_id":163590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":163590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:18:42] local.INFO: TCP Data received {"connection_id":163590,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:18:42] local.INFO: Processing buffer {"connection_id":163590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:18:42] local.INFO: IMEI packet received {"connection_id":163590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":163590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:18:43] local.INFO: TCP Data received {"connection_id":163590,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:18:43] local.INFO: Processing buffer {"connection_id":163590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:18:43] local.INFO: Packet analysis {"connection_id":163590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd3"} 
[2026-08-26 12:18:43] local.INFO: Extracted packet for processing {"connection_id":163590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd3"} 
[2026-08-26 12:18:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658001152001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:18: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-26 12:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787726868000,"timestamp_ms":1787726868000,"timestamp_seconds":1787726868,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd32e20"} 
[2026-08-26 12:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:18: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-26 12:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:18:43] 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-26 12:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:18: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-26 12:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658001152001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 12:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658001152001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:18:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 12:18:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658001152001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":163590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:18:43] local.INFO: GPS data processed {"connection_id":163590,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:18:43] local.INFO: Acknowledgment sent {"connection_id":163590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:19:07] local.INFO: TCP Data received {"connection_id":162335,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd2e7d0012d7d238005d58a08001000a413..."} 
[2026-08-26 12:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd2e7d0012d7d238005d58a08001000a413..."} 
[2026-08-26 12:19:07] local.INFO: Processing buffer {"connection_id":162335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd2e7d0012d7d238005d58a08001000a413..."} 
[2026-08-26 12:19:07] local.INFO: Packet analysis {"connection_id":162335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd2"} 
[2026-08-26 12:19:07] local.INFO: Extracted packet for processing {"connection_id":162335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd2"} 
[2026-08-26 12:19:07] local.INFO: GPS Element Parsed {"raw_longitude":763175808,"raw_latitude":97880584,"longitude_deg":76.3175808,"latitude_deg":9.7880584,"altitude":16,"angle":164,"satellites":19,"speed":39,"hex_longitude":"2d7d2380","hex_latitude":"05d58a08","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658071296001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124606475954814976,"note":"Value kept but may cause issues"} 
[2026-08-26 12:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013743573009311744,"note":"Value kept but may cause issues"} 
[2026-08-26 12:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787726850000,"timestamp_ms":1787726850000,"timestamp_seconds":1787726850,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd2e7d0"} 
[2026-08-26 12: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-26 12:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 12: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":43,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-08-26 12:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":962,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12: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-26 12: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-26 12:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658071296001,"66":10906,"29":206,"85":15104,"24":39,"16":124606475954814976,"45":9013743573009311744},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-26 12:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658071296001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:19:07] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-26 12:19:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124606475954814976,"km_value":124606475954814.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013743573009311744,"description":"Unknown IO ID 45"} 
[2026-08-26 12:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658071296001,"power":10906,"unknown_29":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9013743573009311744}} 
[2026-08-26 12:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":162335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:19:07] local.INFO: GPS data processed {"connection_id":162335,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:19:07] local.INFO: Acknowledgment sent {"connection_id":162335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:19:15] local.INFO: TCP Data received {"connection_id":163590,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:19:15] local.INFO: Processing buffer {"connection_id":163590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:19:15] local.INFO: Packet analysis {"connection_id":163590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd3"} 
[2026-08-26 12:19:15] local.INFO: Extracted packet for processing {"connection_id":163590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd3"} 
[2026-08-26 12:19:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658001152001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:19: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-26 12:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787726868000,"timestamp_ms":1787726868000,"timestamp_seconds":1787726868,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd32e20"} 
[2026-08-26 12:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:19: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-26 12:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:19: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-26 12:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:19: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-26 12:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658001152001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 12:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658001152001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:19:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 12:19:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658001152001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":163590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:19:15] local.INFO: GPS data processed {"connection_id":163590,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:19:15] local.INFO: Acknowledgment sent {"connection_id":163590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:19:37] local.INFO: TCP Data received {"connection_id":162575,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:19:37] local.INFO: Processing buffer {"connection_id":162575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:19:37] local.INFO: IMEI packet received {"connection_id":162575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":162575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:19:38] local.INFO: TCP Data received {"connection_id":163591,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:19:38] local.INFO: Processing buffer {"connection_id":163591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:19:38] local.INFO: IMEI packet received {"connection_id":163591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":163591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:19:41] local.INFO: TCP Data received {"connection_id":163591,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:19:41] local.INFO: Processing buffer {"connection_id":163591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:19:41] local.INFO: IMEI packet received {"connection_id":163591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":163591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:19:41] local.INFO: TCP Data received {"connection_id":163591,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd45ed0012d7da70005d57c70000c007018..."} 
[2026-08-26 12:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd45ed0012d7da70005d57c70000c007018..."} 
[2026-08-26 12:19:41] local.INFO: Processing buffer {"connection_id":163591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd45ed0012d7da70005d57c70000c007018..."} 
[2026-08-26 12:19:41] local.INFO: Packet analysis {"connection_id":163591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd4"} 
[2026-08-26 12:19:41] local.INFO: Extracted packet for processing {"connection_id":163591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd4"} 
[2026-08-26 12:19:41] local.INFO: GPS Element Parsed {"raw_longitude":763209472,"raw_latitude":97877104,"longitude_deg":76.3209472,"latitude_deg":9.7877104,"altitude":12,"angle":112,"satellites":24,"speed":17,"hex_longitude":"2d7da700","hex_latitude":"05d57c70","is_valid_coordinates":true} 
[2026-08-26 12:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658097920001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124608352855523328,"note":"Value kept but may cause issues"} 
[2026-08-26 12:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9053713019698999296,"note":"Value kept but may cause issues"} 
[2026-08-26 12:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787726946000,"timestamp_ms":1787726946000,"timestamp_seconds":1787726946,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd45ed0"} 
[2026-08-26 12:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:19:41] 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-26 12:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-26 12:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":764,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658097920001,"66":11047,"253":206,"85":15104,"24":17,"16":124608352855523328,"45":9053713019698999296},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-26 12:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658097920001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:19:41] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-26 12:19:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124608352855523328,"km_value":124608352855523.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9053713019698999296,"description":"Unknown IO ID 45"} 
[2026-08-26 12:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658097920001,"power":11047,"unknown_253":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9053713019698999296}} 
[2026-08-26 12:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":163591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700341,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:19:41] local.INFO: GPS data processed {"connection_id":163591,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:19:41] local.INFO: Acknowledgment sent {"connection_id":163591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:19:42] local.INFO: TCP Data received {"connection_id":162575,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:19:42] local.INFO: Processing buffer {"connection_id":162575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:19:42] local.INFO: IMEI packet received {"connection_id":162575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":162575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:19:43] local.INFO: TCP Data received {"connection_id":162575,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:19:43] local.INFO: Processing buffer {"connection_id":162575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:19:43] local.INFO: Packet analysis {"connection_id":162575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd3"} 
[2026-08-26 12:19:43] local.INFO: Extracted packet for processing {"connection_id":162575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd3"} 
[2026-08-26 12:19:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658001152001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12: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-26 12:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787726868000,"timestamp_ms":1787726868000,"timestamp_seconds":1787726868,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd32e20"} 
[2026-08-26 12: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-26 12:19: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-26 12: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:19:43] 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-26 12: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-26 12: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-26 12:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:19:43] 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-26 12:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658001152001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 12:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658001152001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:19:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 12:19:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658001152001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":162575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:19:43] local.INFO: GPS data processed {"connection_id":162575,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:19:43] local.INFO: Acknowledgment sent {"connection_id":162575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:20:14] local.INFO: TCP Data received {"connection_id":162575,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:20:14] local.INFO: Processing buffer {"connection_id":162575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:20:14] local.INFO: Packet analysis {"connection_id":162575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd3"} 
[2026-08-26 12:20:14] local.INFO: Extracted packet for processing {"connection_id":162575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd3"} 
[2026-08-26 12:20:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658001152001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:20: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-26 12:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787726868000,"timestamp_ms":1787726868000,"timestamp_seconds":1787726868,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd32e20"} 
[2026-08-26 12: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-26 12:20: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-26 12: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:20: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-26 12: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-26 12: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-26 12:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:20:14] 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-26 12:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658001152001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 12:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658001152001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:20:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 12:20:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658001152001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":162575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:20:14] local.INFO: GPS data processed {"connection_id":162575,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:20:14] local.INFO: Acknowledgment sent {"connection_id":162575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:20:22] local.INFO: TCP Data received {"connection_id":163591,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd535a8012d7e1c4005d56228000c008f19..."} 
[2026-08-26 12:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd535a8012d7e1c4005d56228000c008f19..."} 
[2026-08-26 12:20:22] local.INFO: Processing buffer {"connection_id":163591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd535a8012d7e1c4005d56228000c008f19..."} 
[2026-08-26 12:20:22] local.INFO: Packet analysis {"connection_id":163591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd5"} 
[2026-08-26 12:20:22] local.INFO: Extracted packet for processing {"connection_id":163591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd5"} 
[2026-08-26 12:20:22] local.INFO: GPS Element Parsed {"raw_longitude":763239488,"raw_latitude":97870376,"longitude_deg":76.3239488,"latitude_deg":9.7870376,"altitude":12,"angle":143,"satellites":25,"speed":15,"hex_longitude":"2d7e1c40","hex_latitude":"05d56228","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658111744001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124609933403488256,"note":"Value kept but may cause issues"} 
[2026-08-26 12:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086575223228360704,"note":"Value kept but may cause issues"} 
[2026-08-26 12:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787727001000,"timestamp_ms":1787727001000,"timestamp_seconds":1787727001,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd535a8"} 
[2026-08-26 12: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-26 12:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 12: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":43,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-08-26 12:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1547,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12: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-26 12: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-26 12:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658111744001,"66":11178,"29":206,"85":15104,"24":15,"16":124609933403488256,"45":9086575223228360704},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-26 12:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658111744001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:20:22] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-26 12:20:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124609933403488256,"km_value":124609933403488.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086575223228360704,"description":"Unknown IO ID 45"} 
[2026-08-26 12:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658111744001,"power":11178,"unknown_29":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9086575223228360704}} 
[2026-08-26 12:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":163591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:20:22] local.INFO: GPS data processed {"connection_id":163591,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:20:22] local.INFO: Acknowledgment sent {"connection_id":163591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:20:31] local.INFO: TCP Data received {"connection_id":162576,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:20:31] local.INFO: Processing buffer {"connection_id":162576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:20:31] local.INFO: IMEI packet received {"connection_id":162576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":162576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:20:35] local.INFO: TCP Data received {"connection_id":162576,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:20:35] local.INFO: Processing buffer {"connection_id":162576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:20:35] local.INFO: IMEI packet received {"connection_id":162576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":162576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:20:36] local.INFO: TCP Data received {"connection_id":162576,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162576,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:20:36] local.INFO: Processing buffer {"connection_id":162576,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:20:36] local.INFO: IMEI packet received {"connection_id":162576,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":162576,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:20:36] local.INFO: TCP Data received {"connection_id":162576,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd53990012d7e1d0005d56038000b009f18..."} 
[2026-08-26 12:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd53990012d7e1d0005d56038000b009f18..."} 
[2026-08-26 12:20:36] local.INFO: Processing buffer {"connection_id":162576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd53990012d7e1d0005d56038000b009f18..."} 
[2026-08-26 12:20:36] local.INFO: Packet analysis {"connection_id":162576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd5"} 
[2026-08-26 12:20:36] local.INFO: Extracted packet for processing {"connection_id":162576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd5"} 
[2026-08-26 12:20:36] local.INFO: GPS Element Parsed {"raw_longitude":763239680,"raw_latitude":97869880,"longitude_deg":76.323968,"latitude_deg":9.786988,"altitude":11,"angle":159,"satellites":24,"speed":19,"hex_longitude":"2d7e1d00","hex_latitude":"05d56038","is_valid_coordinates":true} 
[2026-08-26 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-26 12:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658112256001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124609959173292032,"note":"Value kept but may cause issues"} 
[2026-08-26 12:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087208541925812224,"note":"Value kept but may cause issues"} 
[2026-08-26 12:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787727002000,"timestamp_ms":1787727002000,"timestamp_seconds":1787727002,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd53990"} 
[2026-08-26 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-26 12:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 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":43,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-26 12:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1943,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 12:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658112256001,"66":11178,"29":206,"85":15104,"24":19,"16":124609959173292032,"45":9087208541925812224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-26 12:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658112256001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:20:36] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-26 12:20:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124609959173292032,"km_value":124609959173292.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087208541925812224,"description":"Unknown IO ID 45"} 
[2026-08-26 12:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658112256001,"power":11178,"unknown_29":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9087208541925812224}} 
[2026-08-26 12:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":162576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:20:36] local.INFO: GPS data processed {"connection_id":162576,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:20:36] local.INFO: Acknowledgment sent {"connection_id":162576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:20:37] local.INFO: TCP Data received {"connection_id":162577,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:20:37] local.INFO: Processing buffer {"connection_id":162577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:20:37] local.INFO: IMEI packet received {"connection_id":162577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":162577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:20:39] local.INFO: TCP Data received {"connection_id":162576,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd54160012d7e1d0005d55b28000a00b318..."} 
[2026-08-26 12:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd54160012d7e1d0005d55b28000a00b318..."} 
[2026-08-26 12:20:39] local.INFO: Processing buffer {"connection_id":162576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd54160012d7e1d0005d55b28000a00b318..."} 
[2026-08-26 12:20:39] local.INFO: Packet analysis {"connection_id":162576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd5"} 
[2026-08-26 12:20:39] local.INFO: Extracted packet for processing {"connection_id":162576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd5"} 
[2026-08-26 12:20:39] local.INFO: GPS Element Parsed {"raw_longitude":763239680,"raw_latitude":97868584,"longitude_deg":76.323968,"latitude_deg":9.7868584,"altitude":10,"angle":179,"satellites":24,"speed":25,"hex_longitude":"2d7e1d00","hex_latitude":"05d55b28","is_valid_coordinates":true} 
[2026-08-26 12:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658112512001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124610023597801472,"note":"Value kept but may cause issues"} 
[2026-08-26 12:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087419648158218240,"note":"Value kept but may cause issues"} 
[2026-08-26 12:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787727004000,"timestamp_ms":1787727004000,"timestamp_seconds":1787727004,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd54160"} 
[2026-08-26 12:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 12:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-26 12:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1943,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":162576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":162576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":162576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658112512001,"66":11134,"29":206,"85":15104,"24":25,"16":124610023597801472,"45":9087419648158218240},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-26 12:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658112512001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:20:39] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-26 12:20:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124610023597801472,"km_value":124610023597801.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087419648158218240,"description":"Unknown IO ID 45"} 
[2026-08-26 12:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658112512001,"power":11134,"unknown_29":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9087419648158218240}} 
[2026-08-26 12:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":162576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:20:39] local.INFO: GPS data processed {"connection_id":162576,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:20:39] local.INFO: Acknowledgment sent {"connection_id":162576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:20:42] local.INFO: TCP Data received {"connection_id":162577,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:20:42] local.INFO: Processing buffer {"connection_id":162577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:20:42] local.INFO: IMEI packet received {"connection_id":162577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":162577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:20:45] local.INFO: TCP Data received {"connection_id":162577,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:20:45] local.INFO: Processing buffer {"connection_id":162577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:20:45] local.INFO: Packet analysis {"connection_id":162577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd3"} 
[2026-08-26 12:20:45] local.INFO: Extracted packet for processing {"connection_id":162577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd3"} 
[2026-08-26 12:20:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658001152001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:20: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-26 12:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787726868000,"timestamp_ms":1787726868000,"timestamp_seconds":1787726868,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd32e20"} 
[2026-08-26 12: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-26 12:20: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-26 12: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:20:45] 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-26 12: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-26 12: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-26 12:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:20:45] 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-26 12:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658001152001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 12:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658001152001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:20:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 12:20:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658001152001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":162577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:20:45] local.INFO: GPS data processed {"connection_id":162577,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:20:45] local.INFO: Acknowledgment sent {"connection_id":162577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:21:10] local.INFO: TCP Data received {"connection_id":162576,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd57040012d7e1f4005d53f900007009f18..."} 
[2026-08-26 12:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd57040012d7e1f4005d53f900007009f18..."} 
[2026-08-26 12:21:10] local.INFO: Processing buffer {"connection_id":162576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd57040012d7e1f4005d53f900007009f18..."} 
[2026-08-26 12:21:10] local.INFO: Packet analysis {"connection_id":162576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd5"} 
[2026-08-26 12:21:10] local.INFO: Extracted packet for processing {"connection_id":162576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd5"} 
[2026-08-26 12:21:10] local.INFO: GPS Element Parsed {"raw_longitude":763240256,"raw_latitude":97861520,"longitude_deg":76.3240256,"latitude_deg":9.786152,"altitude":7,"angle":159,"satellites":24,"speed":6,"hex_longitude":"2d7e1f40","hex_latitude":"05d53f90","is_valid_coordinates":true} 
[2026-08-26 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-26 12:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658113024001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124610367195185152,"note":"Value kept but may cause issues"} 
[2026-08-26 12:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087419648157886464,"note":"Value kept but may cause issues"} 
[2026-08-26 12:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787727016000,"timestamp_ms":1787727016000,"timestamp_seconds":1787727016,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd57040"} 
[2026-08-26 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-26 12:21:10] 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-26 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":43,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-08-26 12:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1547,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 12:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":162576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":162576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":162576,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658113024001,"66":10960,"29":206,"85":15104,"24":6,"16":124610367195185152,"45":9087419648157886464},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-26 12:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658113024001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:21:10] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-26 12:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124610367195185152,"km_value":124610367195185.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087419648157886464,"description":"Unknown IO ID 45"} 
[2026-08-26 12:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658113024001,"power":10960,"unknown_29":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9087419648157886464}} 
[2026-08-26 12:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":162576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:21:10] local.INFO: GPS data processed {"connection_id":162576,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:21:10] local.INFO: Acknowledgment sent {"connection_id":162576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:21:17] local.INFO: TCP Data received {"connection_id":162577,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:21:17] local.INFO: Processing buffer {"connection_id":162577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:21:17] local.INFO: Packet analysis {"connection_id":162577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd3"} 
[2026-08-26 12:21:17] local.INFO: Extracted packet for processing {"connection_id":162577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd3"} 
[2026-08-26 12:21:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658001152001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:21: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-26 12:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787726868000,"timestamp_ms":1787726868000,"timestamp_seconds":1787726868,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd32e20"} 
[2026-08-26 12:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:21: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-26 12:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:21: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-26 12:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:21:17] 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-26 12:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658001152001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 12:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658001152001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:21:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 12:21:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658001152001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":162577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:21:17] local.INFO: GPS data processed {"connection_id":162577,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:21:17] local.INFO: Acknowledgment sent {"connection_id":162577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:21:31] local.INFO: TCP Data received {"connection_id":163592,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:21:31] local.INFO: Processing buffer {"connection_id":163592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:21:31] local.INFO: IMEI packet received {"connection_id":163592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":163592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:21:36] local.INFO: TCP Data received {"connection_id":163592,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:21:36] local.INFO: Processing buffer {"connection_id":163592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:21:36] local.INFO: IMEI packet received {"connection_id":163592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":163592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:21:37] local.INFO: TCP Data received {"connection_id":162336,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:21:37] local.INFO: Processing buffer {"connection_id":162336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:21:37] local.INFO: IMEI packet received {"connection_id":162336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":162336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:21:37] local.INFO: TCP Data received {"connection_id":163592,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd58f80012d7e200005d53e40000800b719..."} 
[2026-08-26 12:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd58f80012d7e200005d53e40000800b719..."} 
[2026-08-26 12:21:37] local.INFO: Processing buffer {"connection_id":163592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd58f80012d7e200005d53e40000800b719..."} 
[2026-08-26 12:21:37] local.INFO: Packet analysis {"connection_id":163592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd5"} 
[2026-08-26 12:21:37] local.INFO: Extracted packet for processing {"connection_id":163592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd5"} 
[2026-08-26 12:21:37] local.INFO: GPS Element Parsed {"raw_longitude":763240448,"raw_latitude":97861184,"longitude_deg":76.3240448,"latitude_deg":9.7861184,"altitude":8,"angle":183,"satellites":25,"speed":8,"hex_longitude":"2d7e2000","hex_latitude":"05d53e40","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658116096001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124610392964988928,"note":"Value kept but may cause issues"} 
[2026-08-26 12:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9088052966853677056,"note":"Value kept but may cause issues"} 
[2026-08-26 12:21:37] 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-26 12:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787727024000,"timestamp_ms":1787727024000,"timestamp_seconds":1787727024,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd58f80"} 
[2026-08-26 12: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-26 12:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 12: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":42,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-08-26 12:21:37] 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-26 12: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-26 12: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-26 12:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658116096001,"66":10580,"111":206,"85":15104,"24":8,"16":124610392964988928,"45":9088052966853677056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-26 12:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658116096001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:21:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-26 12:21:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124610392964988928,"km_value":124610392964988.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9088052966853677056,"description":"Unknown IO ID 45"} 
[2026-08-26 12:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658116096001,"power":10580,"unknown_111":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9088052966853677056}} 
[2026-08-26 12:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":163592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:21:37] local.INFO: GPS data processed {"connection_id":163592,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:21:37] local.INFO: Acknowledgment sent {"connection_id":163592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:21:42] local.INFO: TCP Data received {"connection_id":162336,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:21:42] local.INFO: Processing buffer {"connection_id":162336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:21:42] local.INFO: IMEI packet received {"connection_id":162336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":162336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:21:43] local.INFO: TCP Data received {"connection_id":162336,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:21:43] local.INFO: Processing buffer {"connection_id":162336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:21:43] local.INFO: Packet analysis {"connection_id":162336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd3"} 
[2026-08-26 12:21:43] local.INFO: Extracted packet for processing {"connection_id":162336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd3"} 
[2026-08-26 12:21:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658001152001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:21: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-26 12:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787726868000,"timestamp_ms":1787726868000,"timestamp_seconds":1787726868,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd32e20"} 
[2026-08-26 12:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:21: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-26 12:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:21:43] 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-26 12:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:21: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-26 12:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658001152001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 12:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658001152001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:21:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 12:21:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658001152001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":162336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:21:43] local.INFO: GPS data processed {"connection_id":162336,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:21:43] local.INFO: Acknowledgment sent {"connection_id":162336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:22:08] local.INFO: TCP Data received {"connection_id":163592,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd5b2a8012d7e1f4005d536d8000900d619..."} 
[2026-08-26 12:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd5b2a8012d7e1f4005d536d8000900d619..."} 
[2026-08-26 12:22:08] local.INFO: Processing buffer {"connection_id":163592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd5b2a8012d7e1f4005d536d8000900d619..."} 
[2026-08-26 12:22:08] local.INFO: Packet analysis {"connection_id":163592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd5"} 
[2026-08-26 12:22:08] local.INFO: Extracted packet for processing {"connection_id":163592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd5"} 
[2026-08-26 12:22:08] local.INFO: GPS Element Parsed {"raw_longitude":763240256,"raw_latitude":97859288,"longitude_deg":76.3240256,"latitude_deg":9.7859288,"altitude":9,"angle":214,"satellites":25,"speed":0,"hex_longitude":"2d7e1f40","hex_latitude":"05d536d8","is_valid_coordinates":true} 
[2026-08-26 12:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658118144001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124610491749236736,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9088264073086124032,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:08] 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-26 12:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787727033000,"timestamp_ms":1787727033000,"timestamp_seconds":1787727033,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd5b2a8"} 
[2026-08-26 12:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 12:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-26 12:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1159,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658118144001,"66":10971,"111":206,"85":15104,"24":0,"16":124610491749236736,"45":9088264073086124032},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-26 12:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658118144001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:22:08] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-26 12:22:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124610491749236736,"km_value":124610491749236.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9088264073086124032,"description":"Unknown IO ID 45"} 
[2026-08-26 12:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658118144001,"power":10971,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9088264073086124032}} 
[2026-08-26 12:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":163592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:22:08] local.INFO: GPS data processed {"connection_id":163592,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:22:08] local.INFO: Acknowledgment sent {"connection_id":163592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:22:15] local.INFO: TCP Data received {"connection_id":162336,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:22:15] local.INFO: Processing buffer {"connection_id":162336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:22:15] local.INFO: Packet analysis {"connection_id":162336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd3"} 
[2026-08-26 12:22:15] local.INFO: Extracted packet for processing {"connection_id":162336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd3"} 
[2026-08-26 12:22:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658001152001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12: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-26 12:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787726868000,"timestamp_ms":1787726868000,"timestamp_seconds":1787726868,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd32e20"} 
[2026-08-26 12: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-26 12:22: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-26 12: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:22: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-26 12: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-26 12: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-26 12:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658001152001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 12:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658001152001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:22:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 12:22:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658001152001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":162336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:22:15] local.INFO: GPS data processed {"connection_id":162336,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:22:15] local.INFO: Acknowledgment sent {"connection_id":162336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:22:36] local.INFO: TCP Data received {"connection_id":163593,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:22:36] local.INFO: Processing buffer {"connection_id":163593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:22:36] local.INFO: IMEI packet received {"connection_id":163593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":163593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:22:38] local.INFO: TCP Data received {"connection_id":163593,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:22:38] local.INFO: Processing buffer {"connection_id":163593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:22:38] local.INFO: IMEI packet received {"connection_id":163593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":163593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:22:39] local.INFO: TCP Data received {"connection_id":163593,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd70e50012d7e39c005d47e50000f00b718..."} 
[2026-08-26 12:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd70e50012d7e39c005d47e50000f00b718..."} 
[2026-08-26 12:22:39] local.INFO: Processing buffer {"connection_id":163593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd70e50012d7e39c005d47e50000f00b718..."} 
[2026-08-26 12:22:39] local.INFO: Packet analysis {"connection_id":163593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd7"} 
[2026-08-26 12:22:39] local.INFO: Extracted packet for processing {"connection_id":163593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd7"} 
[2026-08-26 12:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763247040,"raw_latitude":97812048,"longitude_deg":76.324704,"latitude_deg":9.7812048,"altitude":15,"angle":183,"satellites":24,"speed":31,"hex_longitude":"2d7e39c0","hex_latitude":"05d47e50","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658138880001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124612836801380352,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095300947493730304,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:39] 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-26 12:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787727122000,"timestamp_ms":1787727122000,"timestamp_seconds":1787727122,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd70e50"} 
[2026-08-26 12: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-26 12:22:39] 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-26 12: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":42,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-08-26 12:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1695,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12: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-26 12: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-26 12:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658138880001,"66":10776,"111":206,"85":15104,"24":31,"16":124612836801380352,"45":9095300947493730304},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-26 12:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658138880001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:22:39] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-26 12:22:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124612836801380352,"km_value":124612836801380.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095300947493730304,"description":"Unknown IO ID 45"} 
[2026-08-26 12:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658138880001,"power":10776,"unknown_111":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9095300947493730304}} 
[2026-08-26 12:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":163593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:22:39] local.INFO: GPS data processed {"connection_id":163593,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:22:39] local.INFO: Acknowledgment sent {"connection_id":163593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:22:42] local.INFO: TCP Data received {"connection_id":163593,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd73560012d7e388005d457b0000c00ae18..."} 
[2026-08-26 12:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd73560012d7e388005d457b0000c00ae18..."} 
[2026-08-26 12:22:42] local.INFO: Processing buffer {"connection_id":163593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd73560012d7e388005d457b0000c00ae18..."} 
[2026-08-26 12:22:42] local.INFO: Packet analysis {"connection_id":163593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd7"} 
[2026-08-26 12:22:42] local.INFO: Extracted packet for processing {"connection_id":163593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd7"} 
[2026-08-26 12:22:42] local.INFO: GPS Element Parsed {"raw_longitude":763246720,"raw_latitude":97802160,"longitude_deg":76.324672,"latitude_deg":9.780216,"altitude":12,"angle":174,"satellites":24,"speed":40,"hex_longitude":"2d7e3880","hex_latitude":"05d457b0","is_valid_coordinates":true} 
[2026-08-26 12:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658143232001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124613317837717504,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095512053723844608,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:42] 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-26 12:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787727132000,"timestamp_ms":1787727132000,"timestamp_seconds":1787727132,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd73560"} 
[2026-08-26 12:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 12:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-26 12:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":4972255480777943837,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:42] local.WARNING: Large IO value detected {"io_id":111,"raw_value":58077557095399453,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:42] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424437137572352,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:42] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186042,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652627486429952,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124611694340079616,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:42] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4383696441272270369,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:42] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":59393,"corrected_to":0} 
[2026-08-26 12:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090023291686180864,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:42] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3079055652005281998,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:42] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4827858800541171713,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:42] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3598311425,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:42] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3535273995,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1299120334,"corrected_to":0} 
[2026-08-26 12:22:42] local.WARNING: Large IO value detected {"io_id":114,"raw_value":1153252999523468756,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3221607639,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:42] local.WARNING: Large IO value detected {"io_id":215,"raw_value":8646922282286514205,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:42] local.WARNING: Large IO value detected {"io_id":9,"raw_value":48442283917312000,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:42] local.WARNING: Large IO value detected {"io_id":64,"raw_value":420277049723846826,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:42] local.WARNING: Large IO value detected {"io_id":26,"raw_value":8444249301975044,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:42] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,111,85,24,241,157,16,182,160,203,45,163,12,25,10,66,137,192,199,181,129,1,240,29,227,60,212,4,113,205,30,114,44,120,239,42,2,215,9,64,26],"length":630,"final_offset":760,"validated_count":41,"validation_warnings":[{"io_id":203,"original":59393,"validated":0},{"io_id":205,"original":1299120334,"validated":0}]} 
[2026-08-26 12:22:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081065224278048768,"timestamp_seconds":1081065224278048.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 12:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658143232001,"66":11015,"111":206,"85":15104,"24":40,"16":124613317837717504,"45":9095512053723844608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-26 12:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658143232001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:22:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-26 12:22:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124613317837717504,"km_value":124613317837717.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095512053723844608,"description":"Unknown IO ID 45"} 
[2026-08-26 12:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658143232001,"power":11015,"unknown_111":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9095512053723844608}} 
[2026-08-26 12:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":163593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:22:42] local.INFO: GPS data processed {"connection_id":163593,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:22:42] local.INFO: Acknowledgment sent {"connection_id":163593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:22:42] local.INFO: TCP Data received {"connection_id":162337,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:22:42] local.INFO: Processing buffer {"connection_id":162337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:22:42] local.INFO: IMEI packet received {"connection_id":162337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":162337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:22:47] local.INFO: TCP Data received {"connection_id":162337,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:22:47] local.INFO: Processing buffer {"connection_id":162337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:22:47] local.INFO: IMEI packet received {"connection_id":162337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":162337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:22:48] local.INFO: TCP Data received {"connection_id":162337,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:22:48] local.INFO: Processing buffer {"connection_id":162337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:22:48] local.INFO: Packet analysis {"connection_id":162337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd3"} 
[2026-08-26 12:22:48] local.INFO: Extracted packet for processing {"connection_id":162337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd3"} 
[2026-08-26 12:22:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658001152001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787726868000,"timestamp_ms":1787726868000,"timestamp_seconds":1787726868,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd32e20"} 
[2026-08-26 12:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:22:48] 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-26 12:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:22:48] 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-26 12:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658001152001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 12:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658001152001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:22:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 12:22:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658001152001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":162337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:22:48] local.INFO: GPS data processed {"connection_id":162337,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:22:48] local.INFO: Acknowledgment sent {"connection_id":162337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:22:53] local.INFO: TCP Data received {"connection_id":162337,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:22:53] local.INFO: Processing buffer {"connection_id":162337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd32e20012d34c14006aa4818000500e62b..."} 
[2026-08-26 12:22:53] local.INFO: Packet analysis {"connection_id":162337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd3"} 
[2026-08-26 12:22:53] local.INFO: Extracted packet for processing {"connection_id":162337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd3"} 
[2026-08-26 12:22:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658001152001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787726868000,"timestamp_ms":1787726868000,"timestamp_seconds":1787726868,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd32e20"} 
[2026-08-26 12: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-26 12:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:22:53] 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-26 12: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-26 12: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-26 12:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:22:53] 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-26 12:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658001152001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 12:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658001152001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:22:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 12:22:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658001152001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":162337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:22:53] local.INFO: GPS data processed {"connection_id":162337,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:22:53] local.INFO: Acknowledgment sent {"connection_id":162337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:23:13] local.INFO: TCP Data received {"connection_id":163593,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd754a0012d7e3b4005d433f8000b00af19..."} 
[2026-08-26 12:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd754a0012d7e3b4005d433f8000b00af19..."} 
[2026-08-26 12:23:13] local.INFO: Processing buffer {"connection_id":163593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd754a0012d7e3b4005d433f8000b00af19..."} 
[2026-08-26 12:23:13] local.INFO: Packet analysis {"connection_id":163593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd7"} 
[2026-08-26 12:23:13] local.INFO: Extracted packet for processing {"connection_id":163593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd7"} 
[2026-08-26 12:23:13] local.INFO: GPS Element Parsed {"raw_longitude":763247424,"raw_latitude":97793016,"longitude_deg":76.3247424,"latitude_deg":9.7793016,"altitude":11,"angle":175,"satellites":25,"speed":46,"hex_longitude":"2d7e3b40","hex_latitude":"05d433f8","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658145792001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124613760219348992,"note":"Value kept but may cause issues"} 
[2026-08-26 12:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095160210000424960,"note":"Value kept but may cause issues"} 
[2026-08-26 12:23:13] 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-26 12:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787727140000,"timestamp_ms":1787727140000,"timestamp_seconds":1787727140,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd754a0"} 
[2026-08-26 12: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-26 12:23:13] 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-26 12: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":43,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-26 12:23:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-26 12:23:13] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":59393,"corrected_to":0} 
[2026-08-26 12:23:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788842,"note":"Value kept but may cause issues"} 
[2026-08-26 12:23:13] local.WARNING: Large IO value detected {"io_id":181,"raw_value":3774873600,"note":"Value kept but may cause issues"} 
[2026-08-26 12:23:13] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3598823425,"note":"Value kept but may cause issues"} 
[2026-08-26 12:23:13] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3449290764,"note":"Value kept but may cause issues"} 
[2026-08-26 12:23:13] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845822192,"note":"Value kept but may cause issues"} 
[2026-08-26 12:23:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1299120334,"corrected_to":0} 
[2026-08-26 12:23:13] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3758173566,"note":"Value kept but may cause issues"} 
[2026-08-26 12:23:13] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3221607634,"note":"Value kept but may cause issues"} 
[2026-08-26 12:23:13] local.WARNING: Large IO value detected {"io_id":186,"raw_value":-5350839307269570560,"note":"Value kept but may cause issues"} 
[2026-08-26 12:23:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4610044621647508992,"note":"Value kept but may cause issues"} 
[2026-08-26 12:23:13] local.WARNING: Large IO value detected {"io_id":156,"raw_value":1801471736785406464,"note":"Value kept but may cause issues"} 
[2026-08-26 12:23:13] local.WARNING: Large IO value detected {"io_id":89,"raw_value":57787509375915323,"note":"Value kept but may cause issues"} 
[2026-08-26 12:23:13] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,111,85,24,241,157,16,183,160,14,45,192,126,15,10,66,182,203,163,12,25,137,1,240,72,227,181,60,212,4,113,205,31,121,47,184,239,42,2,186,44,156,89],"length":482,"final_offset":612,"validated_count":43,"validation_warnings":[{"io_id":203,"original":59393,"validated":0},{"io_id":205,"original":1299120334,"validated":0}]} 
[2026-08-26 12:23:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864882546560204800,"timestamp_seconds":864882546560204.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 12: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-26 12:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658145792001,"66":10895,"111":206,"85":15104,"24":46,"16":124613760219348992,"45":9095160210000424960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-26 12:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658145792001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:23:13] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-26 12:23:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124613760219348992,"km_value":124613760219348.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095160210000424960,"description":"Unknown IO ID 45"} 
[2026-08-26 12:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658145792001,"power":10895,"unknown_111":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9095160210000424960}} 
[2026-08-26 12:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":163593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:23:13] local.INFO: GPS data processed {"connection_id":163593,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:23:13] local.INFO: Acknowledgment sent {"connection_id":163593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:23:31] local.INFO: TCP Data received {"connection_id":162578,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:23:31] local.INFO: Processing buffer {"connection_id":162578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:23:31] local.INFO: IMEI packet received {"connection_id":162578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":162578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:23:36] local.INFO: TCP Data received {"connection_id":162578,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:23:36] local.INFO: Processing buffer {"connection_id":162578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:23:36] local.INFO: IMEI packet received {"connection_id":162578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":162578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:23:37] local.INFO: TCP Data received {"connection_id":162578,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd773e0012d7e3ec005d41b40000a00a21a..."} 
[2026-08-26 12:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd773e0012d7e3ec005d41b40000a00a21a..."} 
[2026-08-26 12:23:37] local.INFO: Processing buffer {"connection_id":162578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd773e0012d7e3ec005d41b40000a00a21a..."} 
[2026-08-26 12:23:37] local.INFO: Packet analysis {"connection_id":162578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd7"} 
[2026-08-26 12:23:37] local.INFO: Extracted packet for processing {"connection_id":162578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd7"} 
[2026-08-26 12:23:37] local.INFO: GPS Element Parsed {"raw_longitude":763248320,"raw_latitude":97786688,"longitude_deg":76.324832,"latitude_deg":9.7786688,"altitude":10,"angle":162,"satellites":26,"speed":32,"hex_longitude":"2d7e3ec0","hex_latitude":"05d41b40","is_valid_coordinates":true} 
[2026-08-26 12:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658147840001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124614073751961600,"note":"Value kept but may cause issues"} 
[2026-08-26 12:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095934266184038400,"note":"Value kept but may cause issues"} 
[2026-08-26 12:23:37] 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-26 12:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787727148000,"timestamp_ms":1787727148000,"timestamp_seconds":1787727148,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd773e0"} 
[2026-08-26 12:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 12:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-08-26 12:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1695,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":162578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":162578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":162578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658147840001,"66":11047,"111":206,"85":15104,"24":32,"16":124614073751961600,"45":9095934266184038400},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-26 12:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658147840001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:23:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-26 12:23:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124614073751961600,"km_value":124614073751961.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095934266184038400,"description":"Unknown IO ID 45"} 
[2026-08-26 12:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658147840001,"power":11047,"unknown_111":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9095934266184038400}} 
[2026-08-26 12:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":162578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:23:37] local.INFO: GPS data processed {"connection_id":162578,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:23:37] local.INFO: Acknowledgment sent {"connection_id":162578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:23:37] local.INFO: TCP Data received {"connection_id":162579,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:23:37] local.INFO: Processing buffer {"connection_id":162579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:23:37] local.INFO: IMEI packet received {"connection_id":162579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":162579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:23:42] local.INFO: TCP Data received {"connection_id":162579,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:23:42] local.INFO: Processing buffer {"connection_id":162579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:23:42] local.INFO: IMEI packet received {"connection_id":162579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":162579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:23:43] local.INFO: TCP Data received {"connection_id":162579,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd7c5e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 12:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd7c5e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 12:23:43] local.INFO: Processing buffer {"connection_id":162579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd7c5e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 12:23:43] local.INFO: Packet analysis {"connection_id":162579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd7"} 
[2026-08-26 12:23:43] local.INFO: Extracted packet for processing {"connection_id":162579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd7"} 
[2026-08-26 12:23:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658078208001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:23: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-26 12:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787727169000,"timestamp_ms":1787727169000,"timestamp_seconds":1787727169,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd7c5e8"} 
[2026-08-26 12:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:23: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-26 12:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:23:43] 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-26 12:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:23:43] 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-26 12:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658078208001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 12:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658078208001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:23:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 12:23:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658078208001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":162579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:23:43] local.INFO: GPS data processed {"connection_id":162579,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:23:43] local.INFO: Acknowledgment sent {"connection_id":162579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:23:57] local.INFO: TCP Data received {"connection_id":163594,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:23:57] local.INFO: Processing buffer {"connection_id":163594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:23:57] local.INFO: IMEI packet received {"connection_id":163594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 12:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":163594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:24:08] local.INFO: TCP Data received {"connection_id":162578,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd89cc0012d7e54c005d35c180008009d1a..."} 
[2026-08-26 12:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd89cc0012d7e54c005d35c180008009d1a..."} 
[2026-08-26 12:24:08] local.INFO: Processing buffer {"connection_id":162578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd89cc0012d7e54c005d35c180008009d1a..."} 
[2026-08-26 12:24:08] local.INFO: Packet analysis {"connection_id":162578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd8"} 
[2026-08-26 12:24:08] local.INFO: Extracted packet for processing {"connection_id":162578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd8"} 
[2026-08-26 12:24:08] local.INFO: GPS Element Parsed {"raw_longitude":763253952,"raw_latitude":97737752,"longitude_deg":76.3253952,"latitude_deg":9.7737752,"altitude":8,"angle":157,"satellites":26,"speed":10,"hex_longitude":"2d7e54c0","hex_latitude":"05d35c18","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658167552001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124616483228614656,"note":"Value kept but may cause issues"} 
[2026-08-26 12:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9102830403099613184,"note":"Value kept but may cause issues"} 
[2026-08-26 12:24: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-26 12:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787727224000,"timestamp_ms":1787727224000,"timestamp_seconds":1787727224,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd89cc0"} 
[2026-08-26 12: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-26 12:24:08] 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-26 12: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":42,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-26 12:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1497,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12: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-26 12: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-26 12:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":162578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":162578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":162578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658167552001,"66":10308,"109":206,"85":15104,"24":10,"16":124616483228614656,"45":9102830403099613184},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-26 12:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658167552001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:24:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-26 12:24:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124616483228614656,"km_value":124616483228614.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9102830403099613184,"description":"Unknown IO ID 45"} 
[2026-08-26 12:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658167552001,"power":10308,"unknown_109":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9102830403099613184}} 
[2026-08-26 12:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":162578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:24:08] local.INFO: GPS data processed {"connection_id":162578,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:24:08] local.INFO: Acknowledgment sent {"connection_id":162578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:24:14] local.INFO: TCP Data received {"connection_id":162579,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd7c5e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 12:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd7c5e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 12:24:14] local.INFO: Processing buffer {"connection_id":162579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd7c5e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 12:24:14] local.INFO: Packet analysis {"connection_id":162579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd7"} 
[2026-08-26 12:24:14] local.INFO: Extracted packet for processing {"connection_id":162579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd7"} 
[2026-08-26 12:24:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658078208001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:24: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-26 12:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787727169000,"timestamp_ms":1787727169000,"timestamp_seconds":1787727169,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd7c5e8"} 
[2026-08-26 12: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-26 12: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-26 12: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-26 12: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-26 12: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-26 12: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-26 12:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12: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-26 12:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658078208001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 12:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658078208001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:24:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 12:24:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658078208001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":162579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:24:14] local.INFO: GPS data processed {"connection_id":162579,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:24:14] local.INFO: Acknowledgment sent {"connection_id":162579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:24:31] local.INFO: TCP Data received {"connection_id":162338,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:24:31] local.INFO: Processing buffer {"connection_id":162338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:24:31] local.INFO: IMEI packet received {"connection_id":162338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":162338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:24:35] local.INFO: TCP Data received {"connection_id":162338,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:24:35] local.INFO: Processing buffer {"connection_id":162338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:24:35] local.INFO: IMEI packet received {"connection_id":162338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":162338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:24:36] local.INFO: TCP Data received {"connection_id":162338,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd8a490012d7e560005d35a280008008b1b..."} 
[2026-08-26 12:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd8a490012d7e560005d35a280008008b1b..."} 
[2026-08-26 12:24:36] local.INFO: Processing buffer {"connection_id":162338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd8a490012d7e560005d35a280008008b1b..."} 
[2026-08-26 12:24:36] local.INFO: Packet analysis {"connection_id":162338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd8"} 
[2026-08-26 12:24:36] local.INFO: Extracted packet for processing {"connection_id":162338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd8"} 
[2026-08-26 12:24:36] local.INFO: GPS Element Parsed {"raw_longitude":763254272,"raw_latitude":97737256,"longitude_deg":76.3254272,"latitude_deg":9.7737256,"altitude":8,"angle":139,"satellites":27,"speed":11,"hex_longitude":"2d7e5600","hex_latitude":"05d35a28","is_valid_coordinates":true} 
[2026-08-26 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-26 12:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658169344001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124616513293385728,"note":"Value kept but may cause issues"} 
[2026-08-26 12:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103111878076012544,"note":"Value kept but may cause issues"} 
[2026-08-26 12:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787727226000,"timestamp_ms":1787727226000,"timestamp_seconds":1787727226,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd8a490"} 
[2026-08-26 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-26 12:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 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":40,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-26 12:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1010,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 12:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":162338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":162338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":162338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658169344001,"66":10373,"109":206,"85":15104,"24":11,"16":124616513293385728,"45":9103111878076012544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-26 12:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658169344001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:24:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-26 12:24:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124616513293385728,"km_value":124616513293385.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103111878076012544,"description":"Unknown IO ID 45"} 
[2026-08-26 12:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658169344001,"power":10373,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9103111878076012544}} 
[2026-08-26 12:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":162338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:24:36] local.INFO: GPS data processed {"connection_id":162338,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:24:36] local.INFO: Acknowledgment sent {"connection_id":162338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:24:37] local.INFO: TCP Data received {"connection_id":163595,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:24:37] local.INFO: Processing buffer {"connection_id":163595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:24:37] local.INFO: IMEI packet received {"connection_id":163595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":163595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:24:42] local.INFO: TCP Data received {"connection_id":163595,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:24:42] local.INFO: Processing buffer {"connection_id":163595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:24:42] local.INFO: IMEI packet received {"connection_id":163595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":163595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:24:43] local.INFO: TCP Data received {"connection_id":163595,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd7c5e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 12:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd7c5e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 12:24:43] local.INFO: Processing buffer {"connection_id":163595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd7c5e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 12:24:43] local.INFO: Packet analysis {"connection_id":163595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd7"} 
[2026-08-26 12:24:43] local.INFO: Extracted packet for processing {"connection_id":163595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd7"} 
[2026-08-26 12:24:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658078208001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:24: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-26 12:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787727169000,"timestamp_ms":1787727169000,"timestamp_seconds":1787727169,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd7c5e8"} 
[2026-08-26 12:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12: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-26 12:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:24:43] 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-26 12:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:24:43] 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-26 12:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658078208001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 12:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658078208001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:24:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 12:24:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658078208001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":163595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:24:43] local.INFO: GPS data processed {"connection_id":163595,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:24:43] local.INFO: Acknowledgment sent {"connection_id":163595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:25:08] local.INFO: TCP Data received {"connection_id":162338,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd9c5a0012d7e304005d35588000a00b41c..."} 
[2026-08-26 12:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd9c5a0012d7e304005d35588000a00b41c..."} 
[2026-08-26 12:25:08] local.INFO: Processing buffer {"connection_id":162338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd9c5a0012d7e304005d35588000a00b41c..."} 
[2026-08-26 12:25:08] local.INFO: Packet analysis {"connection_id":162338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd9"} 
[2026-08-26 12:25:08] local.INFO: Extracted packet for processing {"connection_id":162338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd9"} 
[2026-08-26 12:25:08] local.INFO: GPS Element Parsed {"raw_longitude":763244608,"raw_latitude":97736072,"longitude_deg":76.3244608,"latitude_deg":9.7736072,"altitude":10,"angle":180,"satellites":28,"speed":6,"hex_longitude":"2d7e3040","hex_latitude":"05d35588","is_valid_coordinates":true} 
[2026-08-26 12:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658188544001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124617093113970688,"note":"Value kept but may cause issues"} 
[2026-08-26 12:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092978778914039808,"note":"Value kept but may cause issues"} 
[2026-08-26 12:25: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-26 12:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787727300000,"timestamp_ms":1787727300000,"timestamp_seconds":1787727300,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd9c5a0"} 
[2026-08-26 12:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 12:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-26 12:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":162338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":162338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":162338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658188544001,"66":11080,"109":206,"85":15104,"24":6,"16":124617093113970688,"45":9092978778914039808},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-26 12:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658188544001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:25:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-26 12:25:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124617093113970688,"km_value":124617093113970.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092978778914039808,"description":"Unknown IO ID 45"} 
[2026-08-26 12:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658188544001,"power":11080,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9092978778914039808}} 
[2026-08-26 12:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":162338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:25:08] local.INFO: GPS data processed {"connection_id":162338,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:25:08] local.INFO: Acknowledgment sent {"connection_id":162338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:25:15] local.INFO: TCP Data received {"connection_id":163595,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd7c5e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 12:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd7c5e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 12:25:15] local.INFO: Processing buffer {"connection_id":163595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd7c5e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 12:25:15] local.INFO: Packet analysis {"connection_id":163595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd7"} 
[2026-08-26 12:25:15] local.INFO: Extracted packet for processing {"connection_id":163595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd7"} 
[2026-08-26 12:25:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658078208001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:25: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-26 12:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787727169000,"timestamp_ms":1787727169000,"timestamp_seconds":1787727169,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd7c5e8"} 
[2026-08-26 12:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12: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-26 12:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:25: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-26 12:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658078208001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 12:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658078208001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:25:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 12:25:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658078208001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":163595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:25:15] local.INFO: GPS data processed {"connection_id":163595,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:25:15] local.INFO: Acknowledgment sent {"connection_id":163595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:25:31] local.INFO: TCP Data received {"connection_id":163596,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:25:31] local.INFO: Processing buffer {"connection_id":163596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:25:31] local.INFO: IMEI packet received {"connection_id":163596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":163596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:25:33] local.INFO: TCP Data received {"connection_id":163596,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:25:33] local.INFO: Processing buffer {"connection_id":163596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:25:33] local.INFO: IMEI packet received {"connection_id":163596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":163596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:25:34] local.INFO: TCP Data received {"connection_id":163596,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:25:34] local.INFO: Processing buffer {"connection_id":163596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:25:34] local.INFO: IMEI packet received {"connection_id":163596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":163596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:25:35] local.INFO: TCP Data received {"connection_id":163596,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:25:35] local.INFO: Processing buffer {"connection_id":163596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:25:35] local.INFO: IMEI packet received {"connection_id":163596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":163596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:25:37] local.INFO: TCP Data received {"connection_id":164937,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:25:37] local.INFO: Processing buffer {"connection_id":164937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:25:37] local.INFO: IMEI packet received {"connection_id":164937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":164937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:25:42] local.INFO: TCP Data received {"connection_id":164937,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:25:42] local.INFO: Processing buffer {"connection_id":164937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:25:42] local.INFO: IMEI packet received {"connection_id":164937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":164937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:25:43] local.INFO: TCP Data received {"connection_id":164937,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd7c5e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 12:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd7c5e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 12:25:43] local.INFO: Processing buffer {"connection_id":164937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd7c5e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 12:25:43] local.INFO: Packet analysis {"connection_id":164937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd7"} 
[2026-08-26 12:25:43] local.INFO: Extracted packet for processing {"connection_id":164937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd7"} 
[2026-08-26 12:25:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658078208001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:25: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-26 12:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787727169000,"timestamp_ms":1787727169000,"timestamp_seconds":1787727169,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd7c5e8"} 
[2026-08-26 12:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:25: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-26 12:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:25:43] 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-26 12:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:25:43] 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-26 12:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658078208001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 12:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658078208001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:25:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 12:25:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658078208001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":164937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:25:43] local.INFO: GPS data processed {"connection_id":164937,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:25:43] local.INFO: Acknowledgment sent {"connection_id":164937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:26:14] local.INFO: TCP Data received {"connection_id":164937,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a03cd7c5e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 12:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cd7c5e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 12:26:14] local.INFO: Processing buffer {"connection_id":164937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cd7c5e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 12:26:14] local.INFO: Packet analysis {"connection_id":164937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cd7"} 
[2026-08-26 12:26:14] local.INFO: Extracted packet for processing {"connection_id":164937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cd7"} 
[2026-08-26 12:26:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658078208001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:26: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-26 12:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787727169000,"timestamp_ms":1787727169000,"timestamp_seconds":1787727169,"priority":1,"record_length":96,"hex_timestamp":"000001a03cd7c5e8"} 
[2026-08-26 12: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-26 12:26: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-26 12: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-26 12: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-26 12: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-26 12: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-26 12:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:26: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-26 12:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658078208001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 12:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658078208001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:26:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 12:26:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658078208001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":164937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:26:14] local.INFO: GPS data processed {"connection_id":164937,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:26:14] local.INFO: Acknowledgment sent {"connection_id":164937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:26:42] local.INFO: TCP Data received {"connection_id":162339,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:26:42] local.INFO: Processing buffer {"connection_id":162339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:26:42] local.INFO: IMEI packet received {"connection_id":162339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":162339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:29:12] local.INFO: TCP Data received {"connection_id":164938,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:29:12] local.INFO: Processing buffer {"connection_id":164938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:29:12] local.INFO: IMEI packet received {"connection_id":164938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":164938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:29:18] local.INFO: TCP Data received {"connection_id":164938,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:29:18] local.INFO: Processing buffer {"connection_id":164938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:29:18] local.INFO: IMEI packet received {"connection_id":164938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":164938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:29:19] local.INFO: TCP Data received {"connection_id":164938,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03cdc5db0012d34c14006aa4818000200e62b..."} 
[2026-08-26 12:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cdc5db0012d34c14006aa4818000200e62b..."} 
[2026-08-26 12:29:19] local.INFO: Processing buffer {"connection_id":164938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cdc5db0012d34c14006aa4818000200e62b..."} 
[2026-08-26 12:29:19] local.INFO: Packet analysis {"connection_id":164938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cdc"} 
[2026-08-26 12:29:19] local.INFO: Extracted packet for processing {"connection_id":164938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cdc"} 
[2026-08-26 12:29:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658155264001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787727470000,"timestamp_ms":1787727470000,"timestamp_seconds":1787727470,"priority":1,"record_length":96,"hex_timestamp":"000001a03cdc5db0"} 
[2026-08-26 12: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-26 12:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:29: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-26 12: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-26 12: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-26 12:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:29:19] 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-26 12:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658155264001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658155264001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:29:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:29:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658155264001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":164938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:29:19] local.INFO: GPS data processed {"connection_id":164938,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:29:19] local.INFO: Acknowledgment sent {"connection_id":164938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:29:32] local.INFO: TCP Data received {"connection_id":162340,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:29:32] local.INFO: Processing buffer {"connection_id":162340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:29:32] local.INFO: IMEI packet received {"connection_id":162340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 12:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":162340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:29:42] local.INFO: TCP Data received {"connection_id":162341,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:29:42] local.INFO: Processing buffer {"connection_id":162341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:29:42] local.INFO: IMEI packet received {"connection_id":162341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":162341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:29:47] local.INFO: TCP Data received {"connection_id":162341,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:29:47] local.INFO: Processing buffer {"connection_id":162341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:29:47] local.INFO: IMEI packet received {"connection_id":162341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":162341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:29:53] local.INFO: TCP Data received {"connection_id":162341,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:29:53] local.INFO: Processing buffer {"connection_id":162341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:29:53] local.INFO: IMEI packet received {"connection_id":162341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":162341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:29:57] local.INFO: TCP Data received {"connection_id":162341,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03cdc5db0012d34c14006aa4818000200e62b..."} 
[2026-08-26 12:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cdc5db0012d34c14006aa4818000200e62b..."} 
[2026-08-26 12:29:57] local.INFO: Processing buffer {"connection_id":162341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cdc5db0012d34c14006aa4818000200e62b..."} 
[2026-08-26 12:29:57] local.INFO: Packet analysis {"connection_id":162341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cdc"} 
[2026-08-26 12:29:57] local.INFO: Extracted packet for processing {"connection_id":162341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cdc"} 
[2026-08-26 12:29:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658155264001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787727470000,"timestamp_ms":1787727470000,"timestamp_seconds":1787727470,"priority":1,"record_length":96,"hex_timestamp":"000001a03cdc5db0"} 
[2026-08-26 12:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:29:57] 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-26 12:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:29:57] 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-26 12:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658155264001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658155264001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:29:57] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:29:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658155264001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":162341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:29:57] local.INFO: GPS data processed {"connection_id":162341,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:29:57] local.INFO: Acknowledgment sent {"connection_id":162341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:30:37] local.INFO: TCP Data received {"connection_id":163597,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:30:37] local.INFO: Processing buffer {"connection_id":163597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:30:37] local.INFO: IMEI packet received {"connection_id":163597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":163597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:30:42] local.INFO: TCP Data received {"connection_id":163597,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:30:42] local.INFO: Processing buffer {"connection_id":163597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:30:42] local.INFO: IMEI packet received {"connection_id":163597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":163597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:30:43] local.INFO: TCP Data received {"connection_id":163597,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03cdc5db0012d34c14006aa4818000200e62b..."} 
[2026-08-26 12:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cdc5db0012d34c14006aa4818000200e62b..."} 
[2026-08-26 12:30:43] local.INFO: Processing buffer {"connection_id":163597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cdc5db0012d34c14006aa4818000200e62b..."} 
[2026-08-26 12:30:43] local.INFO: Packet analysis {"connection_id":163597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cdc"} 
[2026-08-26 12:30:43] local.INFO: Extracted packet for processing {"connection_id":163597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cdc"} 
[2026-08-26 12:30:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658155264001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787727470000,"timestamp_ms":1787727470000,"timestamp_seconds":1787727470,"priority":1,"record_length":96,"hex_timestamp":"000001a03cdc5db0"} 
[2026-08-26 12:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:30: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-26 12:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:30:43] 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-26 12:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:30:43] 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-26 12:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658155264001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658155264001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:30:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:30:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658155264001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":163597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:30:43] local.INFO: GPS data processed {"connection_id":163597,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:30:43] local.INFO: Acknowledgment sent {"connection_id":163597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:31:16] local.INFO: TCP Data received {"connection_id":163597,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03cdc5db0012d34c14006aa4818000200e62b..."} 
[2026-08-26 12:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cdc5db0012d34c14006aa4818000200e62b..."} 
[2026-08-26 12:31:16] local.INFO: Processing buffer {"connection_id":163597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cdc5db0012d34c14006aa4818000200e62b..."} 
[2026-08-26 12:31:16] local.INFO: Packet analysis {"connection_id":163597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cdc"} 
[2026-08-26 12:31:16] local.INFO: Extracted packet for processing {"connection_id":163597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cdc"} 
[2026-08-26 12:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658155264001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787727470000,"timestamp_ms":1787727470000,"timestamp_seconds":1787727470,"priority":1,"record_length":96,"hex_timestamp":"000001a03cdc5db0"} 
[2026-08-26 12:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:31: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-26 12:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:31:16] 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-26 12:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:31:16] 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-26 12:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658155264001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658155264001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:31:16] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658155264001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":163597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:31:16] local.INFO: GPS data processed {"connection_id":163597,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:31:16] local.INFO: Acknowledgment sent {"connection_id":163597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:31:37] local.INFO: TCP Data received {"connection_id":164939,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:31:37] local.INFO: Processing buffer {"connection_id":164939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:31:37] local.INFO: IMEI packet received {"connection_id":164939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":164939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:31:42] local.INFO: TCP Data received {"connection_id":164939,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:31:42] local.INFO: Processing buffer {"connection_id":164939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:31:42] local.INFO: IMEI packet received {"connection_id":164939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":164939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:31:44] local.INFO: TCP Data received {"connection_id":164939,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03cdc5db0012d34c14006aa4818000200e62b..."} 
[2026-08-26 12:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cdc5db0012d34c14006aa4818000200e62b..."} 
[2026-08-26 12:31:44] local.INFO: Processing buffer {"connection_id":164939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cdc5db0012d34c14006aa4818000200e62b..."} 
[2026-08-26 12:31:44] local.INFO: Packet analysis {"connection_id":164939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cdc"} 
[2026-08-26 12:31:44] local.INFO: Extracted packet for processing {"connection_id":164939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cdc"} 
[2026-08-26 12:31:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658155264001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787727470000,"timestamp_ms":1787727470000,"timestamp_seconds":1787727470,"priority":1,"record_length":96,"hex_timestamp":"000001a03cdc5db0"} 
[2026-08-26 12: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-26 12:31: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-26 12: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:31: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-26 12: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-26 12: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-26 12:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:31: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-26 12:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658155264001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658155264001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:31:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:31:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658155264001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":164939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:31:44] local.INFO: GPS data processed {"connection_id":164939,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:31:44] local.INFO: Acknowledgment sent {"connection_id":164939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:32:15] local.INFO: TCP Data received {"connection_id":164939,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03cdc5db0012d34c14006aa4818000200e62b..."} 
[2026-08-26 12:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cdc5db0012d34c14006aa4818000200e62b..."} 
[2026-08-26 12:32:15] local.INFO: Processing buffer {"connection_id":164939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cdc5db0012d34c14006aa4818000200e62b..."} 
[2026-08-26 12:32:15] local.INFO: Packet analysis {"connection_id":164939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cdc"} 
[2026-08-26 12:32:15] local.INFO: Extracted packet for processing {"connection_id":164939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cdc"} 
[2026-08-26 12:32:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658155264001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787727470000,"timestamp_ms":1787727470000,"timestamp_seconds":1787727470,"priority":1,"record_length":96,"hex_timestamp":"000001a03cdc5db0"} 
[2026-08-26 12: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-26 12:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12: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":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:32: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-26 12: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-26 12: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-26 12:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:32: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-26 12:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658155264001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658155264001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:32:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:32:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658155264001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":164939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:32:15] local.INFO: GPS data processed {"connection_id":164939,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:32:15] local.INFO: Acknowledgment sent {"connection_id":164939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:32:42] local.INFO: TCP Data received {"connection_id":162342,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:32:42] local.INFO: Processing buffer {"connection_id":162342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:32:42] local.INFO: IMEI packet received {"connection_id":162342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":162342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:32:47] local.INFO: TCP Data received {"connection_id":162342,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:32:47] local.INFO: Processing buffer {"connection_id":162342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:32:47] local.INFO: IMEI packet received {"connection_id":162342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":162342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:32:48] local.INFO: TCP Data received {"connection_id":162342,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03cdc5db0012d34c14006aa4818000200e62b..."} 
[2026-08-26 12:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cdc5db0012d34c14006aa4818000200e62b..."} 
[2026-08-26 12:32:48] local.INFO: Processing buffer {"connection_id":162342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cdc5db0012d34c14006aa4818000200e62b..."} 
[2026-08-26 12:32:48] local.INFO: Packet analysis {"connection_id":162342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cdc"} 
[2026-08-26 12:32:48] local.INFO: Extracted packet for processing {"connection_id":162342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cdc"} 
[2026-08-26 12:32:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658155264001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787727470000,"timestamp_ms":1787727470000,"timestamp_seconds":1787727470,"priority":1,"record_length":96,"hex_timestamp":"000001a03cdc5db0"} 
[2026-08-26 12: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-26 12:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:32:48] 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-26 12: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-26 12: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-26 12:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658155264001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658155264001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:32:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:32:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658155264001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":162342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:32:48] local.INFO: GPS data processed {"connection_id":162342,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:32:48] local.INFO: Acknowledgment sent {"connection_id":162342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:32:52] local.INFO: TCP Data received {"connection_id":162342,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03cdc5db0012d34c14006aa4818000200e62b..."} 
[2026-08-26 12:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cdc5db0012d34c14006aa4818000200e62b..."} 
[2026-08-26 12:32:52] local.INFO: Processing buffer {"connection_id":162342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cdc5db0012d34c14006aa4818000200e62b..."} 
[2026-08-26 12:32:52] local.INFO: Packet analysis {"connection_id":162342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cdc"} 
[2026-08-26 12:32:52] local.INFO: Extracted packet for processing {"connection_id":162342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cdc"} 
[2026-08-26 12:32:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658155264001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787727470000,"timestamp_ms":1787727470000,"timestamp_seconds":1787727470,"priority":1,"record_length":96,"hex_timestamp":"000001a03cdc5db0"} 
[2026-08-26 12: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-26 12:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:32:52] 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-26 12: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-26 12: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-26 12:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658155264001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658155264001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:32:52] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:32:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658155264001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":162342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:32:52] local.INFO: GPS data processed {"connection_id":162342,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:32:52] local.INFO: Acknowledgment sent {"connection_id":162342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:33:37] local.INFO: TCP Data received {"connection_id":162343,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:33:37] local.INFO: Processing buffer {"connection_id":162343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:33:37] local.INFO: IMEI packet received {"connection_id":162343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":162343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:33:42] local.INFO: TCP Data received {"connection_id":162343,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:33:42] local.INFO: Processing buffer {"connection_id":162343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:33:42] local.INFO: IMEI packet received {"connection_id":162343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":162343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:33:43] local.INFO: TCP Data received {"connection_id":162343,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:33:43] local.INFO: Processing buffer {"connection_id":162343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:33:43] local.INFO: Packet analysis {"connection_id":162343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ce0"} 
[2026-08-26 12:33:43] local.INFO: Extracted packet for processing {"connection_id":162343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ce0"} 
[2026-08-26 12:33:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658232320001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:33:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 12:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 12:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787727771000,"timestamp_ms":1787727771000,"timestamp_seconds":1787727771,"priority":1,"record_length":96,"hex_timestamp":"000001a03ce0f578"} 
[2026-08-26 12:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:33: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-26 12:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:33:43] 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-26 12:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:33:43] 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-26 12:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658232320001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 12:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658232320001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:33:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658232320001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":162343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:33:43] local.INFO: GPS data processed {"connection_id":162343,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:33:43] local.INFO: Acknowledgment sent {"connection_id":162343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:34:14] local.INFO: TCP Data received {"connection_id":162343,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:34:15] local.INFO: Processing buffer {"connection_id":162343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:34:15] local.INFO: Packet analysis {"connection_id":162343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ce0"} 
[2026-08-26 12:34:15] local.INFO: Extracted packet for processing {"connection_id":162343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ce0"} 
[2026-08-26 12:34:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 12:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658232320001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:34:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 12:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 12:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787727771000,"timestamp_ms":1787727771000,"timestamp_seconds":1787727771,"priority":1,"record_length":96,"hex_timestamp":"000001a03ce0f578"} 
[2026-08-26 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-26 12:34: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-26 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:34: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-26 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-26 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-26 12:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:34: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-26 12:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658232320001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 12:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658232320001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:34:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658232320001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":162343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:34:15] local.INFO: GPS data processed {"connection_id":162343,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:34:15] local.INFO: Acknowledgment sent {"connection_id":162343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:34:37] local.INFO: TCP Data received {"connection_id":162344,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:34:37] local.INFO: Processing buffer {"connection_id":162344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:34:37] local.INFO: IMEI packet received {"connection_id":162344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":162344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:34:43] local.INFO: TCP Data received {"connection_id":162344,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:34:43] local.INFO: Processing buffer {"connection_id":162344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:34:43] local.INFO: IMEI packet received {"connection_id":162344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":162344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:34:44] local.INFO: TCP Data received {"connection_id":162344,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:34:44] local.INFO: Processing buffer {"connection_id":162344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:34:44] local.INFO: Packet analysis {"connection_id":162344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ce0"} 
[2026-08-26 12:34:44] local.INFO: Extracted packet for processing {"connection_id":162344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ce0"} 
[2026-08-26 12:34:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658232320001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:34:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 12:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 12:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787727771000,"timestamp_ms":1787727771000,"timestamp_seconds":1787727771,"priority":1,"record_length":96,"hex_timestamp":"000001a03ce0f578"} 
[2026-08-26 12:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:34: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-26 12:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:34:44] 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-26 12:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658232320001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 12:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658232320001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:34:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658232320001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":162344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:34:44] local.INFO: GPS data processed {"connection_id":162344,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:34:44] local.INFO: Acknowledgment sent {"connection_id":162344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:35:07] local.INFO: TCP Data received {"connection_id":163598,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:35:07] local.INFO: Processing buffer {"connection_id":163598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:35:07] local.INFO: IMEI packet received {"connection_id":163598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 12:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":163598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:35:16] local.INFO: TCP Data received {"connection_id":162344,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:35:16] local.INFO: Processing buffer {"connection_id":162344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:35:16] local.INFO: Packet analysis {"connection_id":162344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ce0"} 
[2026-08-26 12:35:16] local.INFO: Extracted packet for processing {"connection_id":162344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ce0"} 
[2026-08-26 12:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658232320001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:35:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 12:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 12:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787727771000,"timestamp_ms":1787727771000,"timestamp_seconds":1787727771,"priority":1,"record_length":96,"hex_timestamp":"000001a03ce0f578"} 
[2026-08-26 12:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:35: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-26 12:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:35:16] 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-26 12:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:35: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-26 12:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658232320001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 12:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658232320001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:35:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658232320001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":162344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:35:16] local.INFO: GPS data processed {"connection_id":162344,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:35:16] local.INFO: Acknowledgment sent {"connection_id":162344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:35:37] local.INFO: TCP Data received {"connection_id":163599,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:35:37] local.INFO: Processing buffer {"connection_id":163599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:35:37] local.INFO: IMEI packet received {"connection_id":163599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":163599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:35:42] local.INFO: TCP Data received {"connection_id":163599,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:35:42] local.INFO: Processing buffer {"connection_id":163599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:35:42] local.INFO: IMEI packet received {"connection_id":163599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":163599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:35:43] local.INFO: TCP Data received {"connection_id":163599,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:35:43] local.INFO: Processing buffer {"connection_id":163599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:35:43] local.INFO: Packet analysis {"connection_id":163599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ce0"} 
[2026-08-26 12:35:43] local.INFO: Extracted packet for processing {"connection_id":163599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ce0"} 
[2026-08-26 12:35:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658232320001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:35:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 12:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 12:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787727771000,"timestamp_ms":1787727771000,"timestamp_seconds":1787727771,"priority":1,"record_length":96,"hex_timestamp":"000001a03ce0f578"} 
[2026-08-26 12:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:35: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-26 12:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:35:43] 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-26 12:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:35: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-26 12:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658232320001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 12:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658232320001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:35:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658232320001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":163599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:35:43] local.INFO: GPS data processed {"connection_id":163599,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:35:43] local.INFO: Acknowledgment sent {"connection_id":163599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:36:15] local.INFO: TCP Data received {"connection_id":163599,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:36:15] local.INFO: Processing buffer {"connection_id":163599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:36:15] local.INFO: Packet analysis {"connection_id":163599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ce0"} 
[2026-08-26 12:36:15] local.INFO: Extracted packet for processing {"connection_id":163599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ce0"} 
[2026-08-26 12:36:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658232320001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:36:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 12:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 12:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787727771000,"timestamp_ms":1787727771000,"timestamp_seconds":1787727771,"priority":1,"record_length":96,"hex_timestamp":"000001a03ce0f578"} 
[2026-08-26 12:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:36: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-26 12:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:36: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-26 12:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658232320001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 12:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658232320001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:36:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658232320001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":163599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:36:15] local.INFO: GPS data processed {"connection_id":163599,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:36:15] local.INFO: Acknowledgment sent {"connection_id":163599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:36:37] local.INFO: TCP Data received {"connection_id":162580,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:36:37] local.INFO: Processing buffer {"connection_id":162580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:36:37] local.INFO: IMEI packet received {"connection_id":162580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":162580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:36:44] local.INFO: TCP Data received {"connection_id":162580,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:36:44] local.INFO: Processing buffer {"connection_id":162580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:36:44] local.INFO: IMEI packet received {"connection_id":162580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":162580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:36:45] local.INFO: TCP Data received {"connection_id":162580,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:36:45] local.INFO: Processing buffer {"connection_id":162580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:36:45] local.INFO: Packet analysis {"connection_id":162580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ce0"} 
[2026-08-26 12:36:45] local.INFO: Extracted packet for processing {"connection_id":162580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ce0"} 
[2026-08-26 12:36:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658232320001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:36:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 12:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 12:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787727771000,"timestamp_ms":1787727771000,"timestamp_seconds":1787727771,"priority":1,"record_length":96,"hex_timestamp":"000001a03ce0f578"} 
[2026-08-26 12: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-26 12: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-26 12: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:36:45] 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-26 12: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-26 12: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-26 12:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658232320001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 12:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658232320001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:36:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658232320001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":162580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:36:45] local.INFO: GPS data processed {"connection_id":162580,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:36:45] local.INFO: Acknowledgment sent {"connection_id":162580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:37:30] local.INFO: TCP Data received {"connection_id":162580,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:37:30] local.INFO: Processing buffer {"connection_id":162580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:37:30] local.INFO: Packet analysis {"connection_id":162580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ce0"} 
[2026-08-26 12:37:30] local.INFO: Extracted packet for processing {"connection_id":162580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ce0"} 
[2026-08-26 12:37:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658232320001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:37:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 12:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 12:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787727771000,"timestamp_ms":1787727771000,"timestamp_seconds":1787727771,"priority":1,"record_length":96,"hex_timestamp":"000001a03ce0f578"} 
[2026-08-26 12: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-26 12:37: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-26 12: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:37:30] 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-26 12: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-26 12: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-26 12:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":162580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":162580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":162580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:37: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-26 12:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658232320001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 12:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658232320001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:37:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658232320001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":162580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:37:30] local.INFO: GPS data processed {"connection_id":162580,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:37:30] local.INFO: Acknowledgment sent {"connection_id":162580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:37:42] local.INFO: TCP Data received {"connection_id":163600,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:37:42] local.INFO: Processing buffer {"connection_id":163600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:37:42] local.INFO: IMEI packet received {"connection_id":163600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":163600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:37:47] local.INFO: TCP Data received {"connection_id":163600,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:37:47] local.INFO: Processing buffer {"connection_id":163600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:37:47] local.INFO: IMEI packet received {"connection_id":163600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":163600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:37:48] local.INFO: TCP Data received {"connection_id":163600,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:37:48] local.INFO: Processing buffer {"connection_id":163600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:37:48] local.INFO: Packet analysis {"connection_id":163600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ce0"} 
[2026-08-26 12:37:48] local.INFO: Extracted packet for processing {"connection_id":163600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ce0"} 
[2026-08-26 12:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 12:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658232320001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:37:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 12:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 12:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787727771000,"timestamp_ms":1787727771000,"timestamp_seconds":1787727771,"priority":1,"record_length":96,"hex_timestamp":"000001a03ce0f578"} 
[2026-08-26 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-26 12:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:37:48] 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-26 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-26 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-26 12:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:37:48] 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-26 12:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658232320001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 12:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658232320001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658232320001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":163600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:37:48] local.INFO: GPS data processed {"connection_id":163600,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:37:48] local.INFO: Acknowledgment sent {"connection_id":163600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:37:53] local.INFO: TCP Data received {"connection_id":163600,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:37:53] local.INFO: Processing buffer {"connection_id":163600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ce0f578012d34c14006aa4818000900e62a..."} 
[2026-08-26 12:37:53] local.INFO: Packet analysis {"connection_id":163600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ce0"} 
[2026-08-26 12:37:53] local.INFO: Extracted packet for processing {"connection_id":163600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ce0"} 
[2026-08-26 12:37:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658232320001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:37:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 12:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 12:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787727771000,"timestamp_ms":1787727771000,"timestamp_seconds":1787727771,"priority":1,"record_length":96,"hex_timestamp":"000001a03ce0f578"} 
[2026-08-26 12: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-26 12:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:37:53] 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-26 12: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-26 12: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-26 12:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:37:53] 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-26 12:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658232320001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 12:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658232320001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:37:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658232320001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":163600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:37:53] local.INFO: GPS data processed {"connection_id":163600,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:37:53] local.INFO: Acknowledgment sent {"connection_id":163600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:38:37] local.INFO: TCP Data received {"connection_id":164940,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:38:37] local.INFO: Processing buffer {"connection_id":164940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:38:37] local.INFO: IMEI packet received {"connection_id":164940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":164940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:38:42] local.INFO: TCP Data received {"connection_id":164940,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:38:42] local.INFO: Processing buffer {"connection_id":164940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:38:42] local.INFO: IMEI packet received {"connection_id":164940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":164940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:38:43] local.INFO: TCP Data received {"connection_id":164940,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:38:43] local.INFO: Processing buffer {"connection_id":164940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:38:43] local.INFO: Packet analysis {"connection_id":164940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ce5"} 
[2026-08-26 12:38:43] local.INFO: Extracted packet for processing {"connection_id":164940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ce5"} 
[2026-08-26 12:38:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658309376001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:38:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 12:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 12:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787728072000,"timestamp_ms":1787728072000,"timestamp_seconds":1787728072,"priority":1,"record_length":96,"hex_timestamp":"000001a03ce58d40"} 
[2026-08-26 12: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-26 12:38: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-26 12: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":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:38:43] 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-26 12: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-26 12: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-26 12:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:38:43] 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-26 12:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658309376001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 12:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658309376001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:38:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658309376001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":164940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:38:43] local.INFO: GPS data processed {"connection_id":164940,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:38:43] local.INFO: Acknowledgment sent {"connection_id":164940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:39:17] local.INFO: TCP Data received {"connection_id":164940,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:39:17] local.INFO: Processing buffer {"connection_id":164940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:39:17] local.INFO: Packet analysis {"connection_id":164940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ce5"} 
[2026-08-26 12:39:17] local.INFO: Extracted packet for processing {"connection_id":164940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ce5"} 
[2026-08-26 12:39:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658309376001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:39:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 12:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 12:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787728072000,"timestamp_ms":1787728072000,"timestamp_seconds":1787728072,"priority":1,"record_length":96,"hex_timestamp":"000001a03ce58d40"} 
[2026-08-26 12:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12: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-26 12:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12: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-26 12: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-26 12:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:39:17] 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-26 12:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658309376001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 12:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658309376001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:39:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658309376001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":164940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:39:17] local.INFO: GPS data processed {"connection_id":164940,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:39:17] local.INFO: Acknowledgment sent {"connection_id":164940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:39:37] local.INFO: TCP Data received {"connection_id":162345,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:39:37] local.INFO: Processing buffer {"connection_id":162345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:39:37] local.INFO: IMEI packet received {"connection_id":162345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":162345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:39:42] local.INFO: TCP Data received {"connection_id":162345,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:39:42] local.INFO: Processing buffer {"connection_id":162345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:39:42] local.INFO: IMEI packet received {"connection_id":162345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":162345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:39:43] local.INFO: TCP Data received {"connection_id":162345,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:39:43] local.INFO: Processing buffer {"connection_id":162345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:39:43] local.INFO: Packet analysis {"connection_id":162345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ce5"} 
[2026-08-26 12:39:43] local.INFO: Extracted packet for processing {"connection_id":162345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ce5"} 
[2026-08-26 12:39:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658309376001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:39:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 12:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 12:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787728072000,"timestamp_ms":1787728072000,"timestamp_seconds":1787728072,"priority":1,"record_length":96,"hex_timestamp":"000001a03ce58d40"} 
[2026-08-26 12: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-26 12:39: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-26 12: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:39:43] 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-26 12: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-26 12: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-26 12:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:39: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-26 12:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658309376001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 12:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658309376001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:39:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658309376001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":162345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:39:43] local.INFO: GPS data processed {"connection_id":162345,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:39:43] local.INFO: Acknowledgment sent {"connection_id":162345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:40:15] local.INFO: TCP Data received {"connection_id":162345,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:40:15] local.INFO: Processing buffer {"connection_id":162345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:40:15] local.INFO: Packet analysis {"connection_id":162345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ce5"} 
[2026-08-26 12:40:15] local.INFO: Extracted packet for processing {"connection_id":162345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ce5"} 
[2026-08-26 12:40:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658309376001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:40:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 12:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 12:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787728072000,"timestamp_ms":1787728072000,"timestamp_seconds":1787728072,"priority":1,"record_length":96,"hex_timestamp":"000001a03ce58d40"} 
[2026-08-26 12: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-26 12:40: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-26 12: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":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:40: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-26 12: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-26 12: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-26 12:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658309376001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 12:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658309376001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:40:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658309376001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":162345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:40:15] local.INFO: GPS data processed {"connection_id":162345,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:40:15] local.INFO: Acknowledgment sent {"connection_id":162345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:40:37] local.INFO: TCP Data received {"connection_id":163602,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:40:37] local.INFO: Processing buffer {"connection_id":163602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:40:37] local.INFO: IMEI packet received {"connection_id":163602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":163602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:40:42] local.INFO: TCP Data received {"connection_id":163602,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:40:42] local.INFO: Processing buffer {"connection_id":163602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:40:42] local.INFO: IMEI packet received {"connection_id":163602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":163602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:40:43] local.INFO: TCP Data received {"connection_id":163601,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:40:43] local.INFO: Processing buffer {"connection_id":163601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:40:43] local.INFO: IMEI packet received {"connection_id":163601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 12:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":163601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:40:43] local.INFO: TCP Data received {"connection_id":163602,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:40:43] local.INFO: Processing buffer {"connection_id":163602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:40:43] local.INFO: Packet analysis {"connection_id":163602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ce5"} 
[2026-08-26 12:40:43] local.INFO: Extracted packet for processing {"connection_id":163602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ce5"} 
[2026-08-26 12:40:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658309376001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:40:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 12:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 12:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787728072000,"timestamp_ms":1787728072000,"timestamp_seconds":1787728072,"priority":1,"record_length":96,"hex_timestamp":"000001a03ce58d40"} 
[2026-08-26 12: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-26 12:40: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-26 12: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:40:43] 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-26 12: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-26 12: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-26 12:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658309376001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 12:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658309376001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:40:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658309376001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":163602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:40:43] local.INFO: GPS data processed {"connection_id":163602,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:40:43] local.INFO: Acknowledgment sent {"connection_id":163602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:41:15] local.INFO: TCP Data received {"connection_id":163602,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:41:15] local.INFO: Processing buffer {"connection_id":163602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:41:15] local.INFO: Packet analysis {"connection_id":163602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ce5"} 
[2026-08-26 12:41:15] local.INFO: Extracted packet for processing {"connection_id":163602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ce5"} 
[2026-08-26 12:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 12:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658309376001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:41:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 12:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 12:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787728072000,"timestamp_ms":1787728072000,"timestamp_seconds":1787728072,"priority":1,"record_length":96,"hex_timestamp":"000001a03ce58d40"} 
[2026-08-26 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-26 12:41: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-26 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":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:41: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-26 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-26 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-26 12:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:41: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-26 12:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658309376001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 12:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658309376001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658309376001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":163602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:41:15] local.INFO: GPS data processed {"connection_id":163602,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:41:15] local.INFO: Acknowledgment sent {"connection_id":163602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:41:42] local.INFO: TCP Data received {"connection_id":164941,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:41:42] local.INFO: Processing buffer {"connection_id":164941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:41:42] local.INFO: IMEI packet received {"connection_id":164941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":164941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:41:47] local.INFO: TCP Data received {"connection_id":164941,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:41:47] local.INFO: Processing buffer {"connection_id":164941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:41:47] local.INFO: IMEI packet received {"connection_id":164941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":164941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:41:48] local.INFO: TCP Data received {"connection_id":164941,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:41:48] local.INFO: Processing buffer {"connection_id":164941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:41:48] local.INFO: Packet analysis {"connection_id":164941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ce5"} 
[2026-08-26 12:41:48] local.INFO: Extracted packet for processing {"connection_id":164941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ce5"} 
[2026-08-26 12:41:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658309376001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:41:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 12:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 12:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787728072000,"timestamp_ms":1787728072000,"timestamp_seconds":1787728072,"priority":1,"record_length":96,"hex_timestamp":"000001a03ce58d40"} 
[2026-08-26 12:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:41:48] 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-26 12:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:41:48] 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-26 12:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658309376001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 12:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658309376001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:41:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658309376001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":164941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:41:48] local.INFO: GPS data processed {"connection_id":164941,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:41:48] local.INFO: Acknowledgment sent {"connection_id":164941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:41:52] local.INFO: TCP Data received {"connection_id":164941,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:41:52] local.INFO: Processing buffer {"connection_id":164941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:41:52] local.INFO: Packet analysis {"connection_id":164941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ce5"} 
[2026-08-26 12:41:52] local.INFO: Extracted packet for processing {"connection_id":164941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ce5"} 
[2026-08-26 12:41:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658309376001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:41:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 12:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 12:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787728072000,"timestamp_ms":1787728072000,"timestamp_seconds":1787728072,"priority":1,"record_length":96,"hex_timestamp":"000001a03ce58d40"} 
[2026-08-26 12:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12:41:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:41:52] 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-26 12:41:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:41:52] 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-26 12:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658309376001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 12:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658309376001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:41:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658309376001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":164941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:41:52] local.INFO: GPS data processed {"connection_id":164941,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:41:52] local.INFO: Acknowledgment sent {"connection_id":164941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:42:37] local.INFO: TCP Data received {"connection_id":163603,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:42:37] local.INFO: Processing buffer {"connection_id":163603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:42:37] local.INFO: IMEI packet received {"connection_id":163603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":163603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:42:42] local.INFO: TCP Data received {"connection_id":163603,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:42:42] local.INFO: Processing buffer {"connection_id":163603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:42:42] local.INFO: IMEI packet received {"connection_id":163603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":163603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:42:43] local.INFO: TCP Data received {"connection_id":163603,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:42:43] local.INFO: Processing buffer {"connection_id":163603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:42:43] local.INFO: Packet analysis {"connection_id":163603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ce5"} 
[2026-08-26 12:42:43] local.INFO: Extracted packet for processing {"connection_id":163603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ce5"} 
[2026-08-26 12:42:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658309376001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:42:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 12:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 12:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787728072000,"timestamp_ms":1787728072000,"timestamp_seconds":1787728072,"priority":1,"record_length":96,"hex_timestamp":"000001a03ce58d40"} 
[2026-08-26 12: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-26 12:42: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-26 12: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":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:42:43] 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-26 12: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-26 12: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-26 12:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:42: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-26 12:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658309376001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 12:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658309376001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:42:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658309376001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":163603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:42:43] local.INFO: GPS data processed {"connection_id":163603,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:42:43] local.INFO: Acknowledgment sent {"connection_id":163603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:43:15] local.INFO: TCP Data received {"connection_id":163603,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:43:15] local.INFO: Processing buffer {"connection_id":163603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ce58d40012d34c14006aa4818000600e62a..."} 
[2026-08-26 12:43:15] local.INFO: Packet analysis {"connection_id":163603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ce5"} 
[2026-08-26 12:43:15] local.INFO: Extracted packet for processing {"connection_id":163603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ce5"} 
[2026-08-26 12:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658309376001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:43:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 12:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 12:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787728072000,"timestamp_ms":1787728072000,"timestamp_seconds":1787728072,"priority":1,"record_length":96,"hex_timestamp":"000001a03ce58d40"} 
[2026-08-26 12:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:43: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-26 12:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:43: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-26 12:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:43: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-26 12:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658309376001,"66":25462,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 12:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658309376001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658309376001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":163603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:43:15] local.INFO: GPS data processed {"connection_id":163603,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:43:15] local.INFO: Acknowledgment sent {"connection_id":163603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:44:07] local.INFO: TCP Data received {"connection_id":162582,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:44:07] local.INFO: Processing buffer {"connection_id":162582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:44:07] local.INFO: IMEI packet received {"connection_id":162582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":162582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:44:13] local.INFO: TCP Data received {"connection_id":162582,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:44:13] local.INFO: Processing buffer {"connection_id":162582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:44:13] local.INFO: IMEI packet received {"connection_id":162582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":162582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:44:15] local.INFO: TCP Data received {"connection_id":162582,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a03cea2508012d34c14006aa4818000700e62b..."} 
[2026-08-26 12:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cea2508012d34c14006aa4818000700e62b..."} 
[2026-08-26 12:44:15] local.INFO: Processing buffer {"connection_id":162582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cea2508012d34c14006aa4818000700e62b..."} 
[2026-08-26 12:44:15] local.INFO: Packet analysis {"connection_id":162582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:44:15] local.INFO: Extracted packet for processing {"connection_id":162582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:44:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658386432001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787728373000,"timestamp_ms":1787728373000,"timestamp_seconds":1787728373,"priority":1,"record_length":96,"hex_timestamp":"000001a03cea2508"} 
[2026-08-26 12: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-26 12:44: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-26 12: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:44: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-26 12: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-26 12: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-26 12:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:44: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-26 12:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658386432001,"66":25473,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658386432001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:44:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:44:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658386432001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":162582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:44:15] local.INFO: GPS data processed {"connection_id":162582,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:44:15] local.INFO: Acknowledgment sent {"connection_id":162582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:44:26] local.INFO: TCP Data received {"connection_id":163604,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:44:26] local.INFO: Processing buffer {"connection_id":163604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:44:26] local.INFO: IMEI packet received {"connection_id":163604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":163604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:44:30] local.INFO: TCP Data received {"connection_id":163604,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:44:31] local.INFO: Processing buffer {"connection_id":163604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:44:31] local.INFO: IMEI packet received {"connection_id":163604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":163604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:44:31] local.INFO: TCP Data received {"connection_id":163604,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03cea2508012d7e348005d34f580004007729..."} 
[2026-08-26 12:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cea2508012d7e348005d34f580004007729..."} 
[2026-08-26 12:44:31] local.INFO: Processing buffer {"connection_id":163604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cea2508012d7e348005d34f580004007729..."} 
[2026-08-26 12:44:31] local.INFO: Packet analysis {"connection_id":163604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:44:31] local.INFO: Extracted packet for processing {"connection_id":163604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:44:31] local.INFO: GPS Element Parsed {"raw_longitude":763245696,"raw_latitude":97734488,"longitude_deg":76.3245696,"latitude_deg":9.7734488,"altitude":4,"angle":119,"satellites":41,"speed":3,"hex_longitude":"2d7e3480","hex_latitude":"05d34f58","is_valid_coordinates":true} 
[2026-08-26 12:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658463232001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124617221962989568,"note":"Value kept but may cause issues"} 
[2026-08-26 12:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093963941332090880,"note":"Value kept but may cause issues"} 
[2026-08-26 12:44:31] 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-26 12:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787728373000,"timestamp_ms":1787728373000,"timestamp_seconds":1787728373,"priority":1,"record_length":96,"hex_timestamp":"000001a03cea2508"} 
[2026-08-26 12:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 12:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-08-26 12:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":962,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":163604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":163604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":163604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658463232001,"66":11069,"24":3,"16":124617221962989568,"45":9093963941332090880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-26 12:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658463232001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124617221962989568,"km_value":124617221962989.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093963941332090880,"description":"Unknown IO ID 45"} 
[2026-08-26 12:44:31] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457658463232001,"power":11069,"ignition":3,"odometer":null,"unknown_45":9093963941332090880}} 
[2026-08-26 12:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":163604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:44:31] local.INFO: GPS data processed {"connection_id":163604,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:44:31] local.INFO: Acknowledgment sent {"connection_id":163604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:44:37] local.INFO: TCP Data received {"connection_id":162583,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:44:37] local.INFO: Processing buffer {"connection_id":162583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:44:37] local.INFO: IMEI packet received {"connection_id":162583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":162583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:44:43] local.INFO: TCP Data received {"connection_id":162583,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:44:43] local.INFO: Processing buffer {"connection_id":162583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:44:43] local.INFO: IMEI packet received {"connection_id":162583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":162583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:44:46] local.INFO: TCP Data received {"connection_id":162583,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03cea2508012d34c14006aa4818000700e62b..."} 
[2026-08-26 12:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cea2508012d34c14006aa4818000700e62b..."} 
[2026-08-26 12:44:46] local.INFO: Processing buffer {"connection_id":162583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cea2508012d34c14006aa4818000700e62b..."} 
[2026-08-26 12:44:46] local.INFO: Packet analysis {"connection_id":162583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:44:46] local.INFO: Extracted packet for processing {"connection_id":162583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:44:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658386432001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787728373000,"timestamp_ms":1787728373000,"timestamp_seconds":1787728373,"priority":1,"record_length":96,"hex_timestamp":"000001a03cea2508"} 
[2026-08-26 12: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-26 12:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:44: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-26 12: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-26 12: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-26 12:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:44:46] 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-26 12:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658386432001,"66":25473,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658386432001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:44:46] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:44:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658386432001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":162583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:44:46] local.INFO: GPS data processed {"connection_id":162583,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:44:46] local.INFO: Acknowledgment sent {"connection_id":162583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:45:02] local.INFO: TCP Data received {"connection_id":163604,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03cea30c0012d7e358005d34ea80003008e29..."} 
[2026-08-26 12:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cea30c0012d7e358005d34ea80003008e29..."} 
[2026-08-26 12:45:02] local.INFO: Processing buffer {"connection_id":163604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cea30c0012d7e358005d34ea80003008e29..."} 
[2026-08-26 12:45:02] local.INFO: Packet analysis {"connection_id":163604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:45:02] local.INFO: Extracted packet for processing {"connection_id":163604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97734312,"longitude_deg":76.3245952,"latitude_deg":9.7734312,"altitude":3,"angle":142,"satellites":41,"speed":4,"hex_longitude":"2d7e3580","hex_latitude":"05d34ea8","is_valid_coordinates":true} 
[2026-08-26 12:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658463488001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124617234847891456,"note":"Value kept but may cause issues"} 
[2026-08-26 12:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094034310076258304,"note":"Value kept but may cause issues"} 
[2026-08-26 12:45:02] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-26 12:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787728376000,"timestamp_ms":1787728376000,"timestamp_seconds":1787728376,"priority":1,"record_length":96,"hex_timestamp":"000001a03cea30c0"} 
[2026-08-26 12:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 12:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-08-26 12:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":962,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658463488001,"66":11069,"24":4,"16":124617234847891456,"45":9094034310076258304},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-26 12:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658463488001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124617234847891456,"km_value":124617234847891.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094034310076258304,"description":"Unknown IO ID 45"} 
[2026-08-26 12:45:02] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457658463488001,"power":11069,"ignition":4,"odometer":null,"unknown_45":9094034310076258304}} 
[2026-08-26 12:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":163604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:45:02] local.INFO: GPS data processed {"connection_id":163604,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:45:02] local.INFO: Acknowledgment sent {"connection_id":163604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:45:30] local.INFO: TCP Data received {"connection_id":164942,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:45:31] local.INFO: Processing buffer {"connection_id":164942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:45:31] local.INFO: IMEI packet received {"connection_id":164942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":164942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:45:35] local.INFO: TCP Data received {"connection_id":164942,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:45:35] local.INFO: Processing buffer {"connection_id":164942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:45:35] local.INFO: IMEI packet received {"connection_id":164942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":164942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:45:36] local.INFO: TCP Data received {"connection_id":164942,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03cea34a8012d7e358005d34e38000300a02a..."} 
[2026-08-26 12:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cea34a8012d7e358005d34e38000300a02a..."} 
[2026-08-26 12:45:36] local.INFO: Processing buffer {"connection_id":164942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cea34a8012d7e358005d34e38000300a02a..."} 
[2026-08-26 12:45:36] local.INFO: Packet analysis {"connection_id":164942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:45:36] local.INFO: Extracted packet for processing {"connection_id":164942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:45:36] local.INFO: GPS Element Parsed {"raw_longitude":763245952,"raw_latitude":97734200,"longitude_deg":76.3245952,"latitude_deg":9.77342,"altitude":3,"angle":160,"satellites":42,"speed":5,"hex_longitude":"2d7e3580","hex_latitude":"05d34e38","is_valid_coordinates":true} 
[2026-08-26 12:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658464256001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124617239142858752,"note":"Value kept but may cause issues"} 
[2026-08-26 12:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052923904,"note":"Value kept but may cause issues"} 
[2026-08-26 12:45:36] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-26 12:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787728377000,"timestamp_ms":1787728377000,"timestamp_seconds":1787728377,"priority":1,"record_length":96,"hex_timestamp":"000001a03cea34a8"} 
[2026-08-26 12:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 12:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-08-26 12:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":962,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658464256001,"66":11026,"24":5,"16":124617239142858752,"45":9094315785052923904},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-26 12:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658464256001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124617239142858752,"km_value":124617239142858.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052923904,"description":"Unknown IO ID 45"} 
[2026-08-26 12:45:36] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457658464256001,"power":11026,"ignition":5,"odometer":null,"unknown_45":9094315785052923904}} 
[2026-08-26 12:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":164942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:45:36] local.INFO: GPS data processed {"connection_id":164942,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:45:36] local.INFO: Acknowledgment sent {"connection_id":164942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:45:47] local.INFO: TCP Data received {"connection_id":162583,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03cea2508012d34c14006aa4818000700e62b..."} 
[2026-08-26 12:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cea2508012d34c14006aa4818000700e62b..."} 
[2026-08-26 12:45:47] local.INFO: Processing buffer {"connection_id":162583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cea2508012d34c14006aa4818000700e62b..."} 
[2026-08-26 12:45:47] local.INFO: Packet analysis {"connection_id":162583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:45:47] local.INFO: Extracted packet for processing {"connection_id":162583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:45:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658386432001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787728373000,"timestamp_ms":1787728373000,"timestamp_seconds":1787728373,"priority":1,"record_length":96,"hex_timestamp":"000001a03cea2508"} 
[2026-08-26 12: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-26 12:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:45:47] 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-26 12: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-26 12: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-26 12:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:45:47] 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-26 12:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658386432001,"66":25473,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658386432001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:45:47] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:45:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658386432001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":162583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:45:47] local.INFO: GPS data processed {"connection_id":162583,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:45:47] local.INFO: Acknowledgment sent {"connection_id":162583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:45:52] local.INFO: TCP Data received {"connection_id":162346,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:45:52] local.INFO: Processing buffer {"connection_id":162346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:45:52] local.INFO: IMEI packet received {"connection_id":162346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":162346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:45:59] local.INFO: TCP Data received {"connection_id":162346,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:45:59] local.INFO: Processing buffer {"connection_id":162346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:45:59] local.INFO: IMEI packet received {"connection_id":162346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":162346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:46:02] local.INFO: TCP Data received {"connection_id":162346,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03cea2508012d34c14006aa4818000700e62b..."} 
[2026-08-26 12:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cea2508012d34c14006aa4818000700e62b..."} 
[2026-08-26 12:46:02] local.INFO: Processing buffer {"connection_id":162346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cea2508012d34c14006aa4818000700e62b..."} 
[2026-08-26 12:46:02] local.INFO: Packet analysis {"connection_id":162346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:46:02] local.INFO: Extracted packet for processing {"connection_id":162346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:46:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658386432001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787728373000,"timestamp_ms":1787728373000,"timestamp_seconds":1787728373,"priority":1,"record_length":96,"hex_timestamp":"000001a03cea2508"} 
[2026-08-26 12:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:46: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-26 12:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:46: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-26 12:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658386432001,"66":25473,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658386432001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:46:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:46:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658386432001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":162346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:46:02] local.INFO: GPS data processed {"connection_id":162346,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:46:02] local.INFO: Acknowledgment sent {"connection_id":162346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:46:07] local.INFO: TCP Data received {"connection_id":164942,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03cea4060012d7e35c005d34cf0000300b12a..."} 
[2026-08-26 12:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cea4060012d7e35c005d34cf0000300b12a..."} 
[2026-08-26 12:46:07] local.INFO: Processing buffer {"connection_id":164942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cea4060012d7e35c005d34cf0000300b12a..."} 
[2026-08-26 12:46:07] local.INFO: Packet analysis {"connection_id":164942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:46:07] local.INFO: Extracted packet for processing {"connection_id":164942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:46:07] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97733872,"longitude_deg":76.3246016,"latitude_deg":9.7733872,"altitude":3,"angle":177,"satellites":42,"speed":2,"hex_longitude":"2d7e35c0","hex_latitude":"05d34cf0","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658464512001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124617256322727936,"note":"Value kept but may cause issues"} 
[2026-08-26 12:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094315785052895232,"note":"Value kept but may cause issues"} 
[2026-08-26 12:46:07] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-26 12:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787728380000,"timestamp_ms":1787728380000,"timestamp_seconds":1787728380,"priority":1,"record_length":96,"hex_timestamp":"000001a03cea4060"} 
[2026-08-26 12: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-26 12:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 12: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":43,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-26 12:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1153408290529476608,"note":"Value kept but may cause issues"} 
[2026-08-26 12:46:07] local.WARNING: Large IO value detected {"io_id":186,"raw_value":-4995054936707301376,"note":"Value kept but may cause issues"} 
[2026-08-26 12:46:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620841300208,"note":"Value kept but may cause issues"} 
[2026-08-26 12:46:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184050229453,"note":"Value kept but may cause issues"} 
[2026-08-26 12:46:07] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3925991425,"note":"Value kept but may cause issues"} 
[2026-08-26 12:46:07] local.WARNING: Large IO value detected {"io_id":211,"raw_value":5667780174004431360,"note":"Value kept but may cause issues"} 
[2026-08-26 12:46:07] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":805383550,"corrected_to":0} 
[2026-08-26 12:46:07] local.WARNING: Large IO value detected {"io_id":52,"raw_value":1639709663037952,"note":"Value kept but may cause issues"} 
[2026-08-26 12:46:07] local.WARNING: Large IO value detected {"io_id":137,"raw_value":3026418953619507712,"note":"Value kept but may cause issues"} 
[2026-08-26 12:46:07] local.WARNING: Large IO value detected {"io_id":68,"raw_value":57702370239184896,"note":"Value kept but may cause issues"} 
[2026-08-26 12:46:07] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-8590614994306727931,"note":"Value kept but may cause issues"} 
[2026-08-26 12:46:07] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,24,241,16,186,160,48,45,128,78,3,41,10,66,37,79,4,33,64,1,240,61,60,211,113,205,2,203,52,168,42,239,137,68,233],"length":581,"final_offset":711,"validated_count":35,"validation_warnings":[{"io_id":203,"original":805383550,"validated":0}]} 
[2026-08-26 12:46:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216348884363182080,"timestamp_seconds":216348884363182.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-26 12: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-26 12:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":164942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":164942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":164942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658464512001,"66":10971,"24":2,"16":124617256322727936,"45":9094315785052895232},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-26 12:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658464512001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124617256322727936,"km_value":124617256322727.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094315785052895232,"description":"Unknown IO ID 45"} 
[2026-08-26 12:46:07] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457658464512001,"power":10971,"ignition":2,"odometer":null,"unknown_45":9094315785052895232}} 
[2026-08-26 12:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":164942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:46:07] local.INFO: GPS data processed {"connection_id":164942,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:46:07] local.INFO: Acknowledgment sent {"connection_id":164942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:46:17] local.INFO: TCP Data received {"connection_id":162581,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162581,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:46:17] local.INFO: Processing buffer {"connection_id":162581,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:46:17] local.INFO: IMEI packet received {"connection_id":162581,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 12:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":162581,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:46:30] local.INFO: TCP Data received {"connection_id":164943,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:46:31] local.INFO: Processing buffer {"connection_id":164943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:46:31] local.INFO: IMEI packet received {"connection_id":164943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":164943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:46:36] local.INFO: TCP Data received {"connection_id":164943,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:46:36] local.INFO: Processing buffer {"connection_id":164943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:46:36] local.INFO: IMEI packet received {"connection_id":164943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":164943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:46:37] local.INFO: TCP Data received {"connection_id":164943,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03cea8e80012d7e360005d34cf0000300b126..."} 
[2026-08-26 12:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cea8e80012d7e360005d34cf0000300b126..."} 
[2026-08-26 12:46:37] local.INFO: Processing buffer {"connection_id":164943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cea8e80012d7e360005d34cf0000300b126..."} 
[2026-08-26 12:46:37] local.INFO: Packet analysis {"connection_id":164943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:46:37] local.INFO: Extracted packet for processing {"connection_id":164943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:46:37] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97733872,"longitude_deg":76.324608,"latitude_deg":9.7733872,"altitude":3,"angle":177,"satellites":38,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34cf0","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658465280001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124617260617695232,"note":"Value kept but may cause issues"} 
[2026-08-26 12:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153796988928,"note":"Value kept but may cause issues"} 
[2026-08-26 12:46:37] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-26 12:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787728400000,"timestamp_ms":1787728400000,"timestamp_seconds":1787728400,"priority":1,"record_length":96,"hex_timestamp":"000001a03cea8e80"} 
[2026-08-26 12: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-26 12:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 12: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":42,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-08-26 12:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2379,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12: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-26 12: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-26 12:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658465280001,"66":10906,"24":0,"16":124617260617695232,"45":9094386153796988928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-26 12:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658465280001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124617260617695232,"km_value":124617260617695.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153796988928,"description":"Unknown IO ID 45"} 
[2026-08-26 12:46:37] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457658465280001,"power":10906,"ignition":0,"odometer":null,"unknown_45":9094386153796988928}} 
[2026-08-26 12:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":164943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:46:37] local.INFO: GPS data processed {"connection_id":164943,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:46:37] local.INFO: Acknowledgment sent {"connection_id":164943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:46:37] local.INFO: TCP Data received {"connection_id":162347,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:46:37] local.INFO: Processing buffer {"connection_id":162347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:46:37] local.INFO: IMEI packet received {"connection_id":162347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":162347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:46:42] local.INFO: TCP Data received {"connection_id":162347,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:46:42] local.INFO: Processing buffer {"connection_id":162347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:46:42] local.INFO: IMEI packet received {"connection_id":162347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":162347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:46:44] local.INFO: TCP Data received {"connection_id":162347,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03cea2508012d34c14006aa4818000700e62b..."} 
[2026-08-26 12:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cea2508012d34c14006aa4818000700e62b..."} 
[2026-08-26 12:46:44] local.INFO: Processing buffer {"connection_id":162347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cea2508012d34c14006aa4818000700e62b..."} 
[2026-08-26 12:46:44] local.INFO: Packet analysis {"connection_id":162347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:46:44] local.INFO: Extracted packet for processing {"connection_id":162347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:46:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658386432001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787728373000,"timestamp_ms":1787728373000,"timestamp_seconds":1787728373,"priority":1,"record_length":96,"hex_timestamp":"000001a03cea2508"} 
[2026-08-26 12: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-26 12:46: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-26 12: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:46: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-26 12: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-26 12: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-26 12:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:46:44] 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-26 12:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658386432001,"66":25473,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658386432001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:46:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:46:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658386432001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":162347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:46:44] local.INFO: GPS data processed {"connection_id":162347,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:46:44] local.INFO: Acknowledgment sent {"connection_id":162347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:47:08] local.INFO: TCP Data received {"connection_id":164943,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03cea9e20012d7e360005d34cf0000300b12a..."} 
[2026-08-26 12:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cea9e20012d7e360005d34cf0000300b12a..."} 
[2026-08-26 12:47:08] local.INFO: Processing buffer {"connection_id":164943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cea9e20012d7e360005d34cf0000300b12a..."} 
[2026-08-26 12:47:08] local.INFO: Packet analysis {"connection_id":164943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:47:08] local.INFO: Extracted packet for processing {"connection_id":164943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:47:08] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97733872,"longitude_deg":76.324608,"latitude_deg":9.7733872,"altitude":3,"angle":177,"satellites":42,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34cf0","is_valid_coordinates":true} 
[2026-08-26 12:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658470400001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124617260617695232,"note":"Value kept but may cause issues"} 
[2026-08-26 12:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541166592,"note":"Value kept but may cause issues"} 
[2026-08-26 12:47:08] 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-26 12:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787728404000,"timestamp_ms":1787728404000,"timestamp_seconds":1787728404,"priority":1,"record_length":96,"hex_timestamp":"000001a03cea9e20"} 
[2026-08-26 12:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-26 12:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-26 12:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1794,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658470400001,"66":10852,"24":0,"16":124617260617695232,"45":9094456522541166592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-26 12:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658470400001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124617260617695232,"km_value":124617260617695.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541166592,"description":"Unknown IO ID 45"} 
[2026-08-26 12:47:08] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457658470400001,"power":10852,"ignition":0,"odometer":null,"unknown_45":9094456522541166592}} 
[2026-08-26 12:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":164943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:47:08] local.INFO: GPS data processed {"connection_id":164943,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:47:08] local.INFO: Acknowledgment sent {"connection_id":164943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:47:16] local.INFO: TCP Data received {"connection_id":162347,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03cea2508012d34c14006aa4818000700e62b..."} 
[2026-08-26 12:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cea2508012d34c14006aa4818000700e62b..."} 
[2026-08-26 12:47:16] local.INFO: Processing buffer {"connection_id":162347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cea2508012d34c14006aa4818000700e62b..."} 
[2026-08-26 12:47:16] local.INFO: Packet analysis {"connection_id":162347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:47:16] local.INFO: Extracted packet for processing {"connection_id":162347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658386432001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787728373000,"timestamp_ms":1787728373000,"timestamp_seconds":1787728373,"priority":1,"record_length":96,"hex_timestamp":"000001a03cea2508"} 
[2026-08-26 12:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:47: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-26 12:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:47:16] 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-26 12:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:47: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-26 12:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658386432001,"66":25473,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658386432001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:47:16] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658386432001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":162347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:47:16] local.INFO: GPS data processed {"connection_id":162347,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:47:16] local.INFO: Acknowledgment sent {"connection_id":162347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:47:36] local.INFO: TCP Data received {"connection_id":162584,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:47:36] local.INFO: Processing buffer {"connection_id":162584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:47:36] local.INFO: IMEI packet received {"connection_id":162584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":162584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:47:37] local.INFO: TCP Data received {"connection_id":162585,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:47:37] local.INFO: Processing buffer {"connection_id":162585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:47:37] local.INFO: IMEI packet received {"connection_id":162585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":162585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:47:41] local.INFO: TCP Data received {"connection_id":162584,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:47:41] local.INFO: Processing buffer {"connection_id":162584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:47:41] local.INFO: IMEI packet received {"connection_id":162584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":162584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:47:42] local.INFO: TCP Data received {"connection_id":162584,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03cea9e20012d7e360005d34cf0000300b12a..."} 
[2026-08-26 12:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cea9e20012d7e360005d34cf0000300b12a..."} 
[2026-08-26 12:47:42] local.INFO: Processing buffer {"connection_id":162584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cea9e20012d7e360005d34cf0000300b12a..."} 
[2026-08-26 12:47:42] local.INFO: Packet analysis {"connection_id":162584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:47:42] local.INFO: Extracted packet for processing {"connection_id":162584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:47:42] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97733872,"longitude_deg":76.324608,"latitude_deg":9.7733872,"altitude":3,"angle":177,"satellites":42,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34cf0","is_valid_coordinates":true} 
[2026-08-26 12:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658471424001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124617260617695232,"note":"Value kept but may cause issues"} 
[2026-08-26 12:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541166592,"note":"Value kept but may cause issues"} 
[2026-08-26 12:47:42] 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-26 12:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787728404000,"timestamp_ms":1787728404000,"timestamp_seconds":1787728404,"priority":1,"record_length":96,"hex_timestamp":"000001a03cea9e20"} 
[2026-08-26 12:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5632,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-26 12:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1308,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658471424001,"66":10852,"24":0,"16":124617260617695232,"45":9094456522541166592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-26 12:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658471424001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124617260617695232,"km_value":124617260617695.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541166592,"description":"Unknown IO ID 45"} 
[2026-08-26 12:47:42] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457658471424001,"power":10852,"ignition":0,"odometer":null,"unknown_45":9094456522541166592}} 
[2026-08-26 12:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":162584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700409,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:47:42] local.INFO: GPS data processed {"connection_id":162584,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:47:42] local.INFO: Acknowledgment sent {"connection_id":162584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:47:44] local.INFO: TCP Data received {"connection_id":162585,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:47:44] local.INFO: Processing buffer {"connection_id":162585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:47:44] local.INFO: IMEI packet received {"connection_id":162585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":162585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:47:45] local.INFO: TCP Data received {"connection_id":162585,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03cea2508012d34c14006aa4818000700e62b..."} 
[2026-08-26 12:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cea2508012d34c14006aa4818000700e62b..."} 
[2026-08-26 12:47:45] local.INFO: Processing buffer {"connection_id":162585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cea2508012d34c14006aa4818000700e62b..."} 
[2026-08-26 12:47:45] local.INFO: Packet analysis {"connection_id":162585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:47:45] local.INFO: Extracted packet for processing {"connection_id":162585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658386432001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787728373000,"timestamp_ms":1787728373000,"timestamp_seconds":1787728373,"priority":1,"record_length":96,"hex_timestamp":"000001a03cea2508"} 
[2026-08-26 12:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:47: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-26 12:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:47:45] 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-26 12:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:47:45] 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-26 12:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658386432001,"66":25473,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658386432001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:47:45] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:47:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658386432001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":162585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:47:45] local.INFO: GPS data processed {"connection_id":162585,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:47:45] local.INFO: Acknowledgment sent {"connection_id":162585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:47:46] local.INFO: TCP Data received {"connection_id":162584,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03cea9e20012d7e360005d34cf0000300b12a..."} 
[2026-08-26 12:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cea9e20012d7e360005d34cf0000300b12a..."} 
[2026-08-26 12:47:46] local.INFO: Processing buffer {"connection_id":162584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cea9e20012d7e360005d34cf0000300b12a..."} 
[2026-08-26 12:47:46] local.INFO: Packet analysis {"connection_id":162584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:47:46] local.INFO: Extracted packet for processing {"connection_id":162584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:47:46] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97733872,"longitude_deg":76.324608,"latitude_deg":9.7733872,"altitude":3,"angle":177,"satellites":42,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34cf0","is_valid_coordinates":true} 
[2026-08-26 12:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658471424001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124617260617695232,"note":"Value kept but may cause issues"} 
[2026-08-26 12:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541166592,"note":"Value kept but may cause issues"} 
[2026-08-26 12:47:46] 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-26 12:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787728404000,"timestamp_ms":1787728404000,"timestamp_seconds":1787728404,"priority":1,"record_length":96,"hex_timestamp":"000001a03cea9e20"} 
[2026-08-26 12:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5632,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-26 12:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1308,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658471424001,"66":10852,"24":0,"16":124617260617695232,"45":9094456522541166592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-26 12:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658471424001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124617260617695232,"km_value":124617260617695.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541166592,"description":"Unknown IO ID 45"} 
[2026-08-26 12:47:46] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457658471424001,"power":10852,"ignition":0,"odometer":null,"unknown_45":9094456522541166592}} 
[2026-08-26 12:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":162584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:47:46] local.INFO: GPS data processed {"connection_id":162584,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:47:46] local.INFO: Acknowledgment sent {"connection_id":162584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:48:30] local.INFO: TCP Data received {"connection_id":162348,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:48:31] local.INFO: Processing buffer {"connection_id":162348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:48:31] local.INFO: IMEI packet received {"connection_id":162348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":162348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:48:36] local.INFO: TCP Data received {"connection_id":162348,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:48:36] local.INFO: Processing buffer {"connection_id":162348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:48:36] local.INFO: IMEI packet received {"connection_id":162348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":162348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:48:37] local.INFO: TCP Data received {"connection_id":162348,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03cea9e20012d7e360005d34cf0000300b12a..."} 
[2026-08-26 12:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cea9e20012d7e360005d34cf0000300b12a..."} 
[2026-08-26 12:48:37] local.INFO: Processing buffer {"connection_id":162348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cea9e20012d7e360005d34cf0000300b12a..."} 
[2026-08-26 12:48:37] local.INFO: Packet analysis {"connection_id":162348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:48:37] local.INFO: Extracted packet for processing {"connection_id":162348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:48:37] local.INFO: GPS Element Parsed {"raw_longitude":763246080,"raw_latitude":97733872,"longitude_deg":76.324608,"latitude_deg":9.7733872,"altitude":3,"angle":177,"satellites":42,"speed":0,"hex_longitude":"2d7e3600","hex_latitude":"05d34cf0","is_valid_coordinates":true} 
[2026-08-26 12:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658471424001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124617260617695232,"note":"Value kept but may cause issues"} 
[2026-08-26 12:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541166592,"note":"Value kept but may cause issues"} 
[2026-08-26 12:48:37] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-26 12:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787728404000,"timestamp_ms":1787728404000,"timestamp_seconds":1787728404,"priority":1,"record_length":96,"hex_timestamp":"000001a03cea9e20"} 
[2026-08-26 12: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-26 12:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5632,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12: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":42,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-26 12:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1308,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12: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-26 12: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-26 12:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":162348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":162348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":162348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658471424001,"66":10852,"24":0,"16":124617260617695232,"45":9094456522541166592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-26 12:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658471424001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124617260617695232,"km_value":124617260617695.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541166592,"description":"Unknown IO ID 45"} 
[2026-08-26 12:48:37] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457658471424001,"power":10852,"ignition":0,"odometer":null,"unknown_45":9094456522541166592}} 
[2026-08-26 12:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":162348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:48:37] local.INFO: GPS data processed {"connection_id":162348,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:48:37] local.INFO: Acknowledgment sent {"connection_id":162348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:48:52] local.INFO: TCP Data received {"connection_id":162585,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03cea2508012d34c14006aa4818000700e62b..."} 
[2026-08-26 12:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cea2508012d34c14006aa4818000700e62b..."} 
[2026-08-26 12:48:52] local.INFO: Processing buffer {"connection_id":162585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cea2508012d34c14006aa4818000700e62b..."} 
[2026-08-26 12:48:52] local.INFO: Packet analysis {"connection_id":162585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:48:52] local.INFO: Extracted packet for processing {"connection_id":162585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cea"} 
[2026-08-26 12:48:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658386432001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787728373000,"timestamp_ms":1787728373000,"timestamp_seconds":1787728373,"priority":1,"record_length":96,"hex_timestamp":"000001a03cea2508"} 
[2026-08-26 12: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-26 12:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 12:48:52] 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-26 12: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-26 12: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-26 12:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:48:52] 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-26 12:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658386432001,"66":25473,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658386432001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:48:52] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:48:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658386432001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":162585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:48:52] local.INFO: GPS data processed {"connection_id":162585,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:48:52] local.INFO: Acknowledgment sent {"connection_id":162585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:49:07] local.INFO: TCP Data received {"connection_id":162348,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:49:07] local.INFO: Processing buffer {"connection_id":162348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:49:07] local.INFO: Packet analysis {"connection_id":162348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cef"} 
[2026-08-26 12:49:07] local.INFO: Extracted packet for processing {"connection_id":162348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cef"} 
[2026-08-26 12:49:07] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":3,"angle":177,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658471424001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124617260617695232,"note":"Value kept but may cause issues"} 
[2026-08-26 12:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541166592,"note":"Value kept but may cause issues"} 
[2026-08-26 12:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787728744000,"timestamp_ms":1787728744000,"timestamp_seconds":1787728744,"priority":1,"record_length":96,"hex_timestamp":"000001a03cefce40"} 
[2026-08-26 12: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-26 12:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5632,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12: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":42,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-26 12:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1308,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12: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-26 12: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-26 12:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658471424001,"66":11852,"109":206,"85":15104,"24":0,"16":124617260617695232,"45":9094456522541166592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-26 12:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658471424001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:49:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-26 12:49:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124617260617695232,"km_value":124617260617695.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541166592,"description":"Unknown IO ID 45"} 
[2026-08-26 12:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658471424001,"power":11852,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541166592}} 
[2026-08-26 12:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":162348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:49:07] local.INFO: GPS data processed {"connection_id":162348,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:49:07] local.INFO: Acknowledgment sent {"connection_id":162348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:49:31] local.INFO: TCP Data received {"connection_id":164944,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:49:31] local.INFO: Processing buffer {"connection_id":164944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:49:31] local.INFO: IMEI packet received {"connection_id":164944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":164944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:49:36] local.INFO: TCP Data received {"connection_id":164944,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:49:36] local.INFO: Processing buffer {"connection_id":164944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:49:36] local.INFO: IMEI packet received {"connection_id":164944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":164944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:49:37] local.INFO: TCP Data received {"connection_id":164944,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:49:37] local.INFO: Processing buffer {"connection_id":164944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:49:37] local.INFO: Packet analysis {"connection_id":164944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cef"} 
[2026-08-26 12:49:37] local.INFO: Extracted packet for processing {"connection_id":164944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cef"} 
[2026-08-26 12:49:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":3,"angle":177,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-08-26 12:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658471424001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124617260617695232,"note":"Value kept but may cause issues"} 
[2026-08-26 12:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541166592,"note":"Value kept but may cause issues"} 
[2026-08-26 12:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787728744000,"timestamp_ms":1787728744000,"timestamp_seconds":1787728744,"priority":1,"record_length":96,"hex_timestamp":"000001a03cefce40"} 
[2026-08-26 12:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5632,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-26 12:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1308,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658471424001,"66":11852,"109":206,"85":15104,"24":0,"16":124617260617695232,"45":9094456522541166592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-26 12:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658471424001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:49:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-26 12:49:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124617260617695232,"km_value":124617260617695.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541166592,"description":"Unknown IO ID 45"} 
[2026-08-26 12:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658471424001,"power":11852,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541166592}} 
[2026-08-26 12:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":164944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:49:37] local.INFO: GPS data processed {"connection_id":164944,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:49:37] local.INFO: Acknowledgment sent {"connection_id":164944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:50:08] local.INFO: TCP Data received {"connection_id":164944,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:50:08] local.INFO: Processing buffer {"connection_id":164944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:50:08] local.INFO: Packet analysis {"connection_id":164944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cef"} 
[2026-08-26 12:50:08] local.INFO: Extracted packet for processing {"connection_id":164944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cef"} 
[2026-08-26 12:50:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":3,"angle":177,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658471424001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124617260617695232,"note":"Value kept but may cause issues"} 
[2026-08-26 12:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541166592,"note":"Value kept but may cause issues"} 
[2026-08-26 12:50: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-26 12:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787728744000,"timestamp_ms":1787728744000,"timestamp_seconds":1787728744,"priority":1,"record_length":96,"hex_timestamp":"000001a03cefce40"} 
[2026-08-26 12: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-26 12:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5632,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12: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":42,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-26 12:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1308,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12: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-26 12: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-26 12:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658471424001,"66":11852,"109":206,"85":15104,"24":0,"16":124617260617695232,"45":9094456522541166592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-26 12:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658471424001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:50:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-26 12:50:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124617260617695232,"km_value":124617260617695.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541166592,"description":"Unknown IO ID 45"} 
[2026-08-26 12:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658471424001,"power":11852,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541166592}} 
[2026-08-26 12:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":164944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:50:08] local.INFO: GPS data processed {"connection_id":164944,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:50:08] local.INFO: Acknowledgment sent {"connection_id":164944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:50:30] local.INFO: TCP Data received {"connection_id":163606,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:50:31] local.INFO: Processing buffer {"connection_id":163606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:50:31] local.INFO: IMEI packet received {"connection_id":163606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":163606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:50:36] local.INFO: TCP Data received {"connection_id":163606,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:50:36] local.INFO: Processing buffer {"connection_id":163606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:50:36] local.INFO: IMEI packet received {"connection_id":163606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":163606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:50:37] local.INFO: TCP Data received {"connection_id":163606,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:50:37] local.INFO: Processing buffer {"connection_id":163606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:50:37] local.INFO: Packet analysis {"connection_id":163606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cef"} 
[2026-08-26 12:50:37] local.INFO: Extracted packet for processing {"connection_id":163606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cef"} 
[2026-08-26 12:50:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":3,"angle":177,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658471424001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124617260617695232,"note":"Value kept but may cause issues"} 
[2026-08-26 12:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541166592,"note":"Value kept but may cause issues"} 
[2026-08-26 12:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787728744000,"timestamp_ms":1787728744000,"timestamp_seconds":1787728744,"priority":1,"record_length":96,"hex_timestamp":"000001a03cefce40"} 
[2026-08-26 12: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-26 12:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5632,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12: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":42,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-26 12:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1308,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12: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-26 12: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-26 12:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658471424001,"66":11852,"109":206,"85":15104,"24":0,"16":124617260617695232,"45":9094456522541166592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-26 12:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658471424001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:50:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-26 12:50:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124617260617695232,"km_value":124617260617695.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541166592,"description":"Unknown IO ID 45"} 
[2026-08-26 12:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658471424001,"power":11852,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541166592}} 
[2026-08-26 12:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":163606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:50:37] local.INFO: GPS data processed {"connection_id":163606,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:50:37] local.INFO: Acknowledgment sent {"connection_id":163606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:51:08] local.INFO: TCP Data received {"connection_id":163606,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:51:08] local.INFO: Processing buffer {"connection_id":163606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:51:08] local.INFO: Packet analysis {"connection_id":163606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cef"} 
[2026-08-26 12:51:08] local.INFO: Extracted packet for processing {"connection_id":163606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cef"} 
[2026-08-26 12:51:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":3,"angle":177,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-08-26 12:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658471424001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124617260617695232,"note":"Value kept but may cause issues"} 
[2026-08-26 12:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541166592,"note":"Value kept but may cause issues"} 
[2026-08-26 12:51: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-26 12:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787728744000,"timestamp_ms":1787728744000,"timestamp_seconds":1787728744,"priority":1,"record_length":96,"hex_timestamp":"000001a03cefce40"} 
[2026-08-26 12:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5632,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-26 12:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1308,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658471424001,"66":11852,"109":206,"85":15104,"24":0,"16":124617260617695232,"45":9094456522541166592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-26 12:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658471424001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:51:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-26 12:51:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124617260617695232,"km_value":124617260617695.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541166592,"description":"Unknown IO ID 45"} 
[2026-08-26 12:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658471424001,"power":11852,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541166592}} 
[2026-08-26 12:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":163606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:51:08] local.INFO: GPS data processed {"connection_id":163606,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:51:08] local.INFO: Acknowledgment sent {"connection_id":163606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:51:30] local.INFO: TCP Data received {"connection_id":162349,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:51:31] local.INFO: Processing buffer {"connection_id":162349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:51:31] local.INFO: IMEI packet received {"connection_id":162349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":162349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:51:36] local.INFO: TCP Data received {"connection_id":162349,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:51:36] local.INFO: Processing buffer {"connection_id":162349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:51:36] local.INFO: IMEI packet received {"connection_id":162349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":162349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:51:37] local.INFO: TCP Data received {"connection_id":162349,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:51:37] local.INFO: Processing buffer {"connection_id":162349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:51:37] local.INFO: Packet analysis {"connection_id":162349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cef"} 
[2026-08-26 12:51:37] local.INFO: Extracted packet for processing {"connection_id":162349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cef"} 
[2026-08-26 12:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":3,"angle":177,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658471424001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124617260617695232,"note":"Value kept but may cause issues"} 
[2026-08-26 12:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541166592,"note":"Value kept but may cause issues"} 
[2026-08-26 12:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787728744000,"timestamp_ms":1787728744000,"timestamp_seconds":1787728744,"priority":1,"record_length":96,"hex_timestamp":"000001a03cefce40"} 
[2026-08-26 12: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-26 12:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5632,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12: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":42,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-26 12:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1308,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12: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-26 12: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-26 12:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":162349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":162349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":162349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658471424001,"66":11852,"109":206,"85":15104,"24":0,"16":124617260617695232,"45":9094456522541166592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-26 12:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658471424001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:51:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-26 12:51:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124617260617695232,"km_value":124617260617695.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541166592,"description":"Unknown IO ID 45"} 
[2026-08-26 12:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658471424001,"power":11852,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541166592}} 
[2026-08-26 12:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":162349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:51:37] local.INFO: GPS data processed {"connection_id":162349,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:51:37] local.INFO: Acknowledgment sent {"connection_id":162349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:51:42] local.INFO: TCP Data received {"connection_id":162586,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:51:42] local.INFO: Processing buffer {"connection_id":162586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:51:42] local.INFO: IMEI packet received {"connection_id":162586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":162586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:51:47] local.INFO: TCP Data received {"connection_id":162586,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:51:47] local.INFO: Processing buffer {"connection_id":162586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:51:47] local.INFO: IMEI packet received {"connection_id":162586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":162586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:51:53] local.INFO: TCP Data received {"connection_id":163605,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:51:53] local.INFO: Processing buffer {"connection_id":163605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:51:53] local.INFO: IMEI packet received {"connection_id":163605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 12:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":163605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:51:53] local.INFO: TCP Data received {"connection_id":162586,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03ceebcd0012d34c14006aa4818000300e62c..."} 
[2026-08-26 12:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ceebcd0012d34c14006aa4818000300e62c..."} 
[2026-08-26 12:51:53] local.INFO: Processing buffer {"connection_id":162586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ceebcd0012d34c14006aa4818000300e62c..."} 
[2026-08-26 12:51:53] local.INFO: Packet analysis {"connection_id":162586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cee"} 
[2026-08-26 12:51:53] local.INFO: Extracted packet for processing {"connection_id":162586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cee"} 
[2026-08-26 12:51:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 12:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658463488001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787728674000,"timestamp_ms":1787728674000,"timestamp_seconds":1787728674,"priority":1,"record_length":96,"hex_timestamp":"000001a03ceebcd0"} 
[2026-08-26 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-26 12:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 12:51:53] 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-26 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-26 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-26 12:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:51:53] 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-26 12:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658463488001,"66":25473,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658463488001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:51:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:51:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658463488001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":162586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:51:53] local.INFO: GPS data processed {"connection_id":162586,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:51:53] local.INFO: Acknowledgment sent {"connection_id":162586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:52:08] local.INFO: TCP Data received {"connection_id":162349,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:52:08] local.INFO: Processing buffer {"connection_id":162349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:52:08] local.INFO: Packet analysis {"connection_id":162349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cef"} 
[2026-08-26 12:52:08] local.INFO: Extracted packet for processing {"connection_id":162349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cef"} 
[2026-08-26 12:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":3,"angle":177,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-08-26 12:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658471424001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124617260617695232,"note":"Value kept but may cause issues"} 
[2026-08-26 12:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541166592,"note":"Value kept but may cause issues"} 
[2026-08-26 12:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787728744000,"timestamp_ms":1787728744000,"timestamp_seconds":1787728744,"priority":1,"record_length":96,"hex_timestamp":"000001a03cefce40"} 
[2026-08-26 12:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5632,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-26 12:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1308,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":162349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":162349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":162349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658471424001,"66":11852,"109":206,"85":15104,"24":0,"16":124617260617695232,"45":9094456522541166592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-26 12:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658471424001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:52:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-26 12:52:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124617260617695232,"km_value":124617260617695.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541166592,"description":"Unknown IO ID 45"} 
[2026-08-26 12:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658471424001,"power":11852,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541166592}} 
[2026-08-26 12:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":162349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:52:08] local.INFO: GPS data processed {"connection_id":162349,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:52:08] local.INFO: Acknowledgment sent {"connection_id":162349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:52:30] local.INFO: TCP Data received {"connection_id":164945,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:52:30] local.INFO: Processing buffer {"connection_id":164945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:52:30] local.INFO: IMEI packet received {"connection_id":164945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-26 12:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":164945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:52:36] local.INFO: TCP Data received {"connection_id":164945,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164945,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:52:36] local.INFO: Processing buffer {"connection_id":164945,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-26 12:52:36] local.INFO: IMEI packet received {"connection_id":164945,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-26 12:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":164945,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:52:37] local.INFO: TCP Data received {"connection_id":164945,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:52:37] local.INFO: Processing buffer {"connection_id":164945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:52:37] local.INFO: Packet analysis {"connection_id":164945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cef"} 
[2026-08-26 12:52:37] local.INFO: Extracted packet for processing {"connection_id":164945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cef"} 
[2026-08-26 12:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":3,"angle":177,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-08-26 12:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658471424001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124617260617695232,"note":"Value kept but may cause issues"} 
[2026-08-26 12:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541166592,"note":"Value kept but may cause issues"} 
[2026-08-26 12:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787728744000,"timestamp_ms":1787728744000,"timestamp_seconds":1787728744,"priority":1,"record_length":96,"hex_timestamp":"000001a03cefce40"} 
[2026-08-26 12:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5632,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-26 12:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1308,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658471424001,"66":11852,"109":206,"85":15104,"24":0,"16":124617260617695232,"45":9094456522541166592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-26 12:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658471424001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:52:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-26 12:52:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124617260617695232,"km_value":124617260617695.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541166592,"description":"Unknown IO ID 45"} 
[2026-08-26 12:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658471424001,"power":11852,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541166592}} 
[2026-08-26 12:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":164945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:52:37] local.INFO: GPS data processed {"connection_id":164945,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:52:37] local.INFO: Acknowledgment sent {"connection_id":164945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:52:37] local.INFO: TCP Data received {"connection_id":163608,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:52:37] local.INFO: Processing buffer {"connection_id":163608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:52:37] local.INFO: IMEI packet received {"connection_id":163608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":163608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:52:42] local.INFO: TCP Data received {"connection_id":163608,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:52:42] local.INFO: Processing buffer {"connection_id":163608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:52:42] local.INFO: IMEI packet received {"connection_id":163608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":163608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:52:44] local.INFO: TCP Data received {"connection_id":163608,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03ceebcd0012d34c14006aa4818000300e62c..."} 
[2026-08-26 12:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ceebcd0012d34c14006aa4818000300e62c..."} 
[2026-08-26 12:52:44] local.INFO: Processing buffer {"connection_id":163608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ceebcd0012d34c14006aa4818000300e62c..."} 
[2026-08-26 12:52:44] local.INFO: Packet analysis {"connection_id":163608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cee"} 
[2026-08-26 12:52:44] local.INFO: Extracted packet for processing {"connection_id":163608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cee"} 
[2026-08-26 12:52:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658463488001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787728674000,"timestamp_ms":1787728674000,"timestamp_seconds":1787728674,"priority":1,"record_length":96,"hex_timestamp":"000001a03ceebcd0"} 
[2026-08-26 12: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-26 12:52: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-26 12: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 12:52: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-26 12: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-26 12: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-26 12:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:52:44] 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-26 12:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658463488001,"66":25473,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658463488001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:52:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:52:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658463488001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":163608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:52:44] local.INFO: GPS data processed {"connection_id":163608,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:52:44] local.INFO: Acknowledgment sent {"connection_id":163608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:53:08] local.INFO: TCP Data received {"connection_id":164945,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:53:08] local.INFO: Processing buffer {"connection_id":164945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cefce40012d7e380005d34cc0000300b12c..."} 
[2026-08-26 12:53:08] local.INFO: Packet analysis {"connection_id":164945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cef"} 
[2026-08-26 12:53:08] local.INFO: Extracted packet for processing {"connection_id":164945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cef"} 
[2026-08-26 12:53:08] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733824,"longitude_deg":76.3246592,"latitude_deg":9.7733824,"altitude":3,"angle":177,"satellites":44,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cc0","is_valid_coordinates":true} 
[2026-08-26 12:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658471424001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124617260617695232,"note":"Value kept but may cause issues"} 
[2026-08-26 12:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094456522541166592,"note":"Value kept but may cause issues"} 
[2026-08-26 12:53: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-26 12:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787728744000,"timestamp_ms":1787728744000,"timestamp_seconds":1787728744,"priority":1,"record_length":96,"hex_timestamp":"000001a03cefce40"} 
[2026-08-26 12:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5632,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 12:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-26 12:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1308,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 12:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164945,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-26 12:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 12:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-26 12:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-26 12:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658471424001,"66":11852,"109":206,"85":15104,"24":0,"16":124617260617695232,"45":9094456522541166592},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-26 12:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-26 12:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-26 12:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658471424001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:53:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-26 12:53:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-26 12:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124617260617695232,"km_value":124617260617695.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094456522541166592,"description":"Unknown IO ID 45"} 
[2026-08-26 12:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658471424001,"power":11852,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9094456522541166592}} 
[2026-08-26 12:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":164945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:53:08] local.INFO: GPS data processed {"connection_id":164945,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:53:08] local.INFO: Acknowledgment sent {"connection_id":164945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:53:15] local.INFO: TCP Data received {"connection_id":163608,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03ceebcd0012d34c14006aa4818000300e62c..."} 
[2026-08-26 12:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ceebcd0012d34c14006aa4818000300e62c..."} 
[2026-08-26 12:53:15] local.INFO: Processing buffer {"connection_id":163608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ceebcd0012d34c14006aa4818000300e62c..."} 
[2026-08-26 12:53:15] local.INFO: Packet analysis {"connection_id":163608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cee"} 
[2026-08-26 12:53:15] local.INFO: Extracted packet for processing {"connection_id":163608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cee"} 
[2026-08-26 12:53:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658463488001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787728674000,"timestamp_ms":1787728674000,"timestamp_seconds":1787728674,"priority":1,"record_length":96,"hex_timestamp":"000001a03ceebcd0"} 
[2026-08-26 12: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-26 12:53: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-26 12: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":129,"data_length":795,"current_offset":136} 
[2026-08-26 12:53:15] 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-26 12: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-26 12: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-26 12:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:53:15] 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-26 12:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658463488001,"66":25473,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658463488001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:53:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:53:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658463488001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":163608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:53:15] local.INFO: GPS data processed {"connection_id":163608,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:53:15] local.INFO: Acknowledgment sent {"connection_id":163608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:53:37] local.INFO: TCP Data received {"connection_id":163609,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:53:37] local.INFO: Processing buffer {"connection_id":163609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:53:37] local.INFO: IMEI packet received {"connection_id":163609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":163609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:53:43] local.INFO: TCP Data received {"connection_id":163609,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:53:43] local.INFO: Processing buffer {"connection_id":163609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:53:43] local.INFO: IMEI packet received {"connection_id":163609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":163609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:53:44] local.INFO: TCP Data received {"connection_id":163609,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03cf35498012d34c14006aa4818000800e62e..."} 
[2026-08-26 12:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cf35498012d34c14006aa4818000800e62e..."} 
[2026-08-26 12:53:44] local.INFO: Processing buffer {"connection_id":163609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cf35498012d34c14006aa4818000800e62e..."} 
[2026-08-26 12:53:44] local.INFO: Packet analysis {"connection_id":163609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cf3"} 
[2026-08-26 12:53:44] local.INFO: Extracted packet for processing {"connection_id":163609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cf3"} 
[2026-08-26 12:53:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658540544001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787728975000,"timestamp_ms":1787728975000,"timestamp_seconds":1787728975,"priority":1,"record_length":96,"hex_timestamp":"000001a03cf35498"} 
[2026-08-26 12: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-26 12:53: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-26 12: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 12:53: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-26 12: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-26 12: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-26 12:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:53:44] 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-26 12:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658540544001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658540544001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:53:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:53:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658540544001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":163609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:53:44] local.INFO: GPS data processed {"connection_id":163609,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:53:44] local.INFO: Acknowledgment sent {"connection_id":163609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:54:16] local.INFO: TCP Data received {"connection_id":163609,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03cf35498012d34c14006aa4818000800e62e..."} 
[2026-08-26 12:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cf35498012d34c14006aa4818000800e62e..."} 
[2026-08-26 12:54:16] local.INFO: Processing buffer {"connection_id":163609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cf35498012d34c14006aa4818000800e62e..."} 
[2026-08-26 12:54:16] local.INFO: Packet analysis {"connection_id":163609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cf3"} 
[2026-08-26 12:54:16] local.INFO: Extracted packet for processing {"connection_id":163609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cf3"} 
[2026-08-26 12:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12: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-26 12:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658540544001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787728975000,"timestamp_ms":1787728975000,"timestamp_seconds":1787728975,"priority":1,"record_length":96,"hex_timestamp":"000001a03cf35498"} 
[2026-08-26 12: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-26 12:54: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-26 12: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 12:54:16] 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-26 12:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12: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-26 12:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:54: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-26 12:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658540544001,"66":25441,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658540544001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:54:16] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:54:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658540544001,"power":25441,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":163609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:54:16] local.INFO: GPS data processed {"connection_id":163609,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:54:16] local.INFO: Acknowledgment sent {"connection_id":163609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:54:41] local.INFO: TCP Data received {"connection_id":162587,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:54:41] local.INFO: Processing buffer {"connection_id":162587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:54:41] local.INFO: IMEI packet received {"connection_id":162587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":162587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:54:56] local.INFO: TCP Data received {"connection_id":162587,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:54:56] local.INFO: Processing buffer {"connection_id":162587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:54:56] local.INFO: IMEI packet received {"connection_id":162587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":162587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:55:23] local.INFO: TCP Data received {"connection_id":162587,"ip":"42.106.6.30","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-26 12:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162587,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-26 12:55:23] local.INFO: Processing buffer {"connection_id":162587,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-26 12:55:23] local.INFO: IMEI packet received {"connection_id":162587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 12:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":162587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 12:57:27] local.INFO: TCP Data received {"connection_id":164946,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:57:27] local.INFO: Processing buffer {"connection_id":164946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:57:27] local.INFO: IMEI packet received {"connection_id":164946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 12:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":164946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:57:56] local.INFO: TCP Data received {"connection_id":162590,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 12:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162590,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 12:57:56] local.INFO: Processing buffer {"connection_id":162590,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 12:57:56] local.INFO: Packet analysis {"connection_id":162590,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 12:57:56] local.INFO: Extracted packet for processing {"connection_id":162590,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 12:57:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-26 12:57:56] 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-26 12:57:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-26 12:57:56] 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-26 12:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-26 12:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-26 12:57:56] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162590,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-26 12:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162590,"device_imei":null,"avl_records_count":1} 
[2026-08-26 12:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162590,"device_imei":null,"avl_records_count":1} 
[2026-08-26 12:57:56] 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-26 12:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":162590,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-26 12:57:56] local.INFO: GPS data processed {"connection_id":162590,"processed":0,"errors":0,"total":1} 
[2026-08-26 12:57:56] local.INFO: Acknowledgment sent {"connection_id":162590,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:58:02] local.INFO: TCP Data received {"connection_id":162591,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:58:02] local.INFO: Processing buffer {"connection_id":162591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 12:58:02] local.INFO: IMEI packet received {"connection_id":162591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 12:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":162591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:58:03] local.INFO: TCP Data received {"connection_id":162592,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 12:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162592,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 12:58:03] local.INFO: Processing buffer {"connection_id":162592,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 12:58:03] local.INFO: Packet analysis {"connection_id":162592,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 12:58:03] local.INFO: Extracted packet for processing {"connection_id":162592,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 12:58:03] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-26 12:58:03] 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-26 12:58:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-26 12:58:03] 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-26 12:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-26 12:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-26 12:58:03] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":162592,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-26 12:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":162592,"device_imei":null,"avl_records_count":1} 
[2026-08-26 12:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":162592,"device_imei":null,"avl_records_count":1} 
[2026-08-26 12:58:03] 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-26 12:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":162592,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-26 12:58:03] local.INFO: GPS data processed {"connection_id":162592,"processed":0,"errors":0,"total":1} 
[2026-08-26 12:58:03] local.INFO: Acknowledgment sent {"connection_id":162592,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:58:07] local.INFO: TCP Data received {"connection_id":162351,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 12:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162351,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 12:58:07] local.INFO: Processing buffer {"connection_id":162351,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 12:58:07] local.INFO: Packet analysis {"connection_id":162351,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 12:58:07] local.INFO: Extracted packet for processing {"connection_id":162351,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 12:58:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-26 12:58:07] 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-26 12:58:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-26 12:58:07] 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-26 12:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-26 12:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-26 12:58:07] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162351,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-26 12:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162351,"device_imei":null,"avl_records_count":1} 
[2026-08-26 12:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162351,"device_imei":null,"avl_records_count":1} 
[2026-08-26 12:58:07] 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-26 12:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":162351,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-26 12:58:07] local.INFO: GPS data processed {"connection_id":162351,"processed":0,"errors":0,"total":1} 
[2026-08-26 12:58:07] local.INFO: Acknowledgment sent {"connection_id":162351,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:58:08] local.INFO: TCP Data received {"connection_id":164947,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 12:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164947,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 12:58:08] local.INFO: Processing buffer {"connection_id":164947,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 12:58:08] local.INFO: Packet analysis {"connection_id":164947,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 12:58:08] local.INFO: Extracted packet for processing {"connection_id":164947,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 12:58: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-26 12:58:08] 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-26 12:58:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-26 12:58:08] 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-26 12:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-26 12:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-26 12:58:08] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164947,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-26 12:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164947,"device_imei":null,"avl_records_count":1} 
[2026-08-26 12:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164947,"device_imei":null,"avl_records_count":1} 
[2026-08-26 12:58:08] 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-26 12:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":164947,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-26 12:58:08] local.INFO: GPS data processed {"connection_id":164947,"processed":0,"errors":0,"total":1} 
[2026-08-26 12:58:08] local.INFO: Acknowledgment sent {"connection_id":164947,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:58:13] local.INFO: TCP Data received {"connection_id":164948,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 12:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164948,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 12:58:13] local.INFO: Processing buffer {"connection_id":164948,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 12:58:13] local.INFO: Packet analysis {"connection_id":164948,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 12:58:13] local.INFO: Extracted packet for processing {"connection_id":164948,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 12:58: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-26 12:58:13] 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-26 12:58:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-26 12:58:13] 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-26 12:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-26 12:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-26 12:58:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164948,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-26 12:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164948,"device_imei":null,"avl_records_count":1} 
[2026-08-26 12:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164948,"device_imei":null,"avl_records_count":1} 
[2026-08-26 12:58:13] 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-26 12:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":164948,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-26 12:58:13] local.INFO: GPS data processed {"connection_id":164948,"processed":0,"errors":0,"total":1} 
[2026-08-26 12:58:13] local.INFO: Acknowledgment sent {"connection_id":164948,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:58:25] local.INFO: TCP Data received {"connection_id":163610,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 12:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163610,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 12:58:25] local.INFO: Processing buffer {"connection_id":163610,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 12:58:25] local.INFO: Packet analysis {"connection_id":163610,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 12:58:25] local.INFO: Extracted packet for processing {"connection_id":163610,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 12:58:25] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-26 12:58:25] 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-26 12:58:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-26 12:58:25] 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-26 12:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-26 12:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-26 12:58:25] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163610,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-26 12:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163610,"device_imei":null,"avl_records_count":1} 
[2026-08-26 12:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163610,"device_imei":null,"avl_records_count":1} 
[2026-08-26 12:58:25] 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-26 12:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":163610,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-26 12:58:25] local.INFO: GPS data processed {"connection_id":163610,"processed":0,"errors":0,"total":1} 
[2026-08-26 12:58:25] local.INFO: Acknowledgment sent {"connection_id":163610,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 12:59:57] local.INFO: TCP Data received {"connection_id":163612,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:59:57] local.INFO: Processing buffer {"connection_id":163612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 12:59:57] local.INFO: IMEI packet received {"connection_id":163612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 12:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":163612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 12:59:58] local.INFO: TCP Data received {"connection_id":163612,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03cf7ec60012d34c14006aa4818000500e62d..."} 
[2026-08-26 12:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cf7ec60012d34c14006aa4818000500e62d..."} 
[2026-08-26 12:59:58] local.INFO: Processing buffer {"connection_id":163612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cf7ec60012d34c14006aa4818000500e62d..."} 
[2026-08-26 12:59:58] local.INFO: Packet analysis {"connection_id":163612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cf7"} 
[2026-08-26 12:59:58] local.INFO: Extracted packet for processing {"connection_id":163612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cf7"} 
[2026-08-26 12:59:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 12:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 12:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658617600001,"note":"Value kept but may cause issues"} 
[2026-08-26 12:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 12:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 12:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 12:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787729276000,"timestamp_ms":1787729276000,"timestamp_seconds":1787729276,"priority":1,"record_length":96,"hex_timestamp":"000001a03cf7ec60"} 
[2026-08-26 12:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 12:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 12:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 12:59:58] 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-26 12:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 12:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 12:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 12:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 12:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 12:59:58] 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-26 12:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 12:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 12:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658617600001,"66":25473,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 12:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 12:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 12:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658617600001,"description":"Unknown IO ID 0"} 
[2026-08-26 12:59:58] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 12:59:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 12:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 12:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 12:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658617600001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 12:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":163612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 12:59:58] local.INFO: GPS data processed {"connection_id":163612,"processed":1,"errors":0,"total":1} 
[2026-08-26 12:59:58] local.INFO: Acknowledgment sent {"connection_id":163612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:00:37] local.INFO: TCP Data received {"connection_id":162352,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:00:37] local.INFO: Processing buffer {"connection_id":162352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:00:37] local.INFO: IMEI packet received {"connection_id":162352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":162352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:00:48] local.INFO: TCP Data received {"connection_id":162352,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:00:48] local.INFO: Processing buffer {"connection_id":162352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:00:48] local.INFO: IMEI packet received {"connection_id":162352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":162352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:00:58] local.INFO: TCP Data received {"connection_id":162352,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03cf7ec60012d34c14006aa4818000500e62d..."} 
[2026-08-26 13:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cf7ec60012d34c14006aa4818000500e62d..."} 
[2026-08-26 13:00:58] local.INFO: Processing buffer {"connection_id":162352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cf7ec60012d34c14006aa4818000500e62d..."} 
[2026-08-26 13:00:58] local.INFO: Packet analysis {"connection_id":162352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cf7"} 
[2026-08-26 13:00:58] local.INFO: Extracted packet for processing {"connection_id":162352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cf7"} 
[2026-08-26 13:00:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658617600001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 13:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787729276000,"timestamp_ms":1787729276000,"timestamp_seconds":1787729276,"priority":1,"record_length":96,"hex_timestamp":"000001a03cf7ec60"} 
[2026-08-26 13: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-26 13:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 13:00:58] 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-26 13: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-26 13: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-26 13:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 13:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658617600001,"66":25473,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 13:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658617600001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:00:58] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 13:00:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658617600001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":162352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:00:58] local.INFO: GPS data processed {"connection_id":162352,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:00:58] local.INFO: Acknowledgment sent {"connection_id":162352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:01:42] local.INFO: TCP Data received {"connection_id":164950,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:01:42] local.INFO: Processing buffer {"connection_id":164950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:01:42] local.INFO: IMEI packet received {"connection_id":164950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":164950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:01:47] local.INFO: TCP Data received {"connection_id":164950,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:01:47] local.INFO: Processing buffer {"connection_id":164950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:01:47] local.INFO: IMEI packet received {"connection_id":164950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":164950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:01:53] local.INFO: TCP Data received {"connection_id":164950,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03cf7ec60012d34c14006aa4818000500e62d..."} 
[2026-08-26 13:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cf7ec60012d34c14006aa4818000500e62d..."} 
[2026-08-26 13:01:53] local.INFO: Processing buffer {"connection_id":164950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cf7ec60012d34c14006aa4818000500e62d..."} 
[2026-08-26 13:01:53] local.INFO: Packet analysis {"connection_id":164950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cf7"} 
[2026-08-26 13:01:53] local.INFO: Extracted packet for processing {"connection_id":164950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cf7"} 
[2026-08-26 13:01:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658617600001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 13:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787729276000,"timestamp_ms":1787729276000,"timestamp_seconds":1787729276,"priority":1,"record_length":96,"hex_timestamp":"000001a03cf7ec60"} 
[2026-08-26 13: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-26 13:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 13:01:53] 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-26 13: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-26 13: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-26 13:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:01:53] 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-26 13:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658617600001,"66":25473,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 13:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658617600001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:01:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 13:01:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658617600001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":164950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:01:53] local.INFO: GPS data processed {"connection_id":164950,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:01:53] local.INFO: Acknowledgment sent {"connection_id":164950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:02:42] local.INFO: TCP Data received {"connection_id":163613,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:02:42] local.INFO: Processing buffer {"connection_id":163613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:02:42] local.INFO: IMEI packet received {"connection_id":163613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":163613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:02:52] local.INFO: TCP Data received {"connection_id":163613,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:02:52] local.INFO: Processing buffer {"connection_id":163613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:02:52] local.INFO: IMEI packet received {"connection_id":163613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":163613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:02:53] local.INFO: TCP Data received {"connection_id":163613,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:02:53] local.INFO: Processing buffer {"connection_id":163613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:02:53] local.INFO: IMEI packet received {"connection_id":163613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":163613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:03:18] local.INFO: TCP Data received {"connection_id":162353,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162353,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:03:18] local.INFO: Processing buffer {"connection_id":162353,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:03:18] local.INFO: IMEI packet received {"connection_id":162353,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 13:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":162353,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:04:00] local.INFO: TCP Data received {"connection_id":163613,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03cf7ec60012d34c14006aa4818000500e62d..."} 
[2026-08-26 13:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cf7ec60012d34c14006aa4818000500e62d..."} 
[2026-08-26 13:04:00] local.INFO: Processing buffer {"connection_id":163613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cf7ec60012d34c14006aa4818000500e62d..."} 
[2026-08-26 13:04:00] local.INFO: Packet analysis {"connection_id":163613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cf7"} 
[2026-08-26 13:04:00] local.INFO: Extracted packet for processing {"connection_id":163613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cf7"} 
[2026-08-26 13:04:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658617600001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:04:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 13:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787729276000,"timestamp_ms":1787729276000,"timestamp_seconds":1787729276,"priority":1,"record_length":96,"hex_timestamp":"000001a03cf7ec60"} 
[2026-08-26 13:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 13:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 13:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 13:04:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 13:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658617600001,"66":25473,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 13:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658617600001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:04:00] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 13:04:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658617600001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":163613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:04:00] local.INFO: GPS data processed {"connection_id":163613,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:04:00] local.INFO: Acknowledgment sent {"connection_id":163613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:08:52] local.INFO: TCP Data received {"connection_id":162354,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:08:52] local.INFO: Processing buffer {"connection_id":162354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:08:52] local.INFO: IMEI packet received {"connection_id":162354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 13:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":162354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:10:37] local.INFO: TCP Data received {"connection_id":162357,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:10:37] local.INFO: Processing buffer {"connection_id":162357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:10:37] local.INFO: IMEI packet received {"connection_id":162357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":162357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:10:42] local.INFO: TCP Data received {"connection_id":162357,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:10:42] local.INFO: Processing buffer {"connection_id":162357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:10:42] local.INFO: IMEI packet received {"connection_id":162357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":162357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:10:43] local.INFO: TCP Data received {"connection_id":162357,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03cfc8428012d34c14006aa4818000700e62d..."} 
[2026-08-26 13:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03cfc8428012d34c14006aa4818000700e62d..."} 
[2026-08-26 13:10:43] local.INFO: Processing buffer {"connection_id":162357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03cfc8428012d34c14006aa4818000700e62d..."} 
[2026-08-26 13:10:43] local.INFO: Packet analysis {"connection_id":162357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03cfc"} 
[2026-08-26 13:10:43] local.INFO: Extracted packet for processing {"connection_id":162357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03cfc"} 
[2026-08-26 13:10:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658694656001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 13:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787729577000,"timestamp_ms":1787729577000,"timestamp_seconds":1787729577,"priority":1,"record_length":96,"hex_timestamp":"000001a03cfc8428"} 
[2026-08-26 13: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-26 13: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-26 13: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:10: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-26 13: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-26 13: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-26 13:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:10:43] 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-26 13:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658694656001,"66":25473,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 13:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658694656001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:10:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 13:10:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658694656001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":162357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:10:43] local.INFO: GPS data processed {"connection_id":162357,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:10:43] local.INFO: Acknowledgment sent {"connection_id":162357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:10:49] local.INFO: TCP Data received {"connection_id":162357,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03d011bf0012d34c14006aa4818000700e62c..."} 
[2026-08-26 13:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d011bf0012d34c14006aa4818000700e62c..."} 
[2026-08-26 13:10:49] local.INFO: Processing buffer {"connection_id":162357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d011bf0012d34c14006aa4818000700e62c..."} 
[2026-08-26 13:10:49] local.INFO: Packet analysis {"connection_id":162357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d01"} 
[2026-08-26 13:10:49] local.INFO: Extracted packet for processing {"connection_id":162357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d01"} 
[2026-08-26 13:10:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658771712001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 13:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787729878000,"timestamp_ms":1787729878000,"timestamp_seconds":1787729878,"priority":1,"record_length":96,"hex_timestamp":"000001a03d011bf0"} 
[2026-08-26 13:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:10:49] 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-26 13:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:10:49] 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-26 13:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658771712001,"66":25473,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 13:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658771712001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:10:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 13:10:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658771712001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":162357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:10:49] local.INFO: GPS data processed {"connection_id":162357,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:10:49] local.INFO: Acknowledgment sent {"connection_id":162357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:11:20] local.INFO: TCP Data received {"connection_id":162357,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03d011bf0012d34c14006aa4818000700e62c..."} 
[2026-08-26 13:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d011bf0012d34c14006aa4818000700e62c..."} 
[2026-08-26 13:11:20] local.INFO: Processing buffer {"connection_id":162357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d011bf0012d34c14006aa4818000700e62c..."} 
[2026-08-26 13:11:20] local.INFO: Packet analysis {"connection_id":162357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d01"} 
[2026-08-26 13:11:20] local.INFO: Extracted packet for processing {"connection_id":162357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d01"} 
[2026-08-26 13:11:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658771712001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 13:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787729878000,"timestamp_ms":1787729878000,"timestamp_seconds":1787729878,"priority":1,"record_length":96,"hex_timestamp":"000001a03d011bf0"} 
[2026-08-26 13:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:11:20] 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-26 13:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:11:20] 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-26 13:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658771712001,"66":25473,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 13:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658771712001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:11:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 13:11:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658771712001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":162357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:11:20] local.INFO: GPS data processed {"connection_id":162357,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:11:20] local.INFO: Acknowledgment sent {"connection_id":162357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:12:48] local.INFO: TCP Data received {"connection_id":162358,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:12:48] local.INFO: Processing buffer {"connection_id":162358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:12:48] local.INFO: IMEI packet received {"connection_id":162358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":162358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:12:52] local.INFO: TCP Data received {"connection_id":162358,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:12:52] local.INFO: Processing buffer {"connection_id":162358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:12:52] local.INFO: IMEI packet received {"connection_id":162358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":162358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:12:59] local.INFO: TCP Data received {"connection_id":162358,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a03d011bf0012d34c14006aa4818000700e62c..."} 
[2026-08-26 13:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d011bf0012d34c14006aa4818000700e62c..."} 
[2026-08-26 13:12:59] local.INFO: Processing buffer {"connection_id":162358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d011bf0012d34c14006aa4818000700e62c..."} 
[2026-08-26 13:12:59] local.INFO: Packet analysis {"connection_id":162358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d01"} 
[2026-08-26 13:12:59] local.INFO: Extracted packet for processing {"connection_id":162358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d01"} 
[2026-08-26 13:12:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658771712001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 13:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787729878000,"timestamp_ms":1787729878000,"timestamp_seconds":1787729878,"priority":1,"record_length":96,"hex_timestamp":"000001a03d011bf0"} 
[2026-08-26 13:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 13:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:12:59] 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-26 13:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":162358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":162358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":162358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 13:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658771712001,"66":25473,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 13:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658771712001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:12:59] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 13:12:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658771712001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":162358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:12:59] local.INFO: GPS data processed {"connection_id":162358,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:12:59] local.INFO: Acknowledgment sent {"connection_id":162358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:13:00] local.INFO: TCP Data received {"connection_id":162358,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a03d011bf0012d34c14006aa4818000700e62c..."} 
[2026-08-26 13:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d011bf0012d34c14006aa4818000700e62c..."} 
[2026-08-26 13:13:00] local.INFO: Processing buffer {"connection_id":162358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d011bf0012d34c14006aa4818000700e62c..."} 
[2026-08-26 13:13:00] local.INFO: Packet analysis {"connection_id":162358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d01"} 
[2026-08-26 13:13:00] local.INFO: Extracted packet for processing {"connection_id":162358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d01"} 
[2026-08-26 13:13:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658771712001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 13:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787729878000,"timestamp_ms":1787729878000,"timestamp_seconds":1787729878,"priority":1,"record_length":96,"hex_timestamp":"000001a03d011bf0"} 
[2026-08-26 13:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 13:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 13:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":162358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":162358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":162358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 13:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658771712001,"66":25473,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 13:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658771712001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:13:00] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 13:13:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658771712001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":162358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:13:00] local.INFO: GPS data processed {"connection_id":162358,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:13:00] local.INFO: Acknowledgment sent {"connection_id":162358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:13:38] local.INFO: TCP Data received {"connection_id":163614,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:13:38] local.INFO: Processing buffer {"connection_id":163614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:13:38] local.INFO: IMEI packet received {"connection_id":163614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":163614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:13:38] local.INFO: TCP Data received {"connection_id":163614,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:13:38] local.INFO: Processing buffer {"connection_id":163614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:13:38] local.INFO: IMEI packet received {"connection_id":163614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":163614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:13:42] local.INFO: TCP Data received {"connection_id":163614,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:13:42] local.INFO: Processing buffer {"connection_id":163614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:13:42] local.INFO: IMEI packet received {"connection_id":163614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":163614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:13:44] local.INFO: TCP Data received {"connection_id":163614,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:13:44] local.INFO: Processing buffer {"connection_id":163614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:13:44] local.INFO: Packet analysis {"connection_id":163614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d05"} 
[2026-08-26 13:13:44] local.INFO: Extracted packet for processing {"connection_id":163614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d05"} 
[2026-08-26 13:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658848768001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:13:44] 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-26 13:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787730179000,"timestamp_ms":1787730179000,"timestamp_seconds":1787730179,"priority":1,"record_length":96,"hex_timestamp":"000001a03d05b3b8"} 
[2026-08-26 13: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-26 13:13: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-26 13: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":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:13: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-26 13: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-26 13: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-26 13:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:13:44] 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-26 13:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658848768001,"66":25495,"142":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-08-26 13:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658848768001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:13:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-26 13:13:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658848768001,"power":25495,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":163614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:13:44] local.INFO: GPS data processed {"connection_id":163614,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:13:44] local.INFO: Acknowledgment sent {"connection_id":163614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:13:48] local.INFO: TCP Data received {"connection_id":163614,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:13:48] local.INFO: Processing buffer {"connection_id":163614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:13:48] local.INFO: Packet analysis {"connection_id":163614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d05"} 
[2026-08-26 13:13:48] local.INFO: Extracted packet for processing {"connection_id":163614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d05"} 
[2026-08-26 13:13:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658848768001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:13:48] 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-26 13:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787730179000,"timestamp_ms":1787730179000,"timestamp_seconds":1787730179,"priority":1,"record_length":96,"hex_timestamp":"000001a03d05b3b8"} 
[2026-08-26 13:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 13:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:13:48] 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-26 13: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-26 13:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:13:48] 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-26 13:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658848768001,"66":25495,"142":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-08-26 13:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658848768001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:13:48] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-26 13:13:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658848768001,"power":25495,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":163614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:13:48] local.INFO: GPS data processed {"connection_id":163614,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:13:48] local.INFO: Acknowledgment sent {"connection_id":163614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:14:21] local.INFO: TCP Data received {"connection_id":163614,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:14:21] local.INFO: Processing buffer {"connection_id":163614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:14:21] local.INFO: Packet analysis {"connection_id":163614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d05"} 
[2026-08-26 13:14:21] local.INFO: Extracted packet for processing {"connection_id":163614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d05"} 
[2026-08-26 13:14:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658848768001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:14:21] 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-26 13:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787730179000,"timestamp_ms":1787730179000,"timestamp_seconds":1787730179,"priority":1,"record_length":96,"hex_timestamp":"000001a03d05b3b8"} 
[2026-08-26 13: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-26 13:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 13: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:14:21] 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-26 13: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-26 13: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-26 13:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:14:21] 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-26 13:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658848768001,"66":25495,"142":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-08-26 13:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658848768001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:14:21] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-26 13:14:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658848768001,"power":25495,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":163614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:14:21] local.INFO: GPS data processed {"connection_id":163614,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:14:21] local.INFO: Acknowledgment sent {"connection_id":163614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:14:27] local.INFO: TCP Data received {"connection_id":164952,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:14:27] local.INFO: Processing buffer {"connection_id":164952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:14:27] local.INFO: IMEI packet received {"connection_id":164952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 13:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":164952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:14:42] local.INFO: TCP Data received {"connection_id":162593,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:14:42] local.INFO: Processing buffer {"connection_id":162593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:14:42] local.INFO: IMEI packet received {"connection_id":162593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":162593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:14:47] local.INFO: TCP Data received {"connection_id":162593,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:14:47] local.INFO: Processing buffer {"connection_id":162593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:14:47] local.INFO: IMEI packet received {"connection_id":162593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":162593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:14:48] local.INFO: TCP Data received {"connection_id":162593,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:14:48] local.INFO: Processing buffer {"connection_id":162593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:14:48] local.INFO: Packet analysis {"connection_id":162593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d05"} 
[2026-08-26 13:14:48] local.INFO: Extracted packet for processing {"connection_id":162593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d05"} 
[2026-08-26 13:14:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658848768001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:14:48] 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-26 13:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787730179000,"timestamp_ms":1787730179000,"timestamp_seconds":1787730179,"priority":1,"record_length":96,"hex_timestamp":"000001a03d05b3b8"} 
[2026-08-26 13:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 13:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:14:48] 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-26 13:14:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:14:48] 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-26 13:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658848768001,"66":25495,"142":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-08-26 13:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658848768001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:14:48] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-26 13:14:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658848768001,"power":25495,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":162593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:14:48] local.INFO: GPS data processed {"connection_id":162593,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:14:48] local.INFO: Acknowledgment sent {"connection_id":162593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:14:52] local.INFO: TCP Data received {"connection_id":162593,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:14:52] local.INFO: Processing buffer {"connection_id":162593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:14:52] local.INFO: Packet analysis {"connection_id":162593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d05"} 
[2026-08-26 13:14:52] local.INFO: Extracted packet for processing {"connection_id":162593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d05"} 
[2026-08-26 13:14:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658848768001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:14:52] 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-26 13:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787730179000,"timestamp_ms":1787730179000,"timestamp_seconds":1787730179,"priority":1,"record_length":96,"hex_timestamp":"000001a03d05b3b8"} 
[2026-08-26 13: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-26 13:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 13: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:14:52] 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-26 13: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-26 13: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-26 13:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:14:52] 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-26 13:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658848768001,"66":25495,"142":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-08-26 13:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658848768001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:14:52] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-26 13:14:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658848768001,"power":25495,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":162593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:14:52] local.INFO: GPS data processed {"connection_id":162593,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:14:52] local.INFO: Acknowledgment sent {"connection_id":162593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:15:37] local.INFO: TCP Data received {"connection_id":162359,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:15:37] local.INFO: Processing buffer {"connection_id":162359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:15:37] local.INFO: IMEI packet received {"connection_id":162359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":162359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:15:42] local.INFO: TCP Data received {"connection_id":162359,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:15:42] local.INFO: Processing buffer {"connection_id":162359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:15:42] local.INFO: IMEI packet received {"connection_id":162359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":162359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:15:43] local.INFO: TCP Data received {"connection_id":162359,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:15:43] local.INFO: Processing buffer {"connection_id":162359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:15:43] local.INFO: Packet analysis {"connection_id":162359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d05"} 
[2026-08-26 13:15:43] local.INFO: Extracted packet for processing {"connection_id":162359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d05"} 
[2026-08-26 13:15:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658848768001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:15:43] 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-26 13:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787730179000,"timestamp_ms":1787730179000,"timestamp_seconds":1787730179,"priority":1,"record_length":96,"hex_timestamp":"000001a03d05b3b8"} 
[2026-08-26 13:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:15: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-26 13:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:15: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-26 13:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:15:43] 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-26 13:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658848768001,"66":25495,"142":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-08-26 13:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658848768001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:15:43] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-26 13:15:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658848768001,"power":25495,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":162359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:15:43] local.INFO: GPS data processed {"connection_id":162359,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:15:43] local.INFO: Acknowledgment sent {"connection_id":162359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:16:14] local.INFO: TCP Data received {"connection_id":162359,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:16:14] local.INFO: Processing buffer {"connection_id":162359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:16:14] local.INFO: Packet analysis {"connection_id":162359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d05"} 
[2026-08-26 13:16:14] local.INFO: Extracted packet for processing {"connection_id":162359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d05"} 
[2026-08-26 13:16:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658848768001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:16:14] 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-26 13:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787730179000,"timestamp_ms":1787730179000,"timestamp_seconds":1787730179,"priority":1,"record_length":96,"hex_timestamp":"000001a03d05b3b8"} 
[2026-08-26 13: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-26 13: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-26 13: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":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:16: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-26 13: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-26 13: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-26 13:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:16: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-26 13:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658848768001,"66":25495,"142":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-08-26 13:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658848768001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:16:14] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-26 13:16:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658848768001,"power":25495,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":162359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:16:14] local.INFO: GPS data processed {"connection_id":162359,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:16:14] local.INFO: Acknowledgment sent {"connection_id":162359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:16:37] local.INFO: TCP Data received {"connection_id":162360,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:16:37] local.INFO: Processing buffer {"connection_id":162360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:16:37] local.INFO: IMEI packet received {"connection_id":162360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":162360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:16:42] local.INFO: TCP Data received {"connection_id":162360,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:16:42] local.INFO: Processing buffer {"connection_id":162360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:16:42] local.INFO: IMEI packet received {"connection_id":162360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":162360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:16:43] local.INFO: TCP Data received {"connection_id":162360,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:16:43] local.INFO: Processing buffer {"connection_id":162360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:16:43] local.INFO: Packet analysis {"connection_id":162360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d05"} 
[2026-08-26 13:16:43] local.INFO: Extracted packet for processing {"connection_id":162360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d05"} 
[2026-08-26 13:16:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658848768001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:16:43] 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-26 13:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787730179000,"timestamp_ms":1787730179000,"timestamp_seconds":1787730179,"priority":1,"record_length":96,"hex_timestamp":"000001a03d05b3b8"} 
[2026-08-26 13: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-26 13:16: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-26 13: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:16: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-26 13: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-26 13: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-26 13:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:16:43] 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-26 13:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658848768001,"66":25495,"142":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-08-26 13:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658848768001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:16:43] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-26 13:16:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658848768001,"power":25495,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":162360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:16:43] local.INFO: GPS data processed {"connection_id":162360,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:16:43] local.INFO: Acknowledgment sent {"connection_id":162360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:17:14] local.INFO: TCP Data received {"connection_id":162360,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:17:14] local.INFO: Processing buffer {"connection_id":162360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:17:14] local.INFO: Packet analysis {"connection_id":162360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d05"} 
[2026-08-26 13:17:14] local.INFO: Extracted packet for processing {"connection_id":162360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d05"} 
[2026-08-26 13:17:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658848768001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:17:14] 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-26 13:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787730179000,"timestamp_ms":1787730179000,"timestamp_seconds":1787730179,"priority":1,"record_length":96,"hex_timestamp":"000001a03d05b3b8"} 
[2026-08-26 13: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-26 13: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-26 13: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:17: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-26 13: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-26 13: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-26 13:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:17: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-26 13:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658848768001,"66":25495,"142":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-08-26 13:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658848768001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:17:14] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-26 13:17:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658848768001,"power":25495,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":162360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:17:14] local.INFO: GPS data processed {"connection_id":162360,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:17:14] local.INFO: Acknowledgment sent {"connection_id":162360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:17:37] local.INFO: TCP Data received {"connection_id":162361,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:17:37] local.INFO: Processing buffer {"connection_id":162361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:17:37] local.INFO: IMEI packet received {"connection_id":162361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":162361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:17:42] local.INFO: TCP Data received {"connection_id":162361,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:17:42] local.INFO: Processing buffer {"connection_id":162361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:17:42] local.INFO: IMEI packet received {"connection_id":162361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":162361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:17:43] local.INFO: TCP Data received {"connection_id":162361,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:17:43] local.INFO: Processing buffer {"connection_id":162361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:17:43] local.INFO: Packet analysis {"connection_id":162361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d05"} 
[2026-08-26 13:17:43] local.INFO: Extracted packet for processing {"connection_id":162361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d05"} 
[2026-08-26 13:17:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 13:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658848768001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:17:43] 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-26 13:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787730179000,"timestamp_ms":1787730179000,"timestamp_seconds":1787730179,"priority":1,"record_length":96,"hex_timestamp":"000001a03d05b3b8"} 
[2026-08-26 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-26 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-26 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":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:17: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-26 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-26 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-26 13:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:17:43] 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-26 13:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658848768001,"66":25495,"142":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-08-26 13:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658848768001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:17:43] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-26 13:17:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658848768001,"power":25495,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":162361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:17:43] local.INFO: GPS data processed {"connection_id":162361,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:17:43] local.INFO: Acknowledgment sent {"connection_id":162361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:18:14] local.INFO: TCP Data received {"connection_id":162361,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:18:14] local.INFO: Processing buffer {"connection_id":162361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d05b3b8012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:18:14] local.INFO: Packet analysis {"connection_id":162361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d05"} 
[2026-08-26 13:18:14] local.INFO: Extracted packet for processing {"connection_id":162361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d05"} 
[2026-08-26 13:18:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658848768001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:18:14] 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-26 13:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787730179000,"timestamp_ms":1787730179000,"timestamp_seconds":1787730179,"priority":1,"record_length":96,"hex_timestamp":"000001a03d05b3b8"} 
[2026-08-26 13: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-26 13: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-26 13: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:18: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-26 13: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-26 13: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-26 13:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:18:14] 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-26 13:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658848768001,"66":25495,"142":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,81,24,16,45]} 
[2026-08-26 13:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658848768001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:18:14] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-26 13:18:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658848768001,"power":25495,"unknown_142":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":162361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:18:14] local.INFO: GPS data processed {"connection_id":162361,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:18:14] local.INFO: Acknowledgment sent {"connection_id":162361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:18:37] local.INFO: TCP Data received {"connection_id":163615,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:18:37] local.INFO: Processing buffer {"connection_id":163615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:18:37] local.INFO: IMEI packet received {"connection_id":163615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":163615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:18:38] local.INFO: TCP Data received {"connection_id":163615,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:18:38] local.INFO: Processing buffer {"connection_id":163615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:18:38] local.INFO: IMEI packet received {"connection_id":163615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":163615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:18:42] local.INFO: TCP Data received {"connection_id":163615,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:18:42] local.INFO: Processing buffer {"connection_id":163615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:18:42] local.INFO: IMEI packet received {"connection_id":163615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":163615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:18:43] local.INFO: TCP Data received {"connection_id":163615,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:18:43] local.INFO: Processing buffer {"connection_id":163615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:18:43] local.INFO: Packet analysis {"connection_id":163615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d0a"} 
[2026-08-26 13:18:43] local.INFO: Extracted packet for processing {"connection_id":163615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d0a"} 
[2026-08-26 13:18:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658925824001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:18: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-26 13:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787730480000,"timestamp_ms":1787730480000,"timestamp_seconds":1787730480,"priority":1,"record_length":96,"hex_timestamp":"000001a03d0a4b80"} 
[2026-08-26 13:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 13:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 13:18:43] 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-26 13:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:18: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-26 13:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658925824001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658925824001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:18:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:18:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658925824001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":163615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:18:43] local.INFO: GPS data processed {"connection_id":163615,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:18:43] local.INFO: Acknowledgment sent {"connection_id":163615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:19:14] local.INFO: TCP Data received {"connection_id":163615,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:19:14] local.INFO: Processing buffer {"connection_id":163615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:19:14] local.INFO: Packet analysis {"connection_id":163615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d0a"} 
[2026-08-26 13:19:14] local.INFO: Extracted packet for processing {"connection_id":163615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d0a"} 
[2026-08-26 13:19:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658925824001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:19: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-26 13:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787730480000,"timestamp_ms":1787730480000,"timestamp_seconds":1787730480,"priority":1,"record_length":96,"hex_timestamp":"000001a03d0a4b80"} 
[2026-08-26 13:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:19: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-26 13:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 13:19: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-26 13:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:19: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-26 13:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658925824001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658925824001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:19:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:19:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658925824001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":163615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:19:14] local.INFO: GPS data processed {"connection_id":163615,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:19:14] local.INFO: Acknowledgment sent {"connection_id":163615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:19:37] local.INFO: TCP Data received {"connection_id":163616,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:19:37] local.INFO: Processing buffer {"connection_id":163616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:19:37] local.INFO: IMEI packet received {"connection_id":163616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":163616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:19:41] local.INFO: TCP Data received {"connection_id":163616,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:19:41] local.INFO: Processing buffer {"connection_id":163616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:19:41] local.INFO: IMEI packet received {"connection_id":163616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":163616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:19:42] local.INFO: TCP Data received {"connection_id":163616,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:19:42] local.INFO: Processing buffer {"connection_id":163616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:19:42] local.INFO: Packet analysis {"connection_id":163616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d0a"} 
[2026-08-26 13:19:42] local.INFO: Extracted packet for processing {"connection_id":163616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d0a"} 
[2026-08-26 13:19:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658925824001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13: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-26 13:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787730480000,"timestamp_ms":1787730480000,"timestamp_seconds":1787730480,"priority":1,"record_length":96,"hex_timestamp":"000001a03d0a4b80"} 
[2026-08-26 13:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 13:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 13:19: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-26 13: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-26 13:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:19:42] 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-26 13:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658925824001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658925824001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:19:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:19:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658925824001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":163616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:19:42] local.INFO: GPS data processed {"connection_id":163616,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:19:42] local.INFO: Acknowledgment sent {"connection_id":163616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:20:02] local.INFO: TCP Data received {"connection_id":162594,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:20:02] local.INFO: Processing buffer {"connection_id":162594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:20:02] local.INFO: IMEI packet received {"connection_id":162594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 13:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":162594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:20:14] local.INFO: TCP Data received {"connection_id":163616,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:20:14] local.INFO: Processing buffer {"connection_id":163616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:20:14] local.INFO: Packet analysis {"connection_id":163616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d0a"} 
[2026-08-26 13:20:14] local.INFO: Extracted packet for processing {"connection_id":163616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d0a"} 
[2026-08-26 13:20:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658925824001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:20: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-26 13:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787730480000,"timestamp_ms":1787730480000,"timestamp_seconds":1787730480,"priority":1,"record_length":96,"hex_timestamp":"000001a03d0a4b80"} 
[2026-08-26 13: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-26 13:20: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-26 13: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-26 13: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-26 13: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-26 13: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-26 13:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:20: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-26 13:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658925824001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658925824001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:20:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:20:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658925824001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":163616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:20:14] local.INFO: GPS data processed {"connection_id":163616,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:20:14] local.INFO: Acknowledgment sent {"connection_id":163616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:20:37] local.INFO: TCP Data received {"connection_id":162362,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:20:37] local.INFO: Processing buffer {"connection_id":162362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:20:37] local.INFO: IMEI packet received {"connection_id":162362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":162362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:20:42] local.INFO: TCP Data received {"connection_id":162362,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:20:42] local.INFO: Processing buffer {"connection_id":162362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:20:42] local.INFO: IMEI packet received {"connection_id":162362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":162362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:20:44] local.INFO: TCP Data received {"connection_id":162362,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:20:44] local.INFO: Processing buffer {"connection_id":162362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:20:44] local.INFO: Packet analysis {"connection_id":162362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d0a"} 
[2026-08-26 13:20:44] local.INFO: Extracted packet for processing {"connection_id":162362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d0a"} 
[2026-08-26 13:20:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658925824001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:20: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-26 13:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787730480000,"timestamp_ms":1787730480000,"timestamp_seconds":1787730480,"priority":1,"record_length":96,"hex_timestamp":"000001a03d0a4b80"} 
[2026-08-26 13: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-26 13:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 13:20:44] 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-26 13: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-26 13: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-26 13:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:20:44] 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-26 13:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658925824001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658925824001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:20:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:20:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658925824001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":162362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:20:44] local.INFO: GPS data processed {"connection_id":162362,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:20:44] local.INFO: Acknowledgment sent {"connection_id":162362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:21:15] local.INFO: TCP Data received {"connection_id":162362,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:21:15] local.INFO: Processing buffer {"connection_id":162362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:21:15] local.INFO: Packet analysis {"connection_id":162362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d0a"} 
[2026-08-26 13:21:15] local.INFO: Extracted packet for processing {"connection_id":162362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d0a"} 
[2026-08-26 13:21:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658925824001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:21: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-26 13:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787730480000,"timestamp_ms":1787730480000,"timestamp_seconds":1787730480,"priority":1,"record_length":96,"hex_timestamp":"000001a03d0a4b80"} 
[2026-08-26 13:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 13:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 13:21:15] 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-26 13:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:21: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-26 13:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658925824001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658925824001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:21:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:21:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658925824001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":162362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:21:15] local.INFO: GPS data processed {"connection_id":162362,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:21:15] local.INFO: Acknowledgment sent {"connection_id":162362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:21:37] local.INFO: TCP Data received {"connection_id":163617,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:21:37] local.INFO: Processing buffer {"connection_id":163617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:21:37] local.INFO: IMEI packet received {"connection_id":163617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":163617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:21:42] local.INFO: TCP Data received {"connection_id":163617,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:21:42] local.INFO: Processing buffer {"connection_id":163617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:21:42] local.INFO: IMEI packet received {"connection_id":163617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":163617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:21:43] local.INFO: TCP Data received {"connection_id":163617,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:21:43] local.INFO: Processing buffer {"connection_id":163617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:21:43] local.INFO: Packet analysis {"connection_id":163617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d0a"} 
[2026-08-26 13:21:43] local.INFO: Extracted packet for processing {"connection_id":163617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d0a"} 
[2026-08-26 13:21:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658925824001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:21: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-26 13:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787730480000,"timestamp_ms":1787730480000,"timestamp_seconds":1787730480,"priority":1,"record_length":96,"hex_timestamp":"000001a03d0a4b80"} 
[2026-08-26 13:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 13:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 13:21:43] 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-26 13:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:21:43] 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-26 13:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658925824001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658925824001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:21:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:21:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658925824001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":163617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:21:43] local.INFO: GPS data processed {"connection_id":163617,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:21:43] local.INFO: Acknowledgment sent {"connection_id":163617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:22:14] local.INFO: TCP Data received {"connection_id":163617,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:22:14] local.INFO: Processing buffer {"connection_id":163617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:22:14] local.INFO: Packet analysis {"connection_id":163617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d0a"} 
[2026-08-26 13:22:14] local.INFO: Extracted packet for processing {"connection_id":163617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d0a"} 
[2026-08-26 13:22:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658925824001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:22: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-26 13:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787730480000,"timestamp_ms":1787730480000,"timestamp_seconds":1787730480,"priority":1,"record_length":96,"hex_timestamp":"000001a03d0a4b80"} 
[2026-08-26 13: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-26 13:22: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-26 13: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":151,"data_length":795,"current_offset":136} 
[2026-08-26 13:22: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-26 13: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-26 13: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-26 13:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:22: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-26 13:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658925824001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658925824001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:22:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:22:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658925824001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":163617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:22:14] local.INFO: GPS data processed {"connection_id":163617,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:22:14] local.INFO: Acknowledgment sent {"connection_id":163617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:22:36] local.INFO: TCP Data received {"connection_id":162595,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:22:37] local.INFO: Processing buffer {"connection_id":162595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:22:37] local.INFO: IMEI packet received {"connection_id":162595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":162595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:22:42] local.INFO: TCP Data received {"connection_id":162595,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:22:42] local.INFO: Processing buffer {"connection_id":162595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:22:42] local.INFO: IMEI packet received {"connection_id":162595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":162595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:22:43] local.INFO: TCP Data received {"connection_id":162595,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:22:43] local.INFO: Processing buffer {"connection_id":162595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:22:43] local.INFO: Packet analysis {"connection_id":162595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d0a"} 
[2026-08-26 13:22:43] local.INFO: Extracted packet for processing {"connection_id":162595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d0a"} 
[2026-08-26 13:22:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658925824001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:22: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-26 13:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787730480000,"timestamp_ms":1787730480000,"timestamp_seconds":1787730480,"priority":1,"record_length":96,"hex_timestamp":"000001a03d0a4b80"} 
[2026-08-26 13:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 13:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 13:22:43] 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-26 13:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:22:43] 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-26 13:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658925824001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658925824001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:22:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:22:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658925824001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":162595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:22:43] local.INFO: GPS data processed {"connection_id":162595,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:22:43] local.INFO: Acknowledgment sent {"connection_id":162595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:23:14] local.INFO: TCP Data received {"connection_id":162595,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:23:14] local.INFO: Processing buffer {"connection_id":162595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d0a4b80012d34c14006aa4818000800e62c..."} 
[2026-08-26 13:23:14] local.INFO: Packet analysis {"connection_id":162595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d0a"} 
[2026-08-26 13:23:14] local.INFO: Extracted packet for processing {"connection_id":162595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d0a"} 
[2026-08-26 13:23:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457658925824001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:23: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-26 13:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787730480000,"timestamp_ms":1787730480000,"timestamp_seconds":1787730480,"priority":1,"record_length":96,"hex_timestamp":"000001a03d0a4b80"} 
[2026-08-26 13: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-26 13:23: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-26 13:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 13:23: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-26 13:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13: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-26 13:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:23: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-26 13:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457658925824001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457658925824001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:23:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:23:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457658925824001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":162595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:23:14] local.INFO: GPS data processed {"connection_id":162595,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:23:14] local.INFO: Acknowledgment sent {"connection_id":162595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:23:36] local.INFO: TCP Data received {"connection_id":162363,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:23:36] local.INFO: Processing buffer {"connection_id":162363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:23:36] local.INFO: IMEI packet received {"connection_id":162363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":162363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:23:38] local.INFO: TCP Data received {"connection_id":162363,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:23:38] local.INFO: Processing buffer {"connection_id":162363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:23:38] local.INFO: IMEI packet received {"connection_id":162363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":162363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:23:42] local.INFO: TCP Data received {"connection_id":162363,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:23:42] local.INFO: Processing buffer {"connection_id":162363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:23:42] local.INFO: IMEI packet received {"connection_id":162363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":162363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:23:43] local.INFO: TCP Data received {"connection_id":162363,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:23:43] local.INFO: Processing buffer {"connection_id":162363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:23:43] local.INFO: Packet analysis {"connection_id":162363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d0e"} 
[2026-08-26 13:23:43] local.INFO: Extracted packet for processing {"connection_id":162363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d0e"} 
[2026-08-26 13:23:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659002880001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:23: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-26 13:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787730781000,"timestamp_ms":1787730781000,"timestamp_seconds":1787730781,"priority":1,"record_length":96,"hex_timestamp":"000001a03d0ee348"} 
[2026-08-26 13:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:23: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-26 13:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 13:23:43] 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-26 13:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:23: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-26 13:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659002880001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659002880001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:23:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:23:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659002880001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":162363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:23:43] local.INFO: GPS data processed {"connection_id":162363,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:23:43] local.INFO: Acknowledgment sent {"connection_id":162363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:24:14] local.INFO: TCP Data received {"connection_id":162363,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:24:14] local.INFO: Processing buffer {"connection_id":162363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:24:14] local.INFO: Packet analysis {"connection_id":162363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d0e"} 
[2026-08-26 13:24:14] local.INFO: Extracted packet for processing {"connection_id":162363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d0e"} 
[2026-08-26 13:24:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 13:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659002880001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:24: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-26 13:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787730781000,"timestamp_ms":1787730781000,"timestamp_seconds":1787730781,"priority":1,"record_length":96,"hex_timestamp":"000001a03d0ee348"} 
[2026-08-26 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-26 13:24: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-26 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":86,"data_length":795,"current_offset":136} 
[2026-08-26 13: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-26 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-26 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-26 13:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:24:14] 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-26 13:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659002880001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659002880001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:24:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:24:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659002880001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":162363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:24:14] local.INFO: GPS data processed {"connection_id":162363,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:24:14] local.INFO: Acknowledgment sent {"connection_id":162363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:24:37] local.INFO: TCP Data received {"connection_id":162364,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:24:37] local.INFO: Processing buffer {"connection_id":162364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:24:37] local.INFO: IMEI packet received {"connection_id":162364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":162364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:24:42] local.INFO: TCP Data received {"connection_id":162364,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:24:42] local.INFO: Processing buffer {"connection_id":162364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:24:42] local.INFO: IMEI packet received {"connection_id":162364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":162364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:24:43] local.INFO: TCP Data received {"connection_id":162364,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:24:43] local.INFO: Processing buffer {"connection_id":162364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:24:43] local.INFO: Packet analysis {"connection_id":162364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d0e"} 
[2026-08-26 13:24:43] local.INFO: Extracted packet for processing {"connection_id":162364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d0e"} 
[2026-08-26 13:24:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659002880001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:24: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-26 13:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787730781000,"timestamp_ms":1787730781000,"timestamp_seconds":1787730781,"priority":1,"record_length":96,"hex_timestamp":"000001a03d0ee348"} 
[2026-08-26 13:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:24: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-26 13:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 13:24:43] 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-26 13:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 13:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659002880001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659002880001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:24:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:24:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659002880001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":162364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:24:43] local.INFO: GPS data processed {"connection_id":162364,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:24:43] local.INFO: Acknowledgment sent {"connection_id":162364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:25:15] local.INFO: TCP Data received {"connection_id":162364,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:25:15] local.INFO: Processing buffer {"connection_id":162364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:25:15] local.INFO: Packet analysis {"connection_id":162364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d0e"} 
[2026-08-26 13:25:15] local.INFO: Extracted packet for processing {"connection_id":162364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d0e"} 
[2026-08-26 13:25:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659002880001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:25: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-26 13:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787730781000,"timestamp_ms":1787730781000,"timestamp_seconds":1787730781,"priority":1,"record_length":96,"hex_timestamp":"000001a03d0ee348"} 
[2026-08-26 13:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 13:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 13:25: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-26 13:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:25: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-26 13:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659002880001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659002880001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:25:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:25:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659002880001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":162364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:25:15] local.INFO: GPS data processed {"connection_id":162364,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:25:15] local.INFO: Acknowledgment sent {"connection_id":162364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:25:37] local.INFO: TCP Data received {"connection_id":164954,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:25:37] local.INFO: Processing buffer {"connection_id":164954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:25:37] local.INFO: IMEI packet received {"connection_id":164954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":164954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:25:37] local.INFO: TCP Data received {"connection_id":164953,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:25:37] local.INFO: Processing buffer {"connection_id":164953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:25:37] local.INFO: IMEI packet received {"connection_id":164953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 13:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":164953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:25:42] local.INFO: TCP Data received {"connection_id":164954,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:25:42] local.INFO: Processing buffer {"connection_id":164954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:25:42] local.INFO: IMEI packet received {"connection_id":164954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":164954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:25:43] local.INFO: TCP Data received {"connection_id":164954,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:25:43] local.INFO: Processing buffer {"connection_id":164954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:25:43] local.INFO: Packet analysis {"connection_id":164954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d0e"} 
[2026-08-26 13:25:43] local.INFO: Extracted packet for processing {"connection_id":164954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d0e"} 
[2026-08-26 13:25:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659002880001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:25: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-26 13:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787730781000,"timestamp_ms":1787730781000,"timestamp_seconds":1787730781,"priority":1,"record_length":96,"hex_timestamp":"000001a03d0ee348"} 
[2026-08-26 13:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:25: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-26 13:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 13:25:43] 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-26 13:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:25: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-26 13:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659002880001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659002880001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:25:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:25:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659002880001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":164954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:25:43] local.INFO: GPS data processed {"connection_id":164954,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:25:43] local.INFO: Acknowledgment sent {"connection_id":164954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:26:14] local.INFO: TCP Data received {"connection_id":164954,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:26:14] local.INFO: Processing buffer {"connection_id":164954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:26:14] local.INFO: Packet analysis {"connection_id":164954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d0e"} 
[2026-08-26 13:26:14] local.INFO: Extracted packet for processing {"connection_id":164954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d0e"} 
[2026-08-26 13:26:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659002880001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:26: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-26 13:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787730781000,"timestamp_ms":1787730781000,"timestamp_seconds":1787730781,"priority":1,"record_length":96,"hex_timestamp":"000001a03d0ee348"} 
[2026-08-26 13: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-26 13:26: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-26 13: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 13:26: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-26 13: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-26 13: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-26 13:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:26: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-26 13:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659002880001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659002880001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:26:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:26:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659002880001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":164954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:26:14] local.INFO: GPS data processed {"connection_id":164954,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:26:14] local.INFO: Acknowledgment sent {"connection_id":164954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:26:37] local.INFO: TCP Data received {"connection_id":162365,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:26:37] local.INFO: Processing buffer {"connection_id":162365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:26:37] local.INFO: IMEI packet received {"connection_id":162365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":162365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:26:42] local.INFO: TCP Data received {"connection_id":162365,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:26:42] local.INFO: Processing buffer {"connection_id":162365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:26:42] local.INFO: IMEI packet received {"connection_id":162365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":162365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:26:43] local.INFO: TCP Data received {"connection_id":162365,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:26:43] local.INFO: Processing buffer {"connection_id":162365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:26:43] local.INFO: Packet analysis {"connection_id":162365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d0e"} 
[2026-08-26 13:26:43] local.INFO: Extracted packet for processing {"connection_id":162365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d0e"} 
[2026-08-26 13:26:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659002880001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:26: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-26 13:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787730781000,"timestamp_ms":1787730781000,"timestamp_seconds":1787730781,"priority":1,"record_length":96,"hex_timestamp":"000001a03d0ee348"} 
[2026-08-26 13:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:26: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-26 13:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 13:26:43] 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-26 13:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:26: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-26 13:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659002880001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659002880001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:26:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:26:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659002880001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":162365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:26:43] local.INFO: GPS data processed {"connection_id":162365,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:26:43] local.INFO: Acknowledgment sent {"connection_id":162365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:27:14] local.INFO: TCP Data received {"connection_id":162365,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:27:14] local.INFO: Processing buffer {"connection_id":162365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:27:14] local.INFO: Packet analysis {"connection_id":162365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d0e"} 
[2026-08-26 13:27:14] local.INFO: Extracted packet for processing {"connection_id":162365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d0e"} 
[2026-08-26 13:27:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659002880001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:27: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-26 13:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787730781000,"timestamp_ms":1787730781000,"timestamp_seconds":1787730781,"priority":1,"record_length":96,"hex_timestamp":"000001a03d0ee348"} 
[2026-08-26 13: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-26 13:27: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-26 13: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 13:27: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-26 13: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-26 13: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-26 13:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:27: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-26 13:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659002880001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659002880001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:27:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:27:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659002880001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":162365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:27:14] local.INFO: GPS data processed {"connection_id":162365,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:27:14] local.INFO: Acknowledgment sent {"connection_id":162365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:27:36] local.INFO: TCP Data received {"connection_id":164955,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:27:36] local.INFO: Processing buffer {"connection_id":164955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:27:36] local.INFO: IMEI packet received {"connection_id":164955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":164955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:27:42] local.INFO: TCP Data received {"connection_id":164955,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:27:42] local.INFO: Processing buffer {"connection_id":164955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:27:42] local.INFO: IMEI packet received {"connection_id":164955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":164955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:27:43] local.INFO: TCP Data received {"connection_id":164955,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:27:43] local.INFO: Processing buffer {"connection_id":164955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:27:43] local.INFO: Packet analysis {"connection_id":164955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d0e"} 
[2026-08-26 13:27:43] local.INFO: Extracted packet for processing {"connection_id":164955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d0e"} 
[2026-08-26 13:27:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659002880001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:27: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-26 13:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787730781000,"timestamp_ms":1787730781000,"timestamp_seconds":1787730781,"priority":1,"record_length":96,"hex_timestamp":"000001a03d0ee348"} 
[2026-08-26 13: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-26 13:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 13: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 13:27:43] 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-26 13:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13: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-26 13:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 13:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659002880001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659002880001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:27:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:27:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659002880001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":164955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:27:43] local.INFO: GPS data processed {"connection_id":164955,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:27:43] local.INFO: Acknowledgment sent {"connection_id":164955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:28:14] local.INFO: TCP Data received {"connection_id":164955,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:28:14] local.INFO: Processing buffer {"connection_id":164955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d0ee348012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:28:14] local.INFO: Packet analysis {"connection_id":164955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d0e"} 
[2026-08-26 13:28:14] local.INFO: Extracted packet for processing {"connection_id":164955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d0e"} 
[2026-08-26 13:28:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659002880001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:28: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-26 13:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787730781000,"timestamp_ms":1787730781000,"timestamp_seconds":1787730781,"priority":1,"record_length":96,"hex_timestamp":"000001a03d0ee348"} 
[2026-08-26 13: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-26 13:28: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-26 13: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 13:28: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-26 13: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-26 13: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-26 13:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:28: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-26 13:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659002880001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659002880001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:28:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:28:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659002880001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":164955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:28:14] local.INFO: GPS data processed {"connection_id":164955,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:28:14] local.INFO: Acknowledgment sent {"connection_id":164955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:28:36] local.INFO: TCP Data received {"connection_id":162367,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:28:36] local.INFO: Processing buffer {"connection_id":162367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:28:36] local.INFO: IMEI packet received {"connection_id":162367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":162367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:28:40] local.INFO: TCP Data received {"connection_id":162367,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:28:40] local.INFO: Processing buffer {"connection_id":162367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:28:40] local.INFO: IMEI packet received {"connection_id":162367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":162367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:28:41] local.INFO: TCP Data received {"connection_id":162367,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:28:41] local.INFO: Processing buffer {"connection_id":162367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:28:41] local.INFO: IMEI packet received {"connection_id":162367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":162367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:28:43] local.INFO: TCP Data received {"connection_id":162367,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:28:43] local.INFO: Processing buffer {"connection_id":162367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:28:43] local.INFO: Packet analysis {"connection_id":162367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d13"} 
[2026-08-26 13:28:43] local.INFO: Extracted packet for processing {"connection_id":162367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d13"} 
[2026-08-26 13:28:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659079936001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:28: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-26 13:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787731082000,"timestamp_ms":1787731082000,"timestamp_seconds":1787731082,"priority":1,"record_length":96,"hex_timestamp":"000001a03d137b10"} 
[2026-08-26 13: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-26 13:28: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-26 13: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:28: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-26 13: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-26 13: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-26 13:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:28:43] 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-26 13:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659079936001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659079936001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:28:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:28:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659079936001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":162367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:28:43] local.INFO: GPS data processed {"connection_id":162367,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:28:43] local.INFO: Acknowledgment sent {"connection_id":162367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:29:14] local.INFO: TCP Data received {"connection_id":162367,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:29:14] local.INFO: Processing buffer {"connection_id":162367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:29:14] local.INFO: Packet analysis {"connection_id":162367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d13"} 
[2026-08-26 13:29:14] local.INFO: Extracted packet for processing {"connection_id":162367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d13"} 
[2026-08-26 13:29:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659079936001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:29: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-26 13:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787731082000,"timestamp_ms":1787731082000,"timestamp_seconds":1787731082,"priority":1,"record_length":96,"hex_timestamp":"000001a03d137b10"} 
[2026-08-26 13:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:29: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-26 13:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:29: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-26 13:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:29: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-26 13:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659079936001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659079936001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:29:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:29:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659079936001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":162367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:29:14] local.INFO: GPS data processed {"connection_id":162367,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:29:14] local.INFO: Acknowledgment sent {"connection_id":162367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:29:37] local.INFO: TCP Data received {"connection_id":162368,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:29:37] local.INFO: Processing buffer {"connection_id":162368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:29:37] local.INFO: IMEI packet received {"connection_id":162368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":162368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:29:41] local.INFO: TCP Data received {"connection_id":162368,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:29:41] local.INFO: Processing buffer {"connection_id":162368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:29:41] local.INFO: IMEI packet received {"connection_id":162368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":162368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:29:43] local.INFO: TCP Data received {"connection_id":162368,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:29:43] local.INFO: Processing buffer {"connection_id":162368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:29:43] local.INFO: Packet analysis {"connection_id":162368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d13"} 
[2026-08-26 13:29:43] local.INFO: Extracted packet for processing {"connection_id":162368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d13"} 
[2026-08-26 13:29:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659079936001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:29: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-26 13:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787731082000,"timestamp_ms":1787731082000,"timestamp_seconds":1787731082,"priority":1,"record_length":96,"hex_timestamp":"000001a03d137b10"} 
[2026-08-26 13:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:29: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-26 13:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:29: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-26 13:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:29: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-26 13:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659079936001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659079936001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:29:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:29:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659079936001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":162368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:29:43] local.INFO: GPS data processed {"connection_id":162368,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:29:43] local.INFO: Acknowledgment sent {"connection_id":162368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:30:14] local.INFO: TCP Data received {"connection_id":162368,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:30:14] local.INFO: Processing buffer {"connection_id":162368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:30:14] local.INFO: Packet analysis {"connection_id":162368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d13"} 
[2026-08-26 13:30:14] local.INFO: Extracted packet for processing {"connection_id":162368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d13"} 
[2026-08-26 13:30:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659079936001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:30: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-26 13:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787731082000,"timestamp_ms":1787731082000,"timestamp_seconds":1787731082,"priority":1,"record_length":96,"hex_timestamp":"000001a03d137b10"} 
[2026-08-26 13: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-26 13:30: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-26 13: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":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:30: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-26 13: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-26 13: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-26 13:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:30: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-26 13:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659079936001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659079936001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:30:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:30:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659079936001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":162368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:30:14] local.INFO: GPS data processed {"connection_id":162368,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:30:14] local.INFO: Acknowledgment sent {"connection_id":162368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:30:37] local.INFO: TCP Data received {"connection_id":164956,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:30:37] local.INFO: Processing buffer {"connection_id":164956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:30:37] local.INFO: IMEI packet received {"connection_id":164956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":164956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:30:42] local.INFO: TCP Data received {"connection_id":164956,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:30:42] local.INFO: Processing buffer {"connection_id":164956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:30:42] local.INFO: IMEI packet received {"connection_id":164956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":164956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:30:43] local.INFO: TCP Data received {"connection_id":164956,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:30:43] local.INFO: Processing buffer {"connection_id":164956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:30:43] local.INFO: Packet analysis {"connection_id":164956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d13"} 
[2026-08-26 13:30:43] local.INFO: Extracted packet for processing {"connection_id":164956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d13"} 
[2026-08-26 13:30:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659079936001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:30: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-26 13:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787731082000,"timestamp_ms":1787731082000,"timestamp_seconds":1787731082,"priority":1,"record_length":96,"hex_timestamp":"000001a03d137b10"} 
[2026-08-26 13:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:30: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-26 13:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:30: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-26 13:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:30: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-26 13:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659079936001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659079936001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:30:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:30:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659079936001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":164956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:30:43] local.INFO: GPS data processed {"connection_id":164956,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:30:43] local.INFO: Acknowledgment sent {"connection_id":164956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:31:12] local.INFO: TCP Data received {"connection_id":162366,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162366,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:31:12] local.INFO: Processing buffer {"connection_id":162366,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:31:12] local.INFO: IMEI packet received {"connection_id":162366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 13:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":162366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:31:14] local.INFO: TCP Data received {"connection_id":164956,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:31:14] local.INFO: Processing buffer {"connection_id":164956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:31:14] local.INFO: Packet analysis {"connection_id":164956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d13"} 
[2026-08-26 13:31:14] local.INFO: Extracted packet for processing {"connection_id":164956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d13"} 
[2026-08-26 13:31:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659079936001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13: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-26 13:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787731082000,"timestamp_ms":1787731082000,"timestamp_seconds":1787731082,"priority":1,"record_length":96,"hex_timestamp":"000001a03d137b10"} 
[2026-08-26 13: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-26 13:31: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-26 13: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":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:31: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-26 13: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-26 13: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-26 13:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:31: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-26 13:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659079936001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659079936001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:31:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:31:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659079936001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":164956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:31:14] local.INFO: GPS data processed {"connection_id":164956,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:31:14] local.INFO: Acknowledgment sent {"connection_id":164956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:31:36] local.INFO: TCP Data received {"connection_id":162596,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:31:36] local.INFO: Processing buffer {"connection_id":162596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:31:36] local.INFO: IMEI packet received {"connection_id":162596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":162596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:31:42] local.INFO: TCP Data received {"connection_id":162596,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:31:42] local.INFO: Processing buffer {"connection_id":162596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:31:42] local.INFO: IMEI packet received {"connection_id":162596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":162596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:31:43] local.INFO: TCP Data received {"connection_id":162596,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:31:43] local.INFO: Processing buffer {"connection_id":162596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:31:43] local.INFO: Packet analysis {"connection_id":162596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d13"} 
[2026-08-26 13:31:43] local.INFO: Extracted packet for processing {"connection_id":162596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d13"} 
[2026-08-26 13:31:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659079936001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:31: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-26 13:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787731082000,"timestamp_ms":1787731082000,"timestamp_seconds":1787731082,"priority":1,"record_length":96,"hex_timestamp":"000001a03d137b10"} 
[2026-08-26 13: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-26 13:31: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-26 13: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:31: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-26 13: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-26 13: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-26 13:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 13:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659079936001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659079936001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:31:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:31:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659079936001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":162596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:31:43] local.INFO: GPS data processed {"connection_id":162596,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:31:43] local.INFO: Acknowledgment sent {"connection_id":162596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:32:15] local.INFO: TCP Data received {"connection_id":162596,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:32:15] local.INFO: Processing buffer {"connection_id":162596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:32:15] local.INFO: Packet analysis {"connection_id":162596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d13"} 
[2026-08-26 13:32:15] local.INFO: Extracted packet for processing {"connection_id":162596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d13"} 
[2026-08-26 13:32:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659079936001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13: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-26 13:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787731082000,"timestamp_ms":1787731082000,"timestamp_seconds":1787731082,"priority":1,"record_length":96,"hex_timestamp":"000001a03d137b10"} 
[2026-08-26 13: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-26 13:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 13: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":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:32:15] 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-26 13: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-26 13: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-26 13:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:32: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-26 13:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659079936001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659079936001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:32:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:32:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659079936001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":162596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:32:15] local.INFO: GPS data processed {"connection_id":162596,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:32:15] local.INFO: Acknowledgment sent {"connection_id":162596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:32:36] local.INFO: TCP Data received {"connection_id":164957,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:32:36] local.INFO: Processing buffer {"connection_id":164957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:32:36] local.INFO: IMEI packet received {"connection_id":164957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":164957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:32:43] local.INFO: TCP Data received {"connection_id":164957,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:32:43] local.INFO: Processing buffer {"connection_id":164957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:32:43] local.INFO: IMEI packet received {"connection_id":164957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":164957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:32:44] local.INFO: TCP Data received {"connection_id":164957,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:32:44] local.INFO: Processing buffer {"connection_id":164957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:32:44] local.INFO: Packet analysis {"connection_id":164957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d13"} 
[2026-08-26 13:32:44] local.INFO: Extracted packet for processing {"connection_id":164957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d13"} 
[2026-08-26 13:32:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659079936001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:32: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-26 13:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787731082000,"timestamp_ms":1787731082000,"timestamp_seconds":1787731082,"priority":1,"record_length":96,"hex_timestamp":"000001a03d137b10"} 
[2026-08-26 13: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-26 13:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 13: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:32: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-26 13: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-26 13: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-26 13:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:32:44] 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-26 13:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659079936001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659079936001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:32:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:32:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659079936001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":164957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:32:44] local.INFO: GPS data processed {"connection_id":164957,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:32:44] local.INFO: Acknowledgment sent {"connection_id":164957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:33:15] local.INFO: TCP Data received {"connection_id":164957,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:33:15] local.INFO: Processing buffer {"connection_id":164957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d137b10012d34c14006aa4818000300e62e..."} 
[2026-08-26 13:33:15] local.INFO: Packet analysis {"connection_id":164957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d13"} 
[2026-08-26 13:33:15] local.INFO: Extracted packet for processing {"connection_id":164957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d13"} 
[2026-08-26 13:33:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659079936001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13: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-26 13:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787731082000,"timestamp_ms":1787731082000,"timestamp_seconds":1787731082,"priority":1,"record_length":96,"hex_timestamp":"000001a03d137b10"} 
[2026-08-26 13:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 13:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:33:15] 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-26 13:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:33: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-26 13:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659079936001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659079936001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:33:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:33:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659079936001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":164957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:33:15] local.INFO: GPS data processed {"connection_id":164957,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:33:15] local.INFO: Acknowledgment sent {"connection_id":164957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:33:40] local.INFO: TCP Data received {"connection_id":163618,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:33:41] local.INFO: Processing buffer {"connection_id":163618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:33:41] local.INFO: IMEI packet received {"connection_id":163618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":163618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:33:42] local.INFO: TCP Data received {"connection_id":163618,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:33:42] local.INFO: Processing buffer {"connection_id":163618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:33:42] local.INFO: IMEI packet received {"connection_id":163618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":163618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:33:47] local.INFO: TCP Data received {"connection_id":163618,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:33:47] local.INFO: Processing buffer {"connection_id":163618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:33:47] local.INFO: IMEI packet received {"connection_id":163618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":163618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:33:48] local.INFO: TCP Data received {"connection_id":163618,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:33:48] local.INFO: Processing buffer {"connection_id":163618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:33:48] local.INFO: Packet analysis {"connection_id":163618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d18"} 
[2026-08-26 13:33:48] local.INFO: Extracted packet for processing {"connection_id":163618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d18"} 
[2026-08-26 13:33:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659156992001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 13:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787731383000,"timestamp_ms":1787731383000,"timestamp_seconds":1787731383,"priority":1,"record_length":96,"hex_timestamp":"000001a03d1812d8"} 
[2026-08-26 13:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 13:33:48] 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-26 13:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:33:48] 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-26 13:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659156992001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659156992001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:33:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:33:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659156992001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":163618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:33:48] local.INFO: GPS data processed {"connection_id":163618,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:33:48] local.INFO: Acknowledgment sent {"connection_id":163618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:33:52] local.INFO: TCP Data received {"connection_id":163618,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:33:52] local.INFO: Processing buffer {"connection_id":163618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:33:52] local.INFO: Packet analysis {"connection_id":163618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d18"} 
[2026-08-26 13:33:52] local.INFO: Extracted packet for processing {"connection_id":163618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d18"} 
[2026-08-26 13:33:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659156992001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:33: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-26 13:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787731383000,"timestamp_ms":1787731383000,"timestamp_seconds":1787731383,"priority":1,"record_length":96,"hex_timestamp":"000001a03d1812d8"} 
[2026-08-26 13: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-26 13:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 13:33:52] 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-26 13: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-26 13: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-26 13:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:33:52] 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-26 13:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659156992001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659156992001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:33:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:33:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659156992001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":163618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:33:52] local.INFO: GPS data processed {"connection_id":163618,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:33:52] local.INFO: Acknowledgment sent {"connection_id":163618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:34:37] local.INFO: TCP Data received {"connection_id":162597,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:34:37] local.INFO: Processing buffer {"connection_id":162597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:34:37] local.INFO: IMEI packet received {"connection_id":162597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":162597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:34:42] local.INFO: TCP Data received {"connection_id":162597,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:34:42] local.INFO: Processing buffer {"connection_id":162597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:34:42] local.INFO: IMEI packet received {"connection_id":162597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":162597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:34:43] local.INFO: TCP Data received {"connection_id":162597,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:34:43] local.INFO: Processing buffer {"connection_id":162597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:34:43] local.INFO: Packet analysis {"connection_id":162597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d18"} 
[2026-08-26 13:34:43] local.INFO: Extracted packet for processing {"connection_id":162597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d18"} 
[2026-08-26 13:34:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659156992001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:34: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-26 13:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787731383000,"timestamp_ms":1787731383000,"timestamp_seconds":1787731383,"priority":1,"record_length":96,"hex_timestamp":"000001a03d1812d8"} 
[2026-08-26 13:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 13:34:43] 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-26 13:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:34: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-26 13:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659156992001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659156992001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:34:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:34:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659156992001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":162597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:34:43] local.INFO: GPS data processed {"connection_id":162597,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:34:43] local.INFO: Acknowledgment sent {"connection_id":162597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:35:14] local.INFO: TCP Data received {"connection_id":162597,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:35:14] local.INFO: Processing buffer {"connection_id":162597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:35:14] local.INFO: Packet analysis {"connection_id":162597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d18"} 
[2026-08-26 13:35:14] local.INFO: Extracted packet for processing {"connection_id":162597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d18"} 
[2026-08-26 13:35:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659156992001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:35: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-26 13:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787731383000,"timestamp_ms":1787731383000,"timestamp_seconds":1787731383,"priority":1,"record_length":96,"hex_timestamp":"000001a03d1812d8"} 
[2026-08-26 13: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-26 13:35: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-26 13: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 13:35: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-26 13: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-26 13: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-26 13:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:35: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-26 13:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659156992001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659156992001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:35:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:35:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659156992001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":162597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:35:14] local.INFO: GPS data processed {"connection_id":162597,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:35:14] local.INFO: Acknowledgment sent {"connection_id":162597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:35:36] local.INFO: TCP Data received {"connection_id":164958,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:35:36] local.INFO: Processing buffer {"connection_id":164958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:35:36] local.INFO: IMEI packet received {"connection_id":164958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":164958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:35:42] local.INFO: TCP Data received {"connection_id":164958,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:35:42] local.INFO: Processing buffer {"connection_id":164958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:35:42] local.INFO: IMEI packet received {"connection_id":164958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":164958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:35:43] local.INFO: TCP Data received {"connection_id":164958,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:35:43] local.INFO: Processing buffer {"connection_id":164958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:35:43] local.INFO: Packet analysis {"connection_id":164958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d18"} 
[2026-08-26 13:35:43] local.INFO: Extracted packet for processing {"connection_id":164958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d18"} 
[2026-08-26 13:35:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659156992001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13: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-26 13:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787731383000,"timestamp_ms":1787731383000,"timestamp_seconds":1787731383,"priority":1,"record_length":96,"hex_timestamp":"000001a03d1812d8"} 
[2026-08-26 13:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 13:35:43] 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-26 13:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:35: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-26 13:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659156992001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659156992001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:35:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:35:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659156992001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":164958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:35:43] local.INFO: GPS data processed {"connection_id":164958,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:35:43] local.INFO: Acknowledgment sent {"connection_id":164958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:36:16] local.INFO: TCP Data received {"connection_id":164958,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:36:16] local.INFO: Processing buffer {"connection_id":164958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:36:16] local.INFO: Packet analysis {"connection_id":164958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d18"} 
[2026-08-26 13:36:16] local.INFO: Extracted packet for processing {"connection_id":164958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d18"} 
[2026-08-26 13:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659156992001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13: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-26 13:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787731383000,"timestamp_ms":1787731383000,"timestamp_seconds":1787731383,"priority":1,"record_length":96,"hex_timestamp":"000001a03d1812d8"} 
[2026-08-26 13: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-26 13:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 13: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 13:36: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-26 13: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-26 13: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-26 13:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:36: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-26 13:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659156992001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659156992001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:36:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659156992001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":164958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:36:16] local.INFO: GPS data processed {"connection_id":164958,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:36:16] local.INFO: Acknowledgment sent {"connection_id":164958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:36:36] local.INFO: TCP Data received {"connection_id":162370,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:36:36] local.INFO: Processing buffer {"connection_id":162370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:36:36] local.INFO: IMEI packet received {"connection_id":162370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":162370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:36:43] local.INFO: TCP Data received {"connection_id":162370,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:36:43] local.INFO: Processing buffer {"connection_id":162370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:36:43] local.INFO: IMEI packet received {"connection_id":162370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":162370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:36:44] local.INFO: TCP Data received {"connection_id":162370,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:36:44] local.INFO: Processing buffer {"connection_id":162370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:36:44] local.INFO: Packet analysis {"connection_id":162370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d18"} 
[2026-08-26 13:36:44] local.INFO: Extracted packet for processing {"connection_id":162370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d18"} 
[2026-08-26 13:36:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659156992001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:36: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-26 13:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787731383000,"timestamp_ms":1787731383000,"timestamp_seconds":1787731383,"priority":1,"record_length":96,"hex_timestamp":"000001a03d1812d8"} 
[2026-08-26 13:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 13:36: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-26 13:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:36: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-26 13:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659156992001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659156992001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:36:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:36:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659156992001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":162370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:36:44] local.INFO: GPS data processed {"connection_id":162370,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:36:44] local.INFO: Acknowledgment sent {"connection_id":162370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:36:47] local.INFO: TCP Data received {"connection_id":162369,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:36:47] local.INFO: Processing buffer {"connection_id":162369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:36:47] local.INFO: IMEI packet received {"connection_id":162369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 13:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":162369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:37:15] local.INFO: TCP Data received {"connection_id":162370,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:37:15] local.INFO: Processing buffer {"connection_id":162370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:37:15] local.INFO: Packet analysis {"connection_id":162370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d18"} 
[2026-08-26 13:37:15] local.INFO: Extracted packet for processing {"connection_id":162370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d18"} 
[2026-08-26 13:37:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659156992001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:37: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-26 13:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787731383000,"timestamp_ms":1787731383000,"timestamp_seconds":1787731383,"priority":1,"record_length":96,"hex_timestamp":"000001a03d1812d8"} 
[2026-08-26 13:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 13:37: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-26 13:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:37: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-26 13:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659156992001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659156992001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:37:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:37:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659156992001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":162370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:37:15] local.INFO: GPS data processed {"connection_id":162370,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:37:15] local.INFO: Acknowledgment sent {"connection_id":162370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:37:42] local.INFO: TCP Data received {"connection_id":164959,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:37:42] local.INFO: Processing buffer {"connection_id":164959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:37:42] local.INFO: IMEI packet received {"connection_id":164959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":164959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:37:47] local.INFO: TCP Data received {"connection_id":164959,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:37:47] local.INFO: Processing buffer {"connection_id":164959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:37:47] local.INFO: IMEI packet received {"connection_id":164959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":164959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:37:48] local.INFO: TCP Data received {"connection_id":164959,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:37:48] local.INFO: Processing buffer {"connection_id":164959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:37:48] local.INFO: Packet analysis {"connection_id":164959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d18"} 
[2026-08-26 13:37:48] local.INFO: Extracted packet for processing {"connection_id":164959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d18"} 
[2026-08-26 13:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659156992001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 13:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787731383000,"timestamp_ms":1787731383000,"timestamp_seconds":1787731383,"priority":1,"record_length":96,"hex_timestamp":"000001a03d1812d8"} 
[2026-08-26 13: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-26 13:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 13:37:48] 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-26 13: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-26 13: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-26 13:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:37:48] 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-26 13:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659156992001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659156992001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:37:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:37:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659156992001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":164959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:37:48] local.INFO: GPS data processed {"connection_id":164959,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:37:48] local.INFO: Acknowledgment sent {"connection_id":164959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:37:52] local.INFO: TCP Data received {"connection_id":164959,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:37:52] local.INFO: Processing buffer {"connection_id":164959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d1812d8012d34c14006aa4818000600e62f..."} 
[2026-08-26 13:37:52] local.INFO: Packet analysis {"connection_id":164959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d18"} 
[2026-08-26 13:37:52] local.INFO: Extracted packet for processing {"connection_id":164959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d18"} 
[2026-08-26 13:37:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659156992001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:37: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-26 13:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787731383000,"timestamp_ms":1787731383000,"timestamp_seconds":1787731383,"priority":1,"record_length":96,"hex_timestamp":"000001a03d1812d8"} 
[2026-08-26 13: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-26 13:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 13:37:52] 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-26 13: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-26 13: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-26 13:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:37:52] 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-26 13:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659156992001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659156992001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:37:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:37:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659156992001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":164959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:37:52] local.INFO: GPS data processed {"connection_id":164959,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:37:52] local.INFO: Acknowledgment sent {"connection_id":164959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:38:37] local.INFO: TCP Data received {"connection_id":162598,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:38:37] local.INFO: Processing buffer {"connection_id":162598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:38:37] local.INFO: IMEI packet received {"connection_id":162598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":162598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:38:42] local.INFO: TCP Data received {"connection_id":162598,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:38:42] local.INFO: Processing buffer {"connection_id":162598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:38:42] local.INFO: IMEI packet received {"connection_id":162598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":162598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:38:43] local.INFO: TCP Data received {"connection_id":162598,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:38:43] local.INFO: Processing buffer {"connection_id":162598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:38:43] local.INFO: Packet analysis {"connection_id":162598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d1c"} 
[2026-08-26 13:38:43] local.INFO: Extracted packet for processing {"connection_id":162598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d1c"} 
[2026-08-26 13:38:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659234048001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13: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-26 13:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787731684000,"timestamp_ms":1787731684000,"timestamp_seconds":1787731684,"priority":1,"record_length":96,"hex_timestamp":"000001a03d1caaa0"} 
[2026-08-26 13: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-26 13:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13: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":194,"data_length":795,"current_offset":136} 
[2026-08-26 13:38:43] 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-26 13: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-26 13: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-26 13:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:38:43] 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-26 13:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659234048001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659234048001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:38:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:38:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659234048001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":162598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:38:43] local.INFO: GPS data processed {"connection_id":162598,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:38:43] local.INFO: Acknowledgment sent {"connection_id":162598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:39:15] local.INFO: TCP Data received {"connection_id":162598,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:39:15] local.INFO: Processing buffer {"connection_id":162598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:39:15] local.INFO: Packet analysis {"connection_id":162598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d1c"} 
[2026-08-26 13:39:15] local.INFO: Extracted packet for processing {"connection_id":162598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d1c"} 
[2026-08-26 13:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 13:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659234048001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:39: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-26 13:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787731684000,"timestamp_ms":1787731684000,"timestamp_seconds":1787731684,"priority":1,"record_length":96,"hex_timestamp":"000001a03d1caaa0"} 
[2026-08-26 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-26 13:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 13:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 13:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:39:15] 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-26 13:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659234048001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659234048001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659234048001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":162598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:39:15] local.INFO: GPS data processed {"connection_id":162598,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:39:15] local.INFO: Acknowledgment sent {"connection_id":162598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:39:36] local.INFO: TCP Data received {"connection_id":164960,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:39:36] local.INFO: Processing buffer {"connection_id":164960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:39:36] local.INFO: IMEI packet received {"connection_id":164960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":164960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:39:42] local.INFO: TCP Data received {"connection_id":164960,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:39:42] local.INFO: Processing buffer {"connection_id":164960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:39:42] local.INFO: IMEI packet received {"connection_id":164960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":164960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:39:43] local.INFO: TCP Data received {"connection_id":164960,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:39:43] local.INFO: Processing buffer {"connection_id":164960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:39:43] local.INFO: Packet analysis {"connection_id":164960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d1c"} 
[2026-08-26 13:39:43] local.INFO: Extracted packet for processing {"connection_id":164960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d1c"} 
[2026-08-26 13:39:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659234048001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:39: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-26 13:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787731684000,"timestamp_ms":1787731684000,"timestamp_seconds":1787731684,"priority":1,"record_length":96,"hex_timestamp":"000001a03d1caaa0"} 
[2026-08-26 13: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-26 13:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 13:39:43] 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-26 13: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-26 13: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-26 13:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:39:43] 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-26 13:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659234048001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659234048001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:39:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:39:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659234048001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":164960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:39:43] local.INFO: GPS data processed {"connection_id":164960,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:39:43] local.INFO: Acknowledgment sent {"connection_id":164960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:40:14] local.INFO: TCP Data received {"connection_id":164960,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:40:14] local.INFO: Processing buffer {"connection_id":164960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:40:14] local.INFO: Packet analysis {"connection_id":164960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d1c"} 
[2026-08-26 13:40:14] local.INFO: Extracted packet for processing {"connection_id":164960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d1c"} 
[2026-08-26 13:40:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659234048001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:40: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-26 13:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787731684000,"timestamp_ms":1787731684000,"timestamp_seconds":1787731684,"priority":1,"record_length":96,"hex_timestamp":"000001a03d1caaa0"} 
[2026-08-26 13: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-26 13:40: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-26 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 13:40:14] 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-26 13: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-26 13: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-26 13:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:40: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-26 13:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659234048001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659234048001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:40:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:40:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659234048001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":164960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:40:14] local.INFO: GPS data processed {"connection_id":164960,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:40:14] local.INFO: Acknowledgment sent {"connection_id":164960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:40:37] local.INFO: TCP Data received {"connection_id":163620,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:40:37] local.INFO: Processing buffer {"connection_id":163620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:40:37] local.INFO: IMEI packet received {"connection_id":163620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":163620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:40:42] local.INFO: TCP Data received {"connection_id":163620,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:40:42] local.INFO: Processing buffer {"connection_id":163620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:40:42] local.INFO: IMEI packet received {"connection_id":163620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":163620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:40:43] local.INFO: TCP Data received {"connection_id":163620,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:40:43] local.INFO: Processing buffer {"connection_id":163620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:40:43] local.INFO: Packet analysis {"connection_id":163620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d1c"} 
[2026-08-26 13:40:43] local.INFO: Extracted packet for processing {"connection_id":163620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d1c"} 
[2026-08-26 13:40:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659234048001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:40: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-26 13:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787731684000,"timestamp_ms":1787731684000,"timestamp_seconds":1787731684,"priority":1,"record_length":96,"hex_timestamp":"000001a03d1caaa0"} 
[2026-08-26 13: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-26 13:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 13:40:43] 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-26 13: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-26 13: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-26 13:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:40: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-26 13:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659234048001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659234048001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:40:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:40:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659234048001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":163620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:40:43] local.INFO: GPS data processed {"connection_id":163620,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:40:43] local.INFO: Acknowledgment sent {"connection_id":163620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:41:15] local.INFO: TCP Data received {"connection_id":163620,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:41:15] local.INFO: Processing buffer {"connection_id":163620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:41:15] local.INFO: Packet analysis {"connection_id":163620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d1c"} 
[2026-08-26 13:41:15] local.INFO: Extracted packet for processing {"connection_id":163620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d1c"} 
[2026-08-26 13:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659234048001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:41: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-26 13:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787731684000,"timestamp_ms":1787731684000,"timestamp_seconds":1787731684,"priority":1,"record_length":96,"hex_timestamp":"000001a03d1caaa0"} 
[2026-08-26 13: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-26 13:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13: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":194,"data_length":795,"current_offset":136} 
[2026-08-26 13:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 13: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-26 13: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-26 13:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:41: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-26 13:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659234048001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659234048001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:41:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659234048001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":163620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:41:15] local.INFO: GPS data processed {"connection_id":163620,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:41:15] local.INFO: Acknowledgment sent {"connection_id":163620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:41:41] local.INFO: TCP Data received {"connection_id":164961,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:41:41] local.INFO: Processing buffer {"connection_id":164961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:41:41] local.INFO: IMEI packet received {"connection_id":164961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":164961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:41:47] local.INFO: TCP Data received {"connection_id":164961,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:41:47] local.INFO: Processing buffer {"connection_id":164961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:41:47] local.INFO: IMEI packet received {"connection_id":164961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":164961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:41:48] local.INFO: TCP Data received {"connection_id":164961,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:41:48] local.INFO: Processing buffer {"connection_id":164961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:41:48] local.INFO: Packet analysis {"connection_id":164961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d1c"} 
[2026-08-26 13:41:48] local.INFO: Extracted packet for processing {"connection_id":164961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d1c"} 
[2026-08-26 13:41:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659234048001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 13:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787731684000,"timestamp_ms":1787731684000,"timestamp_seconds":1787731684,"priority":1,"record_length":96,"hex_timestamp":"000001a03d1caaa0"} 
[2026-08-26 13: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-26 13:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 13:41:48] 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-26 13: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-26 13: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-26 13:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 13:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659234048001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659234048001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:41:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:41:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659234048001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":164961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:41:48] local.INFO: GPS data processed {"connection_id":164961,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:41:48] local.INFO: Acknowledgment sent {"connection_id":164961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:42:19] local.INFO: TCP Data received {"connection_id":164961,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:42:19] local.INFO: Processing buffer {"connection_id":164961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:42:19] local.INFO: Packet analysis {"connection_id":164961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d1c"} 
[2026-08-26 13:42:19] local.INFO: Extracted packet for processing {"connection_id":164961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d1c"} 
[2026-08-26 13:42:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659234048001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 13:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787731684000,"timestamp_ms":1787731684000,"timestamp_seconds":1787731684,"priority":1,"record_length":96,"hex_timestamp":"000001a03d1caaa0"} 
[2026-08-26 13: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-26 13:42: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-26 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 13:42:19] 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-26 13: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-26 13: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-26 13:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 13:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659234048001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659234048001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:42:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:42:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659234048001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":164961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:42:19] local.INFO: GPS data processed {"connection_id":164961,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:42:19] local.INFO: Acknowledgment sent {"connection_id":164961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:42:22] local.INFO: TCP Data received {"connection_id":163619,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:42:22] local.INFO: Processing buffer {"connection_id":163619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:42:22] local.INFO: IMEI packet received {"connection_id":163619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 13:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":163619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:42:36] local.INFO: TCP Data received {"connection_id":164962,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:42:36] local.INFO: Processing buffer {"connection_id":164962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:42:36] local.INFO: IMEI packet received {"connection_id":164962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":164962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:42:42] local.INFO: TCP Data received {"connection_id":164962,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:42:42] local.INFO: Processing buffer {"connection_id":164962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:42:42] local.INFO: IMEI packet received {"connection_id":164962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":164962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:42:44] local.INFO: TCP Data received {"connection_id":164962,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:42:44] local.INFO: Processing buffer {"connection_id":164962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:42:44] local.INFO: Packet analysis {"connection_id":164962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d1c"} 
[2026-08-26 13:42:44] local.INFO: Extracted packet for processing {"connection_id":164962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d1c"} 
[2026-08-26 13:42:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659234048001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:42: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-26 13:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787731684000,"timestamp_ms":1787731684000,"timestamp_seconds":1787731684,"priority":1,"record_length":96,"hex_timestamp":"000001a03d1caaa0"} 
[2026-08-26 13: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-26 13:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 13:42:44] 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-26 13: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-26 13: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-26 13:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:42:44] 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-26 13:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659234048001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659234048001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:42:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:42:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659234048001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":164962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:42:44] local.INFO: GPS data processed {"connection_id":164962,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:42:44] local.INFO: Acknowledgment sent {"connection_id":164962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:43:02] local.INFO: TCP Data received {"connection_id":163621,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:43:02] local.INFO: Processing buffer {"connection_id":163621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:43:02] local.INFO: IMEI packet received {"connection_id":163621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 13:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":163621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:43:15] local.INFO: TCP Data received {"connection_id":164962,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:43:15] local.INFO: Processing buffer {"connection_id":164962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:43:15] local.INFO: Packet analysis {"connection_id":164962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d1c"} 
[2026-08-26 13:43:15] local.INFO: Extracted packet for processing {"connection_id":164962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d1c"} 
[2026-08-26 13:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659234048001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:43: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-26 13:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787731684000,"timestamp_ms":1787731684000,"timestamp_seconds":1787731684,"priority":1,"record_length":96,"hex_timestamp":"000001a03d1caaa0"} 
[2026-08-26 13:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 13:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 13:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:43: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-26 13:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659234048001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659234048001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:43:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659234048001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":164962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:43:15] local.INFO: GPS data processed {"connection_id":164962,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:43:15] local.INFO: Acknowledgment sent {"connection_id":164962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:43:36] local.INFO: TCP Data received {"connection_id":162372,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:43:36] local.INFO: Processing buffer {"connection_id":162372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:43:36] local.INFO: IMEI packet received {"connection_id":162372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":162372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:43:42] local.INFO: TCP Data received {"connection_id":162372,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:43:42] local.INFO: Processing buffer {"connection_id":162372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:43:42] local.INFO: IMEI packet received {"connection_id":162372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":162372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:43:43] local.INFO: TCP Data received {"connection_id":162372,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:43:43] local.INFO: Processing buffer {"connection_id":162372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d1caaa0012d34c14006aa4818000400e62e..."} 
[2026-08-26 13:43:43] local.INFO: Packet analysis {"connection_id":162372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d1c"} 
[2026-08-26 13:43:43] local.INFO: Extracted packet for processing {"connection_id":162372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d1c"} 
[2026-08-26 13:43:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659234048001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:43: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-26 13:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787731684000,"timestamp_ms":1787731684000,"timestamp_seconds":1787731684,"priority":1,"record_length":96,"hex_timestamp":"000001a03d1caaa0"} 
[2026-08-26 13:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 13:43:43] 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-26 13:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:43: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-26 13:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659234048001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659234048001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:43:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:43:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659234048001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":162372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:43:43] local.INFO: GPS data processed {"connection_id":162372,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:43:43] local.INFO: Acknowledgment sent {"connection_id":162372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:44:14] local.INFO: TCP Data received {"connection_id":162372,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:44:14] local.INFO: Processing buffer {"connection_id":162372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:44:14] local.INFO: Packet analysis {"connection_id":162372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d21"} 
[2026-08-26 13:44:14] local.INFO: Extracted packet for processing {"connection_id":162372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d21"} 
[2026-08-26 13:44:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659311104001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:44: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-26 13:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787731985000,"timestamp_ms":1787731985000,"timestamp_seconds":1787731985,"priority":1,"record_length":96,"hex_timestamp":"000001a03d214268"} 
[2026-08-26 13: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-26 13:44: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-26 13: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:44: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-26 13: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-26 13: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-26 13:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:44: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-26 13:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659311104001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659311104001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:44:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:44:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659311104001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":162372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:44:14] local.INFO: GPS data processed {"connection_id":162372,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:44:14] local.INFO: Acknowledgment sent {"connection_id":162372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:44:37] local.INFO: TCP Data received {"connection_id":164963,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:44:37] local.INFO: Processing buffer {"connection_id":164963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:44:37] local.INFO: IMEI packet received {"connection_id":164963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":164963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:44:43] local.INFO: TCP Data received {"connection_id":164963,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:44:43] local.INFO: Processing buffer {"connection_id":164963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:44:43] local.INFO: IMEI packet received {"connection_id":164963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":164963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:44:44] local.INFO: TCP Data received {"connection_id":164963,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:44:44] local.INFO: Processing buffer {"connection_id":164963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:44:44] local.INFO: Packet analysis {"connection_id":164963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d21"} 
[2026-08-26 13:44:44] local.INFO: Extracted packet for processing {"connection_id":164963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d21"} 
[2026-08-26 13:44:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659311104001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:44: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-26 13:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787731985000,"timestamp_ms":1787731985000,"timestamp_seconds":1787731985,"priority":1,"record_length":96,"hex_timestamp":"000001a03d214268"} 
[2026-08-26 13: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-26 13:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:44: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-26 13: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-26 13: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-26 13:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 13:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659311104001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659311104001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:44:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:44:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659311104001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":164963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:44:44] local.INFO: GPS data processed {"connection_id":164963,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:44:44] local.INFO: Acknowledgment sent {"connection_id":164963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:45:16] local.INFO: TCP Data received {"connection_id":164963,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:45:16] local.INFO: Processing buffer {"connection_id":164963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:45:16] local.INFO: Packet analysis {"connection_id":164963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d21"} 
[2026-08-26 13:45:16] local.INFO: Extracted packet for processing {"connection_id":164963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d21"} 
[2026-08-26 13:45:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659311104001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13: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-26 13:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787731985000,"timestamp_ms":1787731985000,"timestamp_seconds":1787731985,"priority":1,"record_length":96,"hex_timestamp":"000001a03d214268"} 
[2026-08-26 13: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-26 13:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 13: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":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:45:16] 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-26 13: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-26 13: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-26 13:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:45: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-26 13:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659311104001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659311104001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:45:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:45:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659311104001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":164963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:45:16] local.INFO: GPS data processed {"connection_id":164963,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:45:16] local.INFO: Acknowledgment sent {"connection_id":164963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:45:36] local.INFO: TCP Data received {"connection_id":163622,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:45:36] local.INFO: Processing buffer {"connection_id":163622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:45:36] local.INFO: IMEI packet received {"connection_id":163622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":163622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:45:42] local.INFO: TCP Data received {"connection_id":163622,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:45:42] local.INFO: Processing buffer {"connection_id":163622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:45:42] local.INFO: IMEI packet received {"connection_id":163622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":163622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:45:43] local.INFO: TCP Data received {"connection_id":163622,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:45:43] local.INFO: Processing buffer {"connection_id":163622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:45:43] local.INFO: Packet analysis {"connection_id":163622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d21"} 
[2026-08-26 13:45:43] local.INFO: Extracted packet for processing {"connection_id":163622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d21"} 
[2026-08-26 13:45:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659311104001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:45: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-26 13:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787731985000,"timestamp_ms":1787731985000,"timestamp_seconds":1787731985,"priority":1,"record_length":96,"hex_timestamp":"000001a03d214268"} 
[2026-08-26 13:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:45: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-26 13:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:45:43] 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-26 13:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659311104001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659311104001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:45:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:45:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659311104001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":163622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:45:43] local.INFO: GPS data processed {"connection_id":163622,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:45:43] local.INFO: Acknowledgment sent {"connection_id":163622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:46:14] local.INFO: TCP Data received {"connection_id":163622,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:46:14] local.INFO: Processing buffer {"connection_id":163622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:46:14] local.INFO: Packet analysis {"connection_id":163622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d21"} 
[2026-08-26 13:46:14] local.INFO: Extracted packet for processing {"connection_id":163622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d21"} 
[2026-08-26 13:46:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659311104001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13: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-26 13:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787731985000,"timestamp_ms":1787731985000,"timestamp_seconds":1787731985,"priority":1,"record_length":96,"hex_timestamp":"000001a03d214268"} 
[2026-08-26 13: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-26 13:46: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-26 13: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":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:46: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-26 13: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-26 13: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-26 13:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:46: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-26 13:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659311104001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659311104001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:46:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:46:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659311104001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":163622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:46:14] local.INFO: GPS data processed {"connection_id":163622,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:46:14] local.INFO: Acknowledgment sent {"connection_id":163622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:46:36] local.INFO: TCP Data received {"connection_id":162599,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:46:36] local.INFO: Processing buffer {"connection_id":162599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:46:36] local.INFO: IMEI packet received {"connection_id":162599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":162599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:46:42] local.INFO: TCP Data received {"connection_id":162599,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:46:42] local.INFO: Processing buffer {"connection_id":162599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:46:42] local.INFO: IMEI packet received {"connection_id":162599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":162599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:46:43] local.INFO: TCP Data received {"connection_id":162599,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:46:43] local.INFO: Processing buffer {"connection_id":162599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:46:43] local.INFO: Packet analysis {"connection_id":162599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d21"} 
[2026-08-26 13:46:43] local.INFO: Extracted packet for processing {"connection_id":162599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d21"} 
[2026-08-26 13:46:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659311104001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:46: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-26 13:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787731985000,"timestamp_ms":1787731985000,"timestamp_seconds":1787731985,"priority":1,"record_length":96,"hex_timestamp":"000001a03d214268"} 
[2026-08-26 13:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:46:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:46: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-26 13:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:46:43] 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-26 13:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659311104001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659311104001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:46:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:46:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659311104001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":162599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:46:43] local.INFO: GPS data processed {"connection_id":162599,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:46:43] local.INFO: Acknowledgment sent {"connection_id":162599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:47:16] local.INFO: TCP Data received {"connection_id":162599,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:47:16] local.INFO: Processing buffer {"connection_id":162599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:47:16] local.INFO: Packet analysis {"connection_id":162599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d21"} 
[2026-08-26 13:47:16] local.INFO: Extracted packet for processing {"connection_id":162599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d21"} 
[2026-08-26 13:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659311104001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:47: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-26 13:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787731985000,"timestamp_ms":1787731985000,"timestamp_seconds":1787731985,"priority":1,"record_length":96,"hex_timestamp":"000001a03d214268"} 
[2026-08-26 13:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 13:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:47:16] 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-26 13:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:47: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-26 13:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659311104001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659311104001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:47:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659311104001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":162599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:47:16] local.INFO: GPS data processed {"connection_id":162599,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:47:16] local.INFO: Acknowledgment sent {"connection_id":162599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:47:42] local.INFO: TCP Data received {"connection_id":162373,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:47:42] local.INFO: Processing buffer {"connection_id":162373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:47:42] local.INFO: IMEI packet received {"connection_id":162373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":162373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:47:47] local.INFO: TCP Data received {"connection_id":162373,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:47:47] local.INFO: Processing buffer {"connection_id":162373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:47:47] local.INFO: IMEI packet received {"connection_id":162373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":162373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:47:48] local.INFO: TCP Data received {"connection_id":162373,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:47:48] local.INFO: Processing buffer {"connection_id":162373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:47:48] local.INFO: Packet analysis {"connection_id":162373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d21"} 
[2026-08-26 13:47:48] local.INFO: Extracted packet for processing {"connection_id":162373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d21"} 
[2026-08-26 13:47:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 13:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659311104001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 13:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787731985000,"timestamp_ms":1787731985000,"timestamp_seconds":1787731985,"priority":1,"record_length":96,"hex_timestamp":"000001a03d214268"} 
[2026-08-26 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-26 13:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:47:48] 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-26 13: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-26 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-26 13:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:47:48] 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-26 13:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659311104001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659311104001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:47:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:47:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659311104001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":162373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:47:48] local.INFO: GPS data processed {"connection_id":162373,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:47:48] local.INFO: Acknowledgment sent {"connection_id":162373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:47:52] local.INFO: TCP Data received {"connection_id":162373,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:47:52] local.INFO: Processing buffer {"connection_id":162373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:47:52] local.INFO: Packet analysis {"connection_id":162373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d21"} 
[2026-08-26 13:47:52] local.INFO: Extracted packet for processing {"connection_id":162373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d21"} 
[2026-08-26 13:47:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659311104001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:47: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-26 13:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787731985000,"timestamp_ms":1787731985000,"timestamp_seconds":1787731985,"priority":1,"record_length":96,"hex_timestamp":"000001a03d214268"} 
[2026-08-26 13:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:47:52] 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-26 13:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:47:52] 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-26 13:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659311104001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659311104001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:47:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:47:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659311104001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":162373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:47:52] local.INFO: GPS data processed {"connection_id":162373,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:47:52] local.INFO: Acknowledgment sent {"connection_id":162373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:48:27] local.INFO: TCP Data received {"connection_id":163623,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:48:27] local.INFO: Processing buffer {"connection_id":163623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:48:27] local.INFO: IMEI packet received {"connection_id":163623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 13:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":163623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:48:37] local.INFO: TCP Data received {"connection_id":163624,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:48:37] local.INFO: Processing buffer {"connection_id":163624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:48:37] local.INFO: IMEI packet received {"connection_id":163624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":163624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:48:42] local.INFO: TCP Data received {"connection_id":163624,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:48:42] local.INFO: Processing buffer {"connection_id":163624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:48:42] local.INFO: IMEI packet received {"connection_id":163624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":163624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:48:43] local.INFO: TCP Data received {"connection_id":163624,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:48:43] local.INFO: Processing buffer {"connection_id":163624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d214268012d34c14006aa4818000800e62e..."} 
[2026-08-26 13:48:43] local.INFO: Packet analysis {"connection_id":163624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d21"} 
[2026-08-26 13:48:43] local.INFO: Extracted packet for processing {"connection_id":163624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d21"} 
[2026-08-26 13:48:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659311104001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:48: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-26 13:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787731985000,"timestamp_ms":1787731985000,"timestamp_seconds":1787731985,"priority":1,"record_length":96,"hex_timestamp":"000001a03d214268"} 
[2026-08-26 13:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:48: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-26 13:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:48:43] 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-26 13:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659311104001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659311104001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:48:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:48:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659311104001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":163624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:48:43] local.INFO: GPS data processed {"connection_id":163624,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:48:43] local.INFO: Acknowledgment sent {"connection_id":163624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:49:15] local.INFO: TCP Data received {"connection_id":163624,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:49:15] local.INFO: Processing buffer {"connection_id":163624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:49:15] local.INFO: Packet analysis {"connection_id":163624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d25"} 
[2026-08-26 13:49:15] local.INFO: Extracted packet for processing {"connection_id":163624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d25"} 
[2026-08-26 13:49:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659388160001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13: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-26 13:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787732286000,"timestamp_ms":1787732286000,"timestamp_seconds":1787732286,"priority":1,"record_length":96,"hex_timestamp":"000001a03d25da30"} 
[2026-08-26 13: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-26 13:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13: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":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:49:15] 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-26 13: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-26 13: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-26 13:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:49: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-26 13:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659388160001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659388160001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:49:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:49:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659388160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":163624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:49:15] local.INFO: GPS data processed {"connection_id":163624,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:49:15] local.INFO: Acknowledgment sent {"connection_id":163624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:49:36] local.INFO: TCP Data received {"connection_id":164964,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:49:36] local.INFO: Processing buffer {"connection_id":164964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:49:36] local.INFO: IMEI packet received {"connection_id":164964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":164964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:49:44] local.INFO: TCP Data received {"connection_id":164964,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:49:44] local.INFO: Processing buffer {"connection_id":164964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:49:44] local.INFO: IMEI packet received {"connection_id":164964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":164964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:49:45] local.INFO: TCP Data received {"connection_id":164964,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:49:45] local.INFO: Processing buffer {"connection_id":164964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:49:45] local.INFO: Packet analysis {"connection_id":164964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d25"} 
[2026-08-26 13:49:45] local.INFO: Extracted packet for processing {"connection_id":164964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d25"} 
[2026-08-26 13:49:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659388160001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:49: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-26 13:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787732286000,"timestamp_ms":1787732286000,"timestamp_seconds":1787732286,"priority":1,"record_length":96,"hex_timestamp":"000001a03d25da30"} 
[2026-08-26 13:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:49: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-26 13:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:49:45] 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-26 13:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:49: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-26 13:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659388160001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659388160001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:49:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:49:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659388160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":164964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:49:45] local.INFO: GPS data processed {"connection_id":164964,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:49:45] local.INFO: Acknowledgment sent {"connection_id":164964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:50:17] local.INFO: TCP Data received {"connection_id":164964,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:50:17] local.INFO: Processing buffer {"connection_id":164964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:50:17] local.INFO: Packet analysis {"connection_id":164964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d25"} 
[2026-08-26 13:50:17] local.INFO: Extracted packet for processing {"connection_id":164964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d25"} 
[2026-08-26 13:50:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659388160001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:50: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-26 13:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787732286000,"timestamp_ms":1787732286000,"timestamp_seconds":1787732286,"priority":1,"record_length":96,"hex_timestamp":"000001a03d25da30"} 
[2026-08-26 13:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:50: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-26 13:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:50:17] 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-26 13:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 13:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659388160001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659388160001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:50:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:50:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659388160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":164964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:50:17] local.INFO: GPS data processed {"connection_id":164964,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:50:17] local.INFO: Acknowledgment sent {"connection_id":164964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:50:36] local.INFO: TCP Data received {"connection_id":162600,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:50:36] local.INFO: Processing buffer {"connection_id":162600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:50:36] local.INFO: IMEI packet received {"connection_id":162600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":162600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:50:42] local.INFO: TCP Data received {"connection_id":162600,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:50:42] local.INFO: Processing buffer {"connection_id":162600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:50:42] local.INFO: IMEI packet received {"connection_id":162600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":162600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:50:43] local.INFO: TCP Data received {"connection_id":162600,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:50:43] local.INFO: Processing buffer {"connection_id":162600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:50:43] local.INFO: Packet analysis {"connection_id":162600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d25"} 
[2026-08-26 13:50:43] local.INFO: Extracted packet for processing {"connection_id":162600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d25"} 
[2026-08-26 13:50:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659388160001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:50: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-26 13:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787732286000,"timestamp_ms":1787732286000,"timestamp_seconds":1787732286,"priority":1,"record_length":96,"hex_timestamp":"000001a03d25da30"} 
[2026-08-26 13: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-26 13:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:50: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-26 13: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-26 13: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-26 13:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 13:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659388160001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659388160001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:50:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:50:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659388160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":162600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:50:43] local.INFO: GPS data processed {"connection_id":162600,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:50:43] local.INFO: Acknowledgment sent {"connection_id":162600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:51:14] local.INFO: TCP Data received {"connection_id":162600,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:51:14] local.INFO: Processing buffer {"connection_id":162600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:51:14] local.INFO: Packet analysis {"connection_id":162600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d25"} 
[2026-08-26 13:51:14] local.INFO: Extracted packet for processing {"connection_id":162600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d25"} 
[2026-08-26 13:51:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 13:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659388160001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:51: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-26 13:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787732286000,"timestamp_ms":1787732286000,"timestamp_seconds":1787732286,"priority":1,"record_length":96,"hex_timestamp":"000001a03d25da30"} 
[2026-08-26 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-26 13:51: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-26 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":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:51: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-26 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-26 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-26 13:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:51: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-26 13:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659388160001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659388160001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:51:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:51:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659388160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":162600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:51:14] local.INFO: GPS data processed {"connection_id":162600,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:51:14] local.INFO: Acknowledgment sent {"connection_id":162600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:51:43] local.INFO: TCP Data received {"connection_id":162374,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:51:43] local.INFO: Processing buffer {"connection_id":162374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:51:43] local.INFO: IMEI packet received {"connection_id":162374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":162374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:51:47] local.INFO: TCP Data received {"connection_id":162374,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:51:47] local.INFO: Processing buffer {"connection_id":162374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:51:47] local.INFO: IMEI packet received {"connection_id":162374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":162374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:51:48] local.INFO: TCP Data received {"connection_id":162374,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:51:48] local.INFO: Processing buffer {"connection_id":162374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:51:48] local.INFO: Packet analysis {"connection_id":162374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d25"} 
[2026-08-26 13:51:48] local.INFO: Extracted packet for processing {"connection_id":162374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d25"} 
[2026-08-26 13:51:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659388160001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 13:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787732286000,"timestamp_ms":1787732286000,"timestamp_seconds":1787732286,"priority":1,"record_length":96,"hex_timestamp":"000001a03d25da30"} 
[2026-08-26 13:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:51:48] 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-26 13:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:51:48] 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-26 13:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659388160001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659388160001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:51:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:51:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659388160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":162374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:51:48] local.INFO: GPS data processed {"connection_id":162374,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:51:48] local.INFO: Acknowledgment sent {"connection_id":162374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:51:52] local.INFO: TCP Data received {"connection_id":162374,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:51:52] local.INFO: Processing buffer {"connection_id":162374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:51:52] local.INFO: Packet analysis {"connection_id":162374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d25"} 
[2026-08-26 13:51:52] local.INFO: Extracted packet for processing {"connection_id":162374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d25"} 
[2026-08-26 13:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659388160001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:51: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-26 13:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787732286000,"timestamp_ms":1787732286000,"timestamp_seconds":1787732286,"priority":1,"record_length":96,"hex_timestamp":"000001a03d25da30"} 
[2026-08-26 13:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:51:52] 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-26 13:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:51:52] 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-26 13:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659388160001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659388160001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:51:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659388160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":162374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:51:52] local.INFO: GPS data processed {"connection_id":162374,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:51:52] local.INFO: Acknowledgment sent {"connection_id":162374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:51:58] local.INFO: TCP Data received {"connection_id":162374,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:51:58] local.INFO: Processing buffer {"connection_id":162374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:51:58] local.INFO: Packet analysis {"connection_id":162374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d25"} 
[2026-08-26 13:51:58] local.INFO: Extracted packet for processing {"connection_id":162374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d25"} 
[2026-08-26 13:51:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659388160001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:51: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-26 13:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787732286000,"timestamp_ms":1787732286000,"timestamp_seconds":1787732286,"priority":1,"record_length":96,"hex_timestamp":"000001a03d25da30"} 
[2026-08-26 13: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-26 13:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 13: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:51:58] 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-26 13: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-26 13: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-26 13:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":162374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":162374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":162374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 13:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659388160001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659388160001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:51:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:51:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659388160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":162374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:51:58] local.INFO: GPS data processed {"connection_id":162374,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:51:58] local.INFO: Acknowledgment sent {"connection_id":162374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:52:37] local.INFO: TCP Data received {"connection_id":163625,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:52:37] local.INFO: Processing buffer {"connection_id":163625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:52:37] local.INFO: IMEI packet received {"connection_id":163625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":163625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:52:42] local.INFO: TCP Data received {"connection_id":163625,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:52:42] local.INFO: Processing buffer {"connection_id":163625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:52:42] local.INFO: IMEI packet received {"connection_id":163625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":163625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:52:43] local.INFO: TCP Data received {"connection_id":163625,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:52:43] local.INFO: Processing buffer {"connection_id":163625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:52:43] local.INFO: Packet analysis {"connection_id":163625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d25"} 
[2026-08-26 13:52:43] local.INFO: Extracted packet for processing {"connection_id":163625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d25"} 
[2026-08-26 13:52:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 13:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659388160001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:52: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-26 13:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787732286000,"timestamp_ms":1787732286000,"timestamp_seconds":1787732286,"priority":1,"record_length":96,"hex_timestamp":"000001a03d25da30"} 
[2026-08-26 13:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 13:52:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:52: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-26 13:52:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 13:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 13:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:52:43] 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-26 13:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659388160001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659388160001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:52:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:52:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659388160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":163625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:52:43] local.INFO: GPS data processed {"connection_id":163625,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:52:43] local.INFO: Acknowledgment sent {"connection_id":163625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:53:14] local.INFO: TCP Data received {"connection_id":163625,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:53:15] local.INFO: Processing buffer {"connection_id":163625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:53:15] local.INFO: Packet analysis {"connection_id":163625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d25"} 
[2026-08-26 13:53:15] local.INFO: Extracted packet for processing {"connection_id":163625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d25"} 
[2026-08-26 13:53:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659388160001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13: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-26 13:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787732286000,"timestamp_ms":1787732286000,"timestamp_seconds":1787732286,"priority":1,"record_length":96,"hex_timestamp":"000001a03d25da30"} 
[2026-08-26 13: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-26 13:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13: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":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:53:15] 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-26 13: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-26 13: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-26 13:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:53: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-26 13:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659388160001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659388160001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:53:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:53:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659388160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":163625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:53:15] local.INFO: GPS data processed {"connection_id":163625,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:53:15] local.INFO: Acknowledgment sent {"connection_id":163625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:53:37] local.INFO: TCP Data received {"connection_id":162375,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:53:37] local.INFO: Processing buffer {"connection_id":162375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:53:37] local.INFO: IMEI packet received {"connection_id":162375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":162375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:53:42] local.INFO: TCP Data received {"connection_id":162375,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:53:42] local.INFO: Processing buffer {"connection_id":162375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:53:42] local.INFO: IMEI packet received {"connection_id":162375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":162375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:53:43] local.INFO: TCP Data received {"connection_id":162375,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:53:43] local.INFO: Processing buffer {"connection_id":162375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d25da30012d34c14006aa4818000400e62d..."} 
[2026-08-26 13:53:43] local.INFO: Packet analysis {"connection_id":162375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d25"} 
[2026-08-26 13:53:43] local.INFO: Extracted packet for processing {"connection_id":162375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d25"} 
[2026-08-26 13:53:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659388160001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:53: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-26 13:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787732286000,"timestamp_ms":1787732286000,"timestamp_seconds":1787732286,"priority":1,"record_length":96,"hex_timestamp":"000001a03d25da30"} 
[2026-08-26 13: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-26 13:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 13:53: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-26 13: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-26 13: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-26 13:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:53:43] 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-26 13:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659388160001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 13:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659388160001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:53:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 13:53:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659388160001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":162375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:53:43] local.INFO: GPS data processed {"connection_id":162375,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:53:43] local.INFO: Acknowledgment sent {"connection_id":162375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:54:02] local.INFO: TCP Data received {"connection_id":164965,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164965,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:54:02] local.INFO: Processing buffer {"connection_id":164965,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:54:02] local.INFO: IMEI packet received {"connection_id":164965,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 13:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":164965,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:54:14] local.INFO: TCP Data received {"connection_id":162375,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03d2a71f8012d34c14006aa4818000400e62c..."} 
[2026-08-26 13:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d2a71f8012d34c14006aa4818000400e62c..."} 
[2026-08-26 13:54:14] local.INFO: Processing buffer {"connection_id":162375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d2a71f8012d34c14006aa4818000400e62c..."} 
[2026-08-26 13:54:14] local.INFO: Packet analysis {"connection_id":162375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d2a"} 
[2026-08-26 13:54:14] local.INFO: Extracted packet for processing {"connection_id":162375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d2a"} 
[2026-08-26 13:54:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659465216001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:54:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 13:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 13:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787732587000,"timestamp_ms":1787732587000,"timestamp_seconds":1787732587,"priority":1,"record_length":96,"hex_timestamp":"000001a03d2a71f8"} 
[2026-08-26 13: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-26 13:54: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-26 13: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":151,"data_length":795,"current_offset":136} 
[2026-08-26 13:54: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-26 13: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-26 13: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-26 13:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:54: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-26 13:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659465216001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 13:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659465216001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:54:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659465216001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":162375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:54:14] local.INFO: GPS data processed {"connection_id":162375,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:54:14] local.INFO: Acknowledgment sent {"connection_id":162375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:54:37] local.INFO: TCP Data received {"connection_id":162601,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:54:37] local.INFO: Processing buffer {"connection_id":162601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:54:37] local.INFO: IMEI packet received {"connection_id":162601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":162601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:54:42] local.INFO: TCP Data received {"connection_id":162601,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:54:42] local.INFO: Processing buffer {"connection_id":162601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:54:42] local.INFO: IMEI packet received {"connection_id":162601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":162601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:54:44] local.INFO: TCP Data received {"connection_id":162601,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03d2a71f8012d34c14006aa4818000400e62c..."} 
[2026-08-26 13:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d2a71f8012d34c14006aa4818000400e62c..."} 
[2026-08-26 13:54:44] local.INFO: Processing buffer {"connection_id":162601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d2a71f8012d34c14006aa4818000400e62c..."} 
[2026-08-26 13:54:44] local.INFO: Packet analysis {"connection_id":162601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d2a"} 
[2026-08-26 13:54:44] local.INFO: Extracted packet for processing {"connection_id":162601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d2a"} 
[2026-08-26 13:54:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659465216001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:54:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 13:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 13:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787732587000,"timestamp_ms":1787732587000,"timestamp_seconds":1787732587,"priority":1,"record_length":96,"hex_timestamp":"000001a03d2a71f8"} 
[2026-08-26 13: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-26 13:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 13:54:44] 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-26 13: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-26 13: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-26 13:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:54:44] 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-26 13:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659465216001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 13:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659465216001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:54:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659465216001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":162601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:54:44] local.INFO: GPS data processed {"connection_id":162601,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:54:44] local.INFO: Acknowledgment sent {"connection_id":162601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:55:20] local.INFO: TCP Data received {"connection_id":162601,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03d2a71f8012d34c14006aa4818000400e62c..."} 
[2026-08-26 13:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d2a71f8012d34c14006aa4818000400e62c..."} 
[2026-08-26 13:55:20] local.INFO: Processing buffer {"connection_id":162601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d2a71f8012d34c14006aa4818000400e62c..."} 
[2026-08-26 13:55:20] local.INFO: Packet analysis {"connection_id":162601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d2a"} 
[2026-08-26 13:55:20] local.INFO: Extracted packet for processing {"connection_id":162601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d2a"} 
[2026-08-26 13:55:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659465216001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:55:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 13:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 13:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787732587000,"timestamp_ms":1787732587000,"timestamp_seconds":1787732587,"priority":1,"record_length":96,"hex_timestamp":"000001a03d2a71f8"} 
[2026-08-26 13: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-26 13:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 13:55:20] 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-26 13: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-26 13: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-26 13:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 13:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659465216001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 13:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659465216001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:55:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659465216001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":162601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:55:20] local.INFO: GPS data processed {"connection_id":162601,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:55:20] local.INFO: Acknowledgment sent {"connection_id":162601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:55:39] local.INFO: TCP Data received {"connection_id":162376,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 13:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162376,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 13:55:39] local.INFO: Processing buffer {"connection_id":162376,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 13:55:39] local.INFO: Packet analysis {"connection_id":162376,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 13:55:39] local.INFO: Extracted packet for processing {"connection_id":162376,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 13:55: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-26 13:55:39] 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-26 13:55:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-26 13:55:39] 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-26 13:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-26 13:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-26 13:55:39] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":162376,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-26 13:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":162376,"device_imei":null,"avl_records_count":1} 
[2026-08-26 13:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":162376,"device_imei":null,"avl_records_count":1} 
[2026-08-26 13:55:39] 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-26 13:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":162376,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-26 13:55:39] local.INFO: GPS data processed {"connection_id":162376,"processed":0,"errors":0,"total":1} 
[2026-08-26 13:55:39] local.INFO: Acknowledgment sent {"connection_id":162376,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:55:39] local.INFO: TCP Data received {"connection_id":163626,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 13:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163626,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 13:55:39] local.INFO: Processing buffer {"connection_id":163626,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 13:55:39] local.INFO: Packet analysis {"connection_id":163626,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 13:55:39] local.INFO: Extracted packet for processing {"connection_id":163626,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 13:55: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-26 13:55:39] 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-26 13:55:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-26 13:55:39] 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-26 13:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-26 13:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-26 13:55:39] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163626,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-26 13:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163626,"device_imei":null,"avl_records_count":1} 
[2026-08-26 13:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163626,"device_imei":null,"avl_records_count":1} 
[2026-08-26 13:55:39] 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-26 13:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":163626,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-26 13:55:39] local.INFO: GPS data processed {"connection_id":163626,"processed":0,"errors":0,"total":1} 
[2026-08-26 13:55:39] local.INFO: Acknowledgment sent {"connection_id":163626,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:55:43] local.INFO: TCP Data received {"connection_id":164966,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 13:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164966,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 13:55:43] local.INFO: Processing buffer {"connection_id":164966,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 13:55:43] local.INFO: Packet analysis {"connection_id":164966,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 13:55:43] local.INFO: Extracted packet for processing {"connection_id":164966,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 13:55: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-26 13:55:43] 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-26 13:55:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-26 13:55:43] 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-26 13:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-26 13:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-26 13:55:43] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164966,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-26 13:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164966,"device_imei":null,"avl_records_count":1} 
[2026-08-26 13:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164966,"device_imei":null,"avl_records_count":1} 
[2026-08-26 13:55:43] 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-26 13:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":164966,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-26 13:55:43] local.INFO: GPS data processed {"connection_id":164966,"processed":0,"errors":0,"total":1} 
[2026-08-26 13:55:43] local.INFO: Acknowledgment sent {"connection_id":164966,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:55:43] local.INFO: TCP Data received {"connection_id":162377,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 13:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162377,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 13:55:43] local.INFO: Processing buffer {"connection_id":162377,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 13:55:43] local.INFO: Packet analysis {"connection_id":162377,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 13:55:43] local.INFO: Extracted packet for processing {"connection_id":162377,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 13:55: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-26 13:55:43] 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-26 13:55:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-26 13:55:43] 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-26 13:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-26 13:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-26 13:55:43] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162377,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-26 13:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162377,"device_imei":null,"avl_records_count":1} 
[2026-08-26 13:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162377,"device_imei":null,"avl_records_count":1} 
[2026-08-26 13:55:43] 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-26 13:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":162377,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-26 13:55:43] local.INFO: GPS data processed {"connection_id":162377,"processed":0,"errors":0,"total":1} 
[2026-08-26 13:55:43] local.INFO: Acknowledgment sent {"connection_id":162377,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:57:36] local.INFO: TCP Data received {"connection_id":163627,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:57:36] local.INFO: Processing buffer {"connection_id":163627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:57:36] local.INFO: IMEI packet received {"connection_id":163627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 13:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":163627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 13:57:37] local.INFO: TCP Data received {"connection_id":163627,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:57:37] local.INFO: Processing buffer {"connection_id":163627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 13:57:37] local.INFO: IMEI packet received {"connection_id":163627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 13:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":163627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 13:57:38] local.INFO: TCP Data received {"connection_id":163627,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03d2a71f8012d34c14006aa4818000400e62c..."} 
[2026-08-26 13:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d2a71f8012d34c14006aa4818000400e62c..."} 
[2026-08-26 13:57:38] local.INFO: Processing buffer {"connection_id":163627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d2a71f8012d34c14006aa4818000400e62c..."} 
[2026-08-26 13:57:38] local.INFO: Packet analysis {"connection_id":163627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d2a"} 
[2026-08-26 13:57:38] local.INFO: Extracted packet for processing {"connection_id":163627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d2a"} 
[2026-08-26 13:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 13: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-26 13:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659465216001,"note":"Value kept but may cause issues"} 
[2026-08-26 13:57:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 13:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 13:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 13:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 13:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787732587000,"timestamp_ms":1787732587000,"timestamp_seconds":1787732587,"priority":1,"record_length":96,"hex_timestamp":"000001a03d2a71f8"} 
[2026-08-26 13: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-26 13:57: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-26 13: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":151,"data_length":795,"current_offset":136} 
[2026-08-26 13:57: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-26 13: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-26 13: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-26 13:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 13:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 13:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 13:57: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-26 13:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 13:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 13:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659465216001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 13:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 13:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 13:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659465216001,"description":"Unknown IO ID 0"} 
[2026-08-26 13:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 13:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 13:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 13:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659465216001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 13:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":163627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 13:57:38] local.INFO: GPS data processed {"connection_id":163627,"processed":1,"errors":0,"total":1} 
[2026-08-26 13:57:38] local.INFO: Acknowledgment sent {"connection_id":163627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 13:59:37] local.INFO: TCP Data received {"connection_id":162378,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:59:37] local.INFO: Processing buffer {"connection_id":162378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 13:59:37] local.INFO: IMEI packet received {"connection_id":162378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 13:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":162378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:01:32] local.INFO: TCP Data received {"connection_id":162379,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:01:32] local.INFO: Processing buffer {"connection_id":162379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:01:32] local.INFO: IMEI packet received {"connection_id":162379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":162379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:01:37] local.INFO: TCP Data received {"connection_id":162379,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:01:37] local.INFO: Processing buffer {"connection_id":162379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:01:37] local.INFO: IMEI packet received {"connection_id":162379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":162379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:01:38] local.INFO: TCP Data received {"connection_id":162379,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03d2f09c0012d34c14006aa4818000700e62d..."} 
[2026-08-26 14:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d2f09c0012d34c14006aa4818000700e62d..."} 
[2026-08-26 14:01:38] local.INFO: Processing buffer {"connection_id":162379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d2f09c0012d34c14006aa4818000700e62d..."} 
[2026-08-26 14:01:38] local.INFO: Packet analysis {"connection_id":162379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d2f"} 
[2026-08-26 14:01:38] local.INFO: Extracted packet for processing {"connection_id":162379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d2f"} 
[2026-08-26 14:01:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659542272001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 14:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787732888000,"timestamp_ms":1787732888000,"timestamp_seconds":1787732888,"priority":1,"record_length":96,"hex_timestamp":"000001a03d2f09c0"} 
[2026-08-26 14: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-26 14:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 14: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":194,"data_length":795,"current_offset":136} 
[2026-08-26 14:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 14: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-26 14: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-26 14:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":162379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":162379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":162379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:01: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-26 14:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659542272001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 14:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659542272001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:01:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 14:01:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659542272001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":162379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:01:38] local.INFO: GPS data processed {"connection_id":162379,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:01:38] local.INFO: Acknowledgment sent {"connection_id":162379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:02:09] local.INFO: TCP Data received {"connection_id":162379,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03d2f09c0012d34c14006aa4818000700e62d..."} 
[2026-08-26 14:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d2f09c0012d34c14006aa4818000700e62d..."} 
[2026-08-26 14:02:09] local.INFO: Processing buffer {"connection_id":162379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d2f09c0012d34c14006aa4818000700e62d..."} 
[2026-08-26 14:02:09] local.INFO: Packet analysis {"connection_id":162379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d2f"} 
[2026-08-26 14:02:09] local.INFO: Extracted packet for processing {"connection_id":162379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d2f"} 
[2026-08-26 14:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659542272001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 14:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787732888000,"timestamp_ms":1787732888000,"timestamp_seconds":1787732888,"priority":1,"record_length":96,"hex_timestamp":"000001a03d2f09c0"} 
[2026-08-26 14: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-26 14:02: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-26 14: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 14:02:09] 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-26 14: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-26 14: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-26 14:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":162379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":162379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":162379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:02: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-26 14:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659542272001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 14:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659542272001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:02:09] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 14:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659542272001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":162379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:02:09] local.INFO: GPS data processed {"connection_id":162379,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:02:09] local.INFO: Acknowledgment sent {"connection_id":162379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:02:36] local.INFO: TCP Data received {"connection_id":163628,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:02:36] local.INFO: Processing buffer {"connection_id":163628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:02:36] local.INFO: IMEI packet received {"connection_id":163628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":163628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:02:42] local.INFO: TCP Data received {"connection_id":163628,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:02:42] local.INFO: Processing buffer {"connection_id":163628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:02:42] local.INFO: IMEI packet received {"connection_id":163628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":163628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:02:43] local.INFO: TCP Data received {"connection_id":163628,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03d2f09c0012d34c14006aa4818000700e62d..."} 
[2026-08-26 14:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d2f09c0012d34c14006aa4818000700e62d..."} 
[2026-08-26 14:02:43] local.INFO: Processing buffer {"connection_id":163628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d2f09c0012d34c14006aa4818000700e62d..."} 
[2026-08-26 14:02:43] local.INFO: Packet analysis {"connection_id":163628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d2f"} 
[2026-08-26 14:02:43] local.INFO: Extracted packet for processing {"connection_id":163628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d2f"} 
[2026-08-26 14:02:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659542272001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 14:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787732888000,"timestamp_ms":1787732888000,"timestamp_seconds":1787732888,"priority":1,"record_length":96,"hex_timestamp":"000001a03d2f09c0"} 
[2026-08-26 14:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 14:02:43] 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-26 14:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:02:43] 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-26 14:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659542272001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 14:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659542272001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:02:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 14:02:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659542272001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":163628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:02:43] local.INFO: GPS data processed {"connection_id":163628,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:02:43] local.INFO: Acknowledgment sent {"connection_id":163628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:03:14] local.INFO: TCP Data received {"connection_id":163628,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03d2f09c0012d34c14006aa4818000700e62d..."} 
[2026-08-26 14:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d2f09c0012d34c14006aa4818000700e62d..."} 
[2026-08-26 14:03:14] local.INFO: Processing buffer {"connection_id":163628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d2f09c0012d34c14006aa4818000700e62d..."} 
[2026-08-26 14:03:14] local.INFO: Packet analysis {"connection_id":163628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d2f"} 
[2026-08-26 14:03:14] local.INFO: Extracted packet for processing {"connection_id":163628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d2f"} 
[2026-08-26 14:03:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659542272001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 14:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787732888000,"timestamp_ms":1787732888000,"timestamp_seconds":1787732888,"priority":1,"record_length":96,"hex_timestamp":"000001a03d2f09c0"} 
[2026-08-26 14: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-26 14:03: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-26 14: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":194,"data_length":795,"current_offset":136} 
[2026-08-26 14:03:14] 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-26 14: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-26 14: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-26 14:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:03: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-26 14:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659542272001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 14:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659542272001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:03:14] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 14:03:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659542272001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":163628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:03:14] local.INFO: GPS data processed {"connection_id":163628,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:03:14] local.INFO: Acknowledgment sent {"connection_id":163628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:03:41] local.INFO: TCP Data received {"connection_id":162382,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:03:41] local.INFO: Processing buffer {"connection_id":162382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:03:41] local.INFO: IMEI packet received {"connection_id":162382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":162382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:03:47] local.INFO: TCP Data received {"connection_id":162382,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:03:47] local.INFO: Processing buffer {"connection_id":162382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:03:47] local.INFO: IMEI packet received {"connection_id":162382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":162382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:03:48] local.INFO: TCP Data received {"connection_id":162382,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:03:48] local.INFO: Processing buffer {"connection_id":162382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:03:48] local.INFO: Packet analysis {"connection_id":162382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d33"} 
[2026-08-26 14:03:48] local.INFO: Extracted packet for processing {"connection_id":162382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d33"} 
[2026-08-26 14:03:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 14:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659619328001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 14:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787733189000,"timestamp_ms":1787733189000,"timestamp_seconds":1787733189,"priority":1,"record_length":96,"hex_timestamp":"000001a03d33a188"} 
[2026-08-26 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-26 14:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 14:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 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-26 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-26 14:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659619328001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659619328001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:03:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:03:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659619328001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":162382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:03:48] local.INFO: GPS data processed {"connection_id":162382,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:03:48] local.INFO: Acknowledgment sent {"connection_id":162382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:03:49] local.INFO: TCP Data received {"connection_id":162382,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:03:49] local.INFO: Processing buffer {"connection_id":162382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:03:49] local.INFO: Packet analysis {"connection_id":162382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d33"} 
[2026-08-26 14:03:49] local.INFO: Extracted packet for processing {"connection_id":162382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d33"} 
[2026-08-26 14:03:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659619328001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:03: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-26 14:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787733189000,"timestamp_ms":1787733189000,"timestamp_seconds":1787733189,"priority":1,"record_length":96,"hex_timestamp":"000001a03d33a188"} 
[2026-08-26 14: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-26 14:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 14:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 14: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-26 14: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-26 14:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659619328001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659619328001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:03:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:03:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659619328001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":162382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:03:49] local.INFO: GPS data processed {"connection_id":162382,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:03:49] local.INFO: Acknowledgment sent {"connection_id":162382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:04:20] local.INFO: TCP Data received {"connection_id":162382,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:04:20] local.INFO: Processing buffer {"connection_id":162382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:04:20] local.INFO: Packet analysis {"connection_id":162382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d33"} 
[2026-08-26 14:04:20] local.INFO: Extracted packet for processing {"connection_id":162382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d33"} 
[2026-08-26 14:04:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659619328001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:04: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-26 14:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787733189000,"timestamp_ms":1787733189000,"timestamp_seconds":1787733189,"priority":1,"record_length":96,"hex_timestamp":"000001a03d33a188"} 
[2026-08-26 14: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-26 14:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 14:04: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-26 14: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-26 14: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-26 14:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659619328001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659619328001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:04:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:04:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659619328001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":162382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:04:20] local.INFO: GPS data processed {"connection_id":162382,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:04:20] local.INFO: Acknowledgment sent {"connection_id":162382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:04:37] local.INFO: TCP Data received {"connection_id":162603,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:04:37] local.INFO: Processing buffer {"connection_id":162603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:04:37] local.INFO: IMEI packet received {"connection_id":162603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":162603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:04:42] local.INFO: TCP Data received {"connection_id":162603,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:04:42] local.INFO: Processing buffer {"connection_id":162603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:04:42] local.INFO: IMEI packet received {"connection_id":162603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":162603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:04:44] local.INFO: TCP Data received {"connection_id":162603,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:04:44] local.INFO: Processing buffer {"connection_id":162603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:04:44] local.INFO: Packet analysis {"connection_id":162603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d33"} 
[2026-08-26 14:04:44] local.INFO: Extracted packet for processing {"connection_id":162603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d33"} 
[2026-08-26 14:04:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659619328001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:04: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-26 14:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787733189000,"timestamp_ms":1787733189000,"timestamp_seconds":1787733189,"priority":1,"record_length":96,"hex_timestamp":"000001a03d33a188"} 
[2026-08-26 14: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-26 14:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 14:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 14:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14: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-26 14:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:04:44] 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-26 14:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659619328001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659619328001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:04:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:04:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659619328001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":162603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:04:44] local.INFO: GPS data processed {"connection_id":162603,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:04:44] local.INFO: Acknowledgment sent {"connection_id":162603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:05:12] local.INFO: TCP Data received {"connection_id":162380,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:05:12] local.INFO: Processing buffer {"connection_id":162380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:05:12] local.INFO: IMEI packet received {"connection_id":162380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 14:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":162380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:05:15] local.INFO: TCP Data received {"connection_id":162603,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:05:15] local.INFO: Processing buffer {"connection_id":162603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:05:15] local.INFO: Packet analysis {"connection_id":162603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d33"} 
[2026-08-26 14:05:15] local.INFO: Extracted packet for processing {"connection_id":162603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d33"} 
[2026-08-26 14:05:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659619328001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:05: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-26 14:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787733189000,"timestamp_ms":1787733189000,"timestamp_seconds":1787733189,"priority":1,"record_length":96,"hex_timestamp":"000001a03d33a188"} 
[2026-08-26 14:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 14:05: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-26 14:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:05:15] 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-26 14:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659619328001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659619328001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:05:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:05:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659619328001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":162603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:05:15] local.INFO: GPS data processed {"connection_id":162603,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:05:15] local.INFO: Acknowledgment sent {"connection_id":162603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:05:36] local.INFO: TCP Data received {"connection_id":162383,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:05:36] local.INFO: Processing buffer {"connection_id":162383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:05:36] local.INFO: IMEI packet received {"connection_id":162383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":162383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:05:42] local.INFO: TCP Data received {"connection_id":162383,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:05:42] local.INFO: Processing buffer {"connection_id":162383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:05:42] local.INFO: IMEI packet received {"connection_id":162383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":162383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:05:43] local.INFO: TCP Data received {"connection_id":162383,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:05:43] local.INFO: Processing buffer {"connection_id":162383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:05:43] local.INFO: Packet analysis {"connection_id":162383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d33"} 
[2026-08-26 14:05:43] local.INFO: Extracted packet for processing {"connection_id":162383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d33"} 
[2026-08-26 14:05:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659619328001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:05: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-26 14:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787733189000,"timestamp_ms":1787733189000,"timestamp_seconds":1787733189,"priority":1,"record_length":96,"hex_timestamp":"000001a03d33a188"} 
[2026-08-26 14:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 14:05: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-26 14:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:05:43] 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-26 14:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659619328001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659619328001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:05:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:05:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659619328001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":162383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:05:43] local.INFO: GPS data processed {"connection_id":162383,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:05:43] local.INFO: Acknowledgment sent {"connection_id":162383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:06:15] local.INFO: TCP Data received {"connection_id":162383,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:06:15] local.INFO: Processing buffer {"connection_id":162383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:06:15] local.INFO: Packet analysis {"connection_id":162383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d33"} 
[2026-08-26 14:06:15] local.INFO: Extracted packet for processing {"connection_id":162383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d33"} 
[2026-08-26 14:06:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659619328001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:06: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-26 14:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787733189000,"timestamp_ms":1787733189000,"timestamp_seconds":1787733189,"priority":1,"record_length":96,"hex_timestamp":"000001a03d33a188"} 
[2026-08-26 14:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 14:06: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-26 14:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:06: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-26 14:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659619328001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659619328001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:06:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:06:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659619328001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":162383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:06:15] local.INFO: GPS data processed {"connection_id":162383,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:06:15] local.INFO: Acknowledgment sent {"connection_id":162383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:06:36] local.INFO: TCP Data received {"connection_id":163629,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:06:36] local.INFO: Processing buffer {"connection_id":163629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:06:36] local.INFO: IMEI packet received {"connection_id":163629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":163629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:06:42] local.INFO: TCP Data received {"connection_id":163629,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:06:42] local.INFO: Processing buffer {"connection_id":163629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:06:42] local.INFO: IMEI packet received {"connection_id":163629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":163629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:06:43] local.INFO: TCP Data received {"connection_id":163629,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:06:43] local.INFO: Processing buffer {"connection_id":163629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:06:43] local.INFO: Packet analysis {"connection_id":163629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d33"} 
[2026-08-26 14:06:43] local.INFO: Extracted packet for processing {"connection_id":163629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d33"} 
[2026-08-26 14:06:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659619328001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:06: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-26 14:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787733189000,"timestamp_ms":1787733189000,"timestamp_seconds":1787733189,"priority":1,"record_length":96,"hex_timestamp":"000001a03d33a188"} 
[2026-08-26 14:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 14:06: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-26 14:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:06:43] 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-26 14:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659619328001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659619328001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:06:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:06:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659619328001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":163629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:06:43] local.INFO: GPS data processed {"connection_id":163629,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:06:43] local.INFO: Acknowledgment sent {"connection_id":163629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:07:14] local.INFO: TCP Data received {"connection_id":163629,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:07:14] local.INFO: Processing buffer {"connection_id":163629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:07:14] local.INFO: Packet analysis {"connection_id":163629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d33"} 
[2026-08-26 14:07:14] local.INFO: Extracted packet for processing {"connection_id":163629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d33"} 
[2026-08-26 14:07:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659619328001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:07: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-26 14:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787733189000,"timestamp_ms":1787733189000,"timestamp_seconds":1787733189,"priority":1,"record_length":96,"hex_timestamp":"000001a03d33a188"} 
[2026-08-26 14: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-26 14:07: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-26 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 14:07: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-26 14: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-26 14: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-26 14:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:07: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-26 14:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659619328001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659619328001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:07:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:07:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659619328001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":163629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:07:14] local.INFO: GPS data processed {"connection_id":163629,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:07:14] local.INFO: Acknowledgment sent {"connection_id":163629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:07:36] local.INFO: TCP Data received {"connection_id":162384,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:07:36] local.INFO: Processing buffer {"connection_id":162384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:07:36] local.INFO: IMEI packet received {"connection_id":162384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":162384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:07:42] local.INFO: TCP Data received {"connection_id":162384,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:07:42] local.INFO: Processing buffer {"connection_id":162384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:07:42] local.INFO: IMEI packet received {"connection_id":162384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":162384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:07:44] local.INFO: TCP Data received {"connection_id":162384,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:07:44] local.INFO: Processing buffer {"connection_id":162384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:07:44] local.INFO: Packet analysis {"connection_id":162384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d33"} 
[2026-08-26 14:07:44] local.INFO: Extracted packet for processing {"connection_id":162384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d33"} 
[2026-08-26 14:07:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659619328001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:07: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-26 14:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787733189000,"timestamp_ms":1787733189000,"timestamp_seconds":1787733189,"priority":1,"record_length":96,"hex_timestamp":"000001a03d33a188"} 
[2026-08-26 14:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 14:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 14:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:07:44] 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-26 14:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659619328001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659619328001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:07:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:07:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659619328001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":162384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:07:44] local.INFO: GPS data processed {"connection_id":162384,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:07:44] local.INFO: Acknowledgment sent {"connection_id":162384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:08:16] local.INFO: TCP Data received {"connection_id":162384,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:08:16] local.INFO: Processing buffer {"connection_id":162384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:08:16] local.INFO: Packet analysis {"connection_id":162384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d33"} 
[2026-08-26 14:08:16] local.INFO: Extracted packet for processing {"connection_id":162384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d33"} 
[2026-08-26 14:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659619328001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14: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-26 14:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787733189000,"timestamp_ms":1787733189000,"timestamp_seconds":1787733189,"priority":1,"record_length":96,"hex_timestamp":"000001a03d33a188"} 
[2026-08-26 14: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-26 14:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 14: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":233,"data_length":795,"current_offset":136} 
[2026-08-26 14:08: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-26 14: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-26 14: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-26 14:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659619328001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659619328001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:08:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659619328001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":162384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:08:16] local.INFO: GPS data processed {"connection_id":162384,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:08:16] local.INFO: Acknowledgment sent {"connection_id":162384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:08:42] local.INFO: TCP Data received {"connection_id":162604,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:08:42] local.INFO: Processing buffer {"connection_id":162604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:08:42] local.INFO: IMEI packet received {"connection_id":162604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":162604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:08:47] local.INFO: TCP Data received {"connection_id":162604,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:08:47] local.INFO: Processing buffer {"connection_id":162604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:08:47] local.INFO: IMEI packet received {"connection_id":162604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":162604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:08:48] local.INFO: TCP Data received {"connection_id":162604,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:08:48] local.INFO: Processing buffer {"connection_id":162604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d33a188012d34c14006aa4818000a00e629..."} 
[2026-08-26 14:08:48] local.INFO: Packet analysis {"connection_id":162604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d33"} 
[2026-08-26 14:08:48] local.INFO: Extracted packet for processing {"connection_id":162604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d33"} 
[2026-08-26 14:08:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659619328001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 14:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787733189000,"timestamp_ms":1787733189000,"timestamp_seconds":1787733189,"priority":1,"record_length":96,"hex_timestamp":"000001a03d33a188"} 
[2026-08-26 14: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-26 14:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 14:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 14: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-26 14: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-26 14:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659619328001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659619328001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:08:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:08:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659619328001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":162604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:08:48] local.INFO: GPS data processed {"connection_id":162604,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:08:48] local.INFO: Acknowledgment sent {"connection_id":162604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:08:49] local.INFO: TCP Data received {"connection_id":162604,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:08:49] local.INFO: Processing buffer {"connection_id":162604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:08:49] local.INFO: Packet analysis {"connection_id":162604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d38"} 
[2026-08-26 14:08:49] local.INFO: Extracted packet for processing {"connection_id":162604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d38"} 
[2026-08-26 14:08:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659696384001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:08: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-26 14:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787733490000,"timestamp_ms":1787733490000,"timestamp_seconds":1787733490,"priority":1,"record_length":96,"hex_timestamp":"000001a03d383950"} 
[2026-08-26 14: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-26 14:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 14: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-26 14: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-26 14:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659696384001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659696384001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:08:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:08:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659696384001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":162604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:08:49] local.INFO: GPS data processed {"connection_id":162604,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:08:49] local.INFO: Acknowledgment sent {"connection_id":162604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:09:20] local.INFO: TCP Data received {"connection_id":162604,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:09:20] local.INFO: Processing buffer {"connection_id":162604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:09:20] local.INFO: Packet analysis {"connection_id":162604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d38"} 
[2026-08-26 14:09:20] local.INFO: Extracted packet for processing {"connection_id":162604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d38"} 
[2026-08-26 14:09:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659696384001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:09: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-26 14:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787733490000,"timestamp_ms":1787733490000,"timestamp_seconds":1787733490,"priority":1,"record_length":96,"hex_timestamp":"000001a03d383950"} 
[2026-08-26 14: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-26 14:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 14: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-26 14: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-26 14:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659696384001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659696384001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:09:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:09:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659696384001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":162604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:09:20] local.INFO: GPS data processed {"connection_id":162604,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:09:20] local.INFO: Acknowledgment sent {"connection_id":162604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:09:36] local.INFO: TCP Data received {"connection_id":163631,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:09:36] local.INFO: Processing buffer {"connection_id":163631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:09:36] local.INFO: IMEI packet received {"connection_id":163631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":163631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:09:42] local.INFO: TCP Data received {"connection_id":163631,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:09:42] local.INFO: Processing buffer {"connection_id":163631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:09:42] local.INFO: IMEI packet received {"connection_id":163631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":163631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:09:43] local.INFO: TCP Data received {"connection_id":163631,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:09:43] local.INFO: Processing buffer {"connection_id":163631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:09:43] local.INFO: Packet analysis {"connection_id":163631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d38"} 
[2026-08-26 14:09:43] local.INFO: Extracted packet for processing {"connection_id":163631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d38"} 
[2026-08-26 14:09:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659696384001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:09: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-26 14:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787733490000,"timestamp_ms":1787733490000,"timestamp_seconds":1787733490,"priority":1,"record_length":96,"hex_timestamp":"000001a03d383950"} 
[2026-08-26 14: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-26 14:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 14: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-26 14: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-26 14:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:09:43] 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-26 14:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659696384001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659696384001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:09:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:09:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659696384001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":163631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:09:43] local.INFO: GPS data processed {"connection_id":163631,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:09:43] local.INFO: Acknowledgment sent {"connection_id":163631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:10:14] local.INFO: TCP Data received {"connection_id":163631,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:10:14] local.INFO: Processing buffer {"connection_id":163631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:10:14] local.INFO: Packet analysis {"connection_id":163631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d38"} 
[2026-08-26 14:10:14] local.INFO: Extracted packet for processing {"connection_id":163631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d38"} 
[2026-08-26 14:10:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 14:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659696384001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:10: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-26 14:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787733490000,"timestamp_ms":1787733490000,"timestamp_seconds":1787733490,"priority":1,"record_length":96,"hex_timestamp":"000001a03d383950"} 
[2026-08-26 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-26 14:10: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-26 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-26 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-26 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-26 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-26 14:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:10: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-26 14:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659696384001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659696384001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:10:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:10:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659696384001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":163631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:10:14] local.INFO: GPS data processed {"connection_id":163631,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:10:14] local.INFO: Acknowledgment sent {"connection_id":163631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:10:36] local.INFO: TCP Data received {"connection_id":164967,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:10:36] local.INFO: Processing buffer {"connection_id":164967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:10:36] local.INFO: IMEI packet received {"connection_id":164967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":164967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:10:42] local.INFO: TCP Data received {"connection_id":164967,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:10:42] local.INFO: Processing buffer {"connection_id":164967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:10:42] local.INFO: IMEI packet received {"connection_id":164967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":164967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:10:43] local.INFO: TCP Data received {"connection_id":164967,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:10:43] local.INFO: Processing buffer {"connection_id":164967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:10:43] local.INFO: Packet analysis {"connection_id":164967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d38"} 
[2026-08-26 14:10:43] local.INFO: Extracted packet for processing {"connection_id":164967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d38"} 
[2026-08-26 14:10:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659696384001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:10: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-26 14:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787733490000,"timestamp_ms":1787733490000,"timestamp_seconds":1787733490,"priority":1,"record_length":96,"hex_timestamp":"000001a03d383950"} 
[2026-08-26 14: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-26 14:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 14: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-26 14: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-26 14:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14: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-26 14:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659696384001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659696384001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:10:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:10:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659696384001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":164967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:10:43] local.INFO: GPS data processed {"connection_id":164967,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:10:43] local.INFO: Acknowledgment sent {"connection_id":164967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:10:47] local.INFO: TCP Data received {"connection_id":163630,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:10:47] local.INFO: Processing buffer {"connection_id":163630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:10:47] local.INFO: IMEI packet received {"connection_id":163630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 14:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":163630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:11:15] local.INFO: TCP Data received {"connection_id":164967,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:11:15] local.INFO: Processing buffer {"connection_id":164967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:11:15] local.INFO: Packet analysis {"connection_id":164967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d38"} 
[2026-08-26 14:11:15] local.INFO: Extracted packet for processing {"connection_id":164967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d38"} 
[2026-08-26 14:11:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659696384001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:11: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-26 14:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787733490000,"timestamp_ms":1787733490000,"timestamp_seconds":1787733490,"priority":1,"record_length":96,"hex_timestamp":"000001a03d383950"} 
[2026-08-26 14: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-26 14:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:11: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-26 14: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-26 14: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-26 14:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659696384001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659696384001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:11:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:11:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659696384001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":164967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:11:15] local.INFO: GPS data processed {"connection_id":164967,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:11:15] local.INFO: Acknowledgment sent {"connection_id":164967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:11:36] local.INFO: TCP Data received {"connection_id":162605,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:11:36] local.INFO: Processing buffer {"connection_id":162605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:11:36] local.INFO: IMEI packet received {"connection_id":162605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":162605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:11:42] local.INFO: TCP Data received {"connection_id":162605,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:11:42] local.INFO: Processing buffer {"connection_id":162605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:11:42] local.INFO: IMEI packet received {"connection_id":162605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":162605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:11:43] local.INFO: TCP Data received {"connection_id":162605,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:11:43] local.INFO: Processing buffer {"connection_id":162605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:11:43] local.INFO: Packet analysis {"connection_id":162605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d38"} 
[2026-08-26 14:11:43] local.INFO: Extracted packet for processing {"connection_id":162605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d38"} 
[2026-08-26 14:11:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659696384001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:11: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-26 14:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787733490000,"timestamp_ms":1787733490000,"timestamp_seconds":1787733490,"priority":1,"record_length":96,"hex_timestamp":"000001a03d383950"} 
[2026-08-26 14: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-26 14:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 14: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-26 14: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-26 14:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:11: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-26 14:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659696384001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659696384001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:11:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:11:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659696384001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":162605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:11:43] local.INFO: GPS data processed {"connection_id":162605,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:11:43] local.INFO: Acknowledgment sent {"connection_id":162605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:12:14] local.INFO: TCP Data received {"connection_id":162605,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:12:14] local.INFO: Processing buffer {"connection_id":162605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:12:14] local.INFO: Packet analysis {"connection_id":162605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d38"} 
[2026-08-26 14:12:14] local.INFO: Extracted packet for processing {"connection_id":162605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d38"} 
[2026-08-26 14:12:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659696384001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:12: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-26 14:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787733490000,"timestamp_ms":1787733490000,"timestamp_seconds":1787733490,"priority":1,"record_length":96,"hex_timestamp":"000001a03d383950"} 
[2026-08-26 14: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-26 14:12: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-26 14: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":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:12: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-26 14: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-26 14: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-26 14:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:12: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-26 14:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659696384001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659696384001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:12:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:12:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659696384001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":162605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:12:14] local.INFO: GPS data processed {"connection_id":162605,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:12:14] local.INFO: Acknowledgment sent {"connection_id":162605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:12:42] local.INFO: TCP Data received {"connection_id":164968,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:12:42] local.INFO: Processing buffer {"connection_id":164968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:12:42] local.INFO: IMEI packet received {"connection_id":164968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":164968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:12:47] local.INFO: TCP Data received {"connection_id":164968,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:12:47] local.INFO: Processing buffer {"connection_id":164968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:12:47] local.INFO: IMEI packet received {"connection_id":164968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":164968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:12:48] local.INFO: TCP Data received {"connection_id":164968,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:12:48] local.INFO: Processing buffer {"connection_id":164968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:12:48] local.INFO: Packet analysis {"connection_id":164968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d38"} 
[2026-08-26 14:12:48] local.INFO: Extracted packet for processing {"connection_id":164968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d38"} 
[2026-08-26 14:12:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 14:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659696384001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 14:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787733490000,"timestamp_ms":1787733490000,"timestamp_seconds":1787733490,"priority":1,"record_length":96,"hex_timestamp":"000001a03d383950"} 
[2026-08-26 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-26 14:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 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-26 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-26 14:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:12:48] 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-26 14:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659696384001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659696384001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:12:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:12:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659696384001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":164968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:12:48] local.INFO: GPS data processed {"connection_id":164968,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:12:48] local.INFO: Acknowledgment sent {"connection_id":164968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:12:53] local.INFO: TCP Data received {"connection_id":164968,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:12:53] local.INFO: Processing buffer {"connection_id":164968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:12:53] local.INFO: Packet analysis {"connection_id":164968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d38"} 
[2026-08-26 14:12:53] local.INFO: Extracted packet for processing {"connection_id":164968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d38"} 
[2026-08-26 14:12:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659696384001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 14:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787733490000,"timestamp_ms":1787733490000,"timestamp_seconds":1787733490,"priority":1,"record_length":96,"hex_timestamp":"000001a03d383950"} 
[2026-08-26 14: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-26 14:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 14: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-26 14: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-26 14:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:12:53] 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-26 14:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659696384001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659696384001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:12:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:12:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659696384001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":164968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:12:53] local.INFO: GPS data processed {"connection_id":164968,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:12:53] local.INFO: Acknowledgment sent {"connection_id":164968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:13:37] local.INFO: TCP Data received {"connection_id":163632,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:13:37] local.INFO: Processing buffer {"connection_id":163632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:13:37] local.INFO: IMEI packet received {"connection_id":163632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":163632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:13:42] local.INFO: TCP Data received {"connection_id":163632,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:13:42] local.INFO: Processing buffer {"connection_id":163632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:13:42] local.INFO: IMEI packet received {"connection_id":163632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":163632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:13:43] local.INFO: TCP Data received {"connection_id":163632,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:13:43] local.INFO: Processing buffer {"connection_id":163632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:13:43] local.INFO: Packet analysis {"connection_id":163632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d38"} 
[2026-08-26 14:13:43] local.INFO: Extracted packet for processing {"connection_id":163632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d38"} 
[2026-08-26 14:13:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659696384001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14: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-26 14:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787733490000,"timestamp_ms":1787733490000,"timestamp_seconds":1787733490,"priority":1,"record_length":96,"hex_timestamp":"000001a03d383950"} 
[2026-08-26 14: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-26 14:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 14: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-26 14: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-26 14:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:13: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-26 14:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659696384001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659696384001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:13:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:13:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659696384001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":163632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:13:43] local.INFO: GPS data processed {"connection_id":163632,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:13:43] local.INFO: Acknowledgment sent {"connection_id":163632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:13:47] local.INFO: TCP Data received {"connection_id":163632,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:13:47] local.INFO: Processing buffer {"connection_id":163632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d383950012d34c14006aa4818000c00e62d..."} 
[2026-08-26 14:13:47] local.INFO: Packet analysis {"connection_id":163632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d38"} 
[2026-08-26 14:13:47] local.INFO: Extracted packet for processing {"connection_id":163632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d38"} 
[2026-08-26 14:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659696384001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:13: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-26 14:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787733490000,"timestamp_ms":1787733490000,"timestamp_seconds":1787733490,"priority":1,"record_length":96,"hex_timestamp":"000001a03d383950"} 
[2026-08-26 14: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-26 14:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 14: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-26 14: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-26 14:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:13:47] 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-26 14:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659696384001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659696384001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:13:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659696384001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":163632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:13:47] local.INFO: GPS data processed {"connection_id":163632,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:13:47] local.INFO: Acknowledgment sent {"connection_id":163632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:14:19] local.INFO: TCP Data received {"connection_id":163632,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:14:19] local.INFO: Processing buffer {"connection_id":163632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:14:19] local.INFO: Packet analysis {"connection_id":163632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d3c"} 
[2026-08-26 14:14:19] local.INFO: Extracted packet for processing {"connection_id":163632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d3c"} 
[2026-08-26 14:14:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659773440001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 14:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787733791000,"timestamp_ms":1787733791000,"timestamp_seconds":1787733791,"priority":1,"record_length":96,"hex_timestamp":"000001a03d3cd118"} 
[2026-08-26 14: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-26 14:14: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-26 14: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 14:14: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-26 14: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-26 14: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-26 14:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:14:19] 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-26 14:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659773440001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659773440001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:14:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:14:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659773440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":163632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:14:19] local.INFO: GPS data processed {"connection_id":163632,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:14:19] local.INFO: Acknowledgment sent {"connection_id":163632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:14:37] local.INFO: TCP Data received {"connection_id":162606,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:14:37] local.INFO: Processing buffer {"connection_id":162606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:14:37] local.INFO: IMEI packet received {"connection_id":162606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":162606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:14:42] local.INFO: TCP Data received {"connection_id":162606,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:14:42] local.INFO: Processing buffer {"connection_id":162606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:14:42] local.INFO: IMEI packet received {"connection_id":162606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":162606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:14:43] local.INFO: TCP Data received {"connection_id":162606,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:14:43] local.INFO: Processing buffer {"connection_id":162606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:14:43] local.INFO: Packet analysis {"connection_id":162606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d3c"} 
[2026-08-26 14:14:43] local.INFO: Extracted packet for processing {"connection_id":162606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d3c"} 
[2026-08-26 14:14:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659773440001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14: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-26 14:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787733791000,"timestamp_ms":1787733791000,"timestamp_seconds":1787733791,"priority":1,"record_length":96,"hex_timestamp":"000001a03d3cd118"} 
[2026-08-26 14: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-26 14:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":118,"data_length":795,"current_offset":136} 
[2026-08-26 14:14:43] 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-26 14: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-26 14: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-26 14:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:14:43] 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-26 14:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659773440001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659773440001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:14:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:14:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659773440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":162606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:14:43] local.INFO: GPS data processed {"connection_id":162606,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:14:43] local.INFO: Acknowledgment sent {"connection_id":162606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:15:14] local.INFO: TCP Data received {"connection_id":162606,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:15:14] local.INFO: Processing buffer {"connection_id":162606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:15:14] local.INFO: Packet analysis {"connection_id":162606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d3c"} 
[2026-08-26 14:15:14] local.INFO: Extracted packet for processing {"connection_id":162606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d3c"} 
[2026-08-26 14:15:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659773440001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:15: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-26 14:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787733791000,"timestamp_ms":1787733791000,"timestamp_seconds":1787733791,"priority":1,"record_length":96,"hex_timestamp":"000001a03d3cd118"} 
[2026-08-26 14:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:15: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-26 14:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 14:15: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-26 14:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:15: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-26 14:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659773440001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659773440001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:15:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:15:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659773440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":162606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:15:14] local.INFO: GPS data processed {"connection_id":162606,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:15:14] local.INFO: Acknowledgment sent {"connection_id":162606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:15:37] local.INFO: TCP Data received {"connection_id":164969,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:15:37] local.INFO: Processing buffer {"connection_id":164969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:15:37] local.INFO: IMEI packet received {"connection_id":164969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":164969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:15:42] local.INFO: TCP Data received {"connection_id":164969,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:15:42] local.INFO: Processing buffer {"connection_id":164969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:15:42] local.INFO: IMEI packet received {"connection_id":164969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":164969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:15:43] local.INFO: TCP Data received {"connection_id":164969,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:15:43] local.INFO: Processing buffer {"connection_id":164969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:15:43] local.INFO: Packet analysis {"connection_id":164969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d3c"} 
[2026-08-26 14:15:43] local.INFO: Extracted packet for processing {"connection_id":164969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d3c"} 
[2026-08-26 14:15:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659773440001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:15: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-26 14:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787733791000,"timestamp_ms":1787733791000,"timestamp_seconds":1787733791,"priority":1,"record_length":96,"hex_timestamp":"000001a03d3cd118"} 
[2026-08-26 14:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 14:15:43] 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-26 14:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:15: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-26 14:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659773440001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659773440001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:15:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:15:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659773440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":164969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:15:43] local.INFO: GPS data processed {"connection_id":164969,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:15:43] local.INFO: Acknowledgment sent {"connection_id":164969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:16:15] local.INFO: TCP Data received {"connection_id":164969,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:16:15] local.INFO: Processing buffer {"connection_id":164969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:16:15] local.INFO: Packet analysis {"connection_id":164969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d3c"} 
[2026-08-26 14:16:15] local.INFO: Extracted packet for processing {"connection_id":164969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d3c"} 
[2026-08-26 14:16:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659773440001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:16: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-26 14:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787733791000,"timestamp_ms":1787733791000,"timestamp_seconds":1787733791,"priority":1,"record_length":96,"hex_timestamp":"000001a03d3cd118"} 
[2026-08-26 14:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 14:16: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-26 14:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:16: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-26 14:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659773440001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659773440001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:16:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:16:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659773440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":164969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:16:15] local.INFO: GPS data processed {"connection_id":164969,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:16:15] local.INFO: Acknowledgment sent {"connection_id":164969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:16:22] local.INFO: TCP Data received {"connection_id":162385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:16:22] local.INFO: Processing buffer {"connection_id":162385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:16:22] local.INFO: IMEI packet received {"connection_id":162385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 14:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":162385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:16:37] local.INFO: TCP Data received {"connection_id":162607,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:16:37] local.INFO: Processing buffer {"connection_id":162607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:16:37] local.INFO: IMEI packet received {"connection_id":162607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":162607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:16:42] local.INFO: TCP Data received {"connection_id":162607,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:16:42] local.INFO: Processing buffer {"connection_id":162607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:16:42] local.INFO: IMEI packet received {"connection_id":162607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":162607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:16:43] local.INFO: TCP Data received {"connection_id":162607,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:16:43] local.INFO: Processing buffer {"connection_id":162607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:16:43] local.INFO: Packet analysis {"connection_id":162607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d3c"} 
[2026-08-26 14:16:43] local.INFO: Extracted packet for processing {"connection_id":162607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d3c"} 
[2026-08-26 14:16:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659773440001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:16: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-26 14:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787733791000,"timestamp_ms":1787733791000,"timestamp_seconds":1787733791,"priority":1,"record_length":96,"hex_timestamp":"000001a03d3cd118"} 
[2026-08-26 14: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-26 14:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 14:16:43] 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-26 14: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-26 14: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-26 14:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:16:43] 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-26 14:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659773440001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659773440001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:16:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:16:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659773440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":162607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:16:43] local.INFO: GPS data processed {"connection_id":162607,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:16:43] local.INFO: Acknowledgment sent {"connection_id":162607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:17:14] local.INFO: TCP Data received {"connection_id":162607,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:17:14] local.INFO: Processing buffer {"connection_id":162607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:17:14] local.INFO: Packet analysis {"connection_id":162607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d3c"} 
[2026-08-26 14:17:14] local.INFO: Extracted packet for processing {"connection_id":162607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d3c"} 
[2026-08-26 14:17:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659773440001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:17: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-26 14:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787733791000,"timestamp_ms":1787733791000,"timestamp_seconds":1787733791,"priority":1,"record_length":96,"hex_timestamp":"000001a03d3cd118"} 
[2026-08-26 14: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-26 14:17: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-26 14: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 14:17: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-26 14: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-26 14: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-26 14:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:17: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-26 14:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659773440001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659773440001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:17:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:17:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659773440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":162607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:17:14] local.INFO: GPS data processed {"connection_id":162607,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:17:14] local.INFO: Acknowledgment sent {"connection_id":162607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:17:42] local.INFO: TCP Data received {"connection_id":162386,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:17:42] local.INFO: Processing buffer {"connection_id":162386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:17:42] local.INFO: IMEI packet received {"connection_id":162386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":162386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:17:47] local.INFO: TCP Data received {"connection_id":162386,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:17:47] local.INFO: Processing buffer {"connection_id":162386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:17:47] local.INFO: IMEI packet received {"connection_id":162386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":162386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:17:48] local.INFO: TCP Data received {"connection_id":162386,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:17:48] local.INFO: Processing buffer {"connection_id":162386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:17:48] local.INFO: Packet analysis {"connection_id":162386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d3c"} 
[2026-08-26 14:17:48] local.INFO: Extracted packet for processing {"connection_id":162386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d3c"} 
[2026-08-26 14:17:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 14:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659773440001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 14:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787733791000,"timestamp_ms":1787733791000,"timestamp_seconds":1787733791,"priority":1,"record_length":96,"hex_timestamp":"000001a03d3cd118"} 
[2026-08-26 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-26 14:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 14:17:48] 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-26 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-26 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-26 14:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:17:48] 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-26 14:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659773440001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659773440001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:17:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:17:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659773440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":162386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:17:48] local.INFO: GPS data processed {"connection_id":162386,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:17:48] local.INFO: Acknowledgment sent {"connection_id":162386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:17:52] local.INFO: TCP Data received {"connection_id":162386,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:17:52] local.INFO: Processing buffer {"connection_id":162386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:17:52] local.INFO: Packet analysis {"connection_id":162386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d3c"} 
[2026-08-26 14:17:52] local.INFO: Extracted packet for processing {"connection_id":162386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d3c"} 
[2026-08-26 14:17:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659773440001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:17: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-26 14:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787733791000,"timestamp_ms":1787733791000,"timestamp_seconds":1787733791,"priority":1,"record_length":96,"hex_timestamp":"000001a03d3cd118"} 
[2026-08-26 14: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-26 14:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 14:17:52] 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-26 14: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-26 14: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-26 14:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:17:52] 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-26 14:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659773440001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659773440001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:17:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:17:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659773440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":162386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:17:52] local.INFO: GPS data processed {"connection_id":162386,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:17:52] local.INFO: Acknowledgment sent {"connection_id":162386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:18:37] local.INFO: TCP Data received {"connection_id":163633,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:18:37] local.INFO: Processing buffer {"connection_id":163633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:18:37] local.INFO: IMEI packet received {"connection_id":163633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":163633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:18:42] local.INFO: TCP Data received {"connection_id":163633,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:18:42] local.INFO: Processing buffer {"connection_id":163633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:18:42] local.INFO: IMEI packet received {"connection_id":163633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":163633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:18:43] local.INFO: TCP Data received {"connection_id":163633,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:18:43] local.INFO: Processing buffer {"connection_id":163633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d3cd118012d34c14006aa4818000e00e62c..."} 
[2026-08-26 14:18:43] local.INFO: Packet analysis {"connection_id":163633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d3c"} 
[2026-08-26 14:18:43] local.INFO: Extracted packet for processing {"connection_id":163633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d3c"} 
[2026-08-26 14:18:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659773440001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:18: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-26 14:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787733791000,"timestamp_ms":1787733791000,"timestamp_seconds":1787733791,"priority":1,"record_length":96,"hex_timestamp":"000001a03d3cd118"} 
[2026-08-26 14:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 14:18:43] 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-26 14:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:18:43] 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-26 14:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659773440001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659773440001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:18:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:18:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659773440001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":163633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:18:43] local.INFO: GPS data processed {"connection_id":163633,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:18:43] local.INFO: Acknowledgment sent {"connection_id":163633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:19:14] local.INFO: TCP Data received {"connection_id":163633,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:19:14] local.INFO: Processing buffer {"connection_id":163633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:19:14] local.INFO: Packet analysis {"connection_id":163633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d41"} 
[2026-08-26 14:19:14] local.INFO: Extracted packet for processing {"connection_id":163633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d41"} 
[2026-08-26 14:19:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659850496001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:19: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-26 14:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787734092000,"timestamp_ms":1787734092000,"timestamp_seconds":1787734092,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4168e0"} 
[2026-08-26 14:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:19: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-26 14:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 14:19: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-26 14:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:19: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-26 14:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659850496001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659850496001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:19:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:19:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659850496001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":163633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:19:14] local.INFO: GPS data processed {"connection_id":163633,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:19:14] local.INFO: Acknowledgment sent {"connection_id":163633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:19:36] local.INFO: TCP Data received {"connection_id":164970,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:19:36] local.INFO: Processing buffer {"connection_id":164970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:19:36] local.INFO: IMEI packet received {"connection_id":164970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":164970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:19:42] local.INFO: TCP Data received {"connection_id":164970,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:19:42] local.INFO: Processing buffer {"connection_id":164970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:19:42] local.INFO: IMEI packet received {"connection_id":164970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":164970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:19:43] local.INFO: TCP Data received {"connection_id":164970,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:19:43] local.INFO: Processing buffer {"connection_id":164970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:19:43] local.INFO: Packet analysis {"connection_id":164970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d41"} 
[2026-08-26 14:19:43] local.INFO: Extracted packet for processing {"connection_id":164970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d41"} 
[2026-08-26 14:19:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659850496001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14: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-26 14:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787734092000,"timestamp_ms":1787734092000,"timestamp_seconds":1787734092,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4168e0"} 
[2026-08-26 14: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-26 14:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":151,"data_length":795,"current_offset":136} 
[2026-08-26 14:19:43] 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-26 14: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-26 14: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-26 14:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:19:43] 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-26 14:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659850496001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659850496001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:19:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:19:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659850496001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":164970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:19:43] local.INFO: GPS data processed {"connection_id":164970,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:19:43] local.INFO: Acknowledgment sent {"connection_id":164970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:20:15] local.INFO: TCP Data received {"connection_id":164970,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:20:15] local.INFO: Processing buffer {"connection_id":164970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:20:15] local.INFO: Packet analysis {"connection_id":164970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d41"} 
[2026-08-26 14:20:15] local.INFO: Extracted packet for processing {"connection_id":164970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d41"} 
[2026-08-26 14:20:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659850496001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:20: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-26 14:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787734092000,"timestamp_ms":1787734092000,"timestamp_seconds":1787734092,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4168e0"} 
[2026-08-26 14: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-26 14:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 14:20:15] 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-26 14: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-26 14: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-26 14:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:20:15] 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-26 14:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659850496001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659850496001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:20:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:20:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659850496001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":164970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:20:15] local.INFO: GPS data processed {"connection_id":164970,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:20:15] local.INFO: Acknowledgment sent {"connection_id":164970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:20:36] local.INFO: TCP Data received {"connection_id":162388,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:20:36] local.INFO: Processing buffer {"connection_id":162388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:20:36] local.INFO: IMEI packet received {"connection_id":162388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":162388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:20:42] local.INFO: TCP Data received {"connection_id":162388,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:20:42] local.INFO: Processing buffer {"connection_id":162388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:20:42] local.INFO: IMEI packet received {"connection_id":162388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":162388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:20:43] local.INFO: TCP Data received {"connection_id":162388,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:20:43] local.INFO: Processing buffer {"connection_id":162388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:20:43] local.INFO: Packet analysis {"connection_id":162388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d41"} 
[2026-08-26 14:20:43] local.INFO: Extracted packet for processing {"connection_id":162388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d41"} 
[2026-08-26 14:20:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659850496001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:20: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-26 14:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787734092000,"timestamp_ms":1787734092000,"timestamp_seconds":1787734092,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4168e0"} 
[2026-08-26 14: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-26 14:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 14:20:43] 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-26 14: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-26 14: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-26 14:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:20: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-26 14:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659850496001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659850496001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:20:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:20:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659850496001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":162388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:20:43] local.INFO: GPS data processed {"connection_id":162388,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:20:43] local.INFO: Acknowledgment sent {"connection_id":162388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:21:14] local.INFO: TCP Data received {"connection_id":162388,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:21:14] local.INFO: Processing buffer {"connection_id":162388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:21:14] local.INFO: Packet analysis {"connection_id":162388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d41"} 
[2026-08-26 14:21:14] local.INFO: Extracted packet for processing {"connection_id":162388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d41"} 
[2026-08-26 14:21:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659850496001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:21: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-26 14:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787734092000,"timestamp_ms":1787734092000,"timestamp_seconds":1787734092,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4168e0"} 
[2026-08-26 14: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-26 14:21: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-26 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 14:21: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-26 14: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-26 14: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-26 14:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:21:14] 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-26 14:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659850496001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659850496001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:21:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:21:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659850496001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":162388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:21:14] local.INFO: GPS data processed {"connection_id":162388,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:21:14] local.INFO: Acknowledgment sent {"connection_id":162388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:21:42] local.INFO: TCP Data received {"connection_id":163634,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:21:42] local.INFO: Processing buffer {"connection_id":163634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:21:42] local.INFO: IMEI packet received {"connection_id":163634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":163634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:21:47] local.INFO: TCP Data received {"connection_id":163634,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:21:47] local.INFO: Processing buffer {"connection_id":163634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:21:47] local.INFO: IMEI packet received {"connection_id":163634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":163634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:21:48] local.INFO: TCP Data received {"connection_id":163634,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:21:48] local.INFO: Processing buffer {"connection_id":163634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:21:48] local.INFO: Packet analysis {"connection_id":163634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d41"} 
[2026-08-26 14:21:48] local.INFO: Extracted packet for processing {"connection_id":163634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d41"} 
[2026-08-26 14:21:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 14:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659850496001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 14:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787734092000,"timestamp_ms":1787734092000,"timestamp_seconds":1787734092,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4168e0"} 
[2026-08-26 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-26 14:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 14:21:48] 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-26 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-26 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-26 14:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659850496001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659850496001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:21:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:21:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659850496001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":163634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:21:48] local.INFO: GPS data processed {"connection_id":163634,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:21:48] local.INFO: Acknowledgment sent {"connection_id":163634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:21:52] local.INFO: TCP Data received {"connection_id":163634,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:21:52] local.INFO: Processing buffer {"connection_id":163634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:21:52] local.INFO: Packet analysis {"connection_id":163634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d41"} 
[2026-08-26 14:21:52] local.INFO: Extracted packet for processing {"connection_id":163634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d41"} 
[2026-08-26 14:21:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659850496001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:21: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-26 14:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787734092000,"timestamp_ms":1787734092000,"timestamp_seconds":1787734092,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4168e0"} 
[2026-08-26 14: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-26 14:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 14:21:52] 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-26 14: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-26 14: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-26 14:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:21:52] 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-26 14:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659850496001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659850496001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:21:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:21:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659850496001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":163634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:21:52] local.INFO: GPS data processed {"connection_id":163634,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:21:52] local.INFO: Acknowledgment sent {"connection_id":163634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:22:37] local.INFO: TCP Data received {"connection_id":162389,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:22:37] local.INFO: Processing buffer {"connection_id":162389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:22:37] local.INFO: IMEI packet received {"connection_id":162389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":162389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:22:42] local.INFO: TCP Data received {"connection_id":162389,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:22:42] local.INFO: Processing buffer {"connection_id":162389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:22:42] local.INFO: IMEI packet received {"connection_id":162389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":162389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:22:43] local.INFO: TCP Data received {"connection_id":162389,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:22:43] local.INFO: Processing buffer {"connection_id":162389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:22:43] local.INFO: Packet analysis {"connection_id":162389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d41"} 
[2026-08-26 14:22:43] local.INFO: Extracted packet for processing {"connection_id":162389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d41"} 
[2026-08-26 14:22:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659850496001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:22: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-26 14:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787734092000,"timestamp_ms":1787734092000,"timestamp_seconds":1787734092,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4168e0"} 
[2026-08-26 14:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 14:22:43] 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-26 14:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:22: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-26 14:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659850496001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659850496001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:22:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:22:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659850496001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":162389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:22:43] local.INFO: GPS data processed {"connection_id":162389,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:22:43] local.INFO: Acknowledgment sent {"connection_id":162389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:23:02] local.INFO: TCP Data received {"connection_id":164971,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164971,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:23:02] local.INFO: Processing buffer {"connection_id":164971,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:23:02] local.INFO: IMEI packet received {"connection_id":164971,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 14:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":164971,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:23:15] local.INFO: TCP Data received {"connection_id":162389,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:23:15] local.INFO: Processing buffer {"connection_id":162389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:23:15] local.INFO: Packet analysis {"connection_id":162389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d41"} 
[2026-08-26 14:23:15] local.INFO: Extracted packet for processing {"connection_id":162389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d41"} 
[2026-08-26 14:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659850496001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14: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-26 14:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787734092000,"timestamp_ms":1787734092000,"timestamp_seconds":1787734092,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4168e0"} 
[2026-08-26 14: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-26 14:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":151,"data_length":795,"current_offset":136} 
[2026-08-26 14:23:15] 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-26 14: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-26 14: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-26 14:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:23: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-26 14:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659850496001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659850496001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659850496001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":162389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:23:15] local.INFO: GPS data processed {"connection_id":162389,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:23:15] local.INFO: Acknowledgment sent {"connection_id":162389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:23:37] local.INFO: TCP Data received {"connection_id":163635,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:23:37] local.INFO: Processing buffer {"connection_id":163635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:23:37] local.INFO: IMEI packet received {"connection_id":163635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":163635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:23:42] local.INFO: TCP Data received {"connection_id":163635,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:23:42] local.INFO: Processing buffer {"connection_id":163635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:23:42] local.INFO: IMEI packet received {"connection_id":163635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":163635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:23:42] local.INFO: TCP Data received {"connection_id":163635,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:23:42] local.INFO: Processing buffer {"connection_id":163635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4168e0012d34c14006aa4818000d00e62d..."} 
[2026-08-26 14:23:42] local.INFO: Packet analysis {"connection_id":163635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d41"} 
[2026-08-26 14:23:42] local.INFO: Extracted packet for processing {"connection_id":163635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d41"} 
[2026-08-26 14:23:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659850496001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14: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-26 14:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787734092000,"timestamp_ms":1787734092000,"timestamp_seconds":1787734092,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4168e0"} 
[2026-08-26 14:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:23: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-26 14:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 14:23: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-26 14:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:23:42] local.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-26 14:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659850496001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659850496001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:23:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:23:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659850496001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":163635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:23:42] local.INFO: GPS data processed {"connection_id":163635,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:23:42] local.INFO: Acknowledgment sent {"connection_id":163635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:24:14] local.INFO: TCP Data received {"connection_id":163635,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:24:14] local.INFO: Processing buffer {"connection_id":163635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:24:14] local.INFO: Packet analysis {"connection_id":163635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d46"} 
[2026-08-26 14:24:14] local.INFO: Extracted packet for processing {"connection_id":163635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d46"} 
[2026-08-26 14:24:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 14:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659927552001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:24: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-26 14:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787734393000,"timestamp_ms":1787734393000,"timestamp_seconds":1787734393,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4600a8"} 
[2026-08-26 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-26 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-26 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-26 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-26 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-26 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-26 14:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:24: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-26 14:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659927552001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659927552001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:24:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:24:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659927552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":163635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:24:14] local.INFO: GPS data processed {"connection_id":163635,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:24:14] local.INFO: Acknowledgment sent {"connection_id":163635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:24:45] local.INFO: TCP Data received {"connection_id":164972,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:24:45] local.INFO: Processing buffer {"connection_id":164972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:24:45] local.INFO: IMEI packet received {"connection_id":164972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":164972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:24:47] local.INFO: TCP Data received {"connection_id":164972,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:24:47] local.INFO: Processing buffer {"connection_id":164972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:24:47] local.INFO: IMEI packet received {"connection_id":164972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":164972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:24:48] local.INFO: TCP Data received {"connection_id":164972,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:24:48] local.INFO: Processing buffer {"connection_id":164972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:24:48] local.INFO: Packet analysis {"connection_id":164972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d46"} 
[2026-08-26 14:24:48] local.INFO: Extracted packet for processing {"connection_id":164972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d46"} 
[2026-08-26 14:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 14:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659927552001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 14:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787734393000,"timestamp_ms":1787734393000,"timestamp_seconds":1787734393,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4600a8"} 
[2026-08-26 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-26 14:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 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-26 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-26 14:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:24:48] 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-26 14:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659927552001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659927552001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:24:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:24:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659927552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":164972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:24:48] local.INFO: GPS data processed {"connection_id":164972,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:24:48] local.INFO: Acknowledgment sent {"connection_id":164972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:24:52] local.INFO: TCP Data received {"connection_id":164972,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:24:52] local.INFO: Processing buffer {"connection_id":164972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:24:52] local.INFO: Packet analysis {"connection_id":164972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d46"} 
[2026-08-26 14:24:52] local.INFO: Extracted packet for processing {"connection_id":164972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d46"} 
[2026-08-26 14:24:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659927552001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:24: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-26 14:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787734393000,"timestamp_ms":1787734393000,"timestamp_seconds":1787734393,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4600a8"} 
[2026-08-26 14: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-26 14:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 14: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-26 14: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-26 14:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:24:52] 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-26 14:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659927552001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659927552001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:24:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:24:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659927552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":164972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:24:52] local.INFO: GPS data processed {"connection_id":164972,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:24:52] local.INFO: Acknowledgment sent {"connection_id":164972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:25:37] local.INFO: TCP Data received {"connection_id":162390,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:25:37] local.INFO: Processing buffer {"connection_id":162390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:25:37] local.INFO: IMEI packet received {"connection_id":162390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":162390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:25:42] local.INFO: TCP Data received {"connection_id":162390,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:25:42] local.INFO: Processing buffer {"connection_id":162390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:25:42] local.INFO: IMEI packet received {"connection_id":162390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":162390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:25:43] local.INFO: TCP Data received {"connection_id":162390,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:25:43] local.INFO: Processing buffer {"connection_id":162390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:25:43] local.INFO: Packet analysis {"connection_id":162390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d46"} 
[2026-08-26 14:25:43] local.INFO: Extracted packet for processing {"connection_id":162390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d46"} 
[2026-08-26 14:25:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659927552001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:25: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-26 14:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787734393000,"timestamp_ms":1787734393000,"timestamp_seconds":1787734393,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4600a8"} 
[2026-08-26 14:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 14:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:25:43] 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-26 14:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659927552001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659927552001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:25:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:25:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659927552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":162390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:25:43] local.INFO: GPS data processed {"connection_id":162390,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:25:43] local.INFO: Acknowledgment sent {"connection_id":162390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:26:14] local.INFO: TCP Data received {"connection_id":162390,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:26:14] local.INFO: Processing buffer {"connection_id":162390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:26:14] local.INFO: Packet analysis {"connection_id":162390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d46"} 
[2026-08-26 14:26:14] local.INFO: Extracted packet for processing {"connection_id":162390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d46"} 
[2026-08-26 14:26:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659927552001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:26: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-26 14:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787734393000,"timestamp_ms":1787734393000,"timestamp_seconds":1787734393,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4600a8"} 
[2026-08-26 14: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-26 14:26: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-26 14: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":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:26: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-26 14: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-26 14: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-26 14:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659927552001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659927552001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:26:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:26:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659927552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":162390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:26:14] local.INFO: GPS data processed {"connection_id":162390,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:26:14] local.INFO: Acknowledgment sent {"connection_id":162390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:26:37] local.INFO: TCP Data received {"connection_id":163636,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:26:37] local.INFO: Processing buffer {"connection_id":163636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:26:37] local.INFO: IMEI packet received {"connection_id":163636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":163636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:26:42] local.INFO: TCP Data received {"connection_id":163636,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:26:42] local.INFO: Processing buffer {"connection_id":163636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:26:42] local.INFO: IMEI packet received {"connection_id":163636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":163636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:26:43] local.INFO: TCP Data received {"connection_id":163636,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:26:43] local.INFO: Processing buffer {"connection_id":163636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:26:43] local.INFO: Packet analysis {"connection_id":163636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d46"} 
[2026-08-26 14:26:43] local.INFO: Extracted packet for processing {"connection_id":163636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d46"} 
[2026-08-26 14:26:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659927552001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:26: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-26 14:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787734393000,"timestamp_ms":1787734393000,"timestamp_seconds":1787734393,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4600a8"} 
[2026-08-26 14:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 14:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:26:43] 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-26 14:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659927552001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659927552001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:26:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:26:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659927552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":163636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:26:43] local.INFO: GPS data processed {"connection_id":163636,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:26:43] local.INFO: Acknowledgment sent {"connection_id":163636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:27:14] local.INFO: TCP Data received {"connection_id":163636,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:27:14] local.INFO: Processing buffer {"connection_id":163636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:27:14] local.INFO: Packet analysis {"connection_id":163636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d46"} 
[2026-08-26 14:27:14] local.INFO: Extracted packet for processing {"connection_id":163636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d46"} 
[2026-08-26 14:27:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 14:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659927552001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:27: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-26 14:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787734393000,"timestamp_ms":1787734393000,"timestamp_seconds":1787734393,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4600a8"} 
[2026-08-26 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-26 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-26 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":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:27: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-26 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-26 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-26 14:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:27: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-26 14:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659927552001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659927552001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:27:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:27:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659927552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":163636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:27:14] local.INFO: GPS data processed {"connection_id":163636,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:27:14] local.INFO: Acknowledgment sent {"connection_id":163636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:27:36] local.INFO: TCP Data received {"connection_id":162391,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:27:36] local.INFO: Processing buffer {"connection_id":162391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:27:36] local.INFO: IMEI packet received {"connection_id":162391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":162391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:27:42] local.INFO: TCP Data received {"connection_id":162391,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:27:42] local.INFO: Processing buffer {"connection_id":162391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:27:42] local.INFO: IMEI packet received {"connection_id":162391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":162391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:27:43] local.INFO: TCP Data received {"connection_id":162391,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:27:43] local.INFO: Processing buffer {"connection_id":162391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:27:43] local.INFO: Packet analysis {"connection_id":162391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d46"} 
[2026-08-26 14:27:43] local.INFO: Extracted packet for processing {"connection_id":162391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d46"} 
[2026-08-26 14:27:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659927552001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:27: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-26 14:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787734393000,"timestamp_ms":1787734393000,"timestamp_seconds":1787734393,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4600a8"} 
[2026-08-26 14: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-26 14:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 14:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14: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-26 14:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:27: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-26 14:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659927552001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659927552001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:27:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:27:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659927552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":162391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:27:43] local.INFO: GPS data processed {"connection_id":162391,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:27:43] local.INFO: Acknowledgment sent {"connection_id":162391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:28:14] local.INFO: TCP Data received {"connection_id":162391,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:28:14] local.INFO: Processing buffer {"connection_id":162391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:28:14] local.INFO: Packet analysis {"connection_id":162391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d46"} 
[2026-08-26 14:28:14] local.INFO: Extracted packet for processing {"connection_id":162391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d46"} 
[2026-08-26 14:28:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659927552001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:28: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-26 14:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787734393000,"timestamp_ms":1787734393000,"timestamp_seconds":1787734393,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4600a8"} 
[2026-08-26 14:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:28: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-26 14:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:28: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-26 14:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:28: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-26 14:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659927552001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659927552001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:28:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:28:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659927552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":162391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:28:14] local.INFO: GPS data processed {"connection_id":162391,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:28:14] local.INFO: Acknowledgment sent {"connection_id":162391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:28:27] local.INFO: TCP Data received {"connection_id":162392,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162392,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:28:27] local.INFO: Processing buffer {"connection_id":162392,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:28:27] local.INFO: IMEI packet received {"connection_id":162392,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 14:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":162392,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:28:42] local.INFO: TCP Data received {"connection_id":163637,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:28:42] local.INFO: Processing buffer {"connection_id":163637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:28:42] local.INFO: IMEI packet received {"connection_id":163637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":163637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:28:47] local.INFO: TCP Data received {"connection_id":163637,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:28:47] local.INFO: Processing buffer {"connection_id":163637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:28:47] local.INFO: IMEI packet received {"connection_id":163637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":163637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:28:48] local.INFO: TCP Data received {"connection_id":163637,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:28:48] local.INFO: Processing buffer {"connection_id":163637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:28:48] local.INFO: Packet analysis {"connection_id":163637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d46"} 
[2026-08-26 14:28:48] local.INFO: Extracted packet for processing {"connection_id":163637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d46"} 
[2026-08-26 14:28:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 14:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659927552001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 14:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787734393000,"timestamp_ms":1787734393000,"timestamp_seconds":1787734393,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4600a8"} 
[2026-08-26 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-26 14:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 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-26 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-26 14:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:28:48] 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-26 14:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659927552001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659927552001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:28:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:28:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659927552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":163637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:28:48] local.INFO: GPS data processed {"connection_id":163637,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:28:48] local.INFO: Acknowledgment sent {"connection_id":163637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:28:52] local.INFO: TCP Data received {"connection_id":163637,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:28:52] local.INFO: Processing buffer {"connection_id":163637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4600a8012d34c14006aa4818000200e62b..."} 
[2026-08-26 14:28:52] local.INFO: Packet analysis {"connection_id":163637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d46"} 
[2026-08-26 14:28:52] local.INFO: Extracted packet for processing {"connection_id":163637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d46"} 
[2026-08-26 14:28:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:28: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-26 14:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457659927552001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:28: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-26 14:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787734393000,"timestamp_ms":1787734393000,"timestamp_seconds":1787734393,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4600a8"} 
[2026-08-26 14: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-26 14:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 14: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-26 14: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-26 14:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:28:52] 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-26 14:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457659927552001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457659927552001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:28:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:28:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457659927552001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":163637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:28:52] local.INFO: GPS data processed {"connection_id":163637,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:28:52] local.INFO: Acknowledgment sent {"connection_id":163637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:29:36] local.INFO: TCP Data received {"connection_id":164973,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:29:36] local.INFO: Processing buffer {"connection_id":164973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:29:36] local.INFO: IMEI packet received {"connection_id":164973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":164973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:29:41] local.INFO: TCP Data received {"connection_id":164973,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:29:41] local.INFO: Processing buffer {"connection_id":164973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:29:41] local.INFO: IMEI packet received {"connection_id":164973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":164973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:29:43] local.INFO: TCP Data received {"connection_id":164973,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:29:43] local.INFO: Processing buffer {"connection_id":164973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:29:43] local.INFO: Packet analysis {"connection_id":164973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d4a"} 
[2026-08-26 14:29:43] local.INFO: Extracted packet for processing {"connection_id":164973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d4a"} 
[2026-08-26 14:29:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660004608001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:29: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-26 14:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787734694000,"timestamp_ms":1787734694000,"timestamp_seconds":1787734694,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4a9870"} 
[2026-08-26 14: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-26 14:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 14: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-26 14: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-26 14:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:29: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-26 14:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660004608001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660004608001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:29:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:29:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660004608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":164973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:29:43] local.INFO: GPS data processed {"connection_id":164973,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:29:43] local.INFO: Acknowledgment sent {"connection_id":164973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:30:14] local.INFO: TCP Data received {"connection_id":164973,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:30:14] local.INFO: Processing buffer {"connection_id":164973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:30:14] local.INFO: Packet analysis {"connection_id":164973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d4a"} 
[2026-08-26 14:30:14] local.INFO: Extracted packet for processing {"connection_id":164973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d4a"} 
[2026-08-26 14:30:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660004608001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:30: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-26 14:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787734694000,"timestamp_ms":1787734694000,"timestamp_seconds":1787734694,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4a9870"} 
[2026-08-26 14: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-26 14:30: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-26 14: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":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:30: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-26 14: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-26 14: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-26 14:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14: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-26 14:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660004608001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 14:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660004608001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:30:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:30:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660004608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":164973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:30:14] local.INFO: GPS data processed {"connection_id":164973,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:30:14] local.INFO: Acknowledgment sent {"connection_id":164973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:30:37] local.INFO: TCP Data received {"connection_id":163638,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:30:37] local.INFO: Processing buffer {"connection_id":163638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:30:37] local.INFO: IMEI packet received {"connection_id":163638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":163638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:30:42] local.INFO: TCP Data received {"connection_id":163638,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:30:42] local.INFO: Processing buffer {"connection_id":163638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:30:42] local.INFO: IMEI packet received {"connection_id":163638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":163638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:30:43] local.INFO: TCP Data received {"connection_id":163638,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:30:43] local.INFO: Processing buffer {"connection_id":163638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:30:43] local.INFO: Packet analysis {"connection_id":163638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d4a"} 
[2026-08-26 14:30:43] local.INFO: Extracted packet for processing {"connection_id":163638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d4a"} 
[2026-08-26 14:30:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660004608001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:30: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-26 14:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787734694000,"timestamp_ms":1787734694000,"timestamp_seconds":1787734694,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4a9870"} 
[2026-08-26 14:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 14:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660004608001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660004608001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:30:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:30:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660004608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":163638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:30:43] local.INFO: GPS data processed {"connection_id":163638,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:30:43] local.INFO: Acknowledgment sent {"connection_id":163638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:31:14] local.INFO: TCP Data received {"connection_id":163638,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:31:14] local.INFO: Processing buffer {"connection_id":163638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:31:14] local.INFO: Packet analysis {"connection_id":163638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d4a"} 
[2026-08-26 14:31:14] local.INFO: Extracted packet for processing {"connection_id":163638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d4a"} 
[2026-08-26 14:31:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660004608001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14: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-26 14:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787734694000,"timestamp_ms":1787734694000,"timestamp_seconds":1787734694,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4a9870"} 
[2026-08-26 14: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-26 14:31: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-26 14: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":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:31: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-26 14: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-26 14: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-26 14:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660004608001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660004608001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:31:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:31:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660004608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":163638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:31:14] local.INFO: GPS data processed {"connection_id":163638,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:31:14] local.INFO: Acknowledgment sent {"connection_id":163638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:31:42] local.INFO: TCP Data received {"connection_id":163639,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:31:42] local.INFO: Processing buffer {"connection_id":163639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:31:42] local.INFO: IMEI packet received {"connection_id":163639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":163639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:31:47] local.INFO: TCP Data received {"connection_id":163639,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:31:47] local.INFO: Processing buffer {"connection_id":163639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:31:47] local.INFO: IMEI packet received {"connection_id":163639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":163639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:31:48] local.INFO: TCP Data received {"connection_id":163639,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:31:48] local.INFO: Processing buffer {"connection_id":163639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:31:48] local.INFO: Packet analysis {"connection_id":163639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d4a"} 
[2026-08-26 14:31:48] local.INFO: Extracted packet for processing {"connection_id":163639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d4a"} 
[2026-08-26 14:31:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 14:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660004608001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 14:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787734694000,"timestamp_ms":1787734694000,"timestamp_seconds":1787734694,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4a9870"} 
[2026-08-26 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-26 14:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 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-26 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-26 14:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660004608001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660004608001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:31:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:31:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660004608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":163639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:31:48] local.INFO: GPS data processed {"connection_id":163639,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:31:48] local.INFO: Acknowledgment sent {"connection_id":163639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:31:52] local.INFO: TCP Data received {"connection_id":163639,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:31:52] local.INFO: Processing buffer {"connection_id":163639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:31:52] local.INFO: Packet analysis {"connection_id":163639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d4a"} 
[2026-08-26 14:31:52] local.INFO: Extracted packet for processing {"connection_id":163639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d4a"} 
[2026-08-26 14:31:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660004608001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:31: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-26 14:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787734694000,"timestamp_ms":1787734694000,"timestamp_seconds":1787734694,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4a9870"} 
[2026-08-26 14:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 14:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660004608001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660004608001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:31:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:31:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660004608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":163639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:31:52] local.INFO: GPS data processed {"connection_id":163639,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:31:52] local.INFO: Acknowledgment sent {"connection_id":163639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:32:37] local.INFO: TCP Data received {"connection_id":162608,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:32:37] local.INFO: Processing buffer {"connection_id":162608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:32:37] local.INFO: IMEI packet received {"connection_id":162608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":162608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:32:42] local.INFO: TCP Data received {"connection_id":162608,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:32:42] local.INFO: Processing buffer {"connection_id":162608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:32:42] local.INFO: IMEI packet received {"connection_id":162608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":162608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:32:43] local.INFO: TCP Data received {"connection_id":162608,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:32:43] local.INFO: Processing buffer {"connection_id":162608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:32:43] local.INFO: Packet analysis {"connection_id":162608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d4a"} 
[2026-08-26 14:32:43] local.INFO: Extracted packet for processing {"connection_id":162608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d4a"} 
[2026-08-26 14:32:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660004608001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14: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-26 14:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787734694000,"timestamp_ms":1787734694000,"timestamp_seconds":1787734694,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4a9870"} 
[2026-08-26 14: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-26 14:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 14: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-26 14: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-26 14:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660004608001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660004608001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:32:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:32:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660004608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":162608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:32:43] local.INFO: GPS data processed {"connection_id":162608,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:32:43] local.INFO: Acknowledgment sent {"connection_id":162608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:33:14] local.INFO: TCP Data received {"connection_id":162608,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:33:14] local.INFO: Processing buffer {"connection_id":162608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:33:14] local.INFO: Packet analysis {"connection_id":162608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d4a"} 
[2026-08-26 14:33:14] local.INFO: Extracted packet for processing {"connection_id":162608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d4a"} 
[2026-08-26 14:33:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660004608001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:33: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-26 14:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787734694000,"timestamp_ms":1787734694000,"timestamp_seconds":1787734694,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4a9870"} 
[2026-08-26 14: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-26 14:33: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-26 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:33: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-26 14: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-26 14: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-26 14:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660004608001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660004608001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:33:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:33:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660004608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":162608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:33:15] local.INFO: GPS data processed {"connection_id":162608,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:33:15] local.INFO: Acknowledgment sent {"connection_id":162608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:33:37] local.INFO: TCP Data received {"connection_id":164974,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:33:37] local.INFO: Processing buffer {"connection_id":164974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:33:37] local.INFO: IMEI packet received {"connection_id":164974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":164974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:33:42] local.INFO: TCP Data received {"connection_id":164974,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:33:42] local.INFO: Processing buffer {"connection_id":164974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:33:42] local.INFO: IMEI packet received {"connection_id":164974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":164974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:33:44] local.INFO: TCP Data received {"connection_id":164974,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:33:44] local.INFO: Processing buffer {"connection_id":164974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4a9870012d34c14006aa4818000500e62b..."} 
[2026-08-26 14:33:44] local.INFO: Packet analysis {"connection_id":164974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d4a"} 
[2026-08-26 14:33:44] local.INFO: Extracted packet for processing {"connection_id":164974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d4a"} 
[2026-08-26 14:33:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660004608001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:33: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-26 14:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787734694000,"timestamp_ms":1787734694000,"timestamp_seconds":1787734694,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4a9870"} 
[2026-08-26 14: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-26 14:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 14:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 14: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-26 14: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-26 14:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660004608001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660004608001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:33:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:33:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660004608001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":164974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:33:44] local.INFO: GPS data processed {"connection_id":164974,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:33:44] local.INFO: Acknowledgment sent {"connection_id":164974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:34:02] local.INFO: TCP Data received {"connection_id":162393,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:34:02] local.INFO: Processing buffer {"connection_id":162393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:34:02] local.INFO: IMEI packet received {"connection_id":162393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 14:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":162393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:34:17] local.INFO: TCP Data received {"connection_id":164974,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:34:17] local.INFO: Processing buffer {"connection_id":164974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:34:17] local.INFO: Packet analysis {"connection_id":164974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d4f"} 
[2026-08-26 14:34:17] local.INFO: Extracted packet for processing {"connection_id":164974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d4f"} 
[2026-08-26 14:34:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660081664001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:34: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-26 14:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787734995000,"timestamp_ms":1787734995000,"timestamp_seconds":1787734995,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4f3038"} 
[2026-08-26 14:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:34: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-26 14:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 14:34:17] 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-26 14:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660081664001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660081664001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:34:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:34:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660081664001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":164974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:34:17] local.INFO: GPS data processed {"connection_id":164974,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:34:17] local.INFO: Acknowledgment sent {"connection_id":164974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:34:36] local.INFO: TCP Data received {"connection_id":162609,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:34:36] local.INFO: Processing buffer {"connection_id":162609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:34:36] local.INFO: IMEI packet received {"connection_id":162609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":162609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:34:43] local.INFO: TCP Data received {"connection_id":162609,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:34:43] local.INFO: Processing buffer {"connection_id":162609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:34:43] local.INFO: IMEI packet received {"connection_id":162609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":162609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:34:46] local.INFO: TCP Data received {"connection_id":162609,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:34:46] local.INFO: Processing buffer {"connection_id":162609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:34:46] local.INFO: Packet analysis {"connection_id":162609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d4f"} 
[2026-08-26 14:34:46] local.INFO: Extracted packet for processing {"connection_id":162609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d4f"} 
[2026-08-26 14:34:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660081664001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 14:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787734995000,"timestamp_ms":1787734995000,"timestamp_seconds":1787734995,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4f3038"} 
[2026-08-26 14: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-26 14:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 14:34:46] 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-26 14: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-26 14: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-26 14:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660081664001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660081664001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:34:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:34:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660081664001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":162609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:34:46] local.INFO: GPS data processed {"connection_id":162609,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:34:46] local.INFO: Acknowledgment sent {"connection_id":162609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:35:19] local.INFO: TCP Data received {"connection_id":162609,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:35:19] local.INFO: Processing buffer {"connection_id":162609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:35:19] local.INFO: Packet analysis {"connection_id":162609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d4f"} 
[2026-08-26 14:35:19] local.INFO: Extracted packet for processing {"connection_id":162609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d4f"} 
[2026-08-26 14:35:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 14:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660081664001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 14:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787734995000,"timestamp_ms":1787734995000,"timestamp_seconds":1787734995,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4f3038"} 
[2026-08-26 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-26 14:35: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-26 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 14:35:19] 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-26 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-26 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-26 14:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660081664001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660081664001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:35:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:35:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660081664001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":162609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:35:19] local.INFO: GPS data processed {"connection_id":162609,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:35:19] local.INFO: Acknowledgment sent {"connection_id":162609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:35:41] local.INFO: TCP Data received {"connection_id":163640,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:35:41] local.INFO: Processing buffer {"connection_id":163640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:35:41] local.INFO: IMEI packet received {"connection_id":163640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":163640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:35:47] local.INFO: TCP Data received {"connection_id":163640,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:35:47] local.INFO: Processing buffer {"connection_id":163640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:35:47] local.INFO: IMEI packet received {"connection_id":163640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":163640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:35:48] local.INFO: TCP Data received {"connection_id":163640,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:35:48] local.INFO: Processing buffer {"connection_id":163640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:35:48] local.INFO: Packet analysis {"connection_id":163640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d4f"} 
[2026-08-26 14:35:48] local.INFO: Extracted packet for processing {"connection_id":163640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d4f"} 
[2026-08-26 14:35:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 14:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660081664001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 14:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787734995000,"timestamp_ms":1787734995000,"timestamp_seconds":1787734995,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4f3038"} 
[2026-08-26 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-26 14:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 14:35:48] 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-26 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-26 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-26 14:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660081664001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660081664001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:35:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:35:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660081664001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":163640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:35:48] local.INFO: GPS data processed {"connection_id":163640,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:35:48] local.INFO: Acknowledgment sent {"connection_id":163640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:35:52] local.INFO: TCP Data received {"connection_id":163640,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:35:52] local.INFO: Processing buffer {"connection_id":163640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:35:52] local.INFO: Packet analysis {"connection_id":163640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d4f"} 
[2026-08-26 14:35:52] local.INFO: Extracted packet for processing {"connection_id":163640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d4f"} 
[2026-08-26 14:35:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660081664001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:35: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-26 14:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787734995000,"timestamp_ms":1787734995000,"timestamp_seconds":1787734995,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4f3038"} 
[2026-08-26 14: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-26 14:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 14:35:52] 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-26 14: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-26 14: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-26 14:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660081664001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660081664001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:35:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:35:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660081664001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":163640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:35:52] local.INFO: GPS data processed {"connection_id":163640,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:35:52] local.INFO: Acknowledgment sent {"connection_id":163640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:36:37] local.INFO: TCP Data received {"connection_id":163641,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:36:37] local.INFO: Processing buffer {"connection_id":163641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:36:37] local.INFO: IMEI packet received {"connection_id":163641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":163641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:36:42] local.INFO: TCP Data received {"connection_id":163641,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:36:42] local.INFO: Processing buffer {"connection_id":163641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:36:42] local.INFO: IMEI packet received {"connection_id":163641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":163641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:36:43] local.INFO: TCP Data received {"connection_id":163641,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:36:43] local.INFO: Processing buffer {"connection_id":163641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:36:43] local.INFO: Packet analysis {"connection_id":163641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d4f"} 
[2026-08-26 14:36:43] local.INFO: Extracted packet for processing {"connection_id":163641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d4f"} 
[2026-08-26 14:36:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660081664001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:36: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-26 14:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787734995000,"timestamp_ms":1787734995000,"timestamp_seconds":1787734995,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4f3038"} 
[2026-08-26 14:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 14:36: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-26 14:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660081664001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660081664001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:36:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:36:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660081664001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":163641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:36:43] local.INFO: GPS data processed {"connection_id":163641,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:36:43] local.INFO: Acknowledgment sent {"connection_id":163641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:37:14] local.INFO: TCP Data received {"connection_id":163641,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:37:14] local.INFO: Processing buffer {"connection_id":163641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:37:14] local.INFO: Packet analysis {"connection_id":163641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d4f"} 
[2026-08-26 14:37:14] local.INFO: Extracted packet for processing {"connection_id":163641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d4f"} 
[2026-08-26 14:37:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660081664001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:37: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-26 14:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787734995000,"timestamp_ms":1787734995000,"timestamp_seconds":1787734995,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4f3038"} 
[2026-08-26 14: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-26 14:37: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-26 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 14:37: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-26 14: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-26 14: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-26 14:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660081664001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660081664001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:37:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:37:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660081664001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":163641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:37:14] local.INFO: GPS data processed {"connection_id":163641,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:37:14] local.INFO: Acknowledgment sent {"connection_id":163641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:37:37] local.INFO: TCP Data received {"connection_id":164975,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:37:37] local.INFO: Processing buffer {"connection_id":164975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:37:37] local.INFO: IMEI packet received {"connection_id":164975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":164975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:37:42] local.INFO: TCP Data received {"connection_id":164975,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:37:42] local.INFO: Processing buffer {"connection_id":164975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:37:42] local.INFO: IMEI packet received {"connection_id":164975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":164975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:37:43] local.INFO: TCP Data received {"connection_id":164975,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:37:43] local.INFO: Processing buffer {"connection_id":164975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:37:43] local.INFO: Packet analysis {"connection_id":164975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d4f"} 
[2026-08-26 14:37:43] local.INFO: Extracted packet for processing {"connection_id":164975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d4f"} 
[2026-08-26 14:37:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660081664001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:37: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-26 14:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787734995000,"timestamp_ms":1787734995000,"timestamp_seconds":1787734995,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4f3038"} 
[2026-08-26 14: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-26 14:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 14:37: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-26 14: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-26 14: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-26 14:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660081664001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660081664001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:37:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:37:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660081664001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":164975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:37:43] local.INFO: GPS data processed {"connection_id":164975,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:37:43] local.INFO: Acknowledgment sent {"connection_id":164975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:38:14] local.INFO: TCP Data received {"connection_id":164975,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:38:14] local.INFO: Processing buffer {"connection_id":164975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:38:14] local.INFO: Packet analysis {"connection_id":164975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d4f"} 
[2026-08-26 14:38:14] local.INFO: Extracted packet for processing {"connection_id":164975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d4f"} 
[2026-08-26 14:38:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660081664001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:38: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-26 14:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787734995000,"timestamp_ms":1787734995000,"timestamp_seconds":1787734995,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4f3038"} 
[2026-08-26 14: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-26 14:38: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-26 14: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":129,"data_length":795,"current_offset":136} 
[2026-08-26 14:38: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-26 14: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-26 14: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-26 14:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660081664001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660081664001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:38:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:38:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660081664001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":164975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:38:14] local.INFO: GPS data processed {"connection_id":164975,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:38:14] local.INFO: Acknowledgment sent {"connection_id":164975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:38:36] local.INFO: TCP Data received {"connection_id":163642,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:38:36] local.INFO: Processing buffer {"connection_id":163642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:38:36] local.INFO: IMEI packet received {"connection_id":163642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":163642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:38:42] local.INFO: TCP Data received {"connection_id":163642,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:38:42] local.INFO: Processing buffer {"connection_id":163642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:38:42] local.INFO: IMEI packet received {"connection_id":163642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":163642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:38:43] local.INFO: TCP Data received {"connection_id":163642,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:38:43] local.INFO: Processing buffer {"connection_id":163642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d4f3038012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:38:43] local.INFO: Packet analysis {"connection_id":163642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d4f"} 
[2026-08-26 14:38:43] local.INFO: Extracted packet for processing {"connection_id":163642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d4f"} 
[2026-08-26 14:38:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 14:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660081664001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14: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-26 14:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787734995000,"timestamp_ms":1787734995000,"timestamp_seconds":1787734995,"priority":1,"record_length":96,"hex_timestamp":"000001a03d4f3038"} 
[2026-08-26 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-26 14:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 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":129,"data_length":795,"current_offset":136} 
[2026-08-26 14:38: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-26 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-26 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-26 14:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660081664001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660081664001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:38:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:38:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660081664001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":163642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:38:43] local.INFO: GPS data processed {"connection_id":163642,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:38:43] local.INFO: Acknowledgment sent {"connection_id":163642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:39:14] local.INFO: TCP Data received {"connection_id":163642,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03d53c800012d34c14006aa4818000800e62c..."} 
[2026-08-26 14:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d53c800012d34c14006aa4818000800e62c..."} 
[2026-08-26 14:39:14] local.INFO: Processing buffer {"connection_id":163642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d53c800012d34c14006aa4818000800e62c..."} 
[2026-08-26 14:39:14] local.INFO: Packet analysis {"connection_id":163642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d53"} 
[2026-08-26 14:39:14] local.INFO: Extracted packet for processing {"connection_id":163642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d53"} 
[2026-08-26 14:39:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 14:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660158720001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:39: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-26 14:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787735296000,"timestamp_ms":1787735296000,"timestamp_seconds":1787735296,"priority":1,"record_length":96,"hex_timestamp":"000001a03d53c800"} 
[2026-08-26 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-26 14:39: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-26 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":194,"data_length":795,"current_offset":136} 
[2026-08-26 14:39:14] 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-26 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-26 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-26 14:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660158720001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660158720001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:39:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:39:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660158720001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":163642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:39:14] local.INFO: GPS data processed {"connection_id":163642,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:39:14] local.INFO: Acknowledgment sent {"connection_id":163642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:39:37] local.INFO: TCP Data received {"connection_id":164977,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:39:37] local.INFO: Processing buffer {"connection_id":164977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:39:37] local.INFO: IMEI packet received {"connection_id":164977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":164977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:39:37] local.INFO: TCP Data received {"connection_id":164976,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164976,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:39:37] local.INFO: Processing buffer {"connection_id":164976,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:39:37] local.INFO: IMEI packet received {"connection_id":164976,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 14:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":164976,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:39:58] local.INFO: TCP Data received {"connection_id":164977,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:39:58] local.INFO: Processing buffer {"connection_id":164977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:39:58] local.INFO: IMEI packet received {"connection_id":164977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":164977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:40:04] local.INFO: TCP Data received {"connection_id":164977,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03d53c800012d34c14006aa4818000800e62c..."} 
[2026-08-26 14:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d53c800012d34c14006aa4818000800e62c..."} 
[2026-08-26 14:40:04] local.INFO: Processing buffer {"connection_id":164977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d53c800012d34c14006aa4818000800e62c..."} 
[2026-08-26 14:40:04] local.INFO: Packet analysis {"connection_id":164977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d53"} 
[2026-08-26 14:40:04] local.INFO: Extracted packet for processing {"connection_id":164977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d53"} 
[2026-08-26 14:40:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660158720001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:40: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-26 14:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787735296000,"timestamp_ms":1787735296000,"timestamp_seconds":1787735296,"priority":1,"record_length":96,"hex_timestamp":"000001a03d53c800"} 
[2026-08-26 14:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:40: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-26 14:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 14:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 14:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660158720001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660158720001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:40:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:40:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660158720001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":164977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:40:04] local.INFO: GPS data processed {"connection_id":164977,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:40:04] local.INFO: Acknowledgment sent {"connection_id":164977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:40:42] local.INFO: TCP Data received {"connection_id":163643,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:40:42] local.INFO: Processing buffer {"connection_id":163643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:40:42] local.INFO: IMEI packet received {"connection_id":163643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":163643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:40:47] local.INFO: TCP Data received {"connection_id":163643,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:40:47] local.INFO: Processing buffer {"connection_id":163643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:40:47] local.INFO: IMEI packet received {"connection_id":163643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":163643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:40:49] local.INFO: TCP Data received {"connection_id":163643,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03d53c800012d34c14006aa4818000800e62c..."} 
[2026-08-26 14:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d53c800012d34c14006aa4818000800e62c..."} 
[2026-08-26 14:40:49] local.INFO: Processing buffer {"connection_id":163643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d53c800012d34c14006aa4818000800e62c..."} 
[2026-08-26 14:40:49] local.INFO: Packet analysis {"connection_id":163643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d53"} 
[2026-08-26 14:40:49] local.INFO: Extracted packet for processing {"connection_id":163643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d53"} 
[2026-08-26 14:40:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660158720001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:40: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-26 14:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787735296000,"timestamp_ms":1787735296000,"timestamp_seconds":1787735296,"priority":1,"record_length":96,"hex_timestamp":"000001a03d53c800"} 
[2026-08-26 14:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 14:40:49] 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-26 14:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660158720001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660158720001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:40:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:40:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660158720001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":163643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:40:49] local.INFO: GPS data processed {"connection_id":163643,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:40:49] local.INFO: Acknowledgment sent {"connection_id":163643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:40:52] local.INFO: TCP Data received {"connection_id":163643,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03d53c800012d34c14006aa4818000800e62c..."} 
[2026-08-26 14:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d53c800012d34c14006aa4818000800e62c..."} 
[2026-08-26 14:40:52] local.INFO: Processing buffer {"connection_id":163643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d53c800012d34c14006aa4818000800e62c..."} 
[2026-08-26 14:40:52] local.INFO: Packet analysis {"connection_id":163643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d53"} 
[2026-08-26 14:40:52] local.INFO: Extracted packet for processing {"connection_id":163643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d53"} 
[2026-08-26 14:40:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660158720001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:40: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-26 14:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787735296000,"timestamp_ms":1787735296000,"timestamp_seconds":1787735296,"priority":1,"record_length":96,"hex_timestamp":"000001a03d53c800"} 
[2026-08-26 14: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-26 14:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 14:40:52] 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-26 14: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-26 14: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-26 14:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660158720001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660158720001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:40:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:40:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660158720001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":163643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:40:52] local.INFO: GPS data processed {"connection_id":163643,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:40:52] local.INFO: Acknowledgment sent {"connection_id":163643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:42:13] local.INFO: TCP Data received {"connection_id":164978,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:42:13] local.INFO: Processing buffer {"connection_id":164978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:42:13] local.INFO: IMEI packet received {"connection_id":164978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":164978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:42:18] local.INFO: TCP Data received {"connection_id":164978,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:42:18] local.INFO: Processing buffer {"connection_id":164978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:42:18] local.INFO: IMEI packet received {"connection_id":164978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":164978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:42:24] local.INFO: TCP Data received {"connection_id":164978,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03d53c800012d34c14006aa4818000800e62c..."} 
[2026-08-26 14:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d53c800012d34c14006aa4818000800e62c..."} 
[2026-08-26 14:42:24] local.INFO: Processing buffer {"connection_id":164978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d53c800012d34c14006aa4818000800e62c..."} 
[2026-08-26 14:42:24] local.INFO: Packet analysis {"connection_id":164978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d53"} 
[2026-08-26 14:42:24] local.INFO: Extracted packet for processing {"connection_id":164978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d53"} 
[2026-08-26 14:42:24] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660158720001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 14:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787735296000,"timestamp_ms":1787735296000,"timestamp_seconds":1787735296,"priority":1,"record_length":96,"hex_timestamp":"000001a03d53c800"} 
[2026-08-26 14: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-26 14:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 14: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 14:42:24] 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-26 14: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-26 14: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-26 14:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":164978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":164978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":164978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660158720001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660158720001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:42:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:42:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660158720001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":164978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:42:24] local.INFO: GPS data processed {"connection_id":164978,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:42:24] local.INFO: Acknowledgment sent {"connection_id":164978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:42:42] local.INFO: TCP Data received {"connection_id":164979,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:42:42] local.INFO: Processing buffer {"connection_id":164979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:42:42] local.INFO: IMEI packet received {"connection_id":164979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":164979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:43:14] local.INFO: TCP Data received {"connection_id":164979,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:43:14] local.INFO: Processing buffer {"connection_id":164979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:43:14] local.INFO: IMEI packet received {"connection_id":164979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":164979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:43:16] local.INFO: TCP Data received {"connection_id":164979,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03d53c800012d34c14006aa4818000800e62c..."} 
[2026-08-26 14:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d53c800012d34c14006aa4818000800e62c..."} 
[2026-08-26 14:43:16] local.INFO: Processing buffer {"connection_id":164979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d53c800012d34c14006aa4818000800e62c..."} 
[2026-08-26 14:43:16] local.INFO: Packet analysis {"connection_id":164979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d53"} 
[2026-08-26 14:43:16] local.INFO: Extracted packet for processing {"connection_id":164979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d53"} 
[2026-08-26 14:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660158720001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14: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-26 14:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787735296000,"timestamp_ms":1787735296000,"timestamp_seconds":1787735296,"priority":1,"record_length":96,"hex_timestamp":"000001a03d53c800"} 
[2026-08-26 14:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 14:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 14:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 14:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660158720001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660158720001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:43:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:43:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660158720001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":164979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:43:16] local.INFO: GPS data processed {"connection_id":164979,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:43:16] local.INFO: Acknowledgment sent {"connection_id":164979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:43:52] local.INFO: TCP Data received {"connection_id":162394,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:43:52] local.INFO: Processing buffer {"connection_id":162394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:43:52] local.INFO: IMEI packet received {"connection_id":162394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":162394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:43:55] local.INFO: TCP Data received {"connection_id":162394,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:43:55] local.INFO: Processing buffer {"connection_id":162394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:43:55] local.INFO: IMEI packet received {"connection_id":162394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":162394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:43:57] local.INFO: TCP Data received {"connection_id":162394,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03d585fc8012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d585fc8012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:43:57] local.INFO: Processing buffer {"connection_id":162394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d585fc8012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:43:57] local.INFO: Packet analysis {"connection_id":162394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d58"} 
[2026-08-26 14:43:57] local.INFO: Extracted packet for processing {"connection_id":162394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d58"} 
[2026-08-26 14:43:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660235776001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 14:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787735597000,"timestamp_ms":1787735597000,"timestamp_seconds":1787735597,"priority":1,"record_length":96,"hex_timestamp":"000001a03d585fc8"} 
[2026-08-26 14:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 14:43:57] 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-26 14:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660235776001,"66":25495,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 14:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660235776001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:43:57] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 14:43:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660235776001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":162394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:43:57] local.INFO: GPS data processed {"connection_id":162394,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:43:57] local.INFO: Acknowledgment sent {"connection_id":162394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:44:06] local.INFO: TCP Data received {"connection_id":162394,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03d585fc8012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d585fc8012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:44:06] local.INFO: Processing buffer {"connection_id":162394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d585fc8012d34c14006aa4818000900e62b..."} 
[2026-08-26 14:44:06] local.INFO: Packet analysis {"connection_id":162394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d58"} 
[2026-08-26 14:44:06] local.INFO: Extracted packet for processing {"connection_id":162394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d58"} 
[2026-08-26 14:44:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660235776001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 14:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787735597000,"timestamp_ms":1787735597000,"timestamp_seconds":1787735597,"priority":1,"record_length":96,"hex_timestamp":"000001a03d585fc8"} 
[2026-08-26 14:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 14:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 14:44:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 14:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":162394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":162394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":162394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660235776001,"66":25495,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 14:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660235776001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:44:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 14:44:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660235776001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":162394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:44:06] local.INFO: GPS data processed {"connection_id":162394,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:44:06] local.INFO: Acknowledgment sent {"connection_id":162394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:44:55] local.INFO: TCP Data received {"connection_id":163644,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:44:55] local.INFO: Processing buffer {"connection_id":163644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:44:55] local.INFO: IMEI packet received {"connection_id":163644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":163644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:45:12] local.INFO: TCP Data received {"connection_id":162610,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162610,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:45:12] local.INFO: Processing buffer {"connection_id":162610,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:45:12] local.INFO: IMEI packet received {"connection_id":162610,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 14:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":162610,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:45:22] local.INFO: TCP Data received {"connection_id":163644,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:45:22] local.INFO: Processing buffer {"connection_id":163644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:45:22] local.INFO: IMEI packet received {"connection_id":163644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":163644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:47:16] local.INFO: TCP Data received {"connection_id":162611,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:47:16] local.INFO: Processing buffer {"connection_id":162611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:47:16] local.INFO: IMEI packet received {"connection_id":162611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":162611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:47:46] local.INFO: TCP Data received {"connection_id":162612,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:47:46] local.INFO: Processing buffer {"connection_id":162612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:47:46] local.INFO: IMEI packet received {"connection_id":162612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":162612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:50:47] local.INFO: TCP Data received {"connection_id":164980,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:50:47] local.INFO: Processing buffer {"connection_id":164980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:50:47] local.INFO: IMEI packet received {"connection_id":164980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 14:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":164980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:52:52] local.INFO: TCP Data received {"connection_id":162395,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:52:52] local.INFO: Processing buffer {"connection_id":162395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:52:52] local.INFO: IMEI packet received {"connection_id":162395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":162395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:52:53] local.INFO: TCP Data received {"connection_id":162395,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03d5cf790012d34c14006aa4818000300e62b..."} 
[2026-08-26 14:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d5cf790012d34c14006aa4818000300e62b..."} 
[2026-08-26 14:52:53] local.INFO: Processing buffer {"connection_id":162395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d5cf790012d34c14006aa4818000300e62b..."} 
[2026-08-26 14:52:53] local.INFO: Packet analysis {"connection_id":162395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d5c"} 
[2026-08-26 14:52:53] local.INFO: Extracted packet for processing {"connection_id":162395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d5c"} 
[2026-08-26 14:52:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660312832001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:52:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 14:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787735898000,"timestamp_ms":1787735898000,"timestamp_seconds":1787735898,"priority":1,"record_length":96,"hex_timestamp":"000001a03d5cf790"} 
[2026-08-26 14: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-26 14:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 14:52:53] 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-26 14: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-26 14: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-26 14:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:52:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660312832001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660312832001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:52:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:52:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:52:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660312832001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":162395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:52:53] local.INFO: GPS data processed {"connection_id":162395,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:52:53] local.INFO: Acknowledgment sent {"connection_id":162395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:53:42] local.INFO: TCP Data received {"connection_id":162614,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:53:42] local.INFO: Processing buffer {"connection_id":162614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:53:42] local.INFO: IMEI packet received {"connection_id":162614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":162614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:53:47] local.INFO: TCP Data received {"connection_id":162614,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:53:47] local.INFO: Processing buffer {"connection_id":162614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:53:47] local.INFO: IMEI packet received {"connection_id":162614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":162614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:53:47] local.INFO: TCP Data received {"connection_id":162614,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03d5cf790012d34c14006aa4818000300e62b..."} 
[2026-08-26 14:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d5cf790012d34c14006aa4818000300e62b..."} 
[2026-08-26 14:53:47] local.INFO: Processing buffer {"connection_id":162614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d5cf790012d34c14006aa4818000300e62b..."} 
[2026-08-26 14:53:47] local.INFO: Packet analysis {"connection_id":162614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d5c"} 
[2026-08-26 14:53:47] local.INFO: Extracted packet for processing {"connection_id":162614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d5c"} 
[2026-08-26 14:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660312832001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:53: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-26 14:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787735898000,"timestamp_ms":1787735898000,"timestamp_seconds":1787735898,"priority":1,"record_length":96,"hex_timestamp":"000001a03d5cf790"} 
[2026-08-26 14: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-26 14:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 14:53:47] 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-26 14: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-26 14: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-26 14:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660312832001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660312832001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:53:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660312832001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":162614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:53:47] local.INFO: GPS data processed {"connection_id":162614,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:53:47] local.INFO: Acknowledgment sent {"connection_id":162614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:53:52] local.INFO: TCP Data received {"connection_id":162614,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03d5cf790012d34c14006aa4818000300e62b..."} 
[2026-08-26 14:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d5cf790012d34c14006aa4818000300e62b..."} 
[2026-08-26 14:53:52] local.INFO: Processing buffer {"connection_id":162614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d5cf790012d34c14006aa4818000300e62b..."} 
[2026-08-26 14:53:52] local.INFO: Packet analysis {"connection_id":162614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d5c"} 
[2026-08-26 14:53:52] local.INFO: Extracted packet for processing {"connection_id":162614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d5c"} 
[2026-08-26 14:53:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660312832001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:53: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-26 14:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787735898000,"timestamp_ms":1787735898000,"timestamp_seconds":1787735898,"priority":1,"record_length":96,"hex_timestamp":"000001a03d5cf790"} 
[2026-08-26 14: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-26 14:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 14:53:52] 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-26 14: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-26 14: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-26 14:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660312832001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660312832001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:53:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:53:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660312832001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":162614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:53:52] local.INFO: GPS data processed {"connection_id":162614,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:53:52] local.INFO: Acknowledgment sent {"connection_id":162614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:54:36] local.INFO: TCP Data received {"connection_id":163648,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:54:36] local.INFO: Processing buffer {"connection_id":163648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:54:36] local.INFO: IMEI packet received {"connection_id":163648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":163648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:54:42] local.INFO: TCP Data received {"connection_id":163648,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:54:42] local.INFO: Processing buffer {"connection_id":163648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:54:42] local.INFO: IMEI packet received {"connection_id":163648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":163648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:54:43] local.INFO: TCP Data received {"connection_id":163648,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:54:43] local.INFO: Processing buffer {"connection_id":163648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:54:43] local.INFO: Packet analysis {"connection_id":163648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d61"} 
[2026-08-26 14:54:43] local.INFO: Extracted packet for processing {"connection_id":163648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d61"} 
[2026-08-26 14:54:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660389888001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:54: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-26 14:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787736199000,"timestamp_ms":1787736199000,"timestamp_seconds":1787736199,"priority":1,"record_length":96,"hex_timestamp":"000001a03d618f58"} 
[2026-08-26 14:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 14:54:43] 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-26 14:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660389888001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660389888001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:54:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:54:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660389888001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":163648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:54:43] local.INFO: GPS data processed {"connection_id":163648,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:54:43] local.INFO: Acknowledgment sent {"connection_id":163648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:55:14] local.INFO: TCP Data received {"connection_id":163648,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:55:14] local.INFO: Processing buffer {"connection_id":163648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:55:14] local.INFO: Packet analysis {"connection_id":163648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d61"} 
[2026-08-26 14:55:14] local.INFO: Extracted packet for processing {"connection_id":163648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d61"} 
[2026-08-26 14:55:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660389888001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:55: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-26 14:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787736199000,"timestamp_ms":1787736199000,"timestamp_seconds":1787736199,"priority":1,"record_length":96,"hex_timestamp":"000001a03d618f58"} 
[2026-08-26 14:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:55: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-26 14:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 14:55: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-26 14:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660389888001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660389888001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:55:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:55:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660389888001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":163648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:55:14] local.INFO: GPS data processed {"connection_id":163648,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:55:14] local.INFO: Acknowledgment sent {"connection_id":163648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:55:36] local.INFO: TCP Data received {"connection_id":162615,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:55:36] local.INFO: Processing buffer {"connection_id":162615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:55:36] local.INFO: IMEI packet received {"connection_id":162615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":162615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:55:42] local.INFO: TCP Data received {"connection_id":162615,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:55:42] local.INFO: Processing buffer {"connection_id":162615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:55:42] local.INFO: IMEI packet received {"connection_id":162615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":162615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:55:43] local.INFO: TCP Data received {"connection_id":162615,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:55:43] local.INFO: Processing buffer {"connection_id":162615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:55:43] local.INFO: Packet analysis {"connection_id":162615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d61"} 
[2026-08-26 14:55:43] local.INFO: Extracted packet for processing {"connection_id":162615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d61"} 
[2026-08-26 14:55:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660389888001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:55: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-26 14:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787736199000,"timestamp_ms":1787736199000,"timestamp_seconds":1787736199,"priority":1,"record_length":96,"hex_timestamp":"000001a03d618f58"} 
[2026-08-26 14:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 14:55:43] 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-26 14:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660389888001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660389888001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:55:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:55:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660389888001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":162615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:55:43] local.INFO: GPS data processed {"connection_id":162615,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:55:43] local.INFO: Acknowledgment sent {"connection_id":162615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:56:15] local.INFO: TCP Data received {"connection_id":162615,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:56:15] local.INFO: Processing buffer {"connection_id":162615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:56:15] local.INFO: Packet analysis {"connection_id":162615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d61"} 
[2026-08-26 14:56:15] local.INFO: Extracted packet for processing {"connection_id":162615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d61"} 
[2026-08-26 14:56:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660389888001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:56: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-26 14:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787736199000,"timestamp_ms":1787736199000,"timestamp_seconds":1787736199,"priority":1,"record_length":96,"hex_timestamp":"000001a03d618f58"} 
[2026-08-26 14: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-26 14:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 14:56:15] 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-26 14: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-26 14: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-26 14:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660389888001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660389888001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:56:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:56:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660389888001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":162615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:56:15] local.INFO: GPS data processed {"connection_id":162615,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:56:15] local.INFO: Acknowledgment sent {"connection_id":162615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:56:22] local.INFO: TCP Data received {"connection_id":163647,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:56:22] local.INFO: Processing buffer {"connection_id":163647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 14:56:22] local.INFO: IMEI packet received {"connection_id":163647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 14:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":163647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:56:36] local.INFO: TCP Data received {"connection_id":164982,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:56:36] local.INFO: Processing buffer {"connection_id":164982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:56:36] local.INFO: IMEI packet received {"connection_id":164982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":164982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:56:42] local.INFO: TCP Data received {"connection_id":164982,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:56:42] local.INFO: Processing buffer {"connection_id":164982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:56:42] local.INFO: IMEI packet received {"connection_id":164982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":164982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:56:42] local.INFO: TCP Data received {"connection_id":164982,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:56:42] local.INFO: Processing buffer {"connection_id":164982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:56:42] local.INFO: Packet analysis {"connection_id":164982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d61"} 
[2026-08-26 14:56:42] local.INFO: Extracted packet for processing {"connection_id":164982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d61"} 
[2026-08-26 14:56:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660389888001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:56: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-26 14:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787736199000,"timestamp_ms":1787736199000,"timestamp_seconds":1787736199,"priority":1,"record_length":96,"hex_timestamp":"000001a03d618f58"} 
[2026-08-26 14:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:56: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-26 14:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 14:56: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-26 14:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660389888001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660389888001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:56:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:56:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660389888001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":164982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:56:43] local.INFO: GPS data processed {"connection_id":164982,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:56:43] local.INFO: Acknowledgment sent {"connection_id":164982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:57:14] local.INFO: TCP Data received {"connection_id":164982,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:57:14] local.INFO: Processing buffer {"connection_id":164982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:57:14] local.INFO: Packet analysis {"connection_id":164982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d61"} 
[2026-08-26 14:57:14] local.INFO: Extracted packet for processing {"connection_id":164982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d61"} 
[2026-08-26 14:57:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660389888001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:57: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-26 14:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787736199000,"timestamp_ms":1787736199000,"timestamp_seconds":1787736199,"priority":1,"record_length":96,"hex_timestamp":"000001a03d618f58"} 
[2026-08-26 14: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-26 14:57: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-26 14: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":151,"data_length":795,"current_offset":136} 
[2026-08-26 14:57: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-26 14: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-26 14: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-26 14:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660389888001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660389888001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:57:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:57:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660389888001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":164982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:57:14] local.INFO: GPS data processed {"connection_id":164982,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:57:14] local.INFO: Acknowledgment sent {"connection_id":164982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:57:42] local.INFO: TCP Data received {"connection_id":163649,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:57:42] local.INFO: Processing buffer {"connection_id":163649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:57:42] local.INFO: IMEI packet received {"connection_id":163649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":163649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:57:47] local.INFO: TCP Data received {"connection_id":163649,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:57:47] local.INFO: Processing buffer {"connection_id":163649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:57:47] local.INFO: IMEI packet received {"connection_id":163649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:57:47] local.INFO: IMEI acknowledgment sent {"connection_id":163649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:57:48] local.INFO: TCP Data received {"connection_id":163649,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:57:48] local.INFO: Processing buffer {"connection_id":163649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:57:48] local.INFO: Packet analysis {"connection_id":163649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d61"} 
[2026-08-26 14:57:48] local.INFO: Extracted packet for processing {"connection_id":163649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d61"} 
[2026-08-26 14:57:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660389888001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 14:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787736199000,"timestamp_ms":1787736199000,"timestamp_seconds":1787736199,"priority":1,"record_length":96,"hex_timestamp":"000001a03d618f58"} 
[2026-08-26 14: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-26 14:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 14:57:48] 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-26 14: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-26 14: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-26 14:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660389888001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660389888001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:57:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:57:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660389888001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":163649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:57:48] local.INFO: GPS data processed {"connection_id":163649,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:57:48] local.INFO: Acknowledgment sent {"connection_id":163649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:57:52] local.INFO: TCP Data received {"connection_id":163649,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:57:52] local.INFO: Processing buffer {"connection_id":163649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:57:52] local.INFO: Packet analysis {"connection_id":163649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d61"} 
[2026-08-26 14:57:52] local.INFO: Extracted packet for processing {"connection_id":163649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d61"} 
[2026-08-26 14:57:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 14:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660389888001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:57: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-26 14:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787736199000,"timestamp_ms":1787736199000,"timestamp_seconds":1787736199,"priority":1,"record_length":96,"hex_timestamp":"000001a03d618f58"} 
[2026-08-26 14:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 14:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 14:57:52] 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-26 14:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 14:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 14:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660389888001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660389888001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:57:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:57:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660389888001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":163649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:57:52] local.INFO: GPS data processed {"connection_id":163649,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:57:52] local.INFO: Acknowledgment sent {"connection_id":163649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:58:37] local.INFO: TCP Data received {"connection_id":162396,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:58:37] local.INFO: Processing buffer {"connection_id":162396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:58:37] local.INFO: IMEI packet received {"connection_id":162396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":162396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:58:42] local.INFO: TCP Data received {"connection_id":162396,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:58:42] local.INFO: Processing buffer {"connection_id":162396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:58:42] local.INFO: IMEI packet received {"connection_id":162396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":162396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:58:43] local.INFO: TCP Data received {"connection_id":162396,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:58:43] local.INFO: Processing buffer {"connection_id":162396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d618f58012d34c14006aa4818000400e62b..."} 
[2026-08-26 14:58:43] local.INFO: Packet analysis {"connection_id":162396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d61"} 
[2026-08-26 14:58:43] local.INFO: Extracted packet for processing {"connection_id":162396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d61"} 
[2026-08-26 14:58:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660389888001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14: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-26 14:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787736199000,"timestamp_ms":1787736199000,"timestamp_seconds":1787736199,"priority":1,"record_length":96,"hex_timestamp":"000001a03d618f58"} 
[2026-08-26 14: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-26 14:58:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 14: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":151,"data_length":795,"current_offset":136} 
[2026-08-26 14:58:43] 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-26 14: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-26 14: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-26 14:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660389888001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660389888001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:58:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:58:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660389888001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":162396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:58:43] local.INFO: GPS data processed {"connection_id":162396,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:58:43] local.INFO: Acknowledgment sent {"connection_id":162396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:59:14] local.INFO: TCP Data received {"connection_id":162396,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 14:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 14:59:14] local.INFO: Processing buffer {"connection_id":162396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 14:59:14] local.INFO: Packet analysis {"connection_id":162396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d66"} 
[2026-08-26 14:59:14] local.INFO: Extracted packet for processing {"connection_id":162396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d66"} 
[2026-08-26 14:59:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660466944001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14:59: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-26 14:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787736500000,"timestamp_ms":1787736500000,"timestamp_seconds":1787736500,"priority":1,"record_length":96,"hex_timestamp":"000001a03d662720"} 
[2026-08-26 14: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-26 14:59: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-26 14: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":194,"data_length":795,"current_offset":136} 
[2026-08-26 14:59:14] 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-26 14: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-26 14: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-26 14:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660466944001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660466944001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:59:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:59:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660466944001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":162396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:59:14] local.INFO: GPS data processed {"connection_id":162396,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:59:14] local.INFO: Acknowledgment sent {"connection_id":162396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 14:59:36] local.INFO: TCP Data received {"connection_id":164983,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:59:36] local.INFO: Processing buffer {"connection_id":164983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:59:36] local.INFO: IMEI packet received {"connection_id":164983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 14:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":164983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 14:59:42] local.INFO: TCP Data received {"connection_id":164983,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:59:42] local.INFO: Processing buffer {"connection_id":164983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 14:59:42] local.INFO: IMEI packet received {"connection_id":164983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 14:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":164983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 14:59:43] local.INFO: TCP Data received {"connection_id":164983,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 14:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 14:59:43] local.INFO: Processing buffer {"connection_id":164983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 14:59:43] local.INFO: Packet analysis {"connection_id":164983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d66"} 
[2026-08-26 14:59:43] local.INFO: Extracted packet for processing {"connection_id":164983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d66"} 
[2026-08-26 14:59:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 14: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-26 14:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660466944001,"note":"Value kept but may cause issues"} 
[2026-08-26 14:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 14:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 14: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-26 14:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787736500000,"timestamp_ms":1787736500000,"timestamp_seconds":1787736500,"priority":1,"record_length":96,"hex_timestamp":"000001a03d662720"} 
[2026-08-26 14: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-26 14:59: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-26 14: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 14:59:43] 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-26 14: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-26 14: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-26 14:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 14:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 14:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 14:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 14:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 14:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 14:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660466944001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 14:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 14:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 14:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660466944001,"description":"Unknown IO ID 0"} 
[2026-08-26 14:59:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 14:59:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 14:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 14:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 14:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660466944001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 14:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":164983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 14:59:43] local.INFO: GPS data processed {"connection_id":164983,"processed":1,"errors":0,"total":1} 
[2026-08-26 14:59:43] local.INFO: Acknowledgment sent {"connection_id":164983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:00:14] local.INFO: TCP Data received {"connection_id":164983,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 15:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 15:00:14] local.INFO: Processing buffer {"connection_id":164983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 15:00:14] local.INFO: Packet analysis {"connection_id":164983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d66"} 
[2026-08-26 15:00:14] local.INFO: Extracted packet for processing {"connection_id":164983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d66"} 
[2026-08-26 15:00:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660466944001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:00: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-26 15:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787736500000,"timestamp_ms":1787736500000,"timestamp_seconds":1787736500,"priority":1,"record_length":96,"hex_timestamp":"000001a03d662720"} 
[2026-08-26 15: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-26 15:00: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-26 15: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":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:00:14] 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-26 15: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-26 15: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-26 15:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660466944001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660466944001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:00:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:00:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660466944001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":164983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:00:14] local.INFO: GPS data processed {"connection_id":164983,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:00:14] local.INFO: Acknowledgment sent {"connection_id":164983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:00:42] local.INFO: TCP Data received {"connection_id":162397,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:00:42] local.INFO: Processing buffer {"connection_id":162397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:00:42] local.INFO: IMEI packet received {"connection_id":162397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":162397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:00:47] local.INFO: TCP Data received {"connection_id":162397,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:00:47] local.INFO: Processing buffer {"connection_id":162397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:00:47] local.INFO: IMEI packet received {"connection_id":162397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":162397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:00:48] local.INFO: TCP Data received {"connection_id":162397,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 15:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 15:00:48] local.INFO: Processing buffer {"connection_id":162397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 15:00:48] local.INFO: Packet analysis {"connection_id":162397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d66"} 
[2026-08-26 15:00:48] local.INFO: Extracted packet for processing {"connection_id":162397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d66"} 
[2026-08-26 15:00:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660466944001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787736500000,"timestamp_ms":1787736500000,"timestamp_seconds":1787736500,"priority":1,"record_length":96,"hex_timestamp":"000001a03d662720"} 
[2026-08-26 15: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-26 15:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:00:48] 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-26 15: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-26 15: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-26 15:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660466944001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660466944001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:00:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:00:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660466944001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":162397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:00:48] local.INFO: GPS data processed {"connection_id":162397,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:00:48] local.INFO: Acknowledgment sent {"connection_id":162397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:00:52] local.INFO: TCP Data received {"connection_id":162397,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 15:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 15:00:52] local.INFO: Processing buffer {"connection_id":162397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 15:00:52] local.INFO: Packet analysis {"connection_id":162397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d66"} 
[2026-08-26 15:00:52] local.INFO: Extracted packet for processing {"connection_id":162397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d66"} 
[2026-08-26 15:00:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660466944001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:00: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-26 15:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787736500000,"timestamp_ms":1787736500000,"timestamp_seconds":1787736500,"priority":1,"record_length":96,"hex_timestamp":"000001a03d662720"} 
[2026-08-26 15: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-26 15:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:00:52] 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-26 15: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-26 15: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-26 15:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660466944001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660466944001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:00:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:00:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660466944001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":162397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:00:52] local.INFO: GPS data processed {"connection_id":162397,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:00:52] local.INFO: Acknowledgment sent {"connection_id":162397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:01:37] local.INFO: TCP Data received {"connection_id":163650,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:01:37] local.INFO: Processing buffer {"connection_id":163650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:01:37] local.INFO: IMEI packet received {"connection_id":163650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":163650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:01:42] local.INFO: TCP Data received {"connection_id":163650,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:01:42] local.INFO: Processing buffer {"connection_id":163650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:01:42] local.INFO: IMEI packet received {"connection_id":163650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":163650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:01:43] local.INFO: TCP Data received {"connection_id":163650,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 15:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 15:01:43] local.INFO: Processing buffer {"connection_id":163650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 15:01:43] local.INFO: Packet analysis {"connection_id":163650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d66"} 
[2026-08-26 15:01:43] local.INFO: Extracted packet for processing {"connection_id":163650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d66"} 
[2026-08-26 15:01:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660466944001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:01: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-26 15:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787736500000,"timestamp_ms":1787736500000,"timestamp_seconds":1787736500,"priority":1,"record_length":96,"hex_timestamp":"000001a03d662720"} 
[2026-08-26 15:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:01: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-26 15:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:01:43] 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-26 15:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660466944001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660466944001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:01:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:01:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660466944001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":163650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:01:43] local.INFO: GPS data processed {"connection_id":163650,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:01:43] local.INFO: Acknowledgment sent {"connection_id":163650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:01:57] local.INFO: TCP Data received {"connection_id":162616,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:01:57] local.INFO: Processing buffer {"connection_id":162616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:01:57] local.INFO: IMEI packet received {"connection_id":162616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 15:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":162616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:02:15] local.INFO: TCP Data received {"connection_id":163650,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 15:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 15:02:15] local.INFO: Processing buffer {"connection_id":163650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 15:02:15] local.INFO: Packet analysis {"connection_id":163650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d66"} 
[2026-08-26 15:02:15] local.INFO: Extracted packet for processing {"connection_id":163650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d66"} 
[2026-08-26 15:02:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660466944001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15: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-26 15:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787736500000,"timestamp_ms":1787736500000,"timestamp_seconds":1787736500,"priority":1,"record_length":96,"hex_timestamp":"000001a03d662720"} 
[2026-08-26 15: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-26 15:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 15: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":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 15: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-26 15: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-26 15:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660466944001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660466944001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:02:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:02:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660466944001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":163650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:02:15] local.INFO: GPS data processed {"connection_id":163650,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:02:15] local.INFO: Acknowledgment sent {"connection_id":163650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:02:36] local.INFO: TCP Data received {"connection_id":162398,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:02:36] local.INFO: Processing buffer {"connection_id":162398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:02:36] local.INFO: IMEI packet received {"connection_id":162398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":162398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:02:42] local.INFO: TCP Data received {"connection_id":162398,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:02:42] local.INFO: Processing buffer {"connection_id":162398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:02:42] local.INFO: IMEI packet received {"connection_id":162398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":162398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:02:43] local.INFO: TCP Data received {"connection_id":162398,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 15:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 15:02:43] local.INFO: Processing buffer {"connection_id":162398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 15:02:43] local.INFO: Packet analysis {"connection_id":162398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d66"} 
[2026-08-26 15:02:43] local.INFO: Extracted packet for processing {"connection_id":162398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d66"} 
[2026-08-26 15:02:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660466944001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:02: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-26 15:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787736500000,"timestamp_ms":1787736500000,"timestamp_seconds":1787736500,"priority":1,"record_length":96,"hex_timestamp":"000001a03d662720"} 
[2026-08-26 15:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:02: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-26 15:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:02:43] 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-26 15:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660466944001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660466944001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:02:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:02:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660466944001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":162398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:02:43] local.INFO: GPS data processed {"connection_id":162398,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:02:43] local.INFO: Acknowledgment sent {"connection_id":162398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:03:14] local.INFO: TCP Data received {"connection_id":162398,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 15:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 15:03:14] local.INFO: Processing buffer {"connection_id":162398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 15:03:14] local.INFO: Packet analysis {"connection_id":162398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d66"} 
[2026-08-26 15:03:14] local.INFO: Extracted packet for processing {"connection_id":162398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d66"} 
[2026-08-26 15:03:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660466944001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:03: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-26 15:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787736500000,"timestamp_ms":1787736500000,"timestamp_seconds":1787736500,"priority":1,"record_length":96,"hex_timestamp":"000001a03d662720"} 
[2026-08-26 15: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-26 15:03: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-26 15: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":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:03:14] 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-26 15: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-26 15: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-26 15:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660466944001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660466944001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:03:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:03:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660466944001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":162398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:03:14] local.INFO: GPS data processed {"connection_id":162398,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:03:14] local.INFO: Acknowledgment sent {"connection_id":162398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:03:36] local.INFO: TCP Data received {"connection_id":164984,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:03:36] local.INFO: Processing buffer {"connection_id":164984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:03:36] local.INFO: IMEI packet received {"connection_id":164984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":164984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:03:42] local.INFO: TCP Data received {"connection_id":164984,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:03:42] local.INFO: Processing buffer {"connection_id":164984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:03:42] local.INFO: IMEI packet received {"connection_id":164984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":164984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:03:43] local.INFO: TCP Data received {"connection_id":164984,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 15:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 15:03:43] local.INFO: Processing buffer {"connection_id":164984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d662720012d34c14006aa4818000800e62d..."} 
[2026-08-26 15:03:43] local.INFO: Packet analysis {"connection_id":164984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d66"} 
[2026-08-26 15:03:43] local.INFO: Extracted packet for processing {"connection_id":164984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d66"} 
[2026-08-26 15:03:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660466944001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:03: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-26 15:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787736500000,"timestamp_ms":1787736500000,"timestamp_seconds":1787736500,"priority":1,"record_length":96,"hex_timestamp":"000001a03d662720"} 
[2026-08-26 15:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:03: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-26 15:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:03:43] 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-26 15:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660466944001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660466944001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:03:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:03:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660466944001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":164984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:03:43] local.INFO: GPS data processed {"connection_id":164984,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:03:43] local.INFO: Acknowledgment sent {"connection_id":164984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:04:15] local.INFO: TCP Data received {"connection_id":164984,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:04:15] local.INFO: Processing buffer {"connection_id":164984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:04:15] local.INFO: Packet analysis {"connection_id":164984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d6a"} 
[2026-08-26 15:04:15] local.INFO: Extracted packet for processing {"connection_id":164984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d6a"} 
[2026-08-26 15:04:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660544000001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:04: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-26 15:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787736800000,"timestamp_ms":1787736800000,"timestamp_seconds":1787736800,"priority":1,"record_length":96,"hex_timestamp":"000001a03d6abb00"} 
[2026-08-26 15: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-26 15:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 15: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":205,"data_length":795,"current_offset":136} 
[2026-08-26 15:04: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-26 15: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-26 15: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-26 15:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660544000001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660544000001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:04:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:04:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660544000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":164984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:04:15] local.INFO: GPS data processed {"connection_id":164984,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:04:15] local.INFO: Acknowledgment sent {"connection_id":164984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:04:42] local.INFO: TCP Data received {"connection_id":162617,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:04:42] local.INFO: Processing buffer {"connection_id":162617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:04:42] local.INFO: IMEI packet received {"connection_id":162617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":162617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:04:47] local.INFO: TCP Data received {"connection_id":162617,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:04:47] local.INFO: Processing buffer {"connection_id":162617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:04:47] local.INFO: IMEI packet received {"connection_id":162617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":162617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:04:47] local.INFO: TCP Data received {"connection_id":162617,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:04:47] local.INFO: Processing buffer {"connection_id":162617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:04:47] local.INFO: Packet analysis {"connection_id":162617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d6a"} 
[2026-08-26 15:04:47] local.INFO: Extracted packet for processing {"connection_id":162617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d6a"} 
[2026-08-26 15:04:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660544000001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:04: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-26 15:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787736800000,"timestamp_ms":1787736800000,"timestamp_seconds":1787736800,"priority":1,"record_length":96,"hex_timestamp":"000001a03d6abb00"} 
[2026-08-26 15: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-26 15:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 15:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 15: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-26 15: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-26 15:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660544000001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660544000001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:04:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:04:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660544000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":162617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:04:47] local.INFO: GPS data processed {"connection_id":162617,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:04:47] local.INFO: Acknowledgment sent {"connection_id":162617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:04:52] local.INFO: TCP Data received {"connection_id":162617,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:04:52] local.INFO: Processing buffer {"connection_id":162617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:04:52] local.INFO: Packet analysis {"connection_id":162617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d6a"} 
[2026-08-26 15:04:52] local.INFO: Extracted packet for processing {"connection_id":162617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d6a"} 
[2026-08-26 15:04:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660544000001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:04: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-26 15:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787736800000,"timestamp_ms":1787736800000,"timestamp_seconds":1787736800,"priority":1,"record_length":96,"hex_timestamp":"000001a03d6abb00"} 
[2026-08-26 15: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-26 15:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 15:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 15: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-26 15: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-26 15:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660544000001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660544000001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:04:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:04:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660544000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":162617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:04:52] local.INFO: GPS data processed {"connection_id":162617,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:04:52] local.INFO: Acknowledgment sent {"connection_id":162617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:05:37] local.INFO: TCP Data received {"connection_id":162399,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:05:37] local.INFO: Processing buffer {"connection_id":162399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:05:37] local.INFO: IMEI packet received {"connection_id":162399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":162399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:05:42] local.INFO: TCP Data received {"connection_id":162399,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:05:42] local.INFO: Processing buffer {"connection_id":162399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:05:42] local.INFO: IMEI packet received {"connection_id":162399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":162399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:05:43] local.INFO: TCP Data received {"connection_id":162399,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:05:43] local.INFO: Processing buffer {"connection_id":162399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:05:43] local.INFO: Packet analysis {"connection_id":162399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d6a"} 
[2026-08-26 15:05:43] local.INFO: Extracted packet for processing {"connection_id":162399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d6a"} 
[2026-08-26 15:05:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660544000001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:05: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-26 15:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787736800000,"timestamp_ms":1787736800000,"timestamp_seconds":1787736800,"priority":1,"record_length":96,"hex_timestamp":"000001a03d6abb00"} 
[2026-08-26 15:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:05: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-26 15:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 15:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 15:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660544000001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660544000001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:05:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:05:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660544000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":162399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:05:43] local.INFO: GPS data processed {"connection_id":162399,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:05:43] local.INFO: Acknowledgment sent {"connection_id":162399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:06:15] local.INFO: TCP Data received {"connection_id":162399,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:06:15] local.INFO: Processing buffer {"connection_id":162399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:06:15] local.INFO: Packet analysis {"connection_id":162399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d6a"} 
[2026-08-26 15:06:15] local.INFO: Extracted packet for processing {"connection_id":162399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d6a"} 
[2026-08-26 15:06:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660544000001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:06: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-26 15:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787736800000,"timestamp_ms":1787736800000,"timestamp_seconds":1787736800,"priority":1,"record_length":96,"hex_timestamp":"000001a03d6abb00"} 
[2026-08-26 15:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 15:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 15:06: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-26 15:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660544000001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660544000001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:06:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:06:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660544000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":162399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:06:16] local.INFO: GPS data processed {"connection_id":162399,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:06:16] local.INFO: Acknowledgment sent {"connection_id":162399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:06:37] local.INFO: TCP Data received {"connection_id":162618,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:06:37] local.INFO: Processing buffer {"connection_id":162618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:06:37] local.INFO: IMEI packet received {"connection_id":162618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":162618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:06:44] local.INFO: TCP Data received {"connection_id":162618,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:06:44] local.INFO: Processing buffer {"connection_id":162618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:06:44] local.INFO: IMEI packet received {"connection_id":162618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":162618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:06:45] local.INFO: TCP Data received {"connection_id":162618,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:06:45] local.INFO: Processing buffer {"connection_id":162618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:06:45] local.INFO: Packet analysis {"connection_id":162618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d6a"} 
[2026-08-26 15:06:45] local.INFO: Extracted packet for processing {"connection_id":162618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d6a"} 
[2026-08-26 15:06:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660544000001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:06: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-26 15:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787736800000,"timestamp_ms":1787736800000,"timestamp_seconds":1787736800,"priority":1,"record_length":96,"hex_timestamp":"000001a03d6abb00"} 
[2026-08-26 15: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-26 15:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 15:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 15: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-26 15: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-26 15:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660544000001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660544000001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:06:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:06:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660544000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":162618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:06:45] local.INFO: GPS data processed {"connection_id":162618,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:06:45] local.INFO: Acknowledgment sent {"connection_id":162618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:07:17] local.INFO: TCP Data received {"connection_id":162618,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:07:17] local.INFO: Processing buffer {"connection_id":162618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:07:17] local.INFO: Packet analysis {"connection_id":162618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d6a"} 
[2026-08-26 15:07:17] local.INFO: Extracted packet for processing {"connection_id":162618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d6a"} 
[2026-08-26 15:07:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660544000001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:07: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-26 15:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787736800000,"timestamp_ms":1787736800000,"timestamp_seconds":1787736800,"priority":1,"record_length":96,"hex_timestamp":"000001a03d6abb00"} 
[2026-08-26 15: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-26 15:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 15:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 15: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-26 15: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-26 15:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660544000001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660544000001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:07:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:07:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660544000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":162618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:07:17] local.INFO: GPS data processed {"connection_id":162618,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:07:17] local.INFO: Acknowledgment sent {"connection_id":162618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:07:32] local.INFO: TCP Data received {"connection_id":163651,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:07:32] local.INFO: Processing buffer {"connection_id":163651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:07:32] local.INFO: IMEI packet received {"connection_id":163651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 15:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":163651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:07:36] local.INFO: TCP Data received {"connection_id":164985,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:07:36] local.INFO: Processing buffer {"connection_id":164985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:07:36] local.INFO: IMEI packet received {"connection_id":164985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":164985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:07:43] local.INFO: TCP Data received {"connection_id":164985,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:07:43] local.INFO: Processing buffer {"connection_id":164985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:07:43] local.INFO: IMEI packet received {"connection_id":164985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":164985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:07:43] local.INFO: TCP Data received {"connection_id":164985,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:07:43] local.INFO: Processing buffer {"connection_id":164985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:07:43] local.INFO: Packet analysis {"connection_id":164985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d6a"} 
[2026-08-26 15:07:43] local.INFO: Extracted packet for processing {"connection_id":164985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d6a"} 
[2026-08-26 15:07:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660544000001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:07: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-26 15:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787736800000,"timestamp_ms":1787736800000,"timestamp_seconds":1787736800,"priority":1,"record_length":96,"hex_timestamp":"000001a03d6abb00"} 
[2026-08-26 15: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-26 15:07: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-26 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 15:07:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 15: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-26 15: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-26 15:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660544000001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660544000001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:07:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:07:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660544000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":164985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:07:43] local.INFO: GPS data processed {"connection_id":164985,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:07:43] local.INFO: Acknowledgment sent {"connection_id":164985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:08:02] local.INFO: TCP Data received {"connection_id":163652,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163652,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:08:02] local.INFO: Processing buffer {"connection_id":163652,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:08:02] local.INFO: IMEI packet received {"connection_id":163652,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 15:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":163652,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:08:15] local.INFO: TCP Data received {"connection_id":164985,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:08:15] local.INFO: Processing buffer {"connection_id":164985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:08:15] local.INFO: Packet analysis {"connection_id":164985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d6a"} 
[2026-08-26 15:08:15] local.INFO: Extracted packet for processing {"connection_id":164985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d6a"} 
[2026-08-26 15:08:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 15:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660544000001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15: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-26 15:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787736800000,"timestamp_ms":1787736800000,"timestamp_seconds":1787736800,"priority":1,"record_length":96,"hex_timestamp":"000001a03d6abb00"} 
[2026-08-26 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-26 15:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 15:08: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-26 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-26 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-26 15:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660544000001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660544000001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:08:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:08:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660544000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":164985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:08:15] local.INFO: GPS data processed {"connection_id":164985,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:08:15] local.INFO: Acknowledgment sent {"connection_id":164985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:08:36] local.INFO: TCP Data received {"connection_id":164987,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:08:36] local.INFO: Processing buffer {"connection_id":164987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:08:36] local.INFO: IMEI packet received {"connection_id":164987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":164987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:08:42] local.INFO: TCP Data received {"connection_id":164987,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:08:42] local.INFO: Processing buffer {"connection_id":164987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:08:42] local.INFO: IMEI packet received {"connection_id":164987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":164987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:08:43] local.INFO: TCP Data received {"connection_id":164987,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:08:43] local.INFO: Processing buffer {"connection_id":164987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d6abb00012d34c14006aa4818000500e62e..."} 
[2026-08-26 15:08:43] local.INFO: Packet analysis {"connection_id":164987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d6a"} 
[2026-08-26 15:08:43] local.INFO: Extracted packet for processing {"connection_id":164987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d6a"} 
[2026-08-26 15:08:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660544000001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:08: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-26 15:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787736800000,"timestamp_ms":1787736800000,"timestamp_seconds":1787736800,"priority":1,"record_length":96,"hex_timestamp":"000001a03d6abb00"} 
[2026-08-26 15:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:08: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-26 15:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 15:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 15:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660544000001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660544000001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:08:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:08:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660544000001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":164987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:08:43] local.INFO: GPS data processed {"connection_id":164987,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:08:43] local.INFO: Acknowledgment sent {"connection_id":164987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:09:14] local.INFO: TCP Data received {"connection_id":164987,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:09:14] local.INFO: Processing buffer {"connection_id":164987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:09:14] local.INFO: Packet analysis {"connection_id":164987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d6f"} 
[2026-08-26 15:09:14] local.INFO: Extracted packet for processing {"connection_id":164987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d6f"} 
[2026-08-26 15:09:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660620800001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:09: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-26 15:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787737101000,"timestamp_ms":1787737101000,"timestamp_seconds":1787737101,"priority":1,"record_length":96,"hex_timestamp":"000001a03d6f52c8"} 
[2026-08-26 15:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:09: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-26 15:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 15:09: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-26 15:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660620800001,"66":25517,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660620800001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:09:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:09:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660620800001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":164987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:09:14] local.INFO: GPS data processed {"connection_id":164987,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:09:14] local.INFO: Acknowledgment sent {"connection_id":164987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:09:42] local.INFO: TCP Data received {"connection_id":162619,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:09:42] local.INFO: Processing buffer {"connection_id":162619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:09:42] local.INFO: IMEI packet received {"connection_id":162619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":162619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:09:47] local.INFO: TCP Data received {"connection_id":162619,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:09:47] local.INFO: Processing buffer {"connection_id":162619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:09:47] local.INFO: IMEI packet received {"connection_id":162619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":162619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:09:47] local.INFO: TCP Data received {"connection_id":162619,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:09:47] local.INFO: Processing buffer {"connection_id":162619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:09:47] local.INFO: Packet analysis {"connection_id":162619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d6f"} 
[2026-08-26 15:09:47] local.INFO: Extracted packet for processing {"connection_id":162619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d6f"} 
[2026-08-26 15:09:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660620800001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:09: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-26 15:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787737101000,"timestamp_ms":1787737101000,"timestamp_seconds":1787737101,"priority":1,"record_length":96,"hex_timestamp":"000001a03d6f52c8"} 
[2026-08-26 15: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-26 15:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 15:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 15: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-26 15: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-26 15:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660620800001,"66":25517,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660620800001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:09:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:09:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660620800001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":162619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:09:48] local.INFO: GPS data processed {"connection_id":162619,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:09:48] local.INFO: Acknowledgment sent {"connection_id":162619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:09:52] local.INFO: TCP Data received {"connection_id":162619,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:09:52] local.INFO: Processing buffer {"connection_id":162619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:09:52] local.INFO: Packet analysis {"connection_id":162619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d6f"} 
[2026-08-26 15:09:52] local.INFO: Extracted packet for processing {"connection_id":162619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d6f"} 
[2026-08-26 15:09:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660620800001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:09: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-26 15:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787737101000,"timestamp_ms":1787737101000,"timestamp_seconds":1787737101,"priority":1,"record_length":96,"hex_timestamp":"000001a03d6f52c8"} 
[2026-08-26 15: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-26 15:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 15:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 15: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-26 15: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-26 15:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660620800001,"66":25517,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660620800001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:09:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:09:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660620800001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":162619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:09:52] local.INFO: GPS data processed {"connection_id":162619,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:09:52] local.INFO: Acknowledgment sent {"connection_id":162619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:10:37] local.INFO: TCP Data received {"connection_id":162400,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:10:37] local.INFO: Processing buffer {"connection_id":162400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:10:37] local.INFO: IMEI packet received {"connection_id":162400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":162400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:10:42] local.INFO: TCP Data received {"connection_id":162400,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:10:42] local.INFO: Processing buffer {"connection_id":162400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:10:42] local.INFO: IMEI packet received {"connection_id":162400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":162400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:10:44] local.INFO: TCP Data received {"connection_id":162400,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:10:44] local.INFO: Processing buffer {"connection_id":162400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:10:44] local.INFO: Packet analysis {"connection_id":162400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d6f"} 
[2026-08-26 15:10:44] local.INFO: Extracted packet for processing {"connection_id":162400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d6f"} 
[2026-08-26 15:10:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660620800001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:10: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-26 15:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787737101000,"timestamp_ms":1787737101000,"timestamp_seconds":1787737101,"priority":1,"record_length":96,"hex_timestamp":"000001a03d6f52c8"} 
[2026-08-26 15: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-26 15:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15: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":205,"data_length":795,"current_offset":136} 
[2026-08-26 15:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 15: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-26 15: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-26 15:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660620800001,"66":25517,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660620800001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:10:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:10:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660620800001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":162400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:10:44] local.INFO: GPS data processed {"connection_id":162400,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:10:44] local.INFO: Acknowledgment sent {"connection_id":162400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:11:16] local.INFO: TCP Data received {"connection_id":162400,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:11:16] local.INFO: Processing buffer {"connection_id":162400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:11:16] local.INFO: Packet analysis {"connection_id":162400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d6f"} 
[2026-08-26 15:11:16] local.INFO: Extracted packet for processing {"connection_id":162400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d6f"} 
[2026-08-26 15:11:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660620800001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:11: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-26 15:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787737101000,"timestamp_ms":1787737101000,"timestamp_seconds":1787737101,"priority":1,"record_length":96,"hex_timestamp":"000001a03d6f52c8"} 
[2026-08-26 15:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 15:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 15:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 15:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660620800001,"66":25517,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660620800001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:11:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:11:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660620800001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":162400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:11:16] local.INFO: GPS data processed {"connection_id":162400,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:11:16] local.INFO: Acknowledgment sent {"connection_id":162400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:11:37] local.INFO: TCP Data received {"connection_id":163653,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:11:37] local.INFO: Processing buffer {"connection_id":163653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:11:37] local.INFO: IMEI packet received {"connection_id":163653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":163653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:11:42] local.INFO: TCP Data received {"connection_id":163653,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:11:42] local.INFO: Processing buffer {"connection_id":163653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:11:42] local.INFO: IMEI packet received {"connection_id":163653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":163653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:11:43] local.INFO: TCP Data received {"connection_id":163653,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:11:43] local.INFO: Processing buffer {"connection_id":163653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:11:43] local.INFO: Packet analysis {"connection_id":163653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d6f"} 
[2026-08-26 15:11:43] local.INFO: Extracted packet for processing {"connection_id":163653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d6f"} 
[2026-08-26 15:11:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660620800001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:11: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-26 15:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787737101000,"timestamp_ms":1787737101000,"timestamp_seconds":1787737101,"priority":1,"record_length":96,"hex_timestamp":"000001a03d6f52c8"} 
[2026-08-26 15: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-26 15:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 15:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 15: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-26 15: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-26 15:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660620800001,"66":25517,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660620800001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:11:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:11:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660620800001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":163653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:11:43] local.INFO: GPS data processed {"connection_id":163653,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:11:43] local.INFO: Acknowledgment sent {"connection_id":163653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:12:15] local.INFO: TCP Data received {"connection_id":163653,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:12:15] local.INFO: Processing buffer {"connection_id":163653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:12:15] local.INFO: Packet analysis {"connection_id":163653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d6f"} 
[2026-08-26 15:12:15] local.INFO: Extracted packet for processing {"connection_id":163653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d6f"} 
[2026-08-26 15:12:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660620800001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15: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-26 15:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787737101000,"timestamp_ms":1787737101000,"timestamp_seconds":1787737101,"priority":1,"record_length":96,"hex_timestamp":"000001a03d6f52c8"} 
[2026-08-26 15: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-26 15:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 15:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 15: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-26 15: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-26 15:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660620800001,"66":25517,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660620800001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:12:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:12:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660620800001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":163653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:12:15] local.INFO: GPS data processed {"connection_id":163653,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:12:15] local.INFO: Acknowledgment sent {"connection_id":163653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:12:37] local.INFO: TCP Data received {"connection_id":162620,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:12:37] local.INFO: Processing buffer {"connection_id":162620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:12:37] local.INFO: IMEI packet received {"connection_id":162620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":162620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:12:42] local.INFO: TCP Data received {"connection_id":162620,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:12:42] local.INFO: Processing buffer {"connection_id":162620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:12:42] local.INFO: IMEI packet received {"connection_id":162620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":162620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:12:43] local.INFO: TCP Data received {"connection_id":162620,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:12:43] local.INFO: Processing buffer {"connection_id":162620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:12:43] local.INFO: Packet analysis {"connection_id":162620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d6f"} 
[2026-08-26 15:12:43] local.INFO: Extracted packet for processing {"connection_id":162620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d6f"} 
[2026-08-26 15:12:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 15:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660620800001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15: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-26 15:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787737101000,"timestamp_ms":1787737101000,"timestamp_seconds":1787737101,"priority":1,"record_length":96,"hex_timestamp":"000001a03d6f52c8"} 
[2026-08-26 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-26 15:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 15:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 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-26 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-26 15:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660620800001,"66":25517,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660620800001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:12:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:12:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660620800001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":162620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:12:43] local.INFO: GPS data processed {"connection_id":162620,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:12:43] local.INFO: Acknowledgment sent {"connection_id":162620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:13:14] local.INFO: TCP Data received {"connection_id":162620,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:13:14] local.INFO: Processing buffer {"connection_id":162620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:13:14] local.INFO: Packet analysis {"connection_id":162620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d6f"} 
[2026-08-26 15:13:14] local.INFO: Extracted packet for processing {"connection_id":162620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d6f"} 
[2026-08-26 15:13:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660620800001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:13: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-26 15:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787737101000,"timestamp_ms":1787737101000,"timestamp_seconds":1787737101,"priority":1,"record_length":96,"hex_timestamp":"000001a03d6f52c8"} 
[2026-08-26 15:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:13: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-26 15:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 15:13: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-26 15:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660620800001,"66":25517,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660620800001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:13:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:13:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660620800001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":162620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:13:14] local.INFO: GPS data processed {"connection_id":162620,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:13:14] local.INFO: Acknowledgment sent {"connection_id":162620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:13:27] local.INFO: TCP Data received {"connection_id":164988,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:13:27] local.INFO: Processing buffer {"connection_id":164988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:13:27] local.INFO: IMEI packet received {"connection_id":164988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 15:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":164988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:13:36] local.INFO: TCP Data received {"connection_id":162621,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:13:36] local.INFO: Processing buffer {"connection_id":162621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:13:36] local.INFO: IMEI packet received {"connection_id":162621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":162621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:13:41] local.INFO: TCP Data received {"connection_id":162621,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:13:41] local.INFO: Processing buffer {"connection_id":162621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:13:41] local.INFO: IMEI packet received {"connection_id":162621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":162621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:13:43] local.INFO: TCP Data received {"connection_id":162621,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:13:43] local.INFO: Processing buffer {"connection_id":162621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d6f52c8012d34c14006aa4818000400e62d..."} 
[2026-08-26 15:13:43] local.INFO: Packet analysis {"connection_id":162621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d6f"} 
[2026-08-26 15:13:43] local.INFO: Extracted packet for processing {"connection_id":162621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d6f"} 
[2026-08-26 15:13:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660620800001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15: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-26 15:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787737101000,"timestamp_ms":1787737101000,"timestamp_seconds":1787737101,"priority":1,"record_length":96,"hex_timestamp":"000001a03d6f52c8"} 
[2026-08-26 15: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-26 15:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15: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":205,"data_length":795,"current_offset":136} 
[2026-08-26 15:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 15: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-26 15: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-26 15:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660620800001,"66":25517,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660620800001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:13:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:13:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660620800001,"power":25517,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":162621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:13:43] local.INFO: GPS data processed {"connection_id":162621,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:13:43] local.INFO: Acknowledgment sent {"connection_id":162621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:14:14] local.INFO: TCP Data received {"connection_id":162621,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03d73ea90012d34c14006aa4818000600e62c..."} 
[2026-08-26 15:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d73ea90012d34c14006aa4818000600e62c..."} 
[2026-08-26 15:14:14] local.INFO: Processing buffer {"connection_id":162621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d73ea90012d34c14006aa4818000600e62c..."} 
[2026-08-26 15:14:14] local.INFO: Packet analysis {"connection_id":162621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d73"} 
[2026-08-26 15:14:14] local.INFO: Extracted packet for processing {"connection_id":162621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d73"} 
[2026-08-26 15:14:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660697856001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:14: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-26 15:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787737402000,"timestamp_ms":1787737402000,"timestamp_seconds":1787737402,"priority":1,"record_length":96,"hex_timestamp":"000001a03d73ea90"} 
[2026-08-26 15: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-26 15:14: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-26 15: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":173,"data_length":795,"current_offset":136} 
[2026-08-26 15:14: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-26 15: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-26 15: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-26 15:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660697856001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660697856001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:14:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:14:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660697856001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":162621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:14:14] local.INFO: GPS data processed {"connection_id":162621,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:14:14] local.INFO: Acknowledgment sent {"connection_id":162621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:14:42] local.INFO: TCP Data received {"connection_id":164989,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:14:42] local.INFO: Processing buffer {"connection_id":164989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:14:42] local.INFO: IMEI packet received {"connection_id":164989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":164989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:15:18] local.INFO: TCP Data received {"connection_id":164989,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:15:18] local.INFO: Processing buffer {"connection_id":164989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:15:18] local.INFO: IMEI packet received {"connection_id":164989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":164989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:15:37] local.INFO: TCP Data received {"connection_id":164990,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:15:37] local.INFO: Processing buffer {"connection_id":164990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:15:37] local.INFO: IMEI packet received {"connection_id":164990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":164990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:15:40] local.INFO: TCP Data received {"connection_id":164989,"ip":"42.109.136.3","data_length":1348,"data_hex":"000000000000030f8e0a000001a03d73ea90012d34c14006aa4818000600e62c..."} 
[2026-08-26 15:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164989,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a03d73ea90012d34c14006aa4818000600e62c..."} 
[2026-08-26 15:15:40] local.INFO: Processing buffer {"connection_id":164989,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a03d73ea90012d34c14006aa4818000600e62c..."} 
[2026-08-26 15:15:40] local.INFO: Packet analysis {"connection_id":164989,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a03d73"} 
[2026-08-26 15:15:40] local.INFO: Extracted packet for processing {"connection_id":164989,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a03d73"} 
[2026-08-26 15:15:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660697856001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:15: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-26 15:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787737402000,"timestamp_ms":1787737402000,"timestamp_seconds":1787737402,"priority":1,"record_length":96,"hex_timestamp":"000001a03d73ea90"} 
[2026-08-26 15: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-26 15: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-26 15: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":173,"data_length":795,"current_offset":136} 
[2026-08-26 15:15: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-26 15: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-26 15: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-26 15:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":164989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":164989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":164989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660697856001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660697856001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:15:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:15:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660697856001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":164989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:15:40] local.INFO: GPS data processed {"connection_id":164989,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:15:40] local.INFO: Acknowledgment sent {"connection_id":164989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:15:40] local.INFO: Packet analysis {"connection_id":164989,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a03d73"} 
[2026-08-26 15:15:40] local.INFO: Incomplete packet, waiting for more data {"connection_id":164989,"needed":795,"available":553} 
[2026-08-26 15:15:40] local.INFO: TCP Data received {"connection_id":164989,"ip":"42.109.136.3","data_length":242,"data_hex":"000000000001a03d53c800012d34c14006aa4818000800e62c00000000000a00..."} 
[2026-08-26 15:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164989,"packet_length":242,"packet_hex":"000000000001a03d53c800012d34c14006aa4818000800e62c00000000000a00..."} 
[2026-08-26 15:15:40] local.INFO: Processing buffer {"connection_id":164989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d73ea90012d34c14006aa4818000600e62c..."} 
[2026-08-26 15:15:40] local.INFO: Packet analysis {"connection_id":164989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d73"} 
[2026-08-26 15:15:40] local.INFO: Extracted packet for processing {"connection_id":164989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d73"} 
[2026-08-26 15:15:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660697856001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:15: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-26 15:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787737402000,"timestamp_ms":1787737402000,"timestamp_seconds":1787737402,"priority":1,"record_length":96,"hex_timestamp":"000001a03d73ea90"} 
[2026-08-26 15: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-26 15: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-26 15: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":173,"data_length":795,"current_offset":136} 
[2026-08-26 15:15: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-26 15: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-26 15: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-26 15:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":164989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":164989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":164989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660697856001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660697856001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:15:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:15:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660697856001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":164989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:15:41] local.INFO: GPS data processed {"connection_id":164989,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:15:41] local.INFO: Acknowledgment sent {"connection_id":164989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:15:41] local.INFO: TCP Data received {"connection_id":164990,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:15:41] local.INFO: Processing buffer {"connection_id":164990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:15:41] local.INFO: IMEI packet received {"connection_id":164990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":164990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:15:43] local.INFO: TCP Data received {"connection_id":164990,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03d73ea90012d34c14006aa4818000600e62c..."} 
[2026-08-26 15:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d73ea90012d34c14006aa4818000600e62c..."} 
[2026-08-26 15:15:43] local.INFO: Processing buffer {"connection_id":164990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d73ea90012d34c14006aa4818000600e62c..."} 
[2026-08-26 15:15:43] local.INFO: Packet analysis {"connection_id":164990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d73"} 
[2026-08-26 15:15:43] local.INFO: Extracted packet for processing {"connection_id":164990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d73"} 
[2026-08-26 15:15:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660697856001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:15: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-26 15:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787737402000,"timestamp_ms":1787737402000,"timestamp_seconds":1787737402,"priority":1,"record_length":96,"hex_timestamp":"000001a03d73ea90"} 
[2026-08-26 15:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-26 15:15: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-26 15:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660697856001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660697856001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:15:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:15:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660697856001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":164990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:15:43] local.INFO: GPS data processed {"connection_id":164990,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:15:43] local.INFO: Acknowledgment sent {"connection_id":164990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:15:51] local.INFO: TCP Data received {"connection_id":164990,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03d73ea90012d34c14006aa4818000600e62c..."} 
[2026-08-26 15:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d73ea90012d34c14006aa4818000600e62c..."} 
[2026-08-26 15:15:51] local.INFO: Processing buffer {"connection_id":164990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d73ea90012d34c14006aa4818000600e62c..."} 
[2026-08-26 15:15:51] local.INFO: Packet analysis {"connection_id":164990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d73"} 
[2026-08-26 15:15:51] local.INFO: Extracted packet for processing {"connection_id":164990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d73"} 
[2026-08-26 15:15:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660697856001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787737402000,"timestamp_ms":1787737402000,"timestamp_seconds":1787737402,"priority":1,"record_length":96,"hex_timestamp":"000001a03d73ea90"} 
[2026-08-26 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-26 15:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-26 15:15:51] 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-26 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-26 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-26 15:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660697856001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660697856001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:15:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:15:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660697856001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":164990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:15:51] local.INFO: GPS data processed {"connection_id":164990,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:15:51] local.INFO: Acknowledgment sent {"connection_id":164990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:16:43] local.INFO: TCP Data received {"connection_id":162401,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:16:43] local.INFO: Processing buffer {"connection_id":162401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:16:43] local.INFO: IMEI packet received {"connection_id":162401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":162401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:16:47] local.INFO: TCP Data received {"connection_id":162401,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:16:47] local.INFO: Processing buffer {"connection_id":162401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:16:47] local.INFO: IMEI packet received {"connection_id":162401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":162401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:16:48] local.INFO: TCP Data received {"connection_id":162401,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03d73ea90012d34c14006aa4818000600e62c..."} 
[2026-08-26 15:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d73ea90012d34c14006aa4818000600e62c..."} 
[2026-08-26 15:16:48] local.INFO: Processing buffer {"connection_id":162401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d73ea90012d34c14006aa4818000600e62c..."} 
[2026-08-26 15:16:48] local.INFO: Packet analysis {"connection_id":162401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d73"} 
[2026-08-26 15:16:48] local.INFO: Extracted packet for processing {"connection_id":162401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d73"} 
[2026-08-26 15:16:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 15:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660697856001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787737402000,"timestamp_ms":1787737402000,"timestamp_seconds":1787737402,"priority":1,"record_length":96,"hex_timestamp":"000001a03d73ea90"} 
[2026-08-26 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-26 15:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-26 15:16:48] 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-26 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-26 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-26 15:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660697856001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660697856001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:16:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:16:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660697856001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":162401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:16:48] local.INFO: GPS data processed {"connection_id":162401,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:16:48] local.INFO: Acknowledgment sent {"connection_id":162401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:17:21] local.INFO: TCP Data received {"connection_id":162401,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03d73ea90012d34c14006aa4818000600e62c..."} 
[2026-08-26 15:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d73ea90012d34c14006aa4818000600e62c..."} 
[2026-08-26 15:17:21] local.INFO: Processing buffer {"connection_id":162401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d73ea90012d34c14006aa4818000600e62c..."} 
[2026-08-26 15:17:21] local.INFO: Packet analysis {"connection_id":162401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d73"} 
[2026-08-26 15:17:21] local.INFO: Extracted packet for processing {"connection_id":162401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d73"} 
[2026-08-26 15:17:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660697856001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:17: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-26 15:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787737402000,"timestamp_ms":1787737402000,"timestamp_seconds":1787737402,"priority":1,"record_length":96,"hex_timestamp":"000001a03d73ea90"} 
[2026-08-26 15:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-26 15:17:21] 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-26 15:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":162401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":162401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":162401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660697856001,"66":25549,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660697856001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:17:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:17:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660697856001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":162401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:17:21] local.INFO: GPS data processed {"connection_id":162401,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:17:21] local.INFO: Acknowledgment sent {"connection_id":162401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:19:02] local.INFO: TCP Data received {"connection_id":162622,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162622,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:19:02] local.INFO: Processing buffer {"connection_id":162622,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:19:02] local.INFO: IMEI packet received {"connection_id":162622,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 15:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":162622,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:19:12] local.INFO: TCP Data received {"connection_id":164991,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:19:12] local.INFO: Processing buffer {"connection_id":164991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:19:12] local.INFO: IMEI packet received {"connection_id":164991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":164991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:19:12] local.INFO: TCP Data received {"connection_id":164991,"ip":"42.109.136.5","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-26 15:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164991,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-26 15:19:12] local.INFO: Processing buffer {"connection_id":164991,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-26 15:19:12] local.INFO: IMEI packet received {"connection_id":164991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":164991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:19:16] local.INFO: TCP Data received {"connection_id":162402,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:19:16] local.INFO: Processing buffer {"connection_id":162402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:19:16] local.INFO: IMEI packet received {"connection_id":162402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":162402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:24:37] local.INFO: TCP Data received {"connection_id":164993,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:24:37] local.INFO: Processing buffer {"connection_id":164993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:24:37] local.INFO: IMEI packet received {"connection_id":164993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 15:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":164993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:24:41] local.INFO: TCP Data received {"connection_id":163655,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:24:41] local.INFO: Processing buffer {"connection_id":163655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:24:41] local.INFO: IMEI packet received {"connection_id":163655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":163655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:24:47] local.INFO: TCP Data received {"connection_id":163655,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:24:47] local.INFO: Processing buffer {"connection_id":163655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:24:47] local.INFO: IMEI packet received {"connection_id":163655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":163655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:24:48] local.INFO: TCP Data received {"connection_id":163655,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03d788258012d34c14006aa4818000200e62b..."} 
[2026-08-26 15:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d788258012d34c14006aa4818000200e62b..."} 
[2026-08-26 15:24:48] local.INFO: Processing buffer {"connection_id":163655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d788258012d34c14006aa4818000200e62b..."} 
[2026-08-26 15:24:48] local.INFO: Packet analysis {"connection_id":163655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d78"} 
[2026-08-26 15:24:48] local.INFO: Extracted packet for processing {"connection_id":163655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d78"} 
[2026-08-26 15:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":2,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660774912001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787737703000,"timestamp_ms":1787737703000,"timestamp_seconds":1787737703,"priority":1,"record_length":96,"hex_timestamp":"000001a03d788258"} 
[2026-08-26 15:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-26 15:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 15:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660774912001,"66":25473,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 15:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660774912001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:24:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 15:24:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660774912001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":163655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:24:48] local.INFO: GPS data processed {"connection_id":163655,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:24:48] local.INFO: Acknowledgment sent {"connection_id":163655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:25:19] local.INFO: TCP Data received {"connection_id":163655,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03d7d1a20012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d7d1a20012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:25:19] local.INFO: Processing buffer {"connection_id":163655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d7d1a20012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:25:19] local.INFO: Packet analysis {"connection_id":163655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d7d"} 
[2026-08-26 15:25:19] local.INFO: Extracted packet for processing {"connection_id":163655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d7d"} 
[2026-08-26 15:25:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660851968001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787738004000,"timestamp_ms":1787738004000,"timestamp_seconds":1787738004,"priority":1,"record_length":96,"hex_timestamp":"000001a03d7d1a20"} 
[2026-08-26 15: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-26 15:25: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-26 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 15:25:19] 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-26 15: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-26 15: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-26 15:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660851968001,"66":25495,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 15:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660851968001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:25:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 15:25:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660851968001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":163655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:25:19] local.INFO: GPS data processed {"connection_id":163655,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:25:19] local.INFO: Acknowledgment sent {"connection_id":163655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:25:36] local.INFO: TCP Data received {"connection_id":162623,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:25:36] local.INFO: Processing buffer {"connection_id":162623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:25:36] local.INFO: IMEI packet received {"connection_id":162623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":162623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:25:41] local.INFO: TCP Data received {"connection_id":162623,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:25:41] local.INFO: Processing buffer {"connection_id":162623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:25:41] local.INFO: IMEI packet received {"connection_id":162623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":162623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:25:43] local.INFO: TCP Data received {"connection_id":162623,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03d7d1a20012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d7d1a20012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:25:43] local.INFO: Processing buffer {"connection_id":162623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d7d1a20012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:25:43] local.INFO: Packet analysis {"connection_id":162623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d7d"} 
[2026-08-26 15:25:43] local.INFO: Extracted packet for processing {"connection_id":162623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d7d"} 
[2026-08-26 15:25:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660851968001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787738004000,"timestamp_ms":1787738004000,"timestamp_seconds":1787738004,"priority":1,"record_length":96,"hex_timestamp":"000001a03d7d1a20"} 
[2026-08-26 15:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 15:25: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-26 15:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660851968001,"66":25495,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 15:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660851968001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:25:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 15:25:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660851968001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":162623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:25:43] local.INFO: GPS data processed {"connection_id":162623,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:25:43] local.INFO: Acknowledgment sent {"connection_id":162623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:26:14] local.INFO: TCP Data received {"connection_id":162623,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03d7d1a20012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d7d1a20012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:26:14] local.INFO: Processing buffer {"connection_id":162623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d7d1a20012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:26:14] local.INFO: Packet analysis {"connection_id":162623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d7d"} 
[2026-08-26 15:26:14] local.INFO: Extracted packet for processing {"connection_id":162623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d7d"} 
[2026-08-26 15:26:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660851968001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787738004000,"timestamp_ms":1787738004000,"timestamp_seconds":1787738004,"priority":1,"record_length":96,"hex_timestamp":"000001a03d7d1a20"} 
[2026-08-26 15: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-26 15:26: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-26 15: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":129,"data_length":795,"current_offset":136} 
[2026-08-26 15:26: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-26 15: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-26 15: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-26 15:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660851968001,"66":25495,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 15:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660851968001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:26:14] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 15:26:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660851968001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":162623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:26:14] local.INFO: GPS data processed {"connection_id":162623,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:26:14] local.INFO: Acknowledgment sent {"connection_id":162623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:26:42] local.INFO: TCP Data received {"connection_id":162624,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:26:42] local.INFO: Processing buffer {"connection_id":162624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:26:42] local.INFO: IMEI packet received {"connection_id":162624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":162624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:26:47] local.INFO: TCP Data received {"connection_id":162624,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:26:47] local.INFO: Processing buffer {"connection_id":162624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:26:47] local.INFO: IMEI packet received {"connection_id":162624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":162624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:26:47] local.INFO: TCP Data received {"connection_id":162624,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03d7d1a20012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d7d1a20012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:26:47] local.INFO: Processing buffer {"connection_id":162624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d7d1a20012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:26:47] local.INFO: Packet analysis {"connection_id":162624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d7d"} 
[2026-08-26 15:26:47] local.INFO: Extracted packet for processing {"connection_id":162624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d7d"} 
[2026-08-26 15:26:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660851968001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787738004000,"timestamp_ms":1787738004000,"timestamp_seconds":1787738004,"priority":1,"record_length":96,"hex_timestamp":"000001a03d7d1a20"} 
[2026-08-26 15:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 15:26:47] 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-26 15: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-26 15:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660851968001,"66":25495,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 15:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660851968001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:26:47] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 15:26:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660851968001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":162624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:26:47] local.INFO: GPS data processed {"connection_id":162624,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:26:47] local.INFO: Acknowledgment sent {"connection_id":162624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:27:19] local.INFO: TCP Data received {"connection_id":162624,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03d7d1a20012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d7d1a20012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:27:19] local.INFO: Processing buffer {"connection_id":162624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d7d1a20012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:27:19] local.INFO: Packet analysis {"connection_id":162624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d7d"} 
[2026-08-26 15:27:19] local.INFO: Extracted packet for processing {"connection_id":162624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d7d"} 
[2026-08-26 15:27:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 15:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660851968001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787738004000,"timestamp_ms":1787738004000,"timestamp_seconds":1787738004,"priority":1,"record_length":96,"hex_timestamp":"000001a03d7d1a20"} 
[2026-08-26 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-26 15:27: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-26 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 15:27:19] 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-26 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-26 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-26 15:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660851968001,"66":25495,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 15:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660851968001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:27:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 15:27:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660851968001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":162624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:27:19] local.INFO: GPS data processed {"connection_id":162624,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:27:19] local.INFO: Acknowledgment sent {"connection_id":162624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:27:36] local.INFO: TCP Data received {"connection_id":162406,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:27:36] local.INFO: Processing buffer {"connection_id":162406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:27:36] local.INFO: IMEI packet received {"connection_id":162406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":162406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:27:42] local.INFO: TCP Data received {"connection_id":162406,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:27:42] local.INFO: Processing buffer {"connection_id":162406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:27:42] local.INFO: IMEI packet received {"connection_id":162406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":162406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:27:43] local.INFO: TCP Data received {"connection_id":162406,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03d7d1a20012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d7d1a20012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:27:43] local.INFO: Processing buffer {"connection_id":162406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d7d1a20012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:27:43] local.INFO: Packet analysis {"connection_id":162406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d7d"} 
[2026-08-26 15:27:43] local.INFO: Extracted packet for processing {"connection_id":162406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d7d"} 
[2026-08-26 15:27:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 15:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660851968001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787738004000,"timestamp_ms":1787738004000,"timestamp_seconds":1787738004,"priority":1,"record_length":96,"hex_timestamp":"000001a03d7d1a20"} 
[2026-08-26 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-26 15:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 15:27: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-26 15:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 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-26 15:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660851968001,"66":25495,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 15:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660851968001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:27:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 15:27:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660851968001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":162406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:27:43] local.INFO: GPS data processed {"connection_id":162406,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:27:43] local.INFO: Acknowledgment sent {"connection_id":162406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:28:15] local.INFO: TCP Data received {"connection_id":162406,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03d7d1a20012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d7d1a20012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:28:15] local.INFO: Processing buffer {"connection_id":162406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d7d1a20012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:28:15] local.INFO: Packet analysis {"connection_id":162406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d7d"} 
[2026-08-26 15:28:15] local.INFO: Extracted packet for processing {"connection_id":162406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d7d"} 
[2026-08-26 15:28:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660851968001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787738004000,"timestamp_ms":1787738004000,"timestamp_seconds":1787738004,"priority":1,"record_length":96,"hex_timestamp":"000001a03d7d1a20"} 
[2026-08-26 15:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 15:28:15] 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-26 15: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-26 15:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660851968001,"66":25495,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 15:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660851968001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:28:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 15:28:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660851968001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":162406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:28:15] local.INFO: GPS data processed {"connection_id":162406,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:28:15] local.INFO: Acknowledgment sent {"connection_id":162406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:28:36] local.INFO: TCP Data received {"connection_id":163657,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:28:36] local.INFO: Processing buffer {"connection_id":163657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:28:36] local.INFO: IMEI packet received {"connection_id":163657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":163657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:28:55] local.INFO: TCP Data received {"connection_id":163657,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:28:55] local.INFO: Processing buffer {"connection_id":163657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:28:55] local.INFO: IMEI packet received {"connection_id":163657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":163657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:28:57] local.INFO: TCP Data received {"connection_id":163657,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03d7d1a20012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d7d1a20012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:28:57] local.INFO: Processing buffer {"connection_id":163657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d7d1a20012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:28:57] local.INFO: Packet analysis {"connection_id":163657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d7d"} 
[2026-08-26 15:28:57] local.INFO: Extracted packet for processing {"connection_id":163657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d7d"} 
[2026-08-26 15:28:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660851968001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787738004000,"timestamp_ms":1787738004000,"timestamp_seconds":1787738004,"priority":1,"record_length":96,"hex_timestamp":"000001a03d7d1a20"} 
[2026-08-26 15: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-26 15:28: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-26 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 15:28:57] 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-26 15: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-26 15: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-26 15:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660851968001,"66":25495,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 15:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660851968001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:28:57] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 15:28:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660851968001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":163657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:28:57] local.INFO: GPS data processed {"connection_id":163657,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:28:57] local.INFO: Acknowledgment sent {"connection_id":163657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:30:12] local.INFO: TCP Data received {"connection_id":163656,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:30:12] local.INFO: Processing buffer {"connection_id":163656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:30:12] local.INFO: IMEI packet received {"connection_id":163656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 15:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":163656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:31:01] local.INFO: TCP Data received {"connection_id":162625,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:31:01] local.INFO: Processing buffer {"connection_id":162625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:31:01] local.INFO: IMEI packet received {"connection_id":162625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":162625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:31:07] local.INFO: TCP Data received {"connection_id":162625,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:31:07] local.INFO: Processing buffer {"connection_id":162625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:31:07] local.INFO: IMEI packet received {"connection_id":162625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":162625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:31:08] local.INFO: TCP Data received {"connection_id":162625,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03d81b1e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d81b1e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:31:08] local.INFO: Processing buffer {"connection_id":162625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d81b1e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:31:08] local.INFO: Packet analysis {"connection_id":162625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d81"} 
[2026-08-26 15:31:08] local.INFO: Extracted packet for processing {"connection_id":162625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d81"} 
[2026-08-26 15:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660929024001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:31: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-26 15:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787738305000,"timestamp_ms":1787738305000,"timestamp_seconds":1787738305,"priority":1,"record_length":96,"hex_timestamp":"000001a03d81b1e8"} 
[2026-08-26 15:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 15:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 15:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 15: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-26 15:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":162625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":162625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":162625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660929024001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660929024001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:31:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:31:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660929024001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":162625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:31:08] local.INFO: GPS data processed {"connection_id":162625,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:31:08] local.INFO: Acknowledgment sent {"connection_id":162625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:31:36] local.INFO: TCP Data received {"connection_id":164994,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:31:36] local.INFO: Processing buffer {"connection_id":164994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:31:36] local.INFO: IMEI packet received {"connection_id":164994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":164994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:31:43] local.INFO: TCP Data received {"connection_id":164994,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:31:43] local.INFO: Processing buffer {"connection_id":164994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:31:43] local.INFO: IMEI packet received {"connection_id":164994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":164994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:31:43] local.INFO: TCP Data received {"connection_id":164994,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03d81b1e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d81b1e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:31:43] local.INFO: Processing buffer {"connection_id":164994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d81b1e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:31:43] local.INFO: Packet analysis {"connection_id":164994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d81"} 
[2026-08-26 15:31:43] local.INFO: Extracted packet for processing {"connection_id":164994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d81"} 
[2026-08-26 15:31:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660929024001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:31: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-26 15:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787738305000,"timestamp_ms":1787738305000,"timestamp_seconds":1787738305,"priority":1,"record_length":96,"hex_timestamp":"000001a03d81b1e8"} 
[2026-08-26 15: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-26 15:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 15:31:43] 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-26 15: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-26 15: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-26 15:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660929024001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660929024001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:31:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:31:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660929024001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":164994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:31:43] local.INFO: GPS data processed {"connection_id":164994,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:31:43] local.INFO: Acknowledgment sent {"connection_id":164994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:32:15] local.INFO: TCP Data received {"connection_id":164994,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03d81b1e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d81b1e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:32:15] local.INFO: Processing buffer {"connection_id":164994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d81b1e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:32:15] local.INFO: Packet analysis {"connection_id":164994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d81"} 
[2026-08-26 15:32:15] local.INFO: Extracted packet for processing {"connection_id":164994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d81"} 
[2026-08-26 15:32:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660929024001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15: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-26 15:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787738305000,"timestamp_ms":1787738305000,"timestamp_seconds":1787738305,"priority":1,"record_length":96,"hex_timestamp":"000001a03d81b1e8"} 
[2026-08-26 15:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 15:32:15] 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-26 15: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-26 15:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660929024001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660929024001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:32:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:32:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660929024001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":164994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:32:15] local.INFO: GPS data processed {"connection_id":164994,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:32:15] local.INFO: Acknowledgment sent {"connection_id":164994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:32:42] local.INFO: TCP Data received {"connection_id":164995,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:32:42] local.INFO: Processing buffer {"connection_id":164995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:32:42] local.INFO: IMEI packet received {"connection_id":164995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":164995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:32:47] local.INFO: TCP Data received {"connection_id":164995,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:32:47] local.INFO: Processing buffer {"connection_id":164995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:32:47] local.INFO: IMEI packet received {"connection_id":164995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":164995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:32:48] local.INFO: TCP Data received {"connection_id":164995,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03d81b1e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d81b1e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:32:48] local.INFO: Processing buffer {"connection_id":164995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d81b1e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:32:48] local.INFO: Packet analysis {"connection_id":164995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d81"} 
[2026-08-26 15:32:48] local.INFO: Extracted packet for processing {"connection_id":164995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d81"} 
[2026-08-26 15:32:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 15:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660929024001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787738305000,"timestamp_ms":1787738305000,"timestamp_seconds":1787738305,"priority":1,"record_length":96,"hex_timestamp":"000001a03d81b1e8"} 
[2026-08-26 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-26 15:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 15:32:48] 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-26 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-26 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-26 15:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660929024001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660929024001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:32:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:32:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660929024001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":164995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:32:48] local.INFO: GPS data processed {"connection_id":164995,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:32:48] local.INFO: Acknowledgment sent {"connection_id":164995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:32:53] local.INFO: TCP Data received {"connection_id":164995,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03d81b1e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d81b1e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:32:53] local.INFO: Processing buffer {"connection_id":164995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d81b1e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:32:53] local.INFO: Packet analysis {"connection_id":164995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d81"} 
[2026-08-26 15:32:53] local.INFO: Extracted packet for processing {"connection_id":164995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d81"} 
[2026-08-26 15:32:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660929024001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787738305000,"timestamp_ms":1787738305000,"timestamp_seconds":1787738305,"priority":1,"record_length":96,"hex_timestamp":"000001a03d81b1e8"} 
[2026-08-26 15:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 15:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 15:32:53] 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-26 15:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660929024001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660929024001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:32:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:32:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660929024001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":164995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:32:53] local.INFO: GPS data processed {"connection_id":164995,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:32:53] local.INFO: Acknowledgment sent {"connection_id":164995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:33:37] local.INFO: TCP Data received {"connection_id":162626,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:33:37] local.INFO: Processing buffer {"connection_id":162626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:33:37] local.INFO: IMEI packet received {"connection_id":162626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":162626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:33:42] local.INFO: TCP Data received {"connection_id":162626,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:33:42] local.INFO: Processing buffer {"connection_id":162626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:33:42] local.INFO: IMEI packet received {"connection_id":162626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":162626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:33:43] local.INFO: TCP Data received {"connection_id":162626,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03d81b1e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d81b1e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:33:43] local.INFO: Processing buffer {"connection_id":162626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d81b1e8012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:33:43] local.INFO: Packet analysis {"connection_id":162626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d81"} 
[2026-08-26 15:33:43] local.INFO: Extracted packet for processing {"connection_id":162626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d81"} 
[2026-08-26 15:33:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457660929024001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:33: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-26 15:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787738305000,"timestamp_ms":1787738305000,"timestamp_seconds":1787738305,"priority":1,"record_length":96,"hex_timestamp":"000001a03d81b1e8"} 
[2026-08-26 15:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 15:33:43] 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-26 15:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457660929024001,"66":25538,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457660929024001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:33:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:33:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457660929024001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":162626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:33:43] local.INFO: GPS data processed {"connection_id":162626,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:33:43] local.INFO: Acknowledgment sent {"connection_id":162626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:34:14] local.INFO: TCP Data received {"connection_id":162626,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03d8649b0012d34c14006aa4818000600e62a..."} 
[2026-08-26 15:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d8649b0012d34c14006aa4818000600e62a..."} 
[2026-08-26 15:34:14] local.INFO: Processing buffer {"connection_id":162626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d8649b0012d34c14006aa4818000600e62a..."} 
[2026-08-26 15:34:14] local.INFO: Packet analysis {"connection_id":162626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d86"} 
[2026-08-26 15:34:14] local.INFO: Extracted packet for processing {"connection_id":162626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d86"} 
[2026-08-26 15:34:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661006080001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:34:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 15:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 15:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787738606000,"timestamp_ms":1787738606000,"timestamp_seconds":1787738606,"priority":1,"record_length":96,"hex_timestamp":"000001a03d8649b0"} 
[2026-08-26 15:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:34: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-26 15:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:34:14] 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-26 15:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661006080001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 15:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661006080001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:34:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661006080001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":162626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:34:14] local.INFO: GPS data processed {"connection_id":162626,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:34:14] local.INFO: Acknowledgment sent {"connection_id":162626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:35:13] local.INFO: TCP Data received {"connection_id":164996,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:35:13] local.INFO: Processing buffer {"connection_id":164996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:35:13] local.INFO: IMEI packet received {"connection_id":164996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":164996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:35:47] local.INFO: TCP Data received {"connection_id":162407,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:35:47] local.INFO: Processing buffer {"connection_id":162407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:35:47] local.INFO: IMEI packet received {"connection_id":162407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 15:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":162407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:36:18] local.INFO: TCP Data received {"connection_id":164996,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:36:18] local.INFO: Processing buffer {"connection_id":164996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:36:18] local.INFO: IMEI packet received {"connection_id":164996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":164996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:36:19] local.INFO: TCP Data received {"connection_id":164996,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03d8649b0012d34c14006aa4818000600e62a..."} 
[2026-08-26 15:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d8649b0012d34c14006aa4818000600e62a..."} 
[2026-08-26 15:36:19] local.INFO: Processing buffer {"connection_id":164996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d8649b0012d34c14006aa4818000600e62a..."} 
[2026-08-26 15:36:19] local.INFO: Packet analysis {"connection_id":164996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d86"} 
[2026-08-26 15:36:19] local.INFO: Extracted packet for processing {"connection_id":164996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d86"} 
[2026-08-26 15:36:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661006080001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:36:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 15:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 15:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787738606000,"timestamp_ms":1787738606000,"timestamp_seconds":1787738606,"priority":1,"record_length":96,"hex_timestamp":"000001a03d8649b0"} 
[2026-08-26 15: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-26 15:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:36:19] 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-26 15: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-26 15: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-26 15:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661006080001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 15:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661006080001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:36:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661006080001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":164996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:36:19] local.INFO: GPS data processed {"connection_id":164996,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:36:19] local.INFO: Acknowledgment sent {"connection_id":164996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:36:27] local.INFO: TCP Data received {"connection_id":163658,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:36:27] local.INFO: Processing buffer {"connection_id":163658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:36:27] local.INFO: IMEI packet received {"connection_id":163658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":163658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:36:31] local.INFO: TCP Data received {"connection_id":163658,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:36:32] local.INFO: Processing buffer {"connection_id":163658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:36:32] local.INFO: IMEI packet received {"connection_id":163658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":163658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:36:32] local.INFO: TCP Data received {"connection_id":163658,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03d8649b0012d34c14006aa4818000600e62a..."} 
[2026-08-26 15:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d8649b0012d34c14006aa4818000600e62a..."} 
[2026-08-26 15:36:32] local.INFO: Processing buffer {"connection_id":163658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d8649b0012d34c14006aa4818000600e62a..."} 
[2026-08-26 15:36:32] local.INFO: Packet analysis {"connection_id":163658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d86"} 
[2026-08-26 15:36:32] local.INFO: Extracted packet for processing {"connection_id":163658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d86"} 
[2026-08-26 15:36:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661006080001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:36:32] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 15:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 15:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787738606000,"timestamp_ms":1787738606000,"timestamp_seconds":1787738606,"priority":1,"record_length":96,"hex_timestamp":"000001a03d8649b0"} 
[2026-08-26 15:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 15:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 15:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":163658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":163658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":163658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661006080001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 15:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661006080001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:36:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661006080001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":163658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:36:32] local.INFO: GPS data processed {"connection_id":163658,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:36:32] local.INFO: Acknowledgment sent {"connection_id":163658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:36:37] local.INFO: TCP Data received {"connection_id":163658,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03d8649b0012d34c14006aa4818000600e62a..."} 
[2026-08-26 15:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d8649b0012d34c14006aa4818000600e62a..."} 
[2026-08-26 15:36:37] local.INFO: Processing buffer {"connection_id":163658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d8649b0012d34c14006aa4818000600e62a..."} 
[2026-08-26 15:36:37] local.INFO: Packet analysis {"connection_id":163658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d86"} 
[2026-08-26 15:36:37] local.INFO: Extracted packet for processing {"connection_id":163658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d86"} 
[2026-08-26 15:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661006080001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:36:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 15:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 15:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787738606000,"timestamp_ms":1787738606000,"timestamp_seconds":1787738606,"priority":1,"record_length":96,"hex_timestamp":"000001a03d8649b0"} 
[2026-08-26 15:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 15:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:36: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-26 15:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661006080001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 15:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661006080001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661006080001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":163658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:36:37] local.INFO: GPS data processed {"connection_id":163658,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:36:37] local.INFO: Acknowledgment sent {"connection_id":163658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:37:09] local.INFO: TCP Data received {"connection_id":163658,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03d8649b0012d34c14006aa4818000600e62a..."} 
[2026-08-26 15:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d8649b0012d34c14006aa4818000600e62a..."} 
[2026-08-26 15:37:09] local.INFO: Processing buffer {"connection_id":163658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d8649b0012d34c14006aa4818000600e62a..."} 
[2026-08-26 15:37:09] local.INFO: Packet analysis {"connection_id":163658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d86"} 
[2026-08-26 15:37:09] local.INFO: Extracted packet for processing {"connection_id":163658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d86"} 
[2026-08-26 15:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661006080001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:37:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 15:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 15:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787738606000,"timestamp_ms":1787738606000,"timestamp_seconds":1787738606,"priority":1,"record_length":96,"hex_timestamp":"000001a03d8649b0"} 
[2026-08-26 15: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-26 15:37: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-26 15: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":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:37:09] 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-26 15: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-26 15: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-26 15:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661006080001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 15:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661006080001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:37:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661006080001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":163658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:37:09] local.INFO: GPS data processed {"connection_id":163658,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:37:09] local.INFO: Acknowledgment sent {"connection_id":163658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:37:37] local.INFO: TCP Data received {"connection_id":162408,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:37:37] local.INFO: Processing buffer {"connection_id":162408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:37:37] local.INFO: IMEI packet received {"connection_id":162408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":162408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:37:44] local.INFO: TCP Data received {"connection_id":162408,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:37:44] local.INFO: Processing buffer {"connection_id":162408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:37:44] local.INFO: IMEI packet received {"connection_id":162408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":162408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:37:45] local.INFO: TCP Data received {"connection_id":162408,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03d8649b0012d34c14006aa4818000600e62a..."} 
[2026-08-26 15:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d8649b0012d34c14006aa4818000600e62a..."} 
[2026-08-26 15:37:45] local.INFO: Processing buffer {"connection_id":162408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d8649b0012d34c14006aa4818000600e62a..."} 
[2026-08-26 15:37:45] local.INFO: Packet analysis {"connection_id":162408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d86"} 
[2026-08-26 15:37:45] local.INFO: Extracted packet for processing {"connection_id":162408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d86"} 
[2026-08-26 15:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661006080001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:37:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 15:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 15:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787738606000,"timestamp_ms":1787738606000,"timestamp_seconds":1787738606,"priority":1,"record_length":96,"hex_timestamp":"000001a03d8649b0"} 
[2026-08-26 15:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:37:45] 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-26 15:37:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661006080001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 15:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661006080001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:37:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661006080001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":162408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:37:45] local.INFO: GPS data processed {"connection_id":162408,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:37:45] local.INFO: Acknowledgment sent {"connection_id":162408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:38:17] local.INFO: TCP Data received {"connection_id":162408,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03d8649b0012d34c14006aa4818000600e62a..."} 
[2026-08-26 15:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d8649b0012d34c14006aa4818000600e62a..."} 
[2026-08-26 15:38:17] local.INFO: Processing buffer {"connection_id":162408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d8649b0012d34c14006aa4818000600e62a..."} 
[2026-08-26 15:38:17] local.INFO: Packet analysis {"connection_id":162408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d86"} 
[2026-08-26 15:38:17] local.INFO: Extracted packet for processing {"connection_id":162408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d86"} 
[2026-08-26 15:38:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 15:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661006080001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:38:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 15:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 15:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787738606000,"timestamp_ms":1787738606000,"timestamp_seconds":1787738606,"priority":1,"record_length":96,"hex_timestamp":"000001a03d8649b0"} 
[2026-08-26 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-26 15:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:38:17] 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-26 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-26 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-26 15:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661006080001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 15:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661006080001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:38:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661006080001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":162408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:38:17] local.INFO: GPS data processed {"connection_id":162408,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:38:17] local.INFO: Acknowledgment sent {"connection_id":162408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:38:37] local.INFO: TCP Data received {"connection_id":164997,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:38:37] local.INFO: Processing buffer {"connection_id":164997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:38:37] local.INFO: IMEI packet received {"connection_id":164997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":164997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:38:41] local.INFO: TCP Data received {"connection_id":164997,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:38:42] local.INFO: Processing buffer {"connection_id":164997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:38:42] local.INFO: IMEI packet received {"connection_id":164997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":164997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:38:43] local.INFO: TCP Data received {"connection_id":164997,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03d8649b0012d34c14006aa4818000600e62a..."} 
[2026-08-26 15:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d8649b0012d34c14006aa4818000600e62a..."} 
[2026-08-26 15:38:43] local.INFO: Processing buffer {"connection_id":164997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d8649b0012d34c14006aa4818000600e62a..."} 
[2026-08-26 15:38:43] local.INFO: Packet analysis {"connection_id":164997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d86"} 
[2026-08-26 15:38:43] local.INFO: Extracted packet for processing {"connection_id":164997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d86"} 
[2026-08-26 15:38:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661006080001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:38:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-26 15:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-26 15:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787738606000,"timestamp_ms":1787738606000,"timestamp_seconds":1787738606,"priority":1,"record_length":96,"hex_timestamp":"000001a03d8649b0"} 
[2026-08-26 15:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15: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-26 15:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:38:43] 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-26 15:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661006080001,"66":25538,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-26 15:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661006080001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:38:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661006080001,"power":25538,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":164997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:38:43] local.INFO: GPS data processed {"connection_id":164997,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:38:43] local.INFO: Acknowledgment sent {"connection_id":164997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:39:14] local.INFO: TCP Data received {"connection_id":164997,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:39:14] local.INFO: Processing buffer {"connection_id":164997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:39:14] local.INFO: Packet analysis {"connection_id":164997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d8a"} 
[2026-08-26 15:39:14] local.INFO: Extracted packet for processing {"connection_id":164997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d8a"} 
[2026-08-26 15:39:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661083136001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:39: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-26 15:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787738907000,"timestamp_ms":1787738907000,"timestamp_seconds":1787738907,"priority":1,"record_length":96,"hex_timestamp":"000001a03d8ae178"} 
[2026-08-26 15: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-26 15:39: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-26 15: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":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:39:14] 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-26 15: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-26 15: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-26 15:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661083136001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661083136001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:39:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:39:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661083136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":164997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:39:14] local.INFO: GPS data processed {"connection_id":164997,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:39:14] local.INFO: Acknowledgment sent {"connection_id":164997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:39:36] local.INFO: TCP Data received {"connection_id":162628,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:39:36] local.INFO: Processing buffer {"connection_id":162628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:39:36] local.INFO: IMEI packet received {"connection_id":162628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":162628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:39:42] local.INFO: TCP Data received {"connection_id":162628,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:39:42] local.INFO: Processing buffer {"connection_id":162628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:39:42] local.INFO: IMEI packet received {"connection_id":162628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":162628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:39:43] local.INFO: TCP Data received {"connection_id":162628,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:39:43] local.INFO: Processing buffer {"connection_id":162628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:39:43] local.INFO: Packet analysis {"connection_id":162628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d8a"} 
[2026-08-26 15:39:43] local.INFO: Extracted packet for processing {"connection_id":162628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d8a"} 
[2026-08-26 15:39:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661083136001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:39: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-26 15:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787738907000,"timestamp_ms":1787738907000,"timestamp_seconds":1787738907,"priority":1,"record_length":96,"hex_timestamp":"000001a03d8ae178"} 
[2026-08-26 15:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 15:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:39:43] 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-26 15:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661083136001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661083136001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:39:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:39:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661083136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":162628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:39:43] local.INFO: GPS data processed {"connection_id":162628,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:39:43] local.INFO: Acknowledgment sent {"connection_id":162628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:40:14] local.INFO: TCP Data received {"connection_id":162628,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:40:14] local.INFO: Processing buffer {"connection_id":162628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:40:14] local.INFO: Packet analysis {"connection_id":162628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d8a"} 
[2026-08-26 15:40:14] local.INFO: Extracted packet for processing {"connection_id":162628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d8a"} 
[2026-08-26 15:40:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661083136001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:40: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-26 15:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787738907000,"timestamp_ms":1787738907000,"timestamp_seconds":1787738907,"priority":1,"record_length":96,"hex_timestamp":"000001a03d8ae178"} 
[2026-08-26 15: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-26 15:40: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-26 15: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:40:14] 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-26 15: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-26 15: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-26 15:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661083136001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661083136001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:40:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:40:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661083136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":162628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:40:14] local.INFO: GPS data processed {"connection_id":162628,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:40:14] local.INFO: Acknowledgment sent {"connection_id":162628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:40:42] local.INFO: TCP Data received {"connection_id":162629,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:40:42] local.INFO: Processing buffer {"connection_id":162629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:40:42] local.INFO: IMEI packet received {"connection_id":162629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":162629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:40:47] local.INFO: TCP Data received {"connection_id":162629,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:40:47] local.INFO: Processing buffer {"connection_id":162629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:40:47] local.INFO: IMEI packet received {"connection_id":162629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":162629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:40:48] local.INFO: TCP Data received {"connection_id":162629,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:40:48] local.INFO: Processing buffer {"connection_id":162629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:40:48] local.INFO: Packet analysis {"connection_id":162629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d8a"} 
[2026-08-26 15:40:48] local.INFO: Extracted packet for processing {"connection_id":162629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d8a"} 
[2026-08-26 15:40:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661083136001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787738907000,"timestamp_ms":1787738907000,"timestamp_seconds":1787738907,"priority":1,"record_length":96,"hex_timestamp":"000001a03d8ae178"} 
[2026-08-26 15:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:40:48] 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-26 15:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661083136001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661083136001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:40:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:40:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661083136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":162629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:40:48] local.INFO: GPS data processed {"connection_id":162629,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:40:48] local.INFO: Acknowledgment sent {"connection_id":162629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:40:56] local.INFO: TCP Data received {"connection_id":162629,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:40:56] local.INFO: Processing buffer {"connection_id":162629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:40:56] local.INFO: Packet analysis {"connection_id":162629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d8a"} 
[2026-08-26 15:40:56] local.INFO: Extracted packet for processing {"connection_id":162629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d8a"} 
[2026-08-26 15:40:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661083136001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:40: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-26 15:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787738907000,"timestamp_ms":1787738907000,"timestamp_seconds":1787738907,"priority":1,"record_length":96,"hex_timestamp":"000001a03d8ae178"} 
[2026-08-26 15: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-26 15:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 15: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-26 15: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-26 15:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":162629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":162629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":162629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661083136001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661083136001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:40:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:40:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661083136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":162629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:40:56] local.INFO: GPS data processed {"connection_id":162629,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:40:56] local.INFO: Acknowledgment sent {"connection_id":162629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:41:22] local.INFO: TCP Data received {"connection_id":162627,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:41:22] local.INFO: Processing buffer {"connection_id":162627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:41:22] local.INFO: IMEI packet received {"connection_id":162627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 15:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":162627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:41:37] local.INFO: TCP Data received {"connection_id":164998,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:41:37] local.INFO: Processing buffer {"connection_id":164998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:41:37] local.INFO: IMEI packet received {"connection_id":164998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":164998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:41:41] local.INFO: TCP Data received {"connection_id":164998,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:41:41] local.INFO: Processing buffer {"connection_id":164998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:41:41] local.INFO: IMEI packet received {"connection_id":164998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":164998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:41:43] local.INFO: TCP Data received {"connection_id":164998,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:41:43] local.INFO: Processing buffer {"connection_id":164998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:41:43] local.INFO: Packet analysis {"connection_id":164998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d8a"} 
[2026-08-26 15:41:43] local.INFO: Extracted packet for processing {"connection_id":164998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d8a"} 
[2026-08-26 15:41:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661083136001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:41: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-26 15:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787738907000,"timestamp_ms":1787738907000,"timestamp_seconds":1787738907,"priority":1,"record_length":96,"hex_timestamp":"000001a03d8ae178"} 
[2026-08-26 15:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 15:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:41:43] 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-26 15:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661083136001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661083136001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:41:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:41:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661083136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":164998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:41:43] local.INFO: GPS data processed {"connection_id":164998,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:41:43] local.INFO: Acknowledgment sent {"connection_id":164998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:42:15] local.INFO: TCP Data received {"connection_id":164998,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:42:15] local.INFO: Processing buffer {"connection_id":164998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:42:15] local.INFO: Packet analysis {"connection_id":164998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d8a"} 
[2026-08-26 15:42:15] local.INFO: Extracted packet for processing {"connection_id":164998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d8a"} 
[2026-08-26 15:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661083136001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15: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-26 15:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787738907000,"timestamp_ms":1787738907000,"timestamp_seconds":1787738907,"priority":1,"record_length":96,"hex_timestamp":"000001a03d8ae178"} 
[2026-08-26 15: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-26 15:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 15: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":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 15: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-26 15: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-26 15:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661083136001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661083136001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:42:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661083136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":164998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:42:15] local.INFO: GPS data processed {"connection_id":164998,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:42:15] local.INFO: Acknowledgment sent {"connection_id":164998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:42:41] local.INFO: TCP Data received {"connection_id":162630,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:42:41] local.INFO: Processing buffer {"connection_id":162630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:42:41] local.INFO: IMEI packet received {"connection_id":162630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":162630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:42:47] local.INFO: TCP Data received {"connection_id":162630,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:42:47] local.INFO: Processing buffer {"connection_id":162630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:42:47] local.INFO: IMEI packet received {"connection_id":162630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":162630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:42:49] local.INFO: TCP Data received {"connection_id":162630,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:42:49] local.INFO: Processing buffer {"connection_id":162630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:42:49] local.INFO: Packet analysis {"connection_id":162630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d8a"} 
[2026-08-26 15:42:49] local.INFO: Extracted packet for processing {"connection_id":162630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d8a"} 
[2026-08-26 15:42:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661083136001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:42: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-26 15:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787738907000,"timestamp_ms":1787738907000,"timestamp_seconds":1787738907,"priority":1,"record_length":96,"hex_timestamp":"000001a03d8ae178"} 
[2026-08-26 15: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-26 15:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:42:49] 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-26 15: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-26 15: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-26 15:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":162630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":162630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":162630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661083136001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661083136001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:42:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:42:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661083136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":162630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:42:49] local.INFO: GPS data processed {"connection_id":162630,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:42:49] local.INFO: Acknowledgment sent {"connection_id":162630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:43:22] local.INFO: TCP Data received {"connection_id":162630,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:43:22] local.INFO: Processing buffer {"connection_id":162630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:43:22] local.INFO: Packet analysis {"connection_id":162630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d8a"} 
[2026-08-26 15:43:22] local.INFO: Extracted packet for processing {"connection_id":162630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d8a"} 
[2026-08-26 15:43:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661083136001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:43: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-26 15:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787738907000,"timestamp_ms":1787738907000,"timestamp_seconds":1787738907,"priority":1,"record_length":96,"hex_timestamp":"000001a03d8ae178"} 
[2026-08-26 15:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 15:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:43:22] 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-26 15:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661083136001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661083136001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:43:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:43:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661083136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":162630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:43:22] local.INFO: GPS data processed {"connection_id":162630,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:43:22] local.INFO: Acknowledgment sent {"connection_id":162630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:43:36] local.INFO: TCP Data received {"connection_id":162409,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:43:36] local.INFO: Processing buffer {"connection_id":162409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:43:36] local.INFO: IMEI packet received {"connection_id":162409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":162409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:43:42] local.INFO: TCP Data received {"connection_id":162409,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:43:42] local.INFO: Processing buffer {"connection_id":162409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:43:42] local.INFO: IMEI packet received {"connection_id":162409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":162409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:44:02] local.INFO: TCP Data received {"connection_id":162409,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:44:02] local.INFO: Processing buffer {"connection_id":162409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d8ae178012d34c14006aa4818000700e62a..."} 
[2026-08-26 15:44:02] local.INFO: Packet analysis {"connection_id":162409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d8a"} 
[2026-08-26 15:44:02] local.INFO: Extracted packet for processing {"connection_id":162409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d8a"} 
[2026-08-26 15:44:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661083136001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787738907000,"timestamp_ms":1787738907000,"timestamp_seconds":1787738907,"priority":1,"record_length":96,"hex_timestamp":"000001a03d8ae178"} 
[2026-08-26 15:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-26 15:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 15:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":162409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":162409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":162409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661083136001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 15:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661083136001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:44:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 15:44:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661083136001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":162409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:44:02] local.INFO: GPS data processed {"connection_id":162409,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:44:02] local.INFO: Acknowledgment sent {"connection_id":162409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:46:57] local.INFO: TCP Data received {"connection_id":164999,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:46:57] local.INFO: Processing buffer {"connection_id":164999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:46:57] local.INFO: IMEI packet received {"connection_id":164999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 15:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":164999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:47:02] local.INFO: TCP Data received {"connection_id":163659,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:47:02] local.INFO: Processing buffer {"connection_id":163659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:47:02] local.INFO: IMEI packet received {"connection_id":163659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":163659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:47:32] local.INFO: TCP Data received {"connection_id":162631,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:47:32] local.INFO: Processing buffer {"connection_id":162631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:47:32] local.INFO: IMEI packet received {"connection_id":162631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":162631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:47:37] local.INFO: TCP Data received {"connection_id":162631,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:47:37] local.INFO: Processing buffer {"connection_id":162631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:47:37] local.INFO: IMEI packet received {"connection_id":162631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":162631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:47:54] local.INFO: TCP Data received {"connection_id":162631,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:47:54] local.INFO: Processing buffer {"connection_id":162631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:47:54] local.INFO: IMEI packet received {"connection_id":162631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":162631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:52:32] local.INFO: TCP Data received {"connection_id":162410,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:52:32] local.INFO: Processing buffer {"connection_id":162410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:52:32] local.INFO: IMEI packet received {"connection_id":162410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 15:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":162410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:52:46] local.INFO: TCP Data received {"connection_id":162634,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:52:46] local.INFO: Processing buffer {"connection_id":162634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:52:46] local.INFO: IMEI packet received {"connection_id":162634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":162634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:52:48] local.INFO: TCP Data received {"connection_id":162634,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03d8f7940012d34c14006aa4818000a00e62b..."} 
[2026-08-26 15:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d8f7940012d34c14006aa4818000a00e62b..."} 
[2026-08-26 15:52:48] local.INFO: Processing buffer {"connection_id":162634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d8f7940012d34c14006aa4818000a00e62b..."} 
[2026-08-26 15:52:48] local.INFO: Packet analysis {"connection_id":162634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d8f"} 
[2026-08-26 15:52:48] local.INFO: Extracted packet for processing {"connection_id":162634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d8f"} 
[2026-08-26 15:52:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661160192001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787739208000,"timestamp_ms":1787739208000,"timestamp_seconds":1787739208,"priority":1,"record_length":96,"hex_timestamp":"000001a03d8f7940"} 
[2026-08-26 15:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 15:52:48] 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-26 15:52:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661160192001,"66":25495,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 15:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661160192001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:52:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 15:52:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661160192001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":162634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:52:48] local.INFO: GPS data processed {"connection_id":162634,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:52:48] local.INFO: Acknowledgment sent {"connection_id":162634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:53:02] local.INFO: TCP Data received {"connection_id":162411,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:53:02] local.INFO: Processing buffer {"connection_id":162411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:53:02] local.INFO: IMEI packet received {"connection_id":162411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 15:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":162411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:53:22] local.INFO: TCP Data received {"connection_id":162634,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03d941108012d34c14006aa4818000f00e62a..."} 
[2026-08-26 15:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d941108012d34c14006aa4818000f00e62a..."} 
[2026-08-26 15:53:22] local.INFO: Processing buffer {"connection_id":162634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d941108012d34c14006aa4818000f00e62a..."} 
[2026-08-26 15:53:22] local.INFO: Packet analysis {"connection_id":162634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d94"} 
[2026-08-26 15:53:22] local.INFO: Extracted packet for processing {"connection_id":162634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d94"} 
[2026-08-26 15:53:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661237248001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787739509000,"timestamp_ms":1787739509000,"timestamp_seconds":1787739509,"priority":1,"record_length":96,"hex_timestamp":"000001a03d941108"} 
[2026-08-26 15: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-26 15:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 15:53:22] 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-26 15: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-26 15: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-26 15:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":162634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":162634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":162634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661237248001,"66":25473,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 15:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661237248001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:53:22] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 15:53:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661237248001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":162634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:53:22] local.INFO: GPS data processed {"connection_id":162634,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:53:22] local.INFO: Acknowledgment sent {"connection_id":162634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:53:41] local.INFO: TCP Data received {"connection_id":162635,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:53:41] local.INFO: Processing buffer {"connection_id":162635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:53:41] local.INFO: IMEI packet received {"connection_id":162635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":162635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:53:46] local.INFO: TCP Data received {"connection_id":162635,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:53:46] local.INFO: Processing buffer {"connection_id":162635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:53:46] local.INFO: IMEI packet received {"connection_id":162635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":162635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:53:48] local.INFO: TCP Data received {"connection_id":162635,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03d941108012d34c14006aa4818000f00e62a..."} 
[2026-08-26 15:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d941108012d34c14006aa4818000f00e62a..."} 
[2026-08-26 15:53:48] local.INFO: Processing buffer {"connection_id":162635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d941108012d34c14006aa4818000f00e62a..."} 
[2026-08-26 15:53:48] local.INFO: Packet analysis {"connection_id":162635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d94"} 
[2026-08-26 15:53:48] local.INFO: Extracted packet for processing {"connection_id":162635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d94"} 
[2026-08-26 15:53:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661237248001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787739509000,"timestamp_ms":1787739509000,"timestamp_seconds":1787739509,"priority":1,"record_length":96,"hex_timestamp":"000001a03d941108"} 
[2026-08-26 15:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:53:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 15:53:48] 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-26 15:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661237248001,"66":25473,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 15:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661237248001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:53:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 15:53:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661237248001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":162635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:53:48] local.INFO: GPS data processed {"connection_id":162635,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:53:48] local.INFO: Acknowledgment sent {"connection_id":162635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:53:53] local.INFO: TCP Data received {"connection_id":162635,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03d941108012d34c14006aa4818000f00e62a..."} 
[2026-08-26 15:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d941108012d34c14006aa4818000f00e62a..."} 
[2026-08-26 15:53:53] local.INFO: Processing buffer {"connection_id":162635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d941108012d34c14006aa4818000f00e62a..."} 
[2026-08-26 15:53:53] local.INFO: Packet analysis {"connection_id":162635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d94"} 
[2026-08-26 15:53:53] local.INFO: Extracted packet for processing {"connection_id":162635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d94"} 
[2026-08-26 15:53:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661237248001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787739509000,"timestamp_ms":1787739509000,"timestamp_seconds":1787739509,"priority":1,"record_length":96,"hex_timestamp":"000001a03d941108"} 
[2026-08-26 15: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-26 15:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 15:53:53] 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-26 15:53:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15: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-26 15:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661237248001,"66":25473,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 15:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661237248001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:53:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 15:53:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661237248001,"power":25473,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":162635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:53:53] local.INFO: GPS data processed {"connection_id":162635,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:53:53] local.INFO: Acknowledgment sent {"connection_id":162635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:55:04] local.INFO: TCP Data received {"connection_id":165001,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:55:04] local.INFO: Processing buffer {"connection_id":165001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:55:04] local.INFO: IMEI packet received {"connection_id":165001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":165001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:55:05] local.INFO: TCP Data received {"connection_id":165001,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:55:05] local.INFO: Processing buffer {"connection_id":165001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:55:05] local.INFO: IMEI packet received {"connection_id":165001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":165001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:55:06] local.INFO: TCP Data received {"connection_id":165001,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03d98a8d0012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d98a8d0012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:55:06] local.INFO: Processing buffer {"connection_id":165001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d98a8d0012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:55:06] local.INFO: Packet analysis {"connection_id":165001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d98"} 
[2026-08-26 15:55:06] local.INFO: Extracted packet for processing {"connection_id":165001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d98"} 
[2026-08-26 15:55:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 15:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661314304001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787739810000,"timestamp_ms":1787739810000,"timestamp_seconds":1787739810,"priority":1,"record_length":96,"hex_timestamp":"000001a03d98a8d0"} 
[2026-08-26 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-26 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-26 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 15:55: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-26 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-26 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-26 15:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":165001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":165001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":165001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661314304001,"66":25495,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 15:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661314304001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:55:06] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 15:55:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661314304001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":165001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:55:06] local.INFO: GPS data processed {"connection_id":165001,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:55:06] local.INFO: Acknowledgment sent {"connection_id":165001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:55:19] local.INFO: TCP Data received {"connection_id":165001,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03d98a8d0012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d98a8d0012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:55:19] local.INFO: Processing buffer {"connection_id":165001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d98a8d0012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:55:19] local.INFO: Packet analysis {"connection_id":165001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d98"} 
[2026-08-26 15:55:19] local.INFO: Extracted packet for processing {"connection_id":165001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d98"} 
[2026-08-26 15:55:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661314304001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787739810000,"timestamp_ms":1787739810000,"timestamp_seconds":1787739810,"priority":1,"record_length":96,"hex_timestamp":"000001a03d98a8d0"} 
[2026-08-26 15: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-26 15:55:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 15:55:19] 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-26 15: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-26 15: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-26 15:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":165001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":165001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":165001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661314304001,"66":25495,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 15:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661314304001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:55:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 15:55:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661314304001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":165001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:55:19] local.INFO: GPS data processed {"connection_id":165001,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:55:19] local.INFO: Acknowledgment sent {"connection_id":165001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:55:51] local.INFO: TCP Data received {"connection_id":162636,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:55:51] local.INFO: Processing buffer {"connection_id":162636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:55:51] local.INFO: IMEI packet received {"connection_id":162636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":162636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:55:56] local.INFO: TCP Data received {"connection_id":162636,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:55:56] local.INFO: Processing buffer {"connection_id":162636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:55:56] local.INFO: IMEI packet received {"connection_id":162636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":162636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:56:07] local.INFO: TCP Data received {"connection_id":162636,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03d98a8d0012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d98a8d0012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:56:07] local.INFO: Processing buffer {"connection_id":162636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d98a8d0012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:56:07] local.INFO: Packet analysis {"connection_id":162636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d98"} 
[2026-08-26 15:56:07] local.INFO: Extracted packet for processing {"connection_id":162636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d98"} 
[2026-08-26 15:56:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661314304001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787739810000,"timestamp_ms":1787739810000,"timestamp_seconds":1787739810,"priority":1,"record_length":96,"hex_timestamp":"000001a03d98a8d0"} 
[2026-08-26 15: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-26 15:56: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-26 15: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":129,"data_length":795,"current_offset":136} 
[2026-08-26 15:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 15: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-26 15: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-26 15:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":162636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":162636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":162636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661314304001,"66":25495,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 15:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661314304001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:56:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 15:56:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661314304001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":162636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:56:07] local.INFO: GPS data processed {"connection_id":162636,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:56:07] local.INFO: Acknowledgment sent {"connection_id":162636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:56:12] local.INFO: TCP Data received {"connection_id":162636,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03d98a8d0012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d98a8d0012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:56:12] local.INFO: Processing buffer {"connection_id":162636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d98a8d0012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:56:12] local.INFO: Packet analysis {"connection_id":162636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d98"} 
[2026-08-26 15:56:12] local.INFO: Extracted packet for processing {"connection_id":162636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d98"} 
[2026-08-26 15:56:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661314304001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787739810000,"timestamp_ms":1787739810000,"timestamp_seconds":1787739810,"priority":1,"record_length":96,"hex_timestamp":"000001a03d98a8d0"} 
[2026-08-26 15:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 15:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 15:56:12] 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-26 15:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661314304001,"66":25495,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 15:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661314304001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:56:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 15:56:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661314304001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":162636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:56:12] local.INFO: GPS data processed {"connection_id":162636,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:56:12] local.INFO: Acknowledgment sent {"connection_id":162636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:56:36] local.INFO: TCP Data received {"connection_id":165002,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:56:36] local.INFO: Processing buffer {"connection_id":165002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:56:36] local.INFO: IMEI packet received {"connection_id":165002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":165002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:56:41] local.INFO: TCP Data received {"connection_id":165002,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:56:41] local.INFO: Processing buffer {"connection_id":165002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:56:41] local.INFO: IMEI packet received {"connection_id":165002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":165002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:56:47] local.INFO: TCP Data received {"connection_id":165002,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03d98a8d0012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d98a8d0012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:56:47] local.INFO: Processing buffer {"connection_id":165002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d98a8d0012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:56:47] local.INFO: Packet analysis {"connection_id":165002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d98"} 
[2026-08-26 15:56:47] local.INFO: Extracted packet for processing {"connection_id":165002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d98"} 
[2026-08-26 15:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 15:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661314304001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787739810000,"timestamp_ms":1787739810000,"timestamp_seconds":1787739810,"priority":1,"record_length":96,"hex_timestamp":"000001a03d98a8d0"} 
[2026-08-26 15:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 15:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 15:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 15:56:47] 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-26 15:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 15:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 15:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661314304001,"66":25495,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 15:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661314304001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:56:47] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 15:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661314304001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":165002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:56:47] local.INFO: GPS data processed {"connection_id":165002,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:56:47] local.INFO: Acknowledgment sent {"connection_id":165002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:58:16] local.INFO: TCP Data received {"connection_id":163662,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:58:16] local.INFO: Processing buffer {"connection_id":163662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:58:16] local.INFO: IMEI packet received {"connection_id":163662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":163662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:58:27] local.INFO: TCP Data received {"connection_id":165003,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:58:27] local.INFO: Processing buffer {"connection_id":165003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 15:58:27] local.INFO: IMEI packet received {"connection_id":165003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 15:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":165003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:59:07] local.INFO: TCP Data received {"connection_id":162637,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:59:07] local.INFO: Processing buffer {"connection_id":162637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:59:07] local.INFO: IMEI packet received {"connection_id":162637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 15:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":162637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 15:59:07] local.INFO: TCP Data received {"connection_id":162637,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:59:07] local.INFO: Processing buffer {"connection_id":162637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 15:59:07] local.INFO: IMEI packet received {"connection_id":162637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 15:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":162637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 15:59:09] local.INFO: TCP Data received {"connection_id":162637,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03d98a8d0012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d98a8d0012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:59:09] local.INFO: Processing buffer {"connection_id":162637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d98a8d0012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:59:09] local.INFO: Packet analysis {"connection_id":162637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d98"} 
[2026-08-26 15:59:09] local.INFO: Extracted packet for processing {"connection_id":162637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d98"} 
[2026-08-26 15:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 15: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-26 15:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661314304001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787739810000,"timestamp_ms":1787739810000,"timestamp_seconds":1787739810,"priority":1,"record_length":96,"hex_timestamp":"000001a03d98a8d0"} 
[2026-08-26 15: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-26 15: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-26 15: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":129,"data_length":795,"current_offset":136} 
[2026-08-26 15:59: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-26 15: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-26 15: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-26 15:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":162637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":162637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":162637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661314304001,"66":25495,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 15:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661314304001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:59:09] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 15:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661314304001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":162637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:59:09] local.INFO: GPS data processed {"connection_id":162637,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:59:09] local.INFO: Acknowledgment sent {"connection_id":162637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 15:59:11] local.INFO: TCP Data received {"connection_id":162637,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03d98a8d0012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d98a8d0012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:59:11] local.INFO: Processing buffer {"connection_id":162637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d98a8d0012d34c14006aa4818000800e62b..."} 
[2026-08-26 15:59:11] local.INFO: Packet analysis {"connection_id":162637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d98"} 
[2026-08-26 15:59:11] local.INFO: Extracted packet for processing {"connection_id":162637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d98"} 
[2026-08-26 15:59:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 15:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661314304001,"note":"Value kept but may cause issues"} 
[2026-08-26 15:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 15:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 15:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 15:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787739810000,"timestamp_ms":1787739810000,"timestamp_seconds":1787739810,"priority":1,"record_length":96,"hex_timestamp":"000001a03d98a8d0"} 
[2026-08-26 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-26 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-26 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":129,"data_length":795,"current_offset":136} 
[2026-08-26 15:59: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-26 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-26 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-26 15:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 15:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":162637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 15:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":162637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":162637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 15:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 15:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 15:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 15:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661314304001,"66":25495,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 15:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 15:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 15:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661314304001,"description":"Unknown IO ID 0"} 
[2026-08-26 15:59:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 15:59:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 15:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 15:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 15:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661314304001,"power":25495,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 15:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":162637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 15:59:11] local.INFO: GPS data processed {"connection_id":162637,"processed":1,"errors":0,"total":1} 
[2026-08-26 15:59:11] local.INFO: Acknowledgment sent {"connection_id":162637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:00:51] local.INFO: TCP Data received {"connection_id":163663,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:00:51] local.INFO: Processing buffer {"connection_id":163663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:00:51] local.INFO: IMEI packet received {"connection_id":163663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":163663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:00:56] local.INFO: TCP Data received {"connection_id":163663,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:00:56] local.INFO: Processing buffer {"connection_id":163663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:00:56] local.INFO: IMEI packet received {"connection_id":163663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":163663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:00:58] local.INFO: TCP Data received {"connection_id":163663,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03d9d4098012d34c14006aa4818000a00e62a..."} 
[2026-08-26 16:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d9d4098012d34c14006aa4818000a00e62a..."} 
[2026-08-26 16:00:58] local.INFO: Processing buffer {"connection_id":163663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d9d4098012d34c14006aa4818000a00e62a..."} 
[2026-08-26 16:00:58] local.INFO: Packet analysis {"connection_id":163663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d9d"} 
[2026-08-26 16:00:58] local.INFO: Extracted packet for processing {"connection_id":163663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d9d"} 
[2026-08-26 16:00:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 16:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661391360001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 16:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787740111000,"timestamp_ms":1787740111000,"timestamp_seconds":1787740111,"priority":1,"record_length":96,"hex_timestamp":"000001a03d9d4098"} 
[2026-08-26 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-26 16:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 16:00:58] 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-26 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-26 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-26 16:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661391360001,"66":25462,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 16:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661391360001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:00:58] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 16:00:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661391360001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":163663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:00:58] local.INFO: GPS data processed {"connection_id":163663,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:00:58] local.INFO: Acknowledgment sent {"connection_id":163663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:02:41] local.INFO: TCP Data received {"connection_id":162412,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:02:41] local.INFO: Processing buffer {"connection_id":162412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:02:41] local.INFO: IMEI packet received {"connection_id":162412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":162412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:02:46] local.INFO: TCP Data received {"connection_id":162412,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:02:46] local.INFO: Processing buffer {"connection_id":162412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:02:46] local.INFO: IMEI packet received {"connection_id":162412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":162412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:02:47] local.INFO: TCP Data received {"connection_id":162412,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03d9d4098012d34c14006aa4818000a00e62a..."} 
[2026-08-26 16:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d9d4098012d34c14006aa4818000a00e62a..."} 
[2026-08-26 16:02:47] local.INFO: Processing buffer {"connection_id":162412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d9d4098012d34c14006aa4818000a00e62a..."} 
[2026-08-26 16:02:47] local.INFO: Packet analysis {"connection_id":162412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d9d"} 
[2026-08-26 16:02:47] local.INFO: Extracted packet for processing {"connection_id":162412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d9d"} 
[2026-08-26 16:02:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661391360001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 16:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787740111000,"timestamp_ms":1787740111000,"timestamp_seconds":1787740111,"priority":1,"record_length":96,"hex_timestamp":"000001a03d9d4098"} 
[2026-08-26 16:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:02: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-26 16:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 16:02:47] 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-26 16:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661391360001,"66":25462,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 16:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661391360001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:02:47] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 16:02:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661391360001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":162412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:02:47] local.INFO: GPS data processed {"connection_id":162412,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:02:47] local.INFO: Acknowledgment sent {"connection_id":162412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:03:19] local.INFO: TCP Data received {"connection_id":162412,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03d9d4098012d34c14006aa4818000a00e62a..."} 
[2026-08-26 16:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d9d4098012d34c14006aa4818000a00e62a..."} 
[2026-08-26 16:03:19] local.INFO: Processing buffer {"connection_id":162412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d9d4098012d34c14006aa4818000a00e62a..."} 
[2026-08-26 16:03:19] local.INFO: Packet analysis {"connection_id":162412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d9d"} 
[2026-08-26 16:03:19] local.INFO: Extracted packet for processing {"connection_id":162412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d9d"} 
[2026-08-26 16:03:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 16:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661391360001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 16:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787740111000,"timestamp_ms":1787740111000,"timestamp_seconds":1787740111,"priority":1,"record_length":96,"hex_timestamp":"000001a03d9d4098"} 
[2026-08-26 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-26 16:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-26 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 16:03: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-26 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-26 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-26 16:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661391360001,"66":25462,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 16:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661391360001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:03:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 16:03:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661391360001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":162412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:03:19] local.INFO: GPS data processed {"connection_id":162412,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:03:19] local.INFO: Acknowledgment sent {"connection_id":162412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:03:36] local.INFO: TCP Data received {"connection_id":165006,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:03:36] local.INFO: Processing buffer {"connection_id":165006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:03:36] local.INFO: IMEI packet received {"connection_id":165006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":165006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:03:42] local.INFO: TCP Data received {"connection_id":165006,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:03:42] local.INFO: Processing buffer {"connection_id":165006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:03:42] local.INFO: IMEI packet received {"connection_id":165006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":165006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:03:43] local.INFO: TCP Data received {"connection_id":165006,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03d9d4098012d34c14006aa4818000a00e62a..."} 
[2026-08-26 16:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03d9d4098012d34c14006aa4818000a00e62a..."} 
[2026-08-26 16:03:43] local.INFO: Processing buffer {"connection_id":165006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03d9d4098012d34c14006aa4818000a00e62a..."} 
[2026-08-26 16:03:43] local.INFO: Packet analysis {"connection_id":165006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03d9d"} 
[2026-08-26 16:03:43] local.INFO: Extracted packet for processing {"connection_id":165006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03d9d"} 
[2026-08-26 16:03:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661391360001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 16:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787740111000,"timestamp_ms":1787740111000,"timestamp_seconds":1787740111,"priority":1,"record_length":96,"hex_timestamp":"000001a03d9d4098"} 
[2026-08-26 16:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 16:03:43] 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-26 16:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661391360001,"66":25462,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-26 16:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661391360001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:03:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-26 16:03:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661391360001,"power":25462,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":165006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:03:43] local.INFO: GPS data processed {"connection_id":165006,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:03:43] local.INFO: Acknowledgment sent {"connection_id":165006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:04:02] local.INFO: TCP Data received {"connection_id":163664,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163664,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:04:02] local.INFO: Processing buffer {"connection_id":163664,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:04:02] local.INFO: IMEI packet received {"connection_id":163664,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 16:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":163664,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:04:15] local.INFO: TCP Data received {"connection_id":165006,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:04:15] local.INFO: Processing buffer {"connection_id":165006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:04:15] local.INFO: Packet analysis {"connection_id":165006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03da1"} 
[2026-08-26 16:04:15] local.INFO: Extracted packet for processing {"connection_id":165006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03da1"} 
[2026-08-26 16:04:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661468416001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:04: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-26 16:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787740412000,"timestamp_ms":1787740412000,"timestamp_seconds":1787740412,"priority":1,"record_length":96,"hex_timestamp":"000001a03da1d860"} 
[2026-08-26 16:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:04: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-26 16:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:04: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-26 16: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-26 16:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":165006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":165006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":165006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661468416001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661468416001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:04:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:04:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661468416001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":165006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:04:15] local.INFO: GPS data processed {"connection_id":165006,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:04:15] local.INFO: Acknowledgment sent {"connection_id":165006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:04:36] local.INFO: TCP Data received {"connection_id":163665,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:04:36] local.INFO: Processing buffer {"connection_id":163665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:04:36] local.INFO: IMEI packet received {"connection_id":163665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":163665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:04:42] local.INFO: TCP Data received {"connection_id":163665,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:04:42] local.INFO: Processing buffer {"connection_id":163665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:04:42] local.INFO: IMEI packet received {"connection_id":163665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":163665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:04:46] local.INFO: TCP Data received {"connection_id":163665,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:04:46] local.INFO: Processing buffer {"connection_id":163665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:04:46] local.INFO: IMEI packet received {"connection_id":163665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":163665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:04:47] local.INFO: TCP Data received {"connection_id":163665,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:04:47] local.INFO: Processing buffer {"connection_id":163665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:04:47] local.INFO: Packet analysis {"connection_id":163665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03da1"} 
[2026-08-26 16:04:47] local.INFO: Extracted packet for processing {"connection_id":163665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03da1"} 
[2026-08-26 16:04:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661468416001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:04: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-26 16:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787740412000,"timestamp_ms":1787740412000,"timestamp_seconds":1787740412,"priority":1,"record_length":96,"hex_timestamp":"000001a03da1d860"} 
[2026-08-26 16: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-26 16:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:04:47] 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-26 16: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-26 16: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-26 16:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661468416001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661468416001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:04:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:04:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661468416001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":163665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:04:47] local.INFO: GPS data processed {"connection_id":163665,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:04:47] local.INFO: Acknowledgment sent {"connection_id":163665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:04:52] local.INFO: TCP Data received {"connection_id":163665,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:04:52] local.INFO: Processing buffer {"connection_id":163665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:04:52] local.INFO: Packet analysis {"connection_id":163665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03da1"} 
[2026-08-26 16:04:52] local.INFO: Extracted packet for processing {"connection_id":163665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03da1"} 
[2026-08-26 16:04:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661468416001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:04: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-26 16:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787740412000,"timestamp_ms":1787740412000,"timestamp_seconds":1787740412,"priority":1,"record_length":96,"hex_timestamp":"000001a03da1d860"} 
[2026-08-26 16:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:04:52] 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-26 16:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661468416001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661468416001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:04:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:04:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661468416001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":163665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:04:52] local.INFO: GPS data processed {"connection_id":163665,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:04:52] local.INFO: Acknowledgment sent {"connection_id":163665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:05:37] local.INFO: TCP Data received {"connection_id":165007,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:05:37] local.INFO: Processing buffer {"connection_id":165007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:05:37] local.INFO: IMEI packet received {"connection_id":165007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":165007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:05:41] local.INFO: TCP Data received {"connection_id":165007,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:05:41] local.INFO: Processing buffer {"connection_id":165007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:05:41] local.INFO: IMEI packet received {"connection_id":165007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":165007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:05:42] local.INFO: TCP Data received {"connection_id":165007,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:05:42] local.INFO: Processing buffer {"connection_id":165007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:05:42] local.INFO: Packet analysis {"connection_id":165007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03da1"} 
[2026-08-26 16:05:42] local.INFO: Extracted packet for processing {"connection_id":165007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03da1"} 
[2026-08-26 16:05:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661468416001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:05: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-26 16:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787740412000,"timestamp_ms":1787740412000,"timestamp_seconds":1787740412,"priority":1,"record_length":96,"hex_timestamp":"000001a03da1d860"} 
[2026-08-26 16:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:05: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-26 16:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:05: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-26 16:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661468416001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661468416001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:05:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:05:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661468416001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":165007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:05:42] local.INFO: GPS data processed {"connection_id":165007,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:05:42] local.INFO: Acknowledgment sent {"connection_id":165007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:06:13] local.INFO: TCP Data received {"connection_id":165007,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:06:13] local.INFO: Processing buffer {"connection_id":165007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:06:13] local.INFO: Packet analysis {"connection_id":165007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03da1"} 
[2026-08-26 16:06:13] local.INFO: Extracted packet for processing {"connection_id":165007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03da1"} 
[2026-08-26 16:06:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 16:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661468416001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:06: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-26 16:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787740412000,"timestamp_ms":1787740412000,"timestamp_seconds":1787740412,"priority":1,"record_length":96,"hex_timestamp":"000001a03da1d860"} 
[2026-08-26 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-26 16:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:06:13] 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-26 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-26 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-26 16:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661468416001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661468416001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:06:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:06:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661468416001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":165007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:06:13] local.INFO: GPS data processed {"connection_id":165007,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:06:13] local.INFO: Acknowledgment sent {"connection_id":165007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:06:36] local.INFO: TCP Data received {"connection_id":162413,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:06:36] local.INFO: Processing buffer {"connection_id":162413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:06:36] local.INFO: IMEI packet received {"connection_id":162413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":162413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:06:41] local.INFO: TCP Data received {"connection_id":162413,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:06:41] local.INFO: Processing buffer {"connection_id":162413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:06:41] local.INFO: IMEI packet received {"connection_id":162413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":162413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:06:42] local.INFO: TCP Data received {"connection_id":162413,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:06:42] local.INFO: Processing buffer {"connection_id":162413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:06:42] local.INFO: Packet analysis {"connection_id":162413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03da1"} 
[2026-08-26 16:06:42] local.INFO: Extracted packet for processing {"connection_id":162413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03da1"} 
[2026-08-26 16:06:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661468416001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:06: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-26 16:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787740412000,"timestamp_ms":1787740412000,"timestamp_seconds":1787740412,"priority":1,"record_length":96,"hex_timestamp":"000001a03da1d860"} 
[2026-08-26 16:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:06: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-26 16:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:06: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-26 16:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661468416001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661468416001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:06:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:06:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661468416001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":162413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:06:42] local.INFO: GPS data processed {"connection_id":162413,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:06:42] local.INFO: Acknowledgment sent {"connection_id":162413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:07:15] local.INFO: TCP Data received {"connection_id":162413,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:07:15] local.INFO: Processing buffer {"connection_id":162413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:07:15] local.INFO: Packet analysis {"connection_id":162413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03da1"} 
[2026-08-26 16:07:15] local.INFO: Extracted packet for processing {"connection_id":162413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03da1"} 
[2026-08-26 16:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661468416001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16: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-26 16:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787740412000,"timestamp_ms":1787740412000,"timestamp_seconds":1787740412,"priority":1,"record_length":96,"hex_timestamp":"000001a03da1d860"} 
[2026-08-26 16: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-26 16:07: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-26 16: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":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:07: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-26 16: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-26 16: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-26 16:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661468416001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661468416001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:07:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661468416001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":162413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:07:15] local.INFO: GPS data processed {"connection_id":162413,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:07:15] local.INFO: Acknowledgment sent {"connection_id":162413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:07:36] local.INFO: TCP Data received {"connection_id":162638,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:07:36] local.INFO: Processing buffer {"connection_id":162638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:07:36] local.INFO: IMEI packet received {"connection_id":162638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":162638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:07:42] local.INFO: TCP Data received {"connection_id":162638,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:07:42] local.INFO: Processing buffer {"connection_id":162638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:07:42] local.INFO: IMEI packet received {"connection_id":162638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":162638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:07:43] local.INFO: TCP Data received {"connection_id":162638,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:07:43] local.INFO: Processing buffer {"connection_id":162638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:07:43] local.INFO: Packet analysis {"connection_id":162638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03da1"} 
[2026-08-26 16:07:43] local.INFO: Extracted packet for processing {"connection_id":162638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03da1"} 
[2026-08-26 16:07:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661468416001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:07: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-26 16:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787740412000,"timestamp_ms":1787740412000,"timestamp_seconds":1787740412,"priority":1,"record_length":96,"hex_timestamp":"000001a03da1d860"} 
[2026-08-26 16: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-26 16:07: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-26 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:07:43] 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-26 16: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-26 16: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-26 16:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661468416001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661468416001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:07:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:07:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661468416001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":162638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:07:43] local.INFO: GPS data processed {"connection_id":162638,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:07:43] local.INFO: Acknowledgment sent {"connection_id":162638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:08:15] local.INFO: TCP Data received {"connection_id":162638,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:08:15] local.INFO: Processing buffer {"connection_id":162638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:08:15] local.INFO: Packet analysis {"connection_id":162638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03da1"} 
[2026-08-26 16:08:15] local.INFO: Extracted packet for processing {"connection_id":162638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03da1"} 
[2026-08-26 16:08:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661468416001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16: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-26 16:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787740412000,"timestamp_ms":1787740412000,"timestamp_seconds":1787740412,"priority":1,"record_length":96,"hex_timestamp":"000001a03da1d860"} 
[2026-08-26 16: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-26 16: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-26 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:08: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-26 16: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-26 16: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-26 16:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661468416001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661468416001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:08:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:08:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661468416001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":162638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:08:15] local.INFO: GPS data processed {"connection_id":162638,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:08:15] local.INFO: Acknowledgment sent {"connection_id":162638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:08:36] local.INFO: TCP Data received {"connection_id":163666,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:08:36] local.INFO: Processing buffer {"connection_id":163666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:08:36] local.INFO: IMEI packet received {"connection_id":163666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":163666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:08:41] local.INFO: TCP Data received {"connection_id":163666,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:08:41] local.INFO: Processing buffer {"connection_id":163666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:08:41] local.INFO: IMEI packet received {"connection_id":163666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":163666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:08:43] local.INFO: TCP Data received {"connection_id":163666,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:08:43] local.INFO: Processing buffer {"connection_id":163666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03da1d860012d34c14006aa4818000700e628..."} 
[2026-08-26 16:08:43] local.INFO: Packet analysis {"connection_id":163666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03da1"} 
[2026-08-26 16:08:43] local.INFO: Extracted packet for processing {"connection_id":163666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03da1"} 
[2026-08-26 16:08:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661468416001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:08: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-26 16:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787740412000,"timestamp_ms":1787740412000,"timestamp_seconds":1787740412,"priority":1,"record_length":96,"hex_timestamp":"000001a03da1d860"} 
[2026-08-26 16:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:08: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-26 16:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:08:43] 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-26 16:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661468416001,"66":25495,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661468416001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:08:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:08:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661468416001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":163666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:08:43] local.INFO: GPS data processed {"connection_id":163666,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:08:43] local.INFO: Acknowledgment sent {"connection_id":163666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:09:15] local.INFO: TCP Data received {"connection_id":163666,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:09:15] local.INFO: Processing buffer {"connection_id":163666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:09:15] local.INFO: Packet analysis {"connection_id":163666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03da6"} 
[2026-08-26 16:09:15] local.INFO: Extracted packet for processing {"connection_id":163666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03da6"} 
[2026-08-26 16:09:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661545472001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:09: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-26 16:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787740713000,"timestamp_ms":1787740713000,"timestamp_seconds":1787740713,"priority":1,"record_length":96,"hex_timestamp":"000001a03da67028"} 
[2026-08-26 16:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:09: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-26 16:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 16:09:15] 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-26 16:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661545472001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661545472001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:09:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:09:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661545472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":163666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:09:15] local.INFO: GPS data processed {"connection_id":163666,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:09:15] local.INFO: Acknowledgment sent {"connection_id":163666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:09:37] local.INFO: TCP Data received {"connection_id":165008,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:09:37] local.INFO: Processing buffer {"connection_id":165008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:09:37] local.INFO: IMEI packet received {"connection_id":165008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 16:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":165008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:09:42] local.INFO: TCP Data received {"connection_id":165009,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:09:42] local.INFO: Processing buffer {"connection_id":165009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:09:42] local.INFO: IMEI packet received {"connection_id":165009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":165009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:09:47] local.INFO: TCP Data received {"connection_id":165009,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:09:47] local.INFO: Processing buffer {"connection_id":165009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:09:47] local.INFO: IMEI packet received {"connection_id":165009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":165009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:09:48] local.INFO: TCP Data received {"connection_id":165009,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:09:48] local.INFO: Processing buffer {"connection_id":165009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:09:48] local.INFO: Packet analysis {"connection_id":165009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03da6"} 
[2026-08-26 16:09:48] local.INFO: Extracted packet for processing {"connection_id":165009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03da6"} 
[2026-08-26 16:09:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 16:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661545472001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 16:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787740713000,"timestamp_ms":1787740713000,"timestamp_seconds":1787740713,"priority":1,"record_length":96,"hex_timestamp":"000001a03da67028"} 
[2026-08-26 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-26 16:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 16:09:48] 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-26 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-26 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-26 16:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":165009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":165009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":165009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661545472001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661545472001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:09:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:09:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661545472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":165009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:09:48] local.INFO: GPS data processed {"connection_id":165009,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:09:48] local.INFO: Acknowledgment sent {"connection_id":165009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:10:19] local.INFO: TCP Data received {"connection_id":165009,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:10:19] local.INFO: Processing buffer {"connection_id":165009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:10:19] local.INFO: Packet analysis {"connection_id":165009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03da6"} 
[2026-08-26 16:10:19] local.INFO: Extracted packet for processing {"connection_id":165009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03da6"} 
[2026-08-26 16:10:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 16:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661545472001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 16:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787740713000,"timestamp_ms":1787740713000,"timestamp_seconds":1787740713,"priority":1,"record_length":96,"hex_timestamp":"000001a03da67028"} 
[2026-08-26 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-26 16:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 16:10: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-26 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-26 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-26 16:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":165009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":165009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":165009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661545472001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661545472001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:10:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:10:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661545472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":165009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:10:19] local.INFO: GPS data processed {"connection_id":165009,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:10:19] local.INFO: Acknowledgment sent {"connection_id":165009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:10:36] local.INFO: TCP Data received {"connection_id":162639,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:10:36] local.INFO: Processing buffer {"connection_id":162639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:10:36] local.INFO: IMEI packet received {"connection_id":162639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":162639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:10:41] local.INFO: TCP Data received {"connection_id":162639,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:10:41] local.INFO: Processing buffer {"connection_id":162639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:10:41] local.INFO: IMEI packet received {"connection_id":162639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":162639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:10:42] local.INFO: TCP Data received {"connection_id":162639,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:10:42] local.INFO: Processing buffer {"connection_id":162639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:10:42] local.INFO: Packet analysis {"connection_id":162639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03da6"} 
[2026-08-26 16:10:42] local.INFO: Extracted packet for processing {"connection_id":162639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03da6"} 
[2026-08-26 16:10:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661545472001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:10: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-26 16:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787740713000,"timestamp_ms":1787740713000,"timestamp_seconds":1787740713,"priority":1,"record_length":96,"hex_timestamp":"000001a03da67028"} 
[2026-08-26 16: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-26 16:10: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-26 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 16:10: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-26 16: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-26 16: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-26 16:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661545472001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661545472001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:10:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:10:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661545472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":162639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:10:42] local.INFO: GPS data processed {"connection_id":162639,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:10:42] local.INFO: Acknowledgment sent {"connection_id":162639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:11:14] local.INFO: TCP Data received {"connection_id":162639,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:11:14] local.INFO: Processing buffer {"connection_id":162639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:11:14] local.INFO: Packet analysis {"connection_id":162639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03da6"} 
[2026-08-26 16:11:14] local.INFO: Extracted packet for processing {"connection_id":162639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03da6"} 
[2026-08-26 16:11:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 16:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661545472001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:11: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-26 16:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787740713000,"timestamp_ms":1787740713000,"timestamp_seconds":1787740713,"priority":1,"record_length":96,"hex_timestamp":"000001a03da67028"} 
[2026-08-26 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-26 16:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 16:11: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-26 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-26 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-26 16:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661545472001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661545472001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:11:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:11:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661545472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":162639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:11:14] local.INFO: GPS data processed {"connection_id":162639,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:11:14] local.INFO: Acknowledgment sent {"connection_id":162639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:11:36] local.INFO: TCP Data received {"connection_id":162640,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:11:36] local.INFO: Processing buffer {"connection_id":162640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:11:36] local.INFO: IMEI packet received {"connection_id":162640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":162640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:11:41] local.INFO: TCP Data received {"connection_id":162640,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:11:41] local.INFO: Processing buffer {"connection_id":162640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:11:41] local.INFO: IMEI packet received {"connection_id":162640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":162640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:11:43] local.INFO: TCP Data received {"connection_id":162640,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:11:43] local.INFO: Processing buffer {"connection_id":162640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:11:43] local.INFO: Packet analysis {"connection_id":162640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03da6"} 
[2026-08-26 16:11:43] local.INFO: Extracted packet for processing {"connection_id":162640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03da6"} 
[2026-08-26 16:11:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661545472001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:11: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-26 16:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787740713000,"timestamp_ms":1787740713000,"timestamp_seconds":1787740713,"priority":1,"record_length":96,"hex_timestamp":"000001a03da67028"} 
[2026-08-26 16: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-26 16: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-26 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 16:11:43] 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-26 16: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-26 16: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-26 16:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661545472001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661545472001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:11:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:11:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661545472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":162640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:11:43] local.INFO: GPS data processed {"connection_id":162640,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:11:43] local.INFO: Acknowledgment sent {"connection_id":162640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:12:14] local.INFO: TCP Data received {"connection_id":162640,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:12:14] local.INFO: Processing buffer {"connection_id":162640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:12:14] local.INFO: Packet analysis {"connection_id":162640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03da6"} 
[2026-08-26 16:12:14] local.INFO: Extracted packet for processing {"connection_id":162640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03da6"} 
[2026-08-26 16:12:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 16:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661545472001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:12: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-26 16:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787740713000,"timestamp_ms":1787740713000,"timestamp_seconds":1787740713,"priority":1,"record_length":96,"hex_timestamp":"000001a03da67028"} 
[2026-08-26 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-26 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-26 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":151,"data_length":795,"current_offset":136} 
[2026-08-26 16:12: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-26 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-26 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-26 16:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661545472001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661545472001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:12:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:12:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661545472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":162640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:12:14] local.INFO: GPS data processed {"connection_id":162640,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:12:14] local.INFO: Acknowledgment sent {"connection_id":162640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:12:36] local.INFO: TCP Data received {"connection_id":163667,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:12:36] local.INFO: Processing buffer {"connection_id":163667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:12:36] local.INFO: IMEI packet received {"connection_id":163667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":163667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:12:42] local.INFO: TCP Data received {"connection_id":163667,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:12:42] local.INFO: Processing buffer {"connection_id":163667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:12:42] local.INFO: IMEI packet received {"connection_id":163667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":163667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:12:43] local.INFO: TCP Data received {"connection_id":163667,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:12:43] local.INFO: Processing buffer {"connection_id":163667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:12:43] local.INFO: Packet analysis {"connection_id":163667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03da6"} 
[2026-08-26 16:12:43] local.INFO: Extracted packet for processing {"connection_id":163667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03da6"} 
[2026-08-26 16:12:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661545472001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16: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-26 16:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787740713000,"timestamp_ms":1787740713000,"timestamp_seconds":1787740713,"priority":1,"record_length":96,"hex_timestamp":"000001a03da67028"} 
[2026-08-26 16: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-26 16: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-26 16: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":151,"data_length":795,"current_offset":136} 
[2026-08-26 16:12:43] 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-26 16: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-26 16: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-26 16:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661545472001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661545472001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:12:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:12:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661545472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":163667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:12:43] local.INFO: GPS data processed {"connection_id":163667,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:12:43] local.INFO: Acknowledgment sent {"connection_id":163667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:13:14] local.INFO: TCP Data received {"connection_id":163667,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:13:14] local.INFO: Processing buffer {"connection_id":163667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:13:14] local.INFO: Packet analysis {"connection_id":163667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03da6"} 
[2026-08-26 16:13:14] local.INFO: Extracted packet for processing {"connection_id":163667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03da6"} 
[2026-08-26 16:13:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661545472001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:13: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-26 16:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787740713000,"timestamp_ms":1787740713000,"timestamp_seconds":1787740713,"priority":1,"record_length":96,"hex_timestamp":"000001a03da67028"} 
[2026-08-26 16:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:13: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-26 16:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 16:13: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-26 16:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661545472001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661545472001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:13:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:13:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661545472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":163667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:13:14] local.INFO: GPS data processed {"connection_id":163667,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:13:14] local.INFO: Acknowledgment sent {"connection_id":163667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:13:41] local.INFO: TCP Data received {"connection_id":162641,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:13:41] local.INFO: Processing buffer {"connection_id":162641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:13:41] local.INFO: IMEI packet received {"connection_id":162641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":162641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:13:47] local.INFO: TCP Data received {"connection_id":162641,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:13:47] local.INFO: Processing buffer {"connection_id":162641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:13:47] local.INFO: IMEI packet received {"connection_id":162641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":162641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:13:48] local.INFO: TCP Data received {"connection_id":162641,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:13:48] local.INFO: Processing buffer {"connection_id":162641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:13:48] local.INFO: Packet analysis {"connection_id":162641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03da6"} 
[2026-08-26 16:13:48] local.INFO: Extracted packet for processing {"connection_id":162641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03da6"} 
[2026-08-26 16:13:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 16:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661545472001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 16:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787740713000,"timestamp_ms":1787740713000,"timestamp_seconds":1787740713,"priority":1,"record_length":96,"hex_timestamp":"000001a03da67028"} 
[2026-08-26 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-26 16:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 16:13:48] 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-26 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-26 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-26 16:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661545472001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661545472001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:13:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:13:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661545472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":162641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:13:48] local.INFO: GPS data processed {"connection_id":162641,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:13:48] local.INFO: Acknowledgment sent {"connection_id":162641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:13:53] local.INFO: TCP Data received {"connection_id":162641,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:13:53] local.INFO: Processing buffer {"connection_id":162641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03da67028012d34c14006aa4818000c00e629..."} 
[2026-08-26 16:13:53] local.INFO: Packet analysis {"connection_id":162641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03da6"} 
[2026-08-26 16:13:53] local.INFO: Extracted packet for processing {"connection_id":162641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03da6"} 
[2026-08-26 16:13:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 16:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661545472001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 16:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787740713000,"timestamp_ms":1787740713000,"timestamp_seconds":1787740713,"priority":1,"record_length":96,"hex_timestamp":"000001a03da67028"} 
[2026-08-26 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-26 16:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-26 16:13:53] 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-26 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-26 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-26 16:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661545472001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661545472001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:13:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:13:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661545472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":162641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:13:53] local.INFO: GPS data processed {"connection_id":162641,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:13:53] local.INFO: Acknowledgment sent {"connection_id":162641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:14:36] local.INFO: TCP Data received {"connection_id":165011,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:14:36] local.INFO: Processing buffer {"connection_id":165011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:14:36] local.INFO: IMEI packet received {"connection_id":165011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":165011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:14:41] local.INFO: TCP Data received {"connection_id":165011,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:14:41] local.INFO: Processing buffer {"connection_id":165011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:14:41] local.INFO: IMEI packet received {"connection_id":165011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":165011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:14:42] local.INFO: TCP Data received {"connection_id":165011,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:14:42] local.INFO: Processing buffer {"connection_id":165011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:14:42] local.INFO: Packet analysis {"connection_id":165011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dab"} 
[2026-08-26 16:14:42] local.INFO: Extracted packet for processing {"connection_id":165011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dab"} 
[2026-08-26 16:14:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661622528001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16: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-26 16:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787741014000,"timestamp_ms":1787741014000,"timestamp_seconds":1787741014,"priority":1,"record_length":96,"hex_timestamp":"000001a03dab07f0"} 
[2026-08-26 16: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-26 16:14: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-26 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:14: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-26 16: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-26 16: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-26 16:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661622528001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661622528001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:14:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:14:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661622528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":165011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:14:42] local.INFO: GPS data processed {"connection_id":165011,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:14:42] local.INFO: Acknowledgment sent {"connection_id":165011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:15:12] local.INFO: TCP Data received {"connection_id":165010,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:15:12] local.INFO: Processing buffer {"connection_id":165010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:15:12] local.INFO: IMEI packet received {"connection_id":165010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 16:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":165010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:15:14] local.INFO: TCP Data received {"connection_id":165011,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:15:14] local.INFO: Processing buffer {"connection_id":165011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:15:14] local.INFO: Packet analysis {"connection_id":165011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dab"} 
[2026-08-26 16:15:14] local.INFO: Extracted packet for processing {"connection_id":165011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dab"} 
[2026-08-26 16:15:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661622528001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:15: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-26 16:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787741014000,"timestamp_ms":1787741014000,"timestamp_seconds":1787741014,"priority":1,"record_length":96,"hex_timestamp":"000001a03dab07f0"} 
[2026-08-26 16:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:15: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-26 16:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:15: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-26 16:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661622528001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661622528001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:15:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:15:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661622528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":165011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:15:14] local.INFO: GPS data processed {"connection_id":165011,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:15:14] local.INFO: Acknowledgment sent {"connection_id":165011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:15:36] local.INFO: TCP Data received {"connection_id":165012,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:15:36] local.INFO: Processing buffer {"connection_id":165012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:15:36] local.INFO: IMEI packet received {"connection_id":165012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":165012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:15:42] local.INFO: TCP Data received {"connection_id":165012,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:15:42] local.INFO: Processing buffer {"connection_id":165012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:15:42] local.INFO: IMEI packet received {"connection_id":165012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":165012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:15:43] local.INFO: TCP Data received {"connection_id":165012,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:15:43] local.INFO: Processing buffer {"connection_id":165012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:15:43] local.INFO: Packet analysis {"connection_id":165012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dab"} 
[2026-08-26 16:15:43] local.INFO: Extracted packet for processing {"connection_id":165012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dab"} 
[2026-08-26 16:15:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661622528001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:15: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-26 16:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787741014000,"timestamp_ms":1787741014000,"timestamp_seconds":1787741014,"priority":1,"record_length":96,"hex_timestamp":"000001a03dab07f0"} 
[2026-08-26 16:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:15: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-26 16:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:15:43] 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-26 16:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661622528001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661622528001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:15:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:15:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661622528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":165012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:15:43] local.INFO: GPS data processed {"connection_id":165012,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:15:43] local.INFO: Acknowledgment sent {"connection_id":165012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:16:14] local.INFO: TCP Data received {"connection_id":165012,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:16:14] local.INFO: Processing buffer {"connection_id":165012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:16:14] local.INFO: Packet analysis {"connection_id":165012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dab"} 
[2026-08-26 16:16:14] local.INFO: Extracted packet for processing {"connection_id":165012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dab"} 
[2026-08-26 16:16:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 16:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661622528001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:16: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-26 16:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787741014000,"timestamp_ms":1787741014000,"timestamp_seconds":1787741014,"priority":1,"record_length":96,"hex_timestamp":"000001a03dab07f0"} 
[2026-08-26 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-26 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-26 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-26 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-26 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-26 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-26 16:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661622528001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661622528001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:16:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:16:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661622528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":165012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:16:14] local.INFO: GPS data processed {"connection_id":165012,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:16:14] local.INFO: Acknowledgment sent {"connection_id":165012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:16:36] local.INFO: TCP Data received {"connection_id":163668,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:16:36] local.INFO: Processing buffer {"connection_id":163668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:16:36] local.INFO: IMEI packet received {"connection_id":163668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":163668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:16:42] local.INFO: TCP Data received {"connection_id":163668,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:16:42] local.INFO: Processing buffer {"connection_id":163668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:16:42] local.INFO: IMEI packet received {"connection_id":163668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":163668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:16:44] local.INFO: TCP Data received {"connection_id":163668,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:16:44] local.INFO: Processing buffer {"connection_id":163668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:16:44] local.INFO: Packet analysis {"connection_id":163668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dab"} 
[2026-08-26 16:16:44] local.INFO: Extracted packet for processing {"connection_id":163668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dab"} 
[2026-08-26 16:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661622528001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:16: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-26 16:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787741014000,"timestamp_ms":1787741014000,"timestamp_seconds":1787741014,"priority":1,"record_length":96,"hex_timestamp":"000001a03dab07f0"} 
[2026-08-26 16:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:16: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-26 16:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:16: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-26 16:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661622528001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661622528001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:16:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:16:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661622528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":163668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:16:44] local.INFO: GPS data processed {"connection_id":163668,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:16:44] local.INFO: Acknowledgment sent {"connection_id":163668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:17:15] local.INFO: TCP Data received {"connection_id":163668,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:17:15] local.INFO: Processing buffer {"connection_id":163668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:17:15] local.INFO: Packet analysis {"connection_id":163668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dab"} 
[2026-08-26 16:17:15] local.INFO: Extracted packet for processing {"connection_id":163668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dab"} 
[2026-08-26 16:17:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 16:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661622528001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16: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-26 16:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787741014000,"timestamp_ms":1787741014000,"timestamp_seconds":1787741014,"priority":1,"record_length":96,"hex_timestamp":"000001a03dab07f0"} 
[2026-08-26 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-26 16:17: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-26 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:17: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-26 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-26 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-26 16:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661622528001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661622528001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:17:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:17:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661622528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":163668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:17:15] local.INFO: GPS data processed {"connection_id":163668,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:17:15] local.INFO: Acknowledgment sent {"connection_id":163668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:17:42] local.INFO: TCP Data received {"connection_id":163669,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:17:42] local.INFO: Processing buffer {"connection_id":163669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:17:42] local.INFO: IMEI packet received {"connection_id":163669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":163669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:17:46] local.INFO: TCP Data received {"connection_id":163669,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:17:46] local.INFO: Processing buffer {"connection_id":163669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:17:46] local.INFO: IMEI packet received {"connection_id":163669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":163669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:17:48] local.INFO: TCP Data received {"connection_id":163669,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:17:48] local.INFO: Processing buffer {"connection_id":163669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:17:48] local.INFO: Packet analysis {"connection_id":163669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dab"} 
[2026-08-26 16:17:48] local.INFO: Extracted packet for processing {"connection_id":163669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dab"} 
[2026-08-26 16:17:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661622528001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 16:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787741014000,"timestamp_ms":1787741014000,"timestamp_seconds":1787741014,"priority":1,"record_length":96,"hex_timestamp":"000001a03dab07f0"} 
[2026-08-26 16: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-26 16:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:17:48] 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-26 16: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-26 16: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-26 16:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661622528001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661622528001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:17:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:17:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661622528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":163669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:17:48] local.INFO: GPS data processed {"connection_id":163669,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:17:48] local.INFO: Acknowledgment sent {"connection_id":163669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:17:52] local.INFO: TCP Data received {"connection_id":163669,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:17:52] local.INFO: Processing buffer {"connection_id":163669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:17:52] local.INFO: Packet analysis {"connection_id":163669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dab"} 
[2026-08-26 16:17:52] local.INFO: Extracted packet for processing {"connection_id":163669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dab"} 
[2026-08-26 16:17:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661622528001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:17: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-26 16:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787741014000,"timestamp_ms":1787741014000,"timestamp_seconds":1787741014,"priority":1,"record_length":96,"hex_timestamp":"000001a03dab07f0"} 
[2026-08-26 16: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-26 16:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:17:52] 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-26 16: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-26 16: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-26 16:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661622528001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661622528001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:17:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:17:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661622528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":163669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:17:52] local.INFO: GPS data processed {"connection_id":163669,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:17:52] local.INFO: Acknowledgment sent {"connection_id":163669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:18:36] local.INFO: TCP Data received {"connection_id":165013,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:18:36] local.INFO: Processing buffer {"connection_id":165013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:18:36] local.INFO: IMEI packet received {"connection_id":165013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":165013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:18:41] local.INFO: TCP Data received {"connection_id":165013,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:18:41] local.INFO: Processing buffer {"connection_id":165013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:18:41] local.INFO: IMEI packet received {"connection_id":165013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":165013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:18:43] local.INFO: TCP Data received {"connection_id":165013,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:18:43] local.INFO: Processing buffer {"connection_id":165013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:18:43] local.INFO: Packet analysis {"connection_id":165013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dab"} 
[2026-08-26 16:18:43] local.INFO: Extracted packet for processing {"connection_id":165013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dab"} 
[2026-08-26 16:18:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661622528001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:18: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-26 16:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787741014000,"timestamp_ms":1787741014000,"timestamp_seconds":1787741014,"priority":1,"record_length":96,"hex_timestamp":"000001a03dab07f0"} 
[2026-08-26 16:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:18: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-26 16:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:18:43] 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-26 16:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661622528001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661622528001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:18:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:18:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661622528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":165013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:18:43] local.INFO: GPS data processed {"connection_id":165013,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:18:43] local.INFO: Acknowledgment sent {"connection_id":165013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:18:48] local.INFO: TCP Data received {"connection_id":165013,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:18:48] local.INFO: Processing buffer {"connection_id":165013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dab07f0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:18:48] local.INFO: Packet analysis {"connection_id":165013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dab"} 
[2026-08-26 16:18:48] local.INFO: Extracted packet for processing {"connection_id":165013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dab"} 
[2026-08-26 16:18:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 16:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661622528001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 16:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787741014000,"timestamp_ms":1787741014000,"timestamp_seconds":1787741014,"priority":1,"record_length":96,"hex_timestamp":"000001a03dab07f0"} 
[2026-08-26 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-26 16:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:18:48] 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-26 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-26 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-26 16:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":165013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":165013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":165013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661622528001,"66":25473,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661622528001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:18:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:18:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661622528001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":165013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:18:48] local.INFO: GPS data processed {"connection_id":165013,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:18:48] local.INFO: Acknowledgment sent {"connection_id":165013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:19:19] local.INFO: TCP Data received {"connection_id":165013,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:19:19] local.INFO: Processing buffer {"connection_id":165013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:19:19] local.INFO: Packet analysis {"connection_id":165013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03daf"} 
[2026-08-26 16:19:19] local.INFO: Extracted packet for processing {"connection_id":165013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03daf"} 
[2026-08-26 16:19:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661699584001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 16:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787741315000,"timestamp_ms":1787741315000,"timestamp_seconds":1787741315,"priority":1,"record_length":96,"hex_timestamp":"000001a03daf9fb8"} 
[2026-08-26 16: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-26 16:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 16:19:19] 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-26 16: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-26 16: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-26 16:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":165013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":165013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":165013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661699584001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661699584001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:19:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:19:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661699584001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":165013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:19:19] local.INFO: GPS data processed {"connection_id":165013,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:19:19] local.INFO: Acknowledgment sent {"connection_id":165013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:19:38] local.INFO: TCP Data received {"connection_id":162643,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:19:38] local.INFO: Processing buffer {"connection_id":162643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:19:38] local.INFO: IMEI packet received {"connection_id":162643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":162643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:19:41] local.INFO: TCP Data received {"connection_id":162643,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:19:41] local.INFO: Processing buffer {"connection_id":162643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:19:41] local.INFO: IMEI packet received {"connection_id":162643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":162643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:19:42] local.INFO: TCP Data received {"connection_id":162643,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:19:42] local.INFO: Processing buffer {"connection_id":162643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:19:42] local.INFO: Packet analysis {"connection_id":162643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03daf"} 
[2026-08-26 16:19:42] local.INFO: Extracted packet for processing {"connection_id":162643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03daf"} 
[2026-08-26 16:19:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661699584001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16: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-26 16:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787741315000,"timestamp_ms":1787741315000,"timestamp_seconds":1787741315,"priority":1,"record_length":96,"hex_timestamp":"000001a03daf9fb8"} 
[2026-08-26 16: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-26 16:19: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-26 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 16:19: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-26 16: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-26 16: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-26 16:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661699584001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661699584001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:19:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:19:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661699584001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":162643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:19:42] local.INFO: GPS data processed {"connection_id":162643,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:19:42] local.INFO: Acknowledgment sent {"connection_id":162643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:20:14] local.INFO: TCP Data received {"connection_id":162643,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:20:14] local.INFO: Processing buffer {"connection_id":162643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:20:14] local.INFO: Packet analysis {"connection_id":162643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03daf"} 
[2026-08-26 16:20:14] local.INFO: Extracted packet for processing {"connection_id":162643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03daf"} 
[2026-08-26 16:20:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661699584001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:20: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-26 16:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787741315000,"timestamp_ms":1787741315000,"timestamp_seconds":1787741315,"priority":1,"record_length":96,"hex_timestamp":"000001a03daf9fb8"} 
[2026-08-26 16: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-26 16:20: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-26 16: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":129,"data_length":795,"current_offset":136} 
[2026-08-26 16:20: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-26 16: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-26 16: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-26 16:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661699584001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661699584001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:20:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:20:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661699584001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":162643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:20:14] local.INFO: GPS data processed {"connection_id":162643,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:20:14] local.INFO: Acknowledgment sent {"connection_id":162643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:20:36] local.INFO: TCP Data received {"connection_id":163670,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:20:36] local.INFO: Processing buffer {"connection_id":163670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:20:36] local.INFO: IMEI packet received {"connection_id":163670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":163670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:20:41] local.INFO: TCP Data received {"connection_id":163670,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:20:41] local.INFO: Processing buffer {"connection_id":163670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:20:41] local.INFO: IMEI packet received {"connection_id":163670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":163670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:20:43] local.INFO: TCP Data received {"connection_id":163670,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:20:43] local.INFO: Processing buffer {"connection_id":163670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:20:43] local.INFO: Packet analysis {"connection_id":163670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03daf"} 
[2026-08-26 16:20:43] local.INFO: Extracted packet for processing {"connection_id":163670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03daf"} 
[2026-08-26 16:20:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661699584001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:20: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-26 16:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787741315000,"timestamp_ms":1787741315000,"timestamp_seconds":1787741315,"priority":1,"record_length":96,"hex_timestamp":"000001a03daf9fb8"} 
[2026-08-26 16: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-26 16:20: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-26 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 16:20: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-26 16: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-26 16: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-26 16:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661699584001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661699584001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:20:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:20:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661699584001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":163670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:20:43] local.INFO: GPS data processed {"connection_id":163670,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:20:43] local.INFO: Acknowledgment sent {"connection_id":163670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:20:47] local.INFO: TCP Data received {"connection_id":162642,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162642,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:20:47] local.INFO: Processing buffer {"connection_id":162642,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:20:47] local.INFO: IMEI packet received {"connection_id":162642,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 16:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":162642,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:21:14] local.INFO: TCP Data received {"connection_id":163670,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:21:14] local.INFO: Processing buffer {"connection_id":163670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:21:14] local.INFO: Packet analysis {"connection_id":163670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03daf"} 
[2026-08-26 16:21:14] local.INFO: Extracted packet for processing {"connection_id":163670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03daf"} 
[2026-08-26 16:21:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661699584001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:21: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-26 16:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787741315000,"timestamp_ms":1787741315000,"timestamp_seconds":1787741315,"priority":1,"record_length":96,"hex_timestamp":"000001a03daf9fb8"} 
[2026-08-26 16: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-26 16: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-26 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 16:21: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-26 16: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-26 16: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-26 16:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661699584001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661699584001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:21:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:21:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661699584001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":163670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:21:15] local.INFO: GPS data processed {"connection_id":163670,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:21:15] local.INFO: Acknowledgment sent {"connection_id":163670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:21:36] local.INFO: TCP Data received {"connection_id":163671,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:21:36] local.INFO: Processing buffer {"connection_id":163671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:21:36] local.INFO: IMEI packet received {"connection_id":163671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":163671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:21:41] local.INFO: TCP Data received {"connection_id":163671,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:21:41] local.INFO: Processing buffer {"connection_id":163671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:21:41] local.INFO: IMEI packet received {"connection_id":163671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":163671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:21:43] local.INFO: TCP Data received {"connection_id":163671,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:21:43] local.INFO: Processing buffer {"connection_id":163671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:21:43] local.INFO: Packet analysis {"connection_id":163671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03daf"} 
[2026-08-26 16:21:43] local.INFO: Extracted packet for processing {"connection_id":163671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03daf"} 
[2026-08-26 16:21:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661699584001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:21: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-26 16:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787741315000,"timestamp_ms":1787741315000,"timestamp_seconds":1787741315,"priority":1,"record_length":96,"hex_timestamp":"000001a03daf9fb8"} 
[2026-08-26 16:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:21: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-26 16:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 16:21: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-26 16:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661699584001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661699584001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:21:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:21:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661699584001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":163671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:21:43] local.INFO: GPS data processed {"connection_id":163671,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:21:43] local.INFO: Acknowledgment sent {"connection_id":163671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:22:14] local.INFO: TCP Data received {"connection_id":163671,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:22:14] local.INFO: Processing buffer {"connection_id":163671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:22:14] local.INFO: Packet analysis {"connection_id":163671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03daf"} 
[2026-08-26 16:22:14] local.INFO: Extracted packet for processing {"connection_id":163671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03daf"} 
[2026-08-26 16:22:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661699584001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:22: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-26 16:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787741315000,"timestamp_ms":1787741315000,"timestamp_seconds":1787741315,"priority":1,"record_length":96,"hex_timestamp":"000001a03daf9fb8"} 
[2026-08-26 16:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16: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-26 16:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 16: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-26 16:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661699584001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661699584001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:22:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:22:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661699584001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":163671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:22:14] local.INFO: GPS data processed {"connection_id":163671,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:22:14] local.INFO: Acknowledgment sent {"connection_id":163671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:22:36] local.INFO: TCP Data received {"connection_id":162414,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:22:36] local.INFO: Processing buffer {"connection_id":162414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:22:36] local.INFO: IMEI packet received {"connection_id":162414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":162414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:22:41] local.INFO: TCP Data received {"connection_id":162414,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:22:41] local.INFO: Processing buffer {"connection_id":162414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:22:41] local.INFO: IMEI packet received {"connection_id":162414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":162414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:22:47] local.INFO: TCP Data received {"connection_id":162414,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:22:47] local.INFO: Processing buffer {"connection_id":162414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:22:47] local.INFO: Packet analysis {"connection_id":162414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03daf"} 
[2026-08-26 16:22:47] local.INFO: Extracted packet for processing {"connection_id":162414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03daf"} 
[2026-08-26 16:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661699584001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:22: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-26 16:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787741315000,"timestamp_ms":1787741315000,"timestamp_seconds":1787741315,"priority":1,"record_length":96,"hex_timestamp":"000001a03daf9fb8"} 
[2026-08-26 16: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-26 16:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 16:22:47] 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-26 16: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-26 16: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-26 16:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661699584001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661699584001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:22:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661699584001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":162414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:22:47] local.INFO: GPS data processed {"connection_id":162414,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:22:47] local.INFO: Acknowledgment sent {"connection_id":162414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:23:18] local.INFO: TCP Data received {"connection_id":162414,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:23:18] local.INFO: Processing buffer {"connection_id":162414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:23:18] local.INFO: Packet analysis {"connection_id":162414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03daf"} 
[2026-08-26 16:23:18] local.INFO: Extracted packet for processing {"connection_id":162414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03daf"} 
[2026-08-26 16:23:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661699584001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:23: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-26 16:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787741315000,"timestamp_ms":1787741315000,"timestamp_seconds":1787741315,"priority":1,"record_length":96,"hex_timestamp":"000001a03daf9fb8"} 
[2026-08-26 16: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-26 16:23: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-26 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 16:23:18] 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-26 16: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-26 16: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-26 16:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661699584001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661699584001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:23:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:23:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661699584001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":162414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:23:18] local.INFO: GPS data processed {"connection_id":162414,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:23:18] local.INFO: Acknowledgment sent {"connection_id":162414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:23:42] local.INFO: TCP Data received {"connection_id":163672,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:23:42] local.INFO: Processing buffer {"connection_id":163672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:23:42] local.INFO: IMEI packet received {"connection_id":163672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":163672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:23:46] local.INFO: TCP Data received {"connection_id":163672,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:23:46] local.INFO: Processing buffer {"connection_id":163672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:23:46] local.INFO: IMEI packet received {"connection_id":163672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":163672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:23:48] local.INFO: TCP Data received {"connection_id":163672,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:23:48] local.INFO: Processing buffer {"connection_id":163672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:23:48] local.INFO: Packet analysis {"connection_id":163672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03daf"} 
[2026-08-26 16:23:48] local.INFO: Extracted packet for processing {"connection_id":163672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03daf"} 
[2026-08-26 16:23:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 16:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661699584001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 16:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787741315000,"timestamp_ms":1787741315000,"timestamp_seconds":1787741315,"priority":1,"record_length":96,"hex_timestamp":"000001a03daf9fb8"} 
[2026-08-26 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-26 16:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 16:23:48] 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-26 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-26 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-26 16:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661699584001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661699584001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:23:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:23:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661699584001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":163672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:23:48] local.INFO: GPS data processed {"connection_id":163672,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:23:48] local.INFO: Acknowledgment sent {"connection_id":163672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:23:52] local.INFO: TCP Data received {"connection_id":163672,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:23:52] local.INFO: Processing buffer {"connection_id":163672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03daf9fb8012d34c14006aa4818000b00e62c..."} 
[2026-08-26 16:23:52] local.INFO: Packet analysis {"connection_id":163672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03daf"} 
[2026-08-26 16:23:52] local.INFO: Extracted packet for processing {"connection_id":163672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03daf"} 
[2026-08-26 16:23:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661699584001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:23: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-26 16:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787741315000,"timestamp_ms":1787741315000,"timestamp_seconds":1787741315,"priority":1,"record_length":96,"hex_timestamp":"000001a03daf9fb8"} 
[2026-08-26 16: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-26 16:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-26 16:23:52] 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-26 16: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-26 16: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-26 16:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661699584001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661699584001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:23:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:23:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661699584001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":163672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:23:52] local.INFO: GPS data processed {"connection_id":163672,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:23:52] local.INFO: Acknowledgment sent {"connection_id":163672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:24:36] local.INFO: TCP Data received {"connection_id":162415,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:24:36] local.INFO: Processing buffer {"connection_id":162415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:24:36] local.INFO: IMEI packet received {"connection_id":162415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":162415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:24:42] local.INFO: TCP Data received {"connection_id":162415,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:24:42] local.INFO: Processing buffer {"connection_id":162415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:24:42] local.INFO: IMEI packet received {"connection_id":162415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":162415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:24:44] local.INFO: TCP Data received {"connection_id":162415,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:24:44] local.INFO: Processing buffer {"connection_id":162415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:24:44] local.INFO: Packet analysis {"connection_id":162415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03db4"} 
[2026-08-26 16:24:44] local.INFO: Extracted packet for processing {"connection_id":162415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03db4"} 
[2026-08-26 16:24:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661776640001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:24: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-26 16:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787741616000,"timestamp_ms":1787741616000,"timestamp_seconds":1787741616,"priority":1,"record_length":96,"hex_timestamp":"000001a03db43780"} 
[2026-08-26 16: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-26 16:24: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-26 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:24: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-26 16: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-26 16: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-26 16:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661776640001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661776640001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:24:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:24:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661776640001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":162415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:24:44] local.INFO: GPS data processed {"connection_id":162415,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:24:44] local.INFO: Acknowledgment sent {"connection_id":162415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:25:15] local.INFO: TCP Data received {"connection_id":162415,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:25:15] local.INFO: Processing buffer {"connection_id":162415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:25:15] local.INFO: Packet analysis {"connection_id":162415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03db4"} 
[2026-08-26 16:25:15] local.INFO: Extracted packet for processing {"connection_id":162415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03db4"} 
[2026-08-26 16:25:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661776640001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:25: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-26 16:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787741616000,"timestamp_ms":1787741616000,"timestamp_seconds":1787741616,"priority":1,"record_length":96,"hex_timestamp":"000001a03db43780"} 
[2026-08-26 16:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16: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-26 16:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:25: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-26 16:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661776640001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661776640001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:25:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:25:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661776640001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":162415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:25:15] local.INFO: GPS data processed {"connection_id":162415,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:25:15] local.INFO: Acknowledgment sent {"connection_id":162415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:25:36] local.INFO: TCP Data received {"connection_id":163673,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:25:36] local.INFO: Processing buffer {"connection_id":163673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:25:36] local.INFO: IMEI packet received {"connection_id":163673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":163673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:25:42] local.INFO: TCP Data received {"connection_id":163673,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:25:42] local.INFO: Processing buffer {"connection_id":163673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:25:42] local.INFO: IMEI packet received {"connection_id":163673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":163673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:25:43] local.INFO: TCP Data received {"connection_id":163673,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:25:43] local.INFO: Processing buffer {"connection_id":163673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:25:43] local.INFO: Packet analysis {"connection_id":163673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03db4"} 
[2026-08-26 16:25:43] local.INFO: Extracted packet for processing {"connection_id":163673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03db4"} 
[2026-08-26 16:25:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661776640001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:25: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-26 16:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787741616000,"timestamp_ms":1787741616000,"timestamp_seconds":1787741616,"priority":1,"record_length":96,"hex_timestamp":"000001a03db43780"} 
[2026-08-26 16:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:25: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-26 16:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:25:43] 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-26 16:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661776640001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661776640001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:25:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:25:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661776640001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":163673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:25:43] local.INFO: GPS data processed {"connection_id":163673,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:25:43] local.INFO: Acknowledgment sent {"connection_id":163673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:26:14] local.INFO: TCP Data received {"connection_id":163673,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:26:14] local.INFO: Processing buffer {"connection_id":163673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:26:14] local.INFO: Packet analysis {"connection_id":163673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03db4"} 
[2026-08-26 16:26:14] local.INFO: Extracted packet for processing {"connection_id":163673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03db4"} 
[2026-08-26 16:26:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661776640001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:26: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-26 16:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787741616000,"timestamp_ms":1787741616000,"timestamp_seconds":1787741616,"priority":1,"record_length":96,"hex_timestamp":"000001a03db43780"} 
[2026-08-26 16:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:26: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-26 16:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16: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-26 16:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661776640001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661776640001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:26:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:26:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661776640001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":163673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:26:14] local.INFO: GPS data processed {"connection_id":163673,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:26:14] local.INFO: Acknowledgment sent {"connection_id":163673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:26:22] local.INFO: TCP Data received {"connection_id":162644,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:26:22] local.INFO: Processing buffer {"connection_id":162644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:26:22] local.INFO: IMEI packet received {"connection_id":162644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 16:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":162644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:26:41] local.INFO: TCP Data received {"connection_id":163674,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:26:41] local.INFO: Processing buffer {"connection_id":163674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:26:41] local.INFO: IMEI packet received {"connection_id":163674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":163674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:26:46] local.INFO: TCP Data received {"connection_id":163674,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:26:46] local.INFO: Processing buffer {"connection_id":163674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:26:46] local.INFO: IMEI packet received {"connection_id":163674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":163674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:26:47] local.INFO: TCP Data received {"connection_id":163674,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:26:47] local.INFO: Processing buffer {"connection_id":163674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:26:47] local.INFO: Packet analysis {"connection_id":163674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03db4"} 
[2026-08-26 16:26:47] local.INFO: Extracted packet for processing {"connection_id":163674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03db4"} 
[2026-08-26 16:26:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661776640001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:26: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-26 16:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787741616000,"timestamp_ms":1787741616000,"timestamp_seconds":1787741616,"priority":1,"record_length":96,"hex_timestamp":"000001a03db43780"} 
[2026-08-26 16: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-26 16:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:26:47] 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-26 16: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-26 16: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-26 16:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661776640001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661776640001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:26:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:26:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661776640001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":163674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:26:47] local.INFO: GPS data processed {"connection_id":163674,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:26:47] local.INFO: Acknowledgment sent {"connection_id":163674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:26:52] local.INFO: TCP Data received {"connection_id":163674,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:26:52] local.INFO: Processing buffer {"connection_id":163674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:26:52] local.INFO: Packet analysis {"connection_id":163674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03db4"} 
[2026-08-26 16:26:52] local.INFO: Extracted packet for processing {"connection_id":163674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03db4"} 
[2026-08-26 16:26:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661776640001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:26: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-26 16:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787741616000,"timestamp_ms":1787741616000,"timestamp_seconds":1787741616,"priority":1,"record_length":96,"hex_timestamp":"000001a03db43780"} 
[2026-08-26 16: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-26 16:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:26:52] 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-26 16: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-26 16: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-26 16:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661776640001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661776640001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:26:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:26:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661776640001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":163674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:26:52] local.INFO: GPS data processed {"connection_id":163674,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:26:52] local.INFO: Acknowledgment sent {"connection_id":163674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:27:36] local.INFO: TCP Data received {"connection_id":162416,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:27:36] local.INFO: Processing buffer {"connection_id":162416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:27:36] local.INFO: IMEI packet received {"connection_id":162416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":162416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:27:42] local.INFO: TCP Data received {"connection_id":162416,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:27:42] local.INFO: Processing buffer {"connection_id":162416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:27:42] local.INFO: IMEI packet received {"connection_id":162416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":162416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:27:43] local.INFO: TCP Data received {"connection_id":162416,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:27:43] local.INFO: Processing buffer {"connection_id":162416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:27:43] local.INFO: Packet analysis {"connection_id":162416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03db4"} 
[2026-08-26 16:27:43] local.INFO: Extracted packet for processing {"connection_id":162416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03db4"} 
[2026-08-26 16:27:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661776640001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:27: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-26 16:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787741616000,"timestamp_ms":1787741616000,"timestamp_seconds":1787741616,"priority":1,"record_length":96,"hex_timestamp":"000001a03db43780"} 
[2026-08-26 16: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-26 16:27: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-26 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:27:43] 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-26 16:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16: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-26 16:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661776640001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661776640001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:27:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:27:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661776640001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":162416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:27:43] local.INFO: GPS data processed {"connection_id":162416,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:27:43] local.INFO: Acknowledgment sent {"connection_id":162416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:28:15] local.INFO: TCP Data received {"connection_id":162416,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:28:15] local.INFO: Processing buffer {"connection_id":162416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:28:15] local.INFO: Packet analysis {"connection_id":162416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03db4"} 
[2026-08-26 16:28:15] local.INFO: Extracted packet for processing {"connection_id":162416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03db4"} 
[2026-08-26 16:28:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661776640001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16: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-26 16:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787741616000,"timestamp_ms":1787741616000,"timestamp_seconds":1787741616,"priority":1,"record_length":96,"hex_timestamp":"000001a03db43780"} 
[2026-08-26 16:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16: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-26 16:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:28: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-26 16:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661776640001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661776640001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:28:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:28:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661776640001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":162416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:28:15] local.INFO: GPS data processed {"connection_id":162416,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:28:15] local.INFO: Acknowledgment sent {"connection_id":162416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:28:36] local.INFO: TCP Data received {"connection_id":162417,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:28:36] local.INFO: Processing buffer {"connection_id":162417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:28:36] local.INFO: IMEI packet received {"connection_id":162417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":162417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:28:41] local.INFO: TCP Data received {"connection_id":162417,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:28:41] local.INFO: Processing buffer {"connection_id":162417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:28:41] local.INFO: IMEI packet received {"connection_id":162417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":162417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:28:42] local.INFO: TCP Data received {"connection_id":162417,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:28:42] local.INFO: Processing buffer {"connection_id":162417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:28:42] local.INFO: Packet analysis {"connection_id":162417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03db4"} 
[2026-08-26 16:28:42] local.INFO: Extracted packet for processing {"connection_id":162417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03db4"} 
[2026-08-26 16:28:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 16:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661776640001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16: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-26 16:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787741616000,"timestamp_ms":1787741616000,"timestamp_seconds":1787741616,"priority":1,"record_length":96,"hex_timestamp":"000001a03db43780"} 
[2026-08-26 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-26 16:28: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-26 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:28: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-26 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-26 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-26 16:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661776640001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661776640001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:28:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:28:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661776640001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":162417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:28:42] local.INFO: GPS data processed {"connection_id":162417,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:28:42] local.INFO: Acknowledgment sent {"connection_id":162417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:29:14] local.INFO: TCP Data received {"connection_id":162417,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:29:14] local.INFO: Processing buffer {"connection_id":162417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03db43780012d34c14006aa4818000800e62a..."} 
[2026-08-26 16:29:14] local.INFO: Packet analysis {"connection_id":162417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03db4"} 
[2026-08-26 16:29:14] local.INFO: Extracted packet for processing {"connection_id":162417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03db4"} 
[2026-08-26 16:29:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661776640001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:29: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-26 16:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787741616000,"timestamp_ms":1787741616000,"timestamp_seconds":1787741616,"priority":1,"record_length":96,"hex_timestamp":"000001a03db43780"} 
[2026-08-26 16:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:29: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-26 16:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:29: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-26 16:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661776640001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661776640001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:29:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:29:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661776640001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":162417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:29:14] local.INFO: GPS data processed {"connection_id":162417,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:29:14] local.INFO: Acknowledgment sent {"connection_id":162417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:29:36] local.INFO: TCP Data received {"connection_id":163675,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:29:36] local.INFO: Processing buffer {"connection_id":163675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:29:36] local.INFO: IMEI packet received {"connection_id":163675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":163675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:29:42] local.INFO: TCP Data received {"connection_id":163675,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:29:42] local.INFO: Processing buffer {"connection_id":163675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:29:42] local.INFO: IMEI packet received {"connection_id":163675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":163675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:29:44] local.INFO: TCP Data received {"connection_id":163675,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:29:44] local.INFO: Processing buffer {"connection_id":163675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:29:44] local.INFO: Packet analysis {"connection_id":163675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03db8"} 
[2026-08-26 16:29:44] local.INFO: Extracted packet for processing {"connection_id":163675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03db8"} 
[2026-08-26 16:29:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661853696001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:29: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-26 16:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787741917000,"timestamp_ms":1787741917000,"timestamp_seconds":1787741917,"priority":1,"record_length":96,"hex_timestamp":"000001a03db8cf48"} 
[2026-08-26 16: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-26 16:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:29: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-26 16: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-26 16: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-26 16:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661853696001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661853696001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:29:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:29:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661853696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":163675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:29:44] local.INFO: GPS data processed {"connection_id":163675,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:29:44] local.INFO: Acknowledgment sent {"connection_id":163675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:30:16] local.INFO: TCP Data received {"connection_id":163675,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:30:16] local.INFO: Processing buffer {"connection_id":163675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:30:16] local.INFO: Packet analysis {"connection_id":163675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03db8"} 
[2026-08-26 16:30:16] local.INFO: Extracted packet for processing {"connection_id":163675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03db8"} 
[2026-08-26 16:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 16:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661853696001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16: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-26 16:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787741917000,"timestamp_ms":1787741917000,"timestamp_seconds":1787741917,"priority":1,"record_length":96,"hex_timestamp":"000001a03db8cf48"} 
[2026-08-26 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-26 16:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:30:16] 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-26 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-26 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-26 16:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661853696001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661853696001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:30:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:30:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661853696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":163675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:30:16] local.INFO: GPS data processed {"connection_id":163675,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:30:16] local.INFO: Acknowledgment sent {"connection_id":163675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:30:41] local.INFO: TCP Data received {"connection_id":162646,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:30:41] local.INFO: Processing buffer {"connection_id":162646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:30:41] local.INFO: IMEI packet received {"connection_id":162646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":162646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:30:46] local.INFO: TCP Data received {"connection_id":162646,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:30:46] local.INFO: Processing buffer {"connection_id":162646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:30:46] local.INFO: IMEI packet received {"connection_id":162646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":162646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:30:48] local.INFO: TCP Data received {"connection_id":162646,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:30:48] local.INFO: Processing buffer {"connection_id":162646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:30:48] local.INFO: Packet analysis {"connection_id":162646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03db8"} 
[2026-08-26 16:30:48] local.INFO: Extracted packet for processing {"connection_id":162646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03db8"} 
[2026-08-26 16:30:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661853696001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 16:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787741917000,"timestamp_ms":1787741917000,"timestamp_seconds":1787741917,"priority":1,"record_length":96,"hex_timestamp":"000001a03db8cf48"} 
[2026-08-26 16: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-26 16:30:48] 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-26 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:30:48] 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-26 16: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-26 16: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-26 16:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661853696001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661853696001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:30:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:30:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661853696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":162646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:30:48] local.INFO: GPS data processed {"connection_id":162646,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:30:48] local.INFO: Acknowledgment sent {"connection_id":162646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:30:53] local.INFO: TCP Data received {"connection_id":162646,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:30:53] local.INFO: Processing buffer {"connection_id":162646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:30:53] local.INFO: Packet analysis {"connection_id":162646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03db8"} 
[2026-08-26 16:30:53] local.INFO: Extracted packet for processing {"connection_id":162646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03db8"} 
[2026-08-26 16:30:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661853696001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 16:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787741917000,"timestamp_ms":1787741917000,"timestamp_seconds":1787741917,"priority":1,"record_length":96,"hex_timestamp":"000001a03db8cf48"} 
[2026-08-26 16: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-26 16:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:30:53] 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-26 16: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-26 16: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-26 16:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":162646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":162646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":162646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661853696001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661853696001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:30:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:30:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661853696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":162646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:30:53] local.INFO: GPS data processed {"connection_id":162646,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:30:53] local.INFO: Acknowledgment sent {"connection_id":162646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:31:36] local.INFO: TCP Data received {"connection_id":163676,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:31:36] local.INFO: Processing buffer {"connection_id":163676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:31:36] local.INFO: IMEI packet received {"connection_id":163676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":163676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:31:42] local.INFO: TCP Data received {"connection_id":163676,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:31:42] local.INFO: Processing buffer {"connection_id":163676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:31:42] local.INFO: IMEI packet received {"connection_id":163676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":163676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:31:44] local.INFO: TCP Data received {"connection_id":163676,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:31:44] local.INFO: Processing buffer {"connection_id":163676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:31:44] local.INFO: Packet analysis {"connection_id":163676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03db8"} 
[2026-08-26 16:31:44] local.INFO: Extracted packet for processing {"connection_id":163676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03db8"} 
[2026-08-26 16:31:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661853696001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:31: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-26 16:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787741917000,"timestamp_ms":1787741917000,"timestamp_seconds":1787741917,"priority":1,"record_length":96,"hex_timestamp":"000001a03db8cf48"} 
[2026-08-26 16: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-26 16:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:31: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-26 16: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-26 16: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-26 16:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661853696001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661853696001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:31:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:31:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661853696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":163676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:31:44] local.INFO: GPS data processed {"connection_id":163676,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:31:44] local.INFO: Acknowledgment sent {"connection_id":163676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:31:57] local.INFO: TCP Data received {"connection_id":162645,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162645,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:31:57] local.INFO: Processing buffer {"connection_id":162645,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:31:57] local.INFO: IMEI packet received {"connection_id":162645,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 16:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":162645,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:32:16] local.INFO: TCP Data received {"connection_id":163676,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:32:16] local.INFO: Processing buffer {"connection_id":163676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:32:16] local.INFO: Packet analysis {"connection_id":163676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03db8"} 
[2026-08-26 16:32:16] local.INFO: Extracted packet for processing {"connection_id":163676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03db8"} 
[2026-08-26 16:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661853696001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:32: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-26 16:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787741917000,"timestamp_ms":1787741917000,"timestamp_seconds":1787741917,"priority":1,"record_length":96,"hex_timestamp":"000001a03db8cf48"} 
[2026-08-26 16:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:32:16] 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-26 16:32:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661853696001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661853696001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:32:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:32:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661853696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":163676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:32:16] local.INFO: GPS data processed {"connection_id":163676,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:32:16] local.INFO: Acknowledgment sent {"connection_id":163676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:32:36] local.INFO: TCP Data received {"connection_id":165014,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:32:36] local.INFO: Processing buffer {"connection_id":165014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:32:36] local.INFO: IMEI packet received {"connection_id":165014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":165014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:32:41] local.INFO: TCP Data received {"connection_id":165014,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:32:41] local.INFO: Processing buffer {"connection_id":165014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:32:41] local.INFO: IMEI packet received {"connection_id":165014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":165014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:32:43] local.INFO: TCP Data received {"connection_id":165014,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:32:43] local.INFO: Processing buffer {"connection_id":165014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:32:43] local.INFO: Packet analysis {"connection_id":165014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03db8"} 
[2026-08-26 16:32:43] local.INFO: Extracted packet for processing {"connection_id":165014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03db8"} 
[2026-08-26 16:32:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661853696001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16: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-26 16:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787741917000,"timestamp_ms":1787741917000,"timestamp_seconds":1787741917,"priority":1,"record_length":96,"hex_timestamp":"000001a03db8cf48"} 
[2026-08-26 16: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-26 16:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16: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":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:32:43] 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-26 16: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-26 16: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-26 16:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661853696001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661853696001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:32:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:32:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661853696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":165014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:32:43] local.INFO: GPS data processed {"connection_id":165014,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:32:43] local.INFO: Acknowledgment sent {"connection_id":165014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:33:14] local.INFO: TCP Data received {"connection_id":165014,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:33:14] local.INFO: Processing buffer {"connection_id":165014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:33:14] local.INFO: Packet analysis {"connection_id":165014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03db8"} 
[2026-08-26 16:33:14] local.INFO: Extracted packet for processing {"connection_id":165014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03db8"} 
[2026-08-26 16:33:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661853696001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:33: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-26 16:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787741917000,"timestamp_ms":1787741917000,"timestamp_seconds":1787741917,"priority":1,"record_length":96,"hex_timestamp":"000001a03db8cf48"} 
[2026-08-26 16: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-26 16:33: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-26 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:33: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-26 16: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-26 16: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-26 16:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661853696001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661853696001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:33:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:33:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661853696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":165014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:33:14] local.INFO: GPS data processed {"connection_id":165014,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:33:14] local.INFO: Acknowledgment sent {"connection_id":165014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:33:36] local.INFO: TCP Data received {"connection_id":162647,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:33:36] local.INFO: Processing buffer {"connection_id":162647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:33:36] local.INFO: IMEI packet received {"connection_id":162647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":162647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:33:42] local.INFO: TCP Data received {"connection_id":162647,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:33:42] local.INFO: Processing buffer {"connection_id":162647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:33:42] local.INFO: IMEI packet received {"connection_id":162647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":162647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:33:43] local.INFO: TCP Data received {"connection_id":162647,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:33:43] local.INFO: Processing buffer {"connection_id":162647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:33:43] local.INFO: Packet analysis {"connection_id":162647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03db8"} 
[2026-08-26 16:33:43] local.INFO: Extracted packet for processing {"connection_id":162647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03db8"} 
[2026-08-26 16:33:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661853696001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:33: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-26 16:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787741917000,"timestamp_ms":1787741917000,"timestamp_seconds":1787741917,"priority":1,"record_length":96,"hex_timestamp":"000001a03db8cf48"} 
[2026-08-26 16:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:33:43] 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-26 16:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661853696001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661853696001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:33:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:33:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661853696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":162647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:33:43] local.INFO: GPS data processed {"connection_id":162647,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:33:43] local.INFO: Acknowledgment sent {"connection_id":162647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:34:14] local.INFO: TCP Data received {"connection_id":162647,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:34:14] local.INFO: Processing buffer {"connection_id":162647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03db8cf48012d34c14006aa4818000500e629..."} 
[2026-08-26 16:34:14] local.INFO: Packet analysis {"connection_id":162647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03db8"} 
[2026-08-26 16:34:14] local.INFO: Extracted packet for processing {"connection_id":162647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03db8"} 
[2026-08-26 16:34:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661853696001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:34: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-26 16:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787741917000,"timestamp_ms":1787741917000,"timestamp_seconds":1787741917,"priority":1,"record_length":96,"hex_timestamp":"000001a03db8cf48"} 
[2026-08-26 16:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:34: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-26 16:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:34: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-26 16:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661853696001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661853696001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:34:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:34:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661853696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":162647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:34:14] local.INFO: GPS data processed {"connection_id":162647,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:34:14] local.INFO: Acknowledgment sent {"connection_id":162647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:34:42] local.INFO: TCP Data received {"connection_id":162419,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:34:42] local.INFO: Processing buffer {"connection_id":162419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:34:42] local.INFO: IMEI packet received {"connection_id":162419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":162419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:34:46] local.INFO: TCP Data received {"connection_id":162419,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:34:46] local.INFO: Processing buffer {"connection_id":162419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:34:46] local.INFO: IMEI packet received {"connection_id":162419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":162419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:34:48] local.INFO: TCP Data received {"connection_id":162419,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:34:48] local.INFO: Processing buffer {"connection_id":162419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:34:48] local.INFO: Packet analysis {"connection_id":162419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dbd"} 
[2026-08-26 16:34:48] local.INFO: Extracted packet for processing {"connection_id":162419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dbd"} 
[2026-08-26 16:34:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 16:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661930752001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 16:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787742218000,"timestamp_ms":1787742218000,"timestamp_seconds":1787742218,"priority":1,"record_length":96,"hex_timestamp":"000001a03dbd6710"} 
[2026-08-26 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-26 16:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 16:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 16:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661930752001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661930752001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:34:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:34:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661930752001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":162419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:34:48] local.INFO: GPS data processed {"connection_id":162419,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:34:48] local.INFO: Acknowledgment sent {"connection_id":162419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:35:19] local.INFO: TCP Data received {"connection_id":162419,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:35:19] local.INFO: Processing buffer {"connection_id":162419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:35:19] local.INFO: Packet analysis {"connection_id":162419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dbd"} 
[2026-08-26 16:35:19] local.INFO: Extracted packet for processing {"connection_id":162419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dbd"} 
[2026-08-26 16:35:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661930752001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 16:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787742218000,"timestamp_ms":1787742218000,"timestamp_seconds":1787742218,"priority":1,"record_length":96,"hex_timestamp":"000001a03dbd6710"} 
[2026-08-26 16:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 16:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 16:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661930752001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661930752001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:35:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:35:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661930752001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":162419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:35:19] local.INFO: GPS data processed {"connection_id":162419,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:35:19] local.INFO: Acknowledgment sent {"connection_id":162419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:35:36] local.INFO: TCP Data received {"connection_id":162648,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:35:36] local.INFO: Processing buffer {"connection_id":162648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:35:36] local.INFO: IMEI packet received {"connection_id":162648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":162648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:35:42] local.INFO: TCP Data received {"connection_id":162648,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:35:42] local.INFO: Processing buffer {"connection_id":162648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:35:42] local.INFO: IMEI packet received {"connection_id":162648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":162648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:35:43] local.INFO: TCP Data received {"connection_id":162648,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:35:43] local.INFO: Processing buffer {"connection_id":162648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:35:43] local.INFO: Packet analysis {"connection_id":162648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dbd"} 
[2026-08-26 16:35:43] local.INFO: Extracted packet for processing {"connection_id":162648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dbd"} 
[2026-08-26 16:35:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661930752001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16: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-26 16:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787742218000,"timestamp_ms":1787742218000,"timestamp_seconds":1787742218,"priority":1,"record_length":96,"hex_timestamp":"000001a03dbd6710"} 
[2026-08-26 16:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:35: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-26 16:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 16: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-26 16:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661930752001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661930752001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:35:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:35:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661930752001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":162648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:35:43] local.INFO: GPS data processed {"connection_id":162648,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:35:43] local.INFO: Acknowledgment sent {"connection_id":162648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:36:14] local.INFO: TCP Data received {"connection_id":162648,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:36:14] local.INFO: Processing buffer {"connection_id":162648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:36:14] local.INFO: Packet analysis {"connection_id":162648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dbd"} 
[2026-08-26 16:36:14] local.INFO: Extracted packet for processing {"connection_id":162648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dbd"} 
[2026-08-26 16:36:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 16:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661930752001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:36: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-26 16:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787742218000,"timestamp_ms":1787742218000,"timestamp_seconds":1787742218,"priority":1,"record_length":96,"hex_timestamp":"000001a03dbd6710"} 
[2026-08-26 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-26 16:36: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-26 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 16:36: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-26 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-26 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-26 16:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661930752001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661930752001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:36:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:36:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661930752001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":162648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:36:14] local.INFO: GPS data processed {"connection_id":162648,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:36:14] local.INFO: Acknowledgment sent {"connection_id":162648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:36:36] local.INFO: TCP Data received {"connection_id":162649,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:36:36] local.INFO: Processing buffer {"connection_id":162649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:36:36] local.INFO: IMEI packet received {"connection_id":162649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":162649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:36:41] local.INFO: TCP Data received {"connection_id":162649,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:36:41] local.INFO: Processing buffer {"connection_id":162649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:36:41] local.INFO: IMEI packet received {"connection_id":162649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":162649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:36:43] local.INFO: TCP Data received {"connection_id":162649,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:36:43] local.INFO: Processing buffer {"connection_id":162649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:36:43] local.INFO: Packet analysis {"connection_id":162649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dbd"} 
[2026-08-26 16:36:43] local.INFO: Extracted packet for processing {"connection_id":162649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dbd"} 
[2026-08-26 16:36:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661930752001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:36: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-26 16:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787742218000,"timestamp_ms":1787742218000,"timestamp_seconds":1787742218,"priority":1,"record_length":96,"hex_timestamp":"000001a03dbd6710"} 
[2026-08-26 16:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:36: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-26 16:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 16:36: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-26 16:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661930752001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661930752001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:36:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:36:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661930752001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":162649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:36:43] local.INFO: GPS data processed {"connection_id":162649,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:36:43] local.INFO: Acknowledgment sent {"connection_id":162649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:37:15] local.INFO: TCP Data received {"connection_id":162649,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:37:15] local.INFO: Processing buffer {"connection_id":162649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:37:15] local.INFO: Packet analysis {"connection_id":162649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dbd"} 
[2026-08-26 16:37:15] local.INFO: Extracted packet for processing {"connection_id":162649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dbd"} 
[2026-08-26 16:37:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661930752001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:37: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-26 16:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787742218000,"timestamp_ms":1787742218000,"timestamp_seconds":1787742218,"priority":1,"record_length":96,"hex_timestamp":"000001a03dbd6710"} 
[2026-08-26 16:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 16:37: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-26 16:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661930752001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661930752001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:37:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:37:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661930752001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":162649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:37:15] local.INFO: GPS data processed {"connection_id":162649,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:37:15] local.INFO: Acknowledgment sent {"connection_id":162649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:37:32] local.INFO: TCP Data received {"connection_id":162418,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:37:32] local.INFO: Processing buffer {"connection_id":162418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:37:32] local.INFO: IMEI packet received {"connection_id":162418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 16:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":162418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:37:36] local.INFO: TCP Data received {"connection_id":165015,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:37:36] local.INFO: Processing buffer {"connection_id":165015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:37:36] local.INFO: IMEI packet received {"connection_id":165015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":165015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:37:42] local.INFO: TCP Data received {"connection_id":165015,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:37:42] local.INFO: Processing buffer {"connection_id":165015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:37:42] local.INFO: IMEI packet received {"connection_id":165015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":165015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:37:43] local.INFO: TCP Data received {"connection_id":165015,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:37:43] local.INFO: Processing buffer {"connection_id":165015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:37:43] local.INFO: Packet analysis {"connection_id":165015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dbd"} 
[2026-08-26 16:37:43] local.INFO: Extracted packet for processing {"connection_id":165015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dbd"} 
[2026-08-26 16:37:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661930752001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:37: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-26 16:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787742218000,"timestamp_ms":1787742218000,"timestamp_seconds":1787742218,"priority":1,"record_length":96,"hex_timestamp":"000001a03dbd6710"} 
[2026-08-26 16: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-26 16:37: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-26 16: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 16:37: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-26 16: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-26 16: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-26 16:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661930752001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661930752001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:37:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:37:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661930752001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":165015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:37:43] local.INFO: GPS data processed {"connection_id":165015,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:37:43] local.INFO: Acknowledgment sent {"connection_id":165015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:38:02] local.INFO: TCP Data received {"connection_id":163677,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:38:02] local.INFO: Processing buffer {"connection_id":163677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:38:02] local.INFO: IMEI packet received {"connection_id":163677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 16:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":163677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:38:15] local.INFO: TCP Data received {"connection_id":165015,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:38:15] local.INFO: Processing buffer {"connection_id":165015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:38:15] local.INFO: Packet analysis {"connection_id":165015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dbd"} 
[2026-08-26 16:38:15] local.INFO: Extracted packet for processing {"connection_id":165015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dbd"} 
[2026-08-26 16:38:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661930752001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:38: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-26 16:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787742218000,"timestamp_ms":1787742218000,"timestamp_seconds":1787742218,"priority":1,"record_length":96,"hex_timestamp":"000001a03dbd6710"} 
[2026-08-26 16:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:38: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-26 16:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 16:38: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-26 16:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":165015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":165015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":165015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661930752001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661930752001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:38:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:38:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661930752001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":165015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:38:15] local.INFO: GPS data processed {"connection_id":165015,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:38:15] local.INFO: Acknowledgment sent {"connection_id":165015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:38:41] local.INFO: TCP Data received {"connection_id":162650,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:38:41] local.INFO: Processing buffer {"connection_id":162650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:38:41] local.INFO: IMEI packet received {"connection_id":162650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":162650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:38:46] local.INFO: TCP Data received {"connection_id":162650,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:38:46] local.INFO: Processing buffer {"connection_id":162650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:38:46] local.INFO: IMEI packet received {"connection_id":162650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":162650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:38:47] local.INFO: TCP Data received {"connection_id":162650,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:38:47] local.INFO: Processing buffer {"connection_id":162650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:38:47] local.INFO: Packet analysis {"connection_id":162650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dbd"} 
[2026-08-26 16:38:47] local.INFO: Extracted packet for processing {"connection_id":162650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dbd"} 
[2026-08-26 16:38:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661930752001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:38: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-26 16:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787742218000,"timestamp_ms":1787742218000,"timestamp_seconds":1787742218,"priority":1,"record_length":96,"hex_timestamp":"000001a03dbd6710"} 
[2026-08-26 16:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 16:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 16:38:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661930752001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661930752001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:38:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:38:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661930752001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":162650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:38:47] local.INFO: GPS data processed {"connection_id":162650,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:38:47] local.INFO: Acknowledgment sent {"connection_id":162650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:38:52] local.INFO: TCP Data received {"connection_id":162650,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:38:52] local.INFO: Processing buffer {"connection_id":162650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dbd6710012d34c14006aa4818000700e629..."} 
[2026-08-26 16:38:52] local.INFO: Packet analysis {"connection_id":162650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dbd"} 
[2026-08-26 16:38:52] local.INFO: Extracted packet for processing {"connection_id":162650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dbd"} 
[2026-08-26 16:38:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457661930752001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:38: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-26 16:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787742218000,"timestamp_ms":1787742218000,"timestamp_seconds":1787742218,"priority":1,"record_length":96,"hex_timestamp":"000001a03dbd6710"} 
[2026-08-26 16: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-26 16:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 16:38: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-26 16: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-26 16: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-26 16:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457661930752001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457661930752001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:38:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:38:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457661930752001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":162650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:38:52] local.INFO: GPS data processed {"connection_id":162650,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:38:52] local.INFO: Acknowledgment sent {"connection_id":162650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:39:36] local.INFO: TCP Data received {"connection_id":163679,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:39:36] local.INFO: Processing buffer {"connection_id":163679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:39:36] local.INFO: IMEI packet received {"connection_id":163679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":163679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:39:42] local.INFO: TCP Data received {"connection_id":163679,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:39:42] local.INFO: Processing buffer {"connection_id":163679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:39:42] local.INFO: IMEI packet received {"connection_id":163679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":163679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:39:43] local.INFO: TCP Data received {"connection_id":163679,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:39:43] local.INFO: Processing buffer {"connection_id":163679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:39:43] local.INFO: Packet analysis {"connection_id":163679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dc1"} 
[2026-08-26 16:39:43] local.INFO: Extracted packet for processing {"connection_id":163679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dc1"} 
[2026-08-26 16:39:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662007808001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:39: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-26 16:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787742519000,"timestamp_ms":1787742519000,"timestamp_seconds":1787742519,"priority":1,"record_length":96,"hex_timestamp":"000001a03dc1fed8"} 
[2026-08-26 16: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-26 16:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 16:39:43] 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-26 16: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-26 16: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-26 16:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662007808001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662007808001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:39:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:39:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662007808001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":163679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:39:43] local.INFO: GPS data processed {"connection_id":163679,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:39:43] local.INFO: Acknowledgment sent {"connection_id":163679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:40:14] local.INFO: TCP Data received {"connection_id":163679,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:40:14] local.INFO: Processing buffer {"connection_id":163679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:40:14] local.INFO: Packet analysis {"connection_id":163679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dc1"} 
[2026-08-26 16:40:14] local.INFO: Extracted packet for processing {"connection_id":163679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dc1"} 
[2026-08-26 16:40:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662007808001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:40: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-26 16:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787742519000,"timestamp_ms":1787742519000,"timestamp_seconds":1787742519,"priority":1,"record_length":96,"hex_timestamp":"000001a03dc1fed8"} 
[2026-08-26 16: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-26 16:40: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-26 16: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 16:40: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-26 16: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-26 16: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-26 16:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662007808001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662007808001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:40:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:40:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662007808001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":163679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:40:14] local.INFO: GPS data processed {"connection_id":163679,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:40:14] local.INFO: Acknowledgment sent {"connection_id":163679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:40:37] local.INFO: TCP Data received {"connection_id":165016,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:40:37] local.INFO: Processing buffer {"connection_id":165016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:40:37] local.INFO: IMEI packet received {"connection_id":165016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":165016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:40:41] local.INFO: TCP Data received {"connection_id":165016,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:40:41] local.INFO: Processing buffer {"connection_id":165016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:40:41] local.INFO: IMEI packet received {"connection_id":165016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":165016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:40:42] local.INFO: TCP Data received {"connection_id":165016,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:40:42] local.INFO: Processing buffer {"connection_id":165016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:40:42] local.INFO: Packet analysis {"connection_id":165016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dc1"} 
[2026-08-26 16:40:42] local.INFO: Extracted packet for processing {"connection_id":165016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dc1"} 
[2026-08-26 16:40:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 16:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662007808001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:40: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-26 16:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787742519000,"timestamp_ms":1787742519000,"timestamp_seconds":1787742519,"priority":1,"record_length":96,"hex_timestamp":"000001a03dc1fed8"} 
[2026-08-26 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-26 16:40: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-26 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 16:40:42] 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-26 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-26 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-26 16:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662007808001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662007808001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:40:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:40:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662007808001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":165016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:40:42] local.INFO: GPS data processed {"connection_id":165016,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:40:42] local.INFO: Acknowledgment sent {"connection_id":165016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:41:14] local.INFO: TCP Data received {"connection_id":165016,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:41:14] local.INFO: Processing buffer {"connection_id":165016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:41:14] local.INFO: Packet analysis {"connection_id":165016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dc1"} 
[2026-08-26 16:41:14] local.INFO: Extracted packet for processing {"connection_id":165016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dc1"} 
[2026-08-26 16:41:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662007808001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:41: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-26 16:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787742519000,"timestamp_ms":1787742519000,"timestamp_seconds":1787742519,"priority":1,"record_length":96,"hex_timestamp":"000001a03dc1fed8"} 
[2026-08-26 16: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-26 16:41: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-26 16: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 16:41: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-26 16: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-26 16: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-26 16:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662007808001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662007808001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:41:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:41:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662007808001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":165016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:41:14] local.INFO: GPS data processed {"connection_id":165016,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:41:14] local.INFO: Acknowledgment sent {"connection_id":165016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:41:36] local.INFO: TCP Data received {"connection_id":163680,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:41:36] local.INFO: Processing buffer {"connection_id":163680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:41:36] local.INFO: IMEI packet received {"connection_id":163680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":163680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:41:42] local.INFO: TCP Data received {"connection_id":163680,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:41:42] local.INFO: Processing buffer {"connection_id":163680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:41:42] local.INFO: IMEI packet received {"connection_id":163680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":163680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:41:43] local.INFO: TCP Data received {"connection_id":163680,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:41:43] local.INFO: Processing buffer {"connection_id":163680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:41:43] local.INFO: Packet analysis {"connection_id":163680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dc1"} 
[2026-08-26 16:41:43] local.INFO: Extracted packet for processing {"connection_id":163680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dc1"} 
[2026-08-26 16:41:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662007808001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:41: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-26 16:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787742519000,"timestamp_ms":1787742519000,"timestamp_seconds":1787742519,"priority":1,"record_length":96,"hex_timestamp":"000001a03dc1fed8"} 
[2026-08-26 16:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:41: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-26 16:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 16:41:43] 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-26 16:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662007808001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662007808001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:41:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:41:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662007808001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":163680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:41:43] local.INFO: GPS data processed {"connection_id":163680,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:41:43] local.INFO: Acknowledgment sent {"connection_id":163680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:42:15] local.INFO: TCP Data received {"connection_id":163680,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:42:15] local.INFO: Processing buffer {"connection_id":163680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:42:15] local.INFO: Packet analysis {"connection_id":163680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dc1"} 
[2026-08-26 16:42:15] local.INFO: Extracted packet for processing {"connection_id":163680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dc1"} 
[2026-08-26 16:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662007808001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16: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-26 16:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787742519000,"timestamp_ms":1787742519000,"timestamp_seconds":1787742519,"priority":1,"record_length":96,"hex_timestamp":"000001a03dc1fed8"} 
[2026-08-26 16:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16: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-26 16:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 16: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-26 16:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662007808001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662007808001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:42:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662007808001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":163680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:42:15] local.INFO: GPS data processed {"connection_id":163680,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:42:15] local.INFO: Acknowledgment sent {"connection_id":163680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:42:36] local.INFO: TCP Data received {"connection_id":162420,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:42:36] local.INFO: Processing buffer {"connection_id":162420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:42:36] local.INFO: IMEI packet received {"connection_id":162420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":162420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:42:41] local.INFO: TCP Data received {"connection_id":162420,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:42:41] local.INFO: Processing buffer {"connection_id":162420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:42:41] local.INFO: IMEI packet received {"connection_id":162420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":162420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:42:42] local.INFO: TCP Data received {"connection_id":162420,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:42:42] local.INFO: Processing buffer {"connection_id":162420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:42:42] local.INFO: Packet analysis {"connection_id":162420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dc1"} 
[2026-08-26 16:42:42] local.INFO: Extracted packet for processing {"connection_id":162420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dc1"} 
[2026-08-26 16:42:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662007808001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:42: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-26 16:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787742519000,"timestamp_ms":1787742519000,"timestamp_seconds":1787742519,"priority":1,"record_length":96,"hex_timestamp":"000001a03dc1fed8"} 
[2026-08-26 16: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-26 16:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 16:42:42] 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-26 16: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-26 16: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-26 16:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662007808001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662007808001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:42:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:42:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662007808001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":162420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:42:42] local.INFO: GPS data processed {"connection_id":162420,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:42:42] local.INFO: Acknowledgment sent {"connection_id":162420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:43:14] local.INFO: TCP Data received {"connection_id":162420,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:43:14] local.INFO: Processing buffer {"connection_id":162420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:43:14] local.INFO: Packet analysis {"connection_id":162420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dc1"} 
[2026-08-26 16:43:14] local.INFO: Extracted packet for processing {"connection_id":162420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dc1"} 
[2026-08-26 16:43:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662007808001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:43: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-26 16:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787742519000,"timestamp_ms":1787742519000,"timestamp_seconds":1787742519,"priority":1,"record_length":96,"hex_timestamp":"000001a03dc1fed8"} 
[2026-08-26 16:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:43: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-26 16:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 16:43: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-26 16:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662007808001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662007808001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:43:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:43:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662007808001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":162420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:43:14] local.INFO: GPS data processed {"connection_id":162420,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:43:14] local.INFO: Acknowledgment sent {"connection_id":162420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:43:22] local.INFO: TCP Data received {"connection_id":162651,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:43:22] local.INFO: Processing buffer {"connection_id":162651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:43:22] local.INFO: IMEI packet received {"connection_id":162651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 16:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":162651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:43:42] local.INFO: TCP Data received {"connection_id":162652,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:43:42] local.INFO: Processing buffer {"connection_id":162652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:43:42] local.INFO: IMEI packet received {"connection_id":162652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":162652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:43:46] local.INFO: TCP Data received {"connection_id":162652,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:43:46] local.INFO: Processing buffer {"connection_id":162652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:43:46] local.INFO: IMEI packet received {"connection_id":162652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":162652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:43:47] local.INFO: TCP Data received {"connection_id":162652,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:43:47] local.INFO: Processing buffer {"connection_id":162652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:43:47] local.INFO: Packet analysis {"connection_id":162652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dc1"} 
[2026-08-26 16:43:47] local.INFO: Extracted packet for processing {"connection_id":162652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dc1"} 
[2026-08-26 16:43:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662007808001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:43: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-26 16:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787742519000,"timestamp_ms":1787742519000,"timestamp_seconds":1787742519,"priority":1,"record_length":96,"hex_timestamp":"000001a03dc1fed8"} 
[2026-08-26 16:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16: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-26 16:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 16:43:47] 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-26 16:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662007808001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662007808001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:43:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:43:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662007808001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":162652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:43:47] local.INFO: GPS data processed {"connection_id":162652,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:43:47] local.INFO: Acknowledgment sent {"connection_id":162652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:44:19] local.INFO: TCP Data received {"connection_id":162652,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:44:19] local.INFO: Processing buffer {"connection_id":162652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dc1fed8012d34c14006aa4818000700e629..."} 
[2026-08-26 16:44:19] local.INFO: Packet analysis {"connection_id":162652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dc1"} 
[2026-08-26 16:44:19] local.INFO: Extracted packet for processing {"connection_id":162652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dc1"} 
[2026-08-26 16:44:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662007808001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 16:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787742519000,"timestamp_ms":1787742519000,"timestamp_seconds":1787742519,"priority":1,"record_length":96,"hex_timestamp":"000001a03dc1fed8"} 
[2026-08-26 16:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:44: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-26 16:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 16:44:19] 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-26 16:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662007808001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662007808001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:44:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:44:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662007808001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":162652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:44:19] local.INFO: GPS data processed {"connection_id":162652,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:44:19] local.INFO: Acknowledgment sent {"connection_id":162652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:44:36] local.INFO: TCP Data received {"connection_id":162421,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:44:36] local.INFO: Processing buffer {"connection_id":162421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:44:36] local.INFO: IMEI packet received {"connection_id":162421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":162421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:44:42] local.INFO: TCP Data received {"connection_id":162421,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:44:42] local.INFO: Processing buffer {"connection_id":162421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:44:42] local.INFO: IMEI packet received {"connection_id":162421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":162421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:44:43] local.INFO: TCP Data received {"connection_id":162421,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:44:43] local.INFO: Processing buffer {"connection_id":162421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:44:43] local.INFO: Packet analysis {"connection_id":162421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dc6"} 
[2026-08-26 16:44:43] local.INFO: Extracted packet for processing {"connection_id":162421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dc6"} 
[2026-08-26 16:44:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662084864001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:44: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-26 16:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787742820000,"timestamp_ms":1787742820000,"timestamp_seconds":1787742820,"priority":1,"record_length":96,"hex_timestamp":"000001a03dc696a0"} 
[2026-08-26 16:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:44: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-26 16:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 16:44:43] 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-26 16:44:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662084864001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662084864001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:44:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:44:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662084864001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":162421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:44:43] local.INFO: GPS data processed {"connection_id":162421,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:44:43] local.INFO: Acknowledgment sent {"connection_id":162421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:45:15] local.INFO: TCP Data received {"connection_id":162421,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:45:15] local.INFO: Processing buffer {"connection_id":162421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:45:15] local.INFO: Packet analysis {"connection_id":162421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dc6"} 
[2026-08-26 16:45:15] local.INFO: Extracted packet for processing {"connection_id":162421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dc6"} 
[2026-08-26 16:45:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662084864001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:45: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-26 16:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787742820000,"timestamp_ms":1787742820000,"timestamp_seconds":1787742820,"priority":1,"record_length":96,"hex_timestamp":"000001a03dc696a0"} 
[2026-08-26 16:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:45: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-26 16:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 16:45: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-26 16:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662084864001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662084864001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:45:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:45:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662084864001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":162421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:45:15] local.INFO: GPS data processed {"connection_id":162421,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:45:15] local.INFO: Acknowledgment sent {"connection_id":162421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:45:36] local.INFO: TCP Data received {"connection_id":165017,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:45:36] local.INFO: Processing buffer {"connection_id":165017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:45:36] local.INFO: IMEI packet received {"connection_id":165017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":165017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:45:42] local.INFO: TCP Data received {"connection_id":165017,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:45:42] local.INFO: Processing buffer {"connection_id":165017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:45:42] local.INFO: IMEI packet received {"connection_id":165017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":165017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:45:43] local.INFO: TCP Data received {"connection_id":165017,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:45:43] local.INFO: Processing buffer {"connection_id":165017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:45:43] local.INFO: Packet analysis {"connection_id":165017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dc6"} 
[2026-08-26 16:45:43] local.INFO: Extracted packet for processing {"connection_id":165017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dc6"} 
[2026-08-26 16:45:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662084864001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:45: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-26 16:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787742820000,"timestamp_ms":1787742820000,"timestamp_seconds":1787742820,"priority":1,"record_length":96,"hex_timestamp":"000001a03dc696a0"} 
[2026-08-26 16:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:45: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-26 16:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 16:45:43] 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-26 16:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662084864001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662084864001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:45:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:45:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662084864001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":165017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:45:43] local.INFO: GPS data processed {"connection_id":165017,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:45:43] local.INFO: Acknowledgment sent {"connection_id":165017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:46:15] local.INFO: TCP Data received {"connection_id":165017,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:46:15] local.INFO: Processing buffer {"connection_id":165017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:46:15] local.INFO: Packet analysis {"connection_id":165017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dc6"} 
[2026-08-26 16:46:15] local.INFO: Extracted packet for processing {"connection_id":165017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dc6"} 
[2026-08-26 16:46:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662084864001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:46: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-26 16:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787742820000,"timestamp_ms":1787742820000,"timestamp_seconds":1787742820,"priority":1,"record_length":96,"hex_timestamp":"000001a03dc696a0"} 
[2026-08-26 16:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:46: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-26 16:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 16:46: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-26 16:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":165017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":165017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":165017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662084864001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662084864001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:46:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:46:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662084864001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":165017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:46:15] local.INFO: GPS data processed {"connection_id":165017,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:46:15] local.INFO: Acknowledgment sent {"connection_id":165017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:46:36] local.INFO: TCP Data received {"connection_id":162653,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:46:36] local.INFO: Processing buffer {"connection_id":162653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:46:36] local.INFO: IMEI packet received {"connection_id":162653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":162653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:46:41] local.INFO: TCP Data received {"connection_id":162653,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:46:41] local.INFO: Processing buffer {"connection_id":162653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:46:41] local.INFO: IMEI packet received {"connection_id":162653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":162653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:46:42] local.INFO: TCP Data received {"connection_id":162653,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:46:42] local.INFO: Processing buffer {"connection_id":162653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:46:42] local.INFO: Packet analysis {"connection_id":162653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dc6"} 
[2026-08-26 16:46:42] local.INFO: Extracted packet for processing {"connection_id":162653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dc6"} 
[2026-08-26 16:46:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662084864001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:46: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-26 16:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787742820000,"timestamp_ms":1787742820000,"timestamp_seconds":1787742820,"priority":1,"record_length":96,"hex_timestamp":"000001a03dc696a0"} 
[2026-08-26 16:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:46: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-26 16:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 16:46:42] 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-26 16:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662084864001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662084864001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:46:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:46:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662084864001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":162653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:46:42] local.INFO: GPS data processed {"connection_id":162653,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:46:42] local.INFO: Acknowledgment sent {"connection_id":162653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:47:14] local.INFO: TCP Data received {"connection_id":162653,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:47:14] local.INFO: Processing buffer {"connection_id":162653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:47:14] local.INFO: Packet analysis {"connection_id":162653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dc6"} 
[2026-08-26 16:47:14] local.INFO: Extracted packet for processing {"connection_id":162653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dc6"} 
[2026-08-26 16:47:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662084864001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:47: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-26 16:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787742820000,"timestamp_ms":1787742820000,"timestamp_seconds":1787742820,"priority":1,"record_length":96,"hex_timestamp":"000001a03dc696a0"} 
[2026-08-26 16:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16: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-26 16:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 16:47: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-26 16:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662084864001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662084864001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:47:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:47:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662084864001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":162653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:47:14] local.INFO: GPS data processed {"connection_id":162653,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:47:14] local.INFO: Acknowledgment sent {"connection_id":162653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:47:41] local.INFO: TCP Data received {"connection_id":163681,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:47:41] local.INFO: Processing buffer {"connection_id":163681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:47:41] local.INFO: IMEI packet received {"connection_id":163681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":163681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:47:46] local.INFO: TCP Data received {"connection_id":163681,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:47:46] local.INFO: Processing buffer {"connection_id":163681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:47:46] local.INFO: IMEI packet received {"connection_id":163681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":163681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:47:47] local.INFO: TCP Data received {"connection_id":163681,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:47:47] local.INFO: Processing buffer {"connection_id":163681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:47:47] local.INFO: Packet analysis {"connection_id":163681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dc6"} 
[2026-08-26 16:47:47] local.INFO: Extracted packet for processing {"connection_id":163681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dc6"} 
[2026-08-26 16:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662084864001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:47: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-26 16:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787742820000,"timestamp_ms":1787742820000,"timestamp_seconds":1787742820,"priority":1,"record_length":96,"hex_timestamp":"000001a03dc696a0"} 
[2026-08-26 16: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-26 16:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 16:47:47] 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-26 16: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-26 16: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-26 16:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662084864001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662084864001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:47:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:47:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662084864001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":163681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:47:47] local.INFO: GPS data processed {"connection_id":163681,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:47:47] local.INFO: Acknowledgment sent {"connection_id":163681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:47:52] local.INFO: TCP Data received {"connection_id":163681,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:47:52] local.INFO: Processing buffer {"connection_id":163681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:47:52] local.INFO: Packet analysis {"connection_id":163681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dc6"} 
[2026-08-26 16:47:52] local.INFO: Extracted packet for processing {"connection_id":163681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dc6"} 
[2026-08-26 16:47:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662084864001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:47: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-26 16:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787742820000,"timestamp_ms":1787742820000,"timestamp_seconds":1787742820,"priority":1,"record_length":96,"hex_timestamp":"000001a03dc696a0"} 
[2026-08-26 16:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 16:47:52] 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-26 16:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662084864001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662084864001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:47:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:47:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662084864001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":163681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:47:52] local.INFO: GPS data processed {"connection_id":163681,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:47:52] local.INFO: Acknowledgment sent {"connection_id":163681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:48:36] local.INFO: TCP Data received {"connection_id":162422,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:48:36] local.INFO: Processing buffer {"connection_id":162422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:48:36] local.INFO: IMEI packet received {"connection_id":162422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":162422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:48:41] local.INFO: TCP Data received {"connection_id":162422,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:48:41] local.INFO: Processing buffer {"connection_id":162422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:48:41] local.INFO: IMEI packet received {"connection_id":162422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":162422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:48:43] local.INFO: TCP Data received {"connection_id":162422,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:48:43] local.INFO: Processing buffer {"connection_id":162422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:48:43] local.INFO: Packet analysis {"connection_id":162422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dc6"} 
[2026-08-26 16:48:43] local.INFO: Extracted packet for processing {"connection_id":162422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dc6"} 
[2026-08-26 16:48:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662084864001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:48: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-26 16:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787742820000,"timestamp_ms":1787742820000,"timestamp_seconds":1787742820,"priority":1,"record_length":96,"hex_timestamp":"000001a03dc696a0"} 
[2026-08-26 16:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:48: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-26 16:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 16:48:43] 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-26 16:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662084864001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662084864001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:48:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:48:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662084864001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":162422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:48:43] local.INFO: GPS data processed {"connection_id":162422,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:48:43] local.INFO: Acknowledgment sent {"connection_id":162422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:48:57] local.INFO: TCP Data received {"connection_id":163682,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:48:57] local.INFO: Processing buffer {"connection_id":163682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:48:57] local.INFO: IMEI packet received {"connection_id":163682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 16:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":163682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:49:15] local.INFO: TCP Data received {"connection_id":162422,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:49:15] local.INFO: Processing buffer {"connection_id":162422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dc696a0012d34c14006aa4818000900e629..."} 
[2026-08-26 16:49:15] local.INFO: Packet analysis {"connection_id":162422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dc6"} 
[2026-08-26 16:49:15] local.INFO: Extracted packet for processing {"connection_id":162422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dc6"} 
[2026-08-26 16:49:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662084864001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16: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-26 16:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787742820000,"timestamp_ms":1787742820000,"timestamp_seconds":1787742820,"priority":1,"record_length":96,"hex_timestamp":"000001a03dc696a0"} 
[2026-08-26 16: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-26 16:49: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-26 16: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 16:49: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-26 16: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-26 16: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-26 16:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662084864001,"66":25462,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662084864001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:49:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:49:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662084864001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":162422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:49:15] local.INFO: GPS data processed {"connection_id":162422,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:49:15] local.INFO: Acknowledgment sent {"connection_id":162422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:49:36] local.INFO: TCP Data received {"connection_id":165018,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:49:36] local.INFO: Processing buffer {"connection_id":165018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:49:36] local.INFO: IMEI packet received {"connection_id":165018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":165018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:49:41] local.INFO: TCP Data received {"connection_id":165018,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:49:41] local.INFO: Processing buffer {"connection_id":165018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:49:41] local.INFO: IMEI packet received {"connection_id":165018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":165018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:49:42] local.INFO: TCP Data received {"connection_id":165018,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:49:42] local.INFO: Processing buffer {"connection_id":165018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:49:42] local.INFO: Packet analysis {"connection_id":165018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dcb"} 
[2026-08-26 16:49:42] local.INFO: Extracted packet for processing {"connection_id":165018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dcb"} 
[2026-08-26 16:49:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662161920001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:49: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-26 16:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787743121000,"timestamp_ms":1787743121000,"timestamp_seconds":1787743121,"priority":1,"record_length":96,"hex_timestamp":"000001a03dcb2e68"} 
[2026-08-26 16:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:49: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-26 16:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:49: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-26 16:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662161920001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662161920001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:49:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:49:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662161920001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":165018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:49:42] local.INFO: GPS data processed {"connection_id":165018,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:49:42] local.INFO: Acknowledgment sent {"connection_id":165018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:50:14] local.INFO: TCP Data received {"connection_id":165018,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:50:14] local.INFO: Processing buffer {"connection_id":165018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:50:14] local.INFO: Packet analysis {"connection_id":165018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dcb"} 
[2026-08-26 16:50:14] local.INFO: Extracted packet for processing {"connection_id":165018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dcb"} 
[2026-08-26 16:50:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 16:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662161920001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:50: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-26 16:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787743121000,"timestamp_ms":1787743121000,"timestamp_seconds":1787743121,"priority":1,"record_length":96,"hex_timestamp":"000001a03dcb2e68"} 
[2026-08-26 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-26 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-26 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":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:50: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-26 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-26 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-26 16:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662161920001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662161920001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:50:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:50:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662161920001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":165018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:50:14] local.INFO: GPS data processed {"connection_id":165018,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:50:14] local.INFO: Acknowledgment sent {"connection_id":165018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:50:36] local.INFO: TCP Data received {"connection_id":162654,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:50:36] local.INFO: Processing buffer {"connection_id":162654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:50:36] local.INFO: IMEI packet received {"connection_id":162654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":162654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:50:41] local.INFO: TCP Data received {"connection_id":162654,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:50:41] local.INFO: Processing buffer {"connection_id":162654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:50:41] local.INFO: IMEI packet received {"connection_id":162654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":162654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:50:42] local.INFO: TCP Data received {"connection_id":162654,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:50:43] local.INFO: Processing buffer {"connection_id":162654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:50:43] local.INFO: Packet analysis {"connection_id":162654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dcb"} 
[2026-08-26 16:50:43] local.INFO: Extracted packet for processing {"connection_id":162654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dcb"} 
[2026-08-26 16:50:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 16:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662161920001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:50: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-26 16:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787743121000,"timestamp_ms":1787743121000,"timestamp_seconds":1787743121,"priority":1,"record_length":96,"hex_timestamp":"000001a03dcb2e68"} 
[2026-08-26 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-26 16:50: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-26 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:50:43] 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-26 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-26 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-26 16:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662161920001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662161920001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:50:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:50:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662161920001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":162654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:50:43] local.INFO: GPS data processed {"connection_id":162654,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:50:43] local.INFO: Acknowledgment sent {"connection_id":162654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:51:14] local.INFO: TCP Data received {"connection_id":162654,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:51:14] local.INFO: Processing buffer {"connection_id":162654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:51:14] local.INFO: Packet analysis {"connection_id":162654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dcb"} 
[2026-08-26 16:51:14] local.INFO: Extracted packet for processing {"connection_id":162654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dcb"} 
[2026-08-26 16:51:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662161920001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:51: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-26 16:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787743121000,"timestamp_ms":1787743121000,"timestamp_seconds":1787743121,"priority":1,"record_length":96,"hex_timestamp":"000001a03dcb2e68"} 
[2026-08-26 16: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-26 16: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-26 16: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":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:51: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-26 16: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-26 16: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-26 16:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662161920001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662161920001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:51:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:51:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662161920001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":162654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:51:14] local.INFO: GPS data processed {"connection_id":162654,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:51:14] local.INFO: Acknowledgment sent {"connection_id":162654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:51:36] local.INFO: TCP Data received {"connection_id":162423,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:51:36] local.INFO: Processing buffer {"connection_id":162423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:51:36] local.INFO: IMEI packet received {"connection_id":162423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":162423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:51:41] local.INFO: TCP Data received {"connection_id":162423,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:51:41] local.INFO: Processing buffer {"connection_id":162423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:51:41] local.INFO: IMEI packet received {"connection_id":162423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":162423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:51:42] local.INFO: TCP Data received {"connection_id":162423,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:51:42] local.INFO: Processing buffer {"connection_id":162423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:51:42] local.INFO: Packet analysis {"connection_id":162423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dcb"} 
[2026-08-26 16:51:42] local.INFO: Extracted packet for processing {"connection_id":162423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dcb"} 
[2026-08-26 16:51:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662161920001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16: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-26 16:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787743121000,"timestamp_ms":1787743121000,"timestamp_seconds":1787743121,"priority":1,"record_length":96,"hex_timestamp":"000001a03dcb2e68"} 
[2026-08-26 16:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:51: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-26 16:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:51: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-26 16:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662161920001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662161920001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:51:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:51:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662161920001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":162423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:51:42] local.INFO: GPS data processed {"connection_id":162423,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:51:42] local.INFO: Acknowledgment sent {"connection_id":162423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:52:10] local.INFO: TCP Data received {"connection_id":165019,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 16:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165019,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 16:52:10] local.INFO: Processing buffer {"connection_id":165019,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 16:52:10] local.INFO: Packet analysis {"connection_id":165019,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 16:52:10] local.INFO: Extracted packet for processing {"connection_id":165019,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 16:52: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-26 16:52:10] 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-26 16:52:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-26 16:52:10] 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-26 16:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-26 16:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-26 16:52:10] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165019,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-26 16:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165019,"device_imei":null,"avl_records_count":1} 
[2026-08-26 16:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165019,"device_imei":null,"avl_records_count":1} 
[2026-08-26 16:52:10] 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-26 16:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":165019,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-26 16:52:10] local.INFO: GPS data processed {"connection_id":165019,"processed":0,"errors":0,"total":1} 
[2026-08-26 16:52:10] local.INFO: Acknowledgment sent {"connection_id":165019,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:52:14] local.INFO: TCP Data received {"connection_id":162423,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:52:14] local.INFO: Processing buffer {"connection_id":162423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:52:14] local.INFO: Packet analysis {"connection_id":162423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dcb"} 
[2026-08-26 16:52:14] local.INFO: Extracted packet for processing {"connection_id":162423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dcb"} 
[2026-08-26 16:52:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 16:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662161920001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:52: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-26 16:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787743121000,"timestamp_ms":1787743121000,"timestamp_seconds":1787743121,"priority":1,"record_length":96,"hex_timestamp":"000001a03dcb2e68"} 
[2026-08-26 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-26 16:52: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-26 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:52: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-26 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-26 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-26 16:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662161920001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662161920001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:52:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:52:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662161920001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":162423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:52:14] local.INFO: GPS data processed {"connection_id":162423,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:52:14] local.INFO: Acknowledgment sent {"connection_id":162423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:52:42] local.INFO: TCP Data received {"connection_id":165020,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:52:42] local.INFO: Processing buffer {"connection_id":165020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:52:42] local.INFO: IMEI packet received {"connection_id":165020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":165020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:52:47] local.INFO: TCP Data received {"connection_id":165020,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:52:47] local.INFO: Processing buffer {"connection_id":165020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:52:47] local.INFO: IMEI packet received {"connection_id":165020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":165020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:52:48] local.INFO: TCP Data received {"connection_id":165020,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:52:48] local.INFO: Processing buffer {"connection_id":165020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:52:48] local.INFO: Packet analysis {"connection_id":165020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dcb"} 
[2026-08-26 16:52:48] local.INFO: Extracted packet for processing {"connection_id":165020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dcb"} 
[2026-08-26 16:52:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662161920001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 16:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787743121000,"timestamp_ms":1787743121000,"timestamp_seconds":1787743121,"priority":1,"record_length":96,"hex_timestamp":"000001a03dcb2e68"} 
[2026-08-26 16: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-26 16:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:52:48] 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-26 16: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-26 16: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-26 16:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":165020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":165020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":165020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662161920001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662161920001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:52:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:52:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662161920001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":165020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:52:48] local.INFO: GPS data processed {"connection_id":165020,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:52:48] local.INFO: Acknowledgment sent {"connection_id":165020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:52:52] local.INFO: TCP Data received {"connection_id":165020,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:52:52] local.INFO: Processing buffer {"connection_id":165020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:52:52] local.INFO: Packet analysis {"connection_id":165020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dcb"} 
[2026-08-26 16:52:52] local.INFO: Extracted packet for processing {"connection_id":165020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dcb"} 
[2026-08-26 16:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662161920001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:52: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-26 16:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787743121000,"timestamp_ms":1787743121000,"timestamp_seconds":1787743121,"priority":1,"record_length":96,"hex_timestamp":"000001a03dcb2e68"} 
[2026-08-26 16: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-26 16:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:52:52] 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-26 16: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-26 16: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-26 16:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662161920001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662161920001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:52:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662161920001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":165020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:52:52] local.INFO: GPS data processed {"connection_id":165020,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:52:52] local.INFO: Acknowledgment sent {"connection_id":165020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:53:36] local.INFO: TCP Data received {"connection_id":163684,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:53:36] local.INFO: Processing buffer {"connection_id":163684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:53:36] local.INFO: IMEI packet received {"connection_id":163684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":163684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:53:42] local.INFO: TCP Data received {"connection_id":163684,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:53:42] local.INFO: Processing buffer {"connection_id":163684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:53:42] local.INFO: IMEI packet received {"connection_id":163684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":163684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:53:43] local.INFO: TCP Data received {"connection_id":163684,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:53:43] local.INFO: Processing buffer {"connection_id":163684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:53:43] local.INFO: Packet analysis {"connection_id":163684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dcb"} 
[2026-08-26 16:53:43] local.INFO: Extracted packet for processing {"connection_id":163684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dcb"} 
[2026-08-26 16:53:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662161920001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:53: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-26 16:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787743121000,"timestamp_ms":1787743121000,"timestamp_seconds":1787743121,"priority":1,"record_length":96,"hex_timestamp":"000001a03dcb2e68"} 
[2026-08-26 16:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:53: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-26 16:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:53:43] 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-26 16:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662161920001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662161920001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:53:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:53:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662161920001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":163684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:53:43] local.INFO: GPS data processed {"connection_id":163684,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:53:43] local.INFO: Acknowledgment sent {"connection_id":163684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:54:14] local.INFO: TCP Data received {"connection_id":163684,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:54:14] local.INFO: Processing buffer {"connection_id":163684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dcb2e68012d34c14006aa4818001000e62a..."} 
[2026-08-26 16:54:14] local.INFO: Packet analysis {"connection_id":163684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dcb"} 
[2026-08-26 16:54:14] local.INFO: Extracted packet for processing {"connection_id":163684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dcb"} 
[2026-08-26 16:54:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 16:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662161920001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:54: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-26 16:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787743121000,"timestamp_ms":1787743121000,"timestamp_seconds":1787743121,"priority":1,"record_length":96,"hex_timestamp":"000001a03dcb2e68"} 
[2026-08-26 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-26 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-26 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":118,"data_length":795,"current_offset":136} 
[2026-08-26 16:54: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-26 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-26 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-26 16:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662161920001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662161920001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:54:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:54:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662161920001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":163684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:54:14] local.INFO: GPS data processed {"connection_id":163684,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:54:14] local.INFO: Acknowledgment sent {"connection_id":163684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:54:32] local.INFO: TCP Data received {"connection_id":163683,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163683,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:54:32] local.INFO: Processing buffer {"connection_id":163683,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 16:54:32] local.INFO: IMEI packet received {"connection_id":163683,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 16:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":163683,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:54:36] local.INFO: TCP Data received {"connection_id":163685,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:54:36] local.INFO: Processing buffer {"connection_id":163685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:54:36] local.INFO: IMEI packet received {"connection_id":163685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":163685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:54:41] local.INFO: TCP Data received {"connection_id":163685,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:54:41] local.INFO: Processing buffer {"connection_id":163685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:54:41] local.INFO: IMEI packet received {"connection_id":163685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":163685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:54:42] local.INFO: TCP Data received {"connection_id":163685,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:54:42] local.INFO: Processing buffer {"connection_id":163685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:54:42] local.INFO: Packet analysis {"connection_id":163685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dcf"} 
[2026-08-26 16:54:42] local.INFO: Extracted packet for processing {"connection_id":163685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dcf"} 
[2026-08-26 16:54:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662238976001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:54: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-26 16:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787743422000,"timestamp_ms":1787743422000,"timestamp_seconds":1787743422,"priority":1,"record_length":96,"hex_timestamp":"000001a03dcfc630"} 
[2026-08-26 16:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:54: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-26 16:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 16:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 16:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662238976001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662238976001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:54:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:54:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662238976001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":163685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:54:42] local.INFO: GPS data processed {"connection_id":163685,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:54:42] local.INFO: Acknowledgment sent {"connection_id":163685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:55:13] local.INFO: TCP Data received {"connection_id":163685,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:55:13] local.INFO: Processing buffer {"connection_id":163685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:55:13] local.INFO: Packet analysis {"connection_id":163685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dcf"} 
[2026-08-26 16:55:13] local.INFO: Extracted packet for processing {"connection_id":163685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dcf"} 
[2026-08-26 16:55:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662238976001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:55: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-26 16:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787743422000,"timestamp_ms":1787743422000,"timestamp_seconds":1787743422,"priority":1,"record_length":96,"hex_timestamp":"000001a03dcfc630"} 
[2026-08-26 16:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:55:13] 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-26 16:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 16:55: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-26 16:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662238976001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662238976001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:55:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:55:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662238976001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":163685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:55:13] local.INFO: GPS data processed {"connection_id":163685,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:55:13] local.INFO: Acknowledgment sent {"connection_id":163685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:55:36] local.INFO: TCP Data received {"connection_id":162655,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:55:36] local.INFO: Processing buffer {"connection_id":162655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:55:36] local.INFO: IMEI packet received {"connection_id":162655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":162655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:55:41] local.INFO: TCP Data received {"connection_id":162655,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:55:41] local.INFO: Processing buffer {"connection_id":162655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:55:41] local.INFO: IMEI packet received {"connection_id":162655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":162655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:55:42] local.INFO: TCP Data received {"connection_id":162655,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:55:42] local.INFO: Processing buffer {"connection_id":162655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:55:42] local.INFO: Packet analysis {"connection_id":162655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dcf"} 
[2026-08-26 16:55:42] local.INFO: Extracted packet for processing {"connection_id":162655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dcf"} 
[2026-08-26 16:55:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662238976001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:55: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-26 16:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787743422000,"timestamp_ms":1787743422000,"timestamp_seconds":1787743422,"priority":1,"record_length":96,"hex_timestamp":"000001a03dcfc630"} 
[2026-08-26 16: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-26 16:55: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-26 16: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 16:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 16: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-26 16: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-26 16:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662238976001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662238976001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:55:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:55:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662238976001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":162655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:55:42] local.INFO: GPS data processed {"connection_id":162655,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:55:42] local.INFO: Acknowledgment sent {"connection_id":162655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:56:13] local.INFO: TCP Data received {"connection_id":162655,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:56:13] local.INFO: Processing buffer {"connection_id":162655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:56:13] local.INFO: Packet analysis {"connection_id":162655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dcf"} 
[2026-08-26 16:56:13] local.INFO: Extracted packet for processing {"connection_id":162655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dcf"} 
[2026-08-26 16:56:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662238976001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:56: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-26 16:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787743422000,"timestamp_ms":1787743422000,"timestamp_seconds":1787743422,"priority":1,"record_length":96,"hex_timestamp":"000001a03dcfc630"} 
[2026-08-26 16: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-26 16:56:13] 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-26 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 16:56: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-26 16:56: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-26 16: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-26 16:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662238976001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662238976001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:56:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:56:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662238976001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":162655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:56:13] local.INFO: GPS data processed {"connection_id":162655,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:56:13] local.INFO: Acknowledgment sent {"connection_id":162655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:56:41] local.INFO: TCP Data received {"connection_id":165021,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:56:41] local.INFO: Processing buffer {"connection_id":165021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:56:41] local.INFO: IMEI packet received {"connection_id":165021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":165021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:56:46] local.INFO: TCP Data received {"connection_id":165021,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:56:46] local.INFO: Processing buffer {"connection_id":165021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:56:46] local.INFO: IMEI packet received {"connection_id":165021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":165021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:56:47] local.INFO: TCP Data received {"connection_id":165021,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:56:47] local.INFO: Processing buffer {"connection_id":165021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:56:47] local.INFO: Packet analysis {"connection_id":165021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dcf"} 
[2026-08-26 16:56:47] local.INFO: Extracted packet for processing {"connection_id":165021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dcf"} 
[2026-08-26 16:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662238976001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:56: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-26 16:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787743422000,"timestamp_ms":1787743422000,"timestamp_seconds":1787743422,"priority":1,"record_length":96,"hex_timestamp":"000001a03dcfc630"} 
[2026-08-26 16: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-26 16:56: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-26 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 16:56:47] 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-26 16: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-26 16: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-26 16:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662238976001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662238976001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:56:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662238976001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":165021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:56:47] local.INFO: GPS data processed {"connection_id":165021,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:56:47] local.INFO: Acknowledgment sent {"connection_id":165021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:56:52] local.INFO: TCP Data received {"connection_id":165021,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:56:52] local.INFO: Processing buffer {"connection_id":165021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:56:52] local.INFO: Packet analysis {"connection_id":165021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dcf"} 
[2026-08-26 16:56:52] local.INFO: Extracted packet for processing {"connection_id":165021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dcf"} 
[2026-08-26 16:56:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662238976001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:56: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-26 16:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787743422000,"timestamp_ms":1787743422000,"timestamp_seconds":1787743422,"priority":1,"record_length":96,"hex_timestamp":"000001a03dcfc630"} 
[2026-08-26 16: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-26 16:56: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-26 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 16:56:52] 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-26 16: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-26 16: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-26 16:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662238976001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662238976001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:56:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:56:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662238976001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":165021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:56:52] local.INFO: GPS data processed {"connection_id":165021,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:56:52] local.INFO: Acknowledgment sent {"connection_id":165021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:57:36] local.INFO: TCP Data received {"connection_id":162424,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:57:36] local.INFO: Processing buffer {"connection_id":162424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:57:36] local.INFO: IMEI packet received {"connection_id":162424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":162424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:57:42] local.INFO: TCP Data received {"connection_id":162424,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:57:42] local.INFO: Processing buffer {"connection_id":162424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:57:42] local.INFO: IMEI packet received {"connection_id":162424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":162424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:57:43] local.INFO: TCP Data received {"connection_id":162424,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:57:43] local.INFO: Processing buffer {"connection_id":162424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:57:43] local.INFO: Packet analysis {"connection_id":162424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dcf"} 
[2026-08-26 16:57:43] local.INFO: Extracted packet for processing {"connection_id":162424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dcf"} 
[2026-08-26 16:57:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16: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-26 16:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662238976001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:57: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-26 16:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787743422000,"timestamp_ms":1787743422000,"timestamp_seconds":1787743422,"priority":1,"record_length":96,"hex_timestamp":"000001a03dcfc630"} 
[2026-08-26 16: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-26 16:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 16:57:43] 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-26 16: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-26 16: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-26 16:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662238976001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662238976001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:57:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:57:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662238976001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":162424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:57:43] local.INFO: GPS data processed {"connection_id":162424,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:57:43] local.INFO: Acknowledgment sent {"connection_id":162424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:58:14] local.INFO: TCP Data received {"connection_id":162424,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:58:14] local.INFO: Processing buffer {"connection_id":162424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:58:14] local.INFO: Packet analysis {"connection_id":162424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dcf"} 
[2026-08-26 16:58:14] local.INFO: Extracted packet for processing {"connection_id":162424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dcf"} 
[2026-08-26 16:58:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662238976001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:58: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-26 16:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787743422000,"timestamp_ms":1787743422000,"timestamp_seconds":1787743422,"priority":1,"record_length":96,"hex_timestamp":"000001a03dcfc630"} 
[2026-08-26 16:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 16:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 16:58: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-26 16:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662238976001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662238976001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:58:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:58:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662238976001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":162424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:58:14] local.INFO: GPS data processed {"connection_id":162424,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:58:14] local.INFO: Acknowledgment sent {"connection_id":162424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:58:36] local.INFO: TCP Data received {"connection_id":162657,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:58:36] local.INFO: Processing buffer {"connection_id":162657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:58:36] local.INFO: IMEI packet received {"connection_id":162657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":162657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:58:41] local.INFO: TCP Data received {"connection_id":162657,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:58:41] local.INFO: Processing buffer {"connection_id":162657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:58:41] local.INFO: IMEI packet received {"connection_id":162657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":162657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:58:42] local.INFO: TCP Data received {"connection_id":162657,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:58:42] local.INFO: Processing buffer {"connection_id":162657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:58:42] local.INFO: Packet analysis {"connection_id":162657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dcf"} 
[2026-08-26 16:58:42] local.INFO: Extracted packet for processing {"connection_id":162657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dcf"} 
[2026-08-26 16:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662238976001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16: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-26 16:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787743422000,"timestamp_ms":1787743422000,"timestamp_seconds":1787743422,"priority":1,"record_length":96,"hex_timestamp":"000001a03dcfc630"} 
[2026-08-26 16:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:58: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-26 16:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 16:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 16:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662238976001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662238976001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:58:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:58:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662238976001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":162657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:58:42] local.INFO: GPS data processed {"connection_id":162657,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:58:42] local.INFO: Acknowledgment sent {"connection_id":162657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:59:14] local.INFO: TCP Data received {"connection_id":162657,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:59:14] local.INFO: Processing buffer {"connection_id":162657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dcfc630012d34c14006aa4818000d00e628..."} 
[2026-08-26 16:59:14] local.INFO: Packet analysis {"connection_id":162657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dcf"} 
[2026-08-26 16:59:14] local.INFO: Extracted packet for processing {"connection_id":162657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dcf"} 
[2026-08-26 16:59:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662238976001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:59: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-26 16:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787743422000,"timestamp_ms":1787743422000,"timestamp_seconds":1787743422,"priority":1,"record_length":96,"hex_timestamp":"000001a03dcfc630"} 
[2026-08-26 16:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:59: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-26 16:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 16: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-26 16:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662238976001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662238976001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:59:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:59:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662238976001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":162657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:59:14] local.INFO: GPS data processed {"connection_id":162657,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:59:14] local.INFO: Acknowledgment sent {"connection_id":162657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 16:59:36] local.INFO: TCP Data received {"connection_id":165022,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:59:36] local.INFO: Processing buffer {"connection_id":165022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:59:36] local.INFO: IMEI packet received {"connection_id":165022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 16:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":165022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 16:59:41] local.INFO: TCP Data received {"connection_id":165022,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:59:41] local.INFO: Processing buffer {"connection_id":165022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 16:59:41] local.INFO: IMEI packet received {"connection_id":165022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 16:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":165022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 16:59:42] local.INFO: TCP Data received {"connection_id":165022,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 16:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 16:59:42] local.INFO: Processing buffer {"connection_id":165022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 16:59:42] local.INFO: Packet analysis {"connection_id":165022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dd4"} 
[2026-08-26 16:59:42] local.INFO: Extracted packet for processing {"connection_id":165022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dd4"} 
[2026-08-26 16:59:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 16:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 16:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662316032001,"note":"Value kept but may cause issues"} 
[2026-08-26 16:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 16:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 16:59: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-26 16:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787743723000,"timestamp_ms":1787743723000,"timestamp_seconds":1787743723,"priority":1,"record_length":96,"hex_timestamp":"000001a03dd45df8"} 
[2026-08-26 16:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 16:59: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-26 16:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 16:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 16:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 16:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 16:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 16:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 16:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 16:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 16:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 16:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 16:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662316032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 16:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 16:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 16:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662316032001,"description":"Unknown IO ID 0"} 
[2026-08-26 16:59:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 16:59:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 16:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 16:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 16:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662316032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 16:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":165022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 16:59:42] local.INFO: GPS data processed {"connection_id":165022,"processed":1,"errors":0,"total":1} 
[2026-08-26 16:59:42] local.INFO: Acknowledgment sent {"connection_id":165022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:00:07] local.INFO: TCP Data received {"connection_id":162656,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:00:07] local.INFO: Processing buffer {"connection_id":162656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:00:07] local.INFO: IMEI packet received {"connection_id":162656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 17:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":162656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:00:13] local.INFO: TCP Data received {"connection_id":165022,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:00:13] local.INFO: Processing buffer {"connection_id":165022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:00:13] local.INFO: Packet analysis {"connection_id":165022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dd4"} 
[2026-08-26 17:00:13] local.INFO: Extracted packet for processing {"connection_id":165022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dd4"} 
[2026-08-26 17:00:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662316032001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:00: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-26 17:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787743723000,"timestamp_ms":1787743723000,"timestamp_seconds":1787743723,"priority":1,"record_length":96,"hex_timestamp":"000001a03dd45df8"} 
[2026-08-26 17: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-26 17:00: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-26 17: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:00: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-26 17: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-26 17: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-26 17:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662316032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662316032001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:00:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:00:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662316032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":165022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:00:13] local.INFO: GPS data processed {"connection_id":165022,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:00:13] local.INFO: Acknowledgment sent {"connection_id":165022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:00:41] local.INFO: TCP Data received {"connection_id":162425,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:00:41] local.INFO: Processing buffer {"connection_id":162425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:00:41] local.INFO: IMEI packet received {"connection_id":162425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":162425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:00:46] local.INFO: TCP Data received {"connection_id":162425,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:00:46] local.INFO: Processing buffer {"connection_id":162425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:00:46] local.INFO: IMEI packet received {"connection_id":162425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":162425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:00:47] local.INFO: TCP Data received {"connection_id":162425,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:00:47] local.INFO: Processing buffer {"connection_id":162425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:00:47] local.INFO: Packet analysis {"connection_id":162425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dd4"} 
[2026-08-26 17:00:47] local.INFO: Extracted packet for processing {"connection_id":162425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dd4"} 
[2026-08-26 17:00:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662316032001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:00: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-26 17:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787743723000,"timestamp_ms":1787743723000,"timestamp_seconds":1787743723,"priority":1,"record_length":96,"hex_timestamp":"000001a03dd45df8"} 
[2026-08-26 17: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-26 17:00: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-26 17: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:00:47] 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-26 17: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-26 17: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-26 17:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662316032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662316032001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:00:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:00:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662316032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":162425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:00:47] local.INFO: GPS data processed {"connection_id":162425,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:00:47] local.INFO: Acknowledgment sent {"connection_id":162425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:00:52] local.INFO: TCP Data received {"connection_id":162425,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:00:52] local.INFO: Processing buffer {"connection_id":162425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:00:52] local.INFO: Packet analysis {"connection_id":162425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dd4"} 
[2026-08-26 17:00:52] local.INFO: Extracted packet for processing {"connection_id":162425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dd4"} 
[2026-08-26 17:00:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662316032001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:00: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-26 17:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787743723000,"timestamp_ms":1787743723000,"timestamp_seconds":1787743723,"priority":1,"record_length":96,"hex_timestamp":"000001a03dd45df8"} 
[2026-08-26 17: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-26 17:00: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-26 17: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:00:52] 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-26 17: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-26 17: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-26 17:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662316032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662316032001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:00:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:00:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662316032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":162425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:00:52] local.INFO: GPS data processed {"connection_id":162425,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:00:52] local.INFO: Acknowledgment sent {"connection_id":162425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:00:57] local.INFO: TCP Data received {"connection_id":162425,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:00:57] local.INFO: Processing buffer {"connection_id":162425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:00:57] local.INFO: Packet analysis {"connection_id":162425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dd4"} 
[2026-08-26 17:00:57] local.INFO: Extracted packet for processing {"connection_id":162425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dd4"} 
[2026-08-26 17:00:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662316032001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:00: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-26 17:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787743723000,"timestamp_ms":1787743723000,"timestamp_seconds":1787743723,"priority":1,"record_length":96,"hex_timestamp":"000001a03dd45df8"} 
[2026-08-26 17: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-26 17:00: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-26 17: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:00:57] 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-26 17:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17: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-26 17:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":162425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":162425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":162425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662316032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662316032001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:00:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:00:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662316032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":162425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:00:57] local.INFO: GPS data processed {"connection_id":162425,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:00:57] local.INFO: Acknowledgment sent {"connection_id":162425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:01:37] local.INFO: TCP Data received {"connection_id":163686,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:01:37] local.INFO: Processing buffer {"connection_id":163686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:01:37] local.INFO: IMEI packet received {"connection_id":163686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":163686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:01:42] local.INFO: TCP Data received {"connection_id":163686,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:01:42] local.INFO: Processing buffer {"connection_id":163686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:01:42] local.INFO: IMEI packet received {"connection_id":163686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":163686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:01:42] local.INFO: TCP Data received {"connection_id":163686,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:01:42] local.INFO: Processing buffer {"connection_id":163686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:01:42] local.INFO: Packet analysis {"connection_id":163686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dd4"} 
[2026-08-26 17:01:42] local.INFO: Extracted packet for processing {"connection_id":163686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dd4"} 
[2026-08-26 17:01:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662316032001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:01: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-26 17:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787743723000,"timestamp_ms":1787743723000,"timestamp_seconds":1787743723,"priority":1,"record_length":96,"hex_timestamp":"000001a03dd45df8"} 
[2026-08-26 17:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:01: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-26 17:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 17:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662316032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662316032001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:01:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:01:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662316032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":163686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:01:42] local.INFO: GPS data processed {"connection_id":163686,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:01:42] local.INFO: Acknowledgment sent {"connection_id":163686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:01:47] local.INFO: TCP Data received {"connection_id":163686,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:01:47] local.INFO: Processing buffer {"connection_id":163686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:01:47] local.INFO: Packet analysis {"connection_id":163686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dd4"} 
[2026-08-26 17:01:47] local.INFO: Extracted packet for processing {"connection_id":163686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dd4"} 
[2026-08-26 17:01:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662316032001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:01: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-26 17:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787743723000,"timestamp_ms":1787743723000,"timestamp_seconds":1787743723,"priority":1,"record_length":96,"hex_timestamp":"000001a03dd45df8"} 
[2026-08-26 17:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:01: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-26 17:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:01:47] 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-26 17:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662316032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662316032001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:01:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:01:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662316032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":163686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:01:47] local.INFO: GPS data processed {"connection_id":163686,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:01:47] local.INFO: Acknowledgment sent {"connection_id":163686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:02:18] local.INFO: TCP Data received {"connection_id":163686,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:02:18] local.INFO: Processing buffer {"connection_id":163686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:02:18] local.INFO: Packet analysis {"connection_id":163686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dd4"} 
[2026-08-26 17:02:18] local.INFO: Extracted packet for processing {"connection_id":163686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dd4"} 
[2026-08-26 17:02:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662316032001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:02: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-26 17:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787743723000,"timestamp_ms":1787743723000,"timestamp_seconds":1787743723,"priority":1,"record_length":96,"hex_timestamp":"000001a03dd45df8"} 
[2026-08-26 17: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-26 17:02: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-26 17: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:02: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-26 17: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-26 17: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-26 17:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662316032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662316032001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:02:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:02:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662316032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":163686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:02:18] local.INFO: GPS data processed {"connection_id":163686,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:02:18] local.INFO: Acknowledgment sent {"connection_id":163686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:02:36] local.INFO: TCP Data received {"connection_id":165023,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:02:36] local.INFO: Processing buffer {"connection_id":165023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:02:36] local.INFO: IMEI packet received {"connection_id":165023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":165023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:02:41] local.INFO: TCP Data received {"connection_id":165023,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:02:41] local.INFO: Processing buffer {"connection_id":165023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:02:41] local.INFO: IMEI packet received {"connection_id":165023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":165023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:02:43] local.INFO: TCP Data received {"connection_id":165023,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:02:43] local.INFO: Processing buffer {"connection_id":165023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:02:43] local.INFO: Packet analysis {"connection_id":165023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dd4"} 
[2026-08-26 17:02:43] local.INFO: Extracted packet for processing {"connection_id":165023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dd4"} 
[2026-08-26 17:02:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662316032001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:02: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-26 17:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787743723000,"timestamp_ms":1787743723000,"timestamp_seconds":1787743723,"priority":1,"record_length":96,"hex_timestamp":"000001a03dd45df8"} 
[2026-08-26 17:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:02: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-26 17:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:02:43] 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-26 17:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662316032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662316032001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:02:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:02:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662316032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":165023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:02:43] local.INFO: GPS data processed {"connection_id":165023,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:02:43] local.INFO: Acknowledgment sent {"connection_id":165023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:03:14] local.INFO: TCP Data received {"connection_id":165023,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:03:14] local.INFO: Processing buffer {"connection_id":165023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:03:14] local.INFO: Packet analysis {"connection_id":165023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dd4"} 
[2026-08-26 17:03:14] local.INFO: Extracted packet for processing {"connection_id":165023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dd4"} 
[2026-08-26 17:03:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662316032001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:03: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-26 17:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787743723000,"timestamp_ms":1787743723000,"timestamp_seconds":1787743723,"priority":1,"record_length":96,"hex_timestamp":"000001a03dd45df8"} 
[2026-08-26 17:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17: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-26 17:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:03: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-26 17:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662316032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662316032001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:03:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:03:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662316032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":165023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:03:14] local.INFO: GPS data processed {"connection_id":165023,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:03:14] local.INFO: Acknowledgment sent {"connection_id":165023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:03:36] local.INFO: TCP Data received {"connection_id":165024,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:03:36] local.INFO: Processing buffer {"connection_id":165024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:03:36] local.INFO: IMEI packet received {"connection_id":165024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":165024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:03:42] local.INFO: TCP Data received {"connection_id":165024,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:03:42] local.INFO: Processing buffer {"connection_id":165024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:03:42] local.INFO: IMEI packet received {"connection_id":165024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":165024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:03:43] local.INFO: TCP Data received {"connection_id":165024,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:03:43] local.INFO: Processing buffer {"connection_id":165024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:03:43] local.INFO: Packet analysis {"connection_id":165024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dd4"} 
[2026-08-26 17:03:43] local.INFO: Extracted packet for processing {"connection_id":165024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dd4"} 
[2026-08-26 17:03:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662316032001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:03: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-26 17:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787743723000,"timestamp_ms":1787743723000,"timestamp_seconds":1787743723,"priority":1,"record_length":96,"hex_timestamp":"000001a03dd45df8"} 
[2026-08-26 17:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:03: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-26 17:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:03:43] 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-26 17:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662316032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662316032001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:03:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:03:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662316032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":165024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:03:43] local.INFO: GPS data processed {"connection_id":165024,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:03:43] local.INFO: Acknowledgment sent {"connection_id":165024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:04:15] local.INFO: TCP Data received {"connection_id":165024,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:04:15] local.INFO: Processing buffer {"connection_id":165024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dd45df8012d34c14006aa4818000e00e629..."} 
[2026-08-26 17:04:15] local.INFO: Packet analysis {"connection_id":165024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dd4"} 
[2026-08-26 17:04:15] local.INFO: Extracted packet for processing {"connection_id":165024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dd4"} 
[2026-08-26 17:04:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662316032001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:04: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-26 17:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787743723000,"timestamp_ms":1787743723000,"timestamp_seconds":1787743723,"priority":1,"record_length":96,"hex_timestamp":"000001a03dd45df8"} 
[2026-08-26 17: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-26 17: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-26 17: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:04: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-26 17: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-26 17: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-26 17:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":165024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":165024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":165024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662316032001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662316032001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:04:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:04:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662316032001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":165024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:04:15] local.INFO: GPS data processed {"connection_id":165024,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:04:15] local.INFO: Acknowledgment sent {"connection_id":165024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:04:36] local.INFO: TCP Data received {"connection_id":162659,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:04:36] local.INFO: Processing buffer {"connection_id":162659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:04:36] local.INFO: IMEI packet received {"connection_id":162659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":162659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:04:41] local.INFO: TCP Data received {"connection_id":162659,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:04:41] local.INFO: Processing buffer {"connection_id":162659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:04:41] local.INFO: IMEI packet received {"connection_id":162659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":162659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:04:42] local.INFO: TCP Data received {"connection_id":162659,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:04:42] local.INFO: Processing buffer {"connection_id":162659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:04:42] local.INFO: Packet analysis {"connection_id":162659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dd8"} 
[2026-08-26 17:04:42] local.INFO: Extracted packet for processing {"connection_id":162659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dd8"} 
[2026-08-26 17:04:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":16,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662393088001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17: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-26 17:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787744024000,"timestamp_ms":1787744024000,"timestamp_seconds":1787744024,"priority":1,"record_length":96,"hex_timestamp":"000001a03dd8f5c0"} 
[2026-08-26 17: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-26 17:04: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-26 17: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 17: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-26 17: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-26 17:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662393088001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662393088001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:04:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:04:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662393088001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":162659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:04:42] local.INFO: GPS data processed {"connection_id":162659,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:04:42] local.INFO: Acknowledgment sent {"connection_id":162659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:05:14] local.INFO: TCP Data received {"connection_id":162659,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:05:14] local.INFO: Processing buffer {"connection_id":162659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:05:14] local.INFO: Packet analysis {"connection_id":162659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dd8"} 
[2026-08-26 17:05:14] local.INFO: Extracted packet for processing {"connection_id":162659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dd8"} 
[2026-08-26 17:05:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":16,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662393088001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:05: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-26 17:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787744024000,"timestamp_ms":1787744024000,"timestamp_seconds":1787744024,"priority":1,"record_length":96,"hex_timestamp":"000001a03dd8f5c0"} 
[2026-08-26 17:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:05: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-26 17:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:05: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-26 17:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662393088001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662393088001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:05:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:05:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662393088001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":162659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:05:14] local.INFO: GPS data processed {"connection_id":162659,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:05:14] local.INFO: Acknowledgment sent {"connection_id":162659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:05:41] local.INFO: TCP Data received {"connection_id":165025,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:05:41] local.INFO: Processing buffer {"connection_id":165025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:05:41] local.INFO: IMEI packet received {"connection_id":165025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":165025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:05:42] local.INFO: TCP Data received {"connection_id":162658,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162658,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:05:42] local.INFO: Processing buffer {"connection_id":162658,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:05:42] local.INFO: IMEI packet received {"connection_id":162658,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 17:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":162658,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:05:47] local.INFO: TCP Data received {"connection_id":165025,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:05:47] local.INFO: Processing buffer {"connection_id":165025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:05:47] local.INFO: IMEI packet received {"connection_id":165025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":165025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:05:48] local.INFO: TCP Data received {"connection_id":165025,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:05:48] local.INFO: Processing buffer {"connection_id":165025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:05:48] local.INFO: Packet analysis {"connection_id":165025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dd8"} 
[2026-08-26 17:05:48] local.INFO: Extracted packet for processing {"connection_id":165025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dd8"} 
[2026-08-26 17:05:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":16,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 17:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662393088001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 17:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787744024000,"timestamp_ms":1787744024000,"timestamp_seconds":1787744024,"priority":1,"record_length":96,"hex_timestamp":"000001a03dd8f5c0"} 
[2026-08-26 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-26 17:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:05:48] 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-26 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-26 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-26 17:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":165025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":165025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":165025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662393088001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662393088001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:05:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:05:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662393088001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":165025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:05:48] local.INFO: GPS data processed {"connection_id":165025,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:05:48] local.INFO: Acknowledgment sent {"connection_id":165025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:05:52] local.INFO: TCP Data received {"connection_id":165025,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:05:52] local.INFO: Processing buffer {"connection_id":165025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:05:52] local.INFO: Packet analysis {"connection_id":165025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dd8"} 
[2026-08-26 17:05:52] local.INFO: Extracted packet for processing {"connection_id":165025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dd8"} 
[2026-08-26 17:05:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":16,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662393088001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:05: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-26 17:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787744024000,"timestamp_ms":1787744024000,"timestamp_seconds":1787744024,"priority":1,"record_length":96,"hex_timestamp":"000001a03dd8f5c0"} 
[2026-08-26 17:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 17:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:05:52] 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-26 17:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662393088001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662393088001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:05:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:05:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662393088001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":165025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:05:52] local.INFO: GPS data processed {"connection_id":165025,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:05:52] local.INFO: Acknowledgment sent {"connection_id":165025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:06:36] local.INFO: TCP Data received {"connection_id":163687,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:06:36] local.INFO: Processing buffer {"connection_id":163687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:06:36] local.INFO: IMEI packet received {"connection_id":163687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":163687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:06:41] local.INFO: TCP Data received {"connection_id":163687,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:06:41] local.INFO: Processing buffer {"connection_id":163687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:06:41] local.INFO: IMEI packet received {"connection_id":163687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":163687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:06:42] local.INFO: TCP Data received {"connection_id":163687,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:06:42] local.INFO: Processing buffer {"connection_id":163687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:06:42] local.INFO: Packet analysis {"connection_id":163687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dd8"} 
[2026-08-26 17:06:42] local.INFO: Extracted packet for processing {"connection_id":163687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dd8"} 
[2026-08-26 17:06:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":16,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662393088001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:06: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-26 17:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787744024000,"timestamp_ms":1787744024000,"timestamp_seconds":1787744024,"priority":1,"record_length":96,"hex_timestamp":"000001a03dd8f5c0"} 
[2026-08-26 17:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:06: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-26 17:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 17:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662393088001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662393088001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:06:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:06:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662393088001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":163687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:06:42] local.INFO: GPS data processed {"connection_id":163687,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:06:42] local.INFO: Acknowledgment sent {"connection_id":163687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:07:13] local.INFO: TCP Data received {"connection_id":163687,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:07:13] local.INFO: Processing buffer {"connection_id":163687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:07:13] local.INFO: Packet analysis {"connection_id":163687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dd8"} 
[2026-08-26 17:07:13] local.INFO: Extracted packet for processing {"connection_id":163687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dd8"} 
[2026-08-26 17:07:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":16,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662393088001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:07: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-26 17:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787744024000,"timestamp_ms":1787744024000,"timestamp_seconds":1787744024,"priority":1,"record_length":96,"hex_timestamp":"000001a03dd8f5c0"} 
[2026-08-26 17: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-26 17:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 17: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:07: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-26 17: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-26 17: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-26 17:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662393088001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662393088001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:07:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:07:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662393088001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":163687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:07:13] local.INFO: GPS data processed {"connection_id":163687,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:07:13] local.INFO: Acknowledgment sent {"connection_id":163687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:07:36] local.INFO: TCP Data received {"connection_id":165026,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:07:36] local.INFO: Processing buffer {"connection_id":165026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:07:36] local.INFO: IMEI packet received {"connection_id":165026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":165026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:07:42] local.INFO: TCP Data received {"connection_id":165026,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:07:42] local.INFO: Processing buffer {"connection_id":165026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:07:42] local.INFO: IMEI packet received {"connection_id":165026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":165026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:07:43] local.INFO: TCP Data received {"connection_id":165026,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:07:43] local.INFO: Processing buffer {"connection_id":165026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:07:43] local.INFO: Packet analysis {"connection_id":165026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dd8"} 
[2026-08-26 17:07:43] local.INFO: Extracted packet for processing {"connection_id":165026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dd8"} 
[2026-08-26 17:07:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":16,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662393088001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:07: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-26 17:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787744024000,"timestamp_ms":1787744024000,"timestamp_seconds":1787744024,"priority":1,"record_length":96,"hex_timestamp":"000001a03dd8f5c0"} 
[2026-08-26 17: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-26 17:07: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-26 17: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:07:43] 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-26 17: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-26 17: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-26 17:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662393088001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662393088001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:07:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:07:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662393088001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":165026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:07:44] local.INFO: GPS data processed {"connection_id":165026,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:07:44] local.INFO: Acknowledgment sent {"connection_id":165026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:08:15] local.INFO: TCP Data received {"connection_id":165026,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:08:15] local.INFO: Processing buffer {"connection_id":165026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:08:15] local.INFO: Packet analysis {"connection_id":165026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dd8"} 
[2026-08-26 17:08:15] local.INFO: Extracted packet for processing {"connection_id":165026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dd8"} 
[2026-08-26 17:08:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":16,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662393088001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17: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-26 17:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787744024000,"timestamp_ms":1787744024000,"timestamp_seconds":1787744024,"priority":1,"record_length":96,"hex_timestamp":"000001a03dd8f5c0"} 
[2026-08-26 17: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-26 17: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-26 17: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:08: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-26 17: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-26 17: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-26 17:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":165026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":165026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":165026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662393088001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662393088001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:08:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:08:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662393088001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":165026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:08:15] local.INFO: GPS data processed {"connection_id":165026,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:08:15] local.INFO: Acknowledgment sent {"connection_id":165026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:08:36] local.INFO: TCP Data received {"connection_id":162660,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:08:36] local.INFO: Processing buffer {"connection_id":162660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:08:36] local.INFO: IMEI packet received {"connection_id":162660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":162660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:08:41] local.INFO: TCP Data received {"connection_id":162660,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:08:41] local.INFO: Processing buffer {"connection_id":162660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:08:41] local.INFO: IMEI packet received {"connection_id":162660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":162660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:08:42] local.INFO: TCP Data received {"connection_id":162660,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:08:42] local.INFO: Processing buffer {"connection_id":162660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:08:42] local.INFO: Packet analysis {"connection_id":162660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dd8"} 
[2026-08-26 17:08:42] local.INFO: Extracted packet for processing {"connection_id":162660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dd8"} 
[2026-08-26 17:08:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":16,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662393088001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17: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-26 17:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787744024000,"timestamp_ms":1787744024000,"timestamp_seconds":1787744024,"priority":1,"record_length":96,"hex_timestamp":"000001a03dd8f5c0"} 
[2026-08-26 17: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-26 17:08: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-26 17: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 17: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-26 17: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-26 17:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662393088001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662393088001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:08:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:08:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662393088001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":162660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:08:42] local.INFO: GPS data processed {"connection_id":162660,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:08:42] local.INFO: Acknowledgment sent {"connection_id":162660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:09:14] local.INFO: TCP Data received {"connection_id":162660,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:09:14] local.INFO: Processing buffer {"connection_id":162660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dd8f5c0012d34c14006aa4818001000e627..."} 
[2026-08-26 17:09:14] local.INFO: Packet analysis {"connection_id":162660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dd8"} 
[2026-08-26 17:09:14] local.INFO: Extracted packet for processing {"connection_id":162660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dd8"} 
[2026-08-26 17:09:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":16,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662393088001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:09: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-26 17:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787744024000,"timestamp_ms":1787744024000,"timestamp_seconds":1787744024,"priority":1,"record_length":96,"hex_timestamp":"000001a03dd8f5c0"} 
[2026-08-26 17:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:09: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-26 17:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:09: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-26 17:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662393088001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662393088001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:09:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:09:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662393088001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":162660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:09:14] local.INFO: GPS data processed {"connection_id":162660,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:09:14] local.INFO: Acknowledgment sent {"connection_id":162660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:09:36] local.INFO: TCP Data received {"connection_id":163689,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:09:36] local.INFO: Processing buffer {"connection_id":163689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:09:36] local.INFO: IMEI packet received {"connection_id":163689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":163689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:09:41] local.INFO: TCP Data received {"connection_id":163689,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:09:41] local.INFO: Processing buffer {"connection_id":163689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:09:41] local.INFO: IMEI packet received {"connection_id":163689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":163689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:09:42] local.INFO: TCP Data received {"connection_id":163689,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:09:42] local.INFO: Processing buffer {"connection_id":163689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:09:42] local.INFO: Packet analysis {"connection_id":163689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ddd"} 
[2026-08-26 17:09:42] local.INFO: Extracted packet for processing {"connection_id":163689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ddd"} 
[2026-08-26 17:09:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662470144001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:09: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-26 17:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787744325000,"timestamp_ms":1787744325000,"timestamp_seconds":1787744325,"priority":1,"record_length":96,"hex_timestamp":"000001a03ddd8d88"} 
[2026-08-26 17:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:09: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-26 17:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:09:42] 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-26 17:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662470144001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662470144001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:09:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:09:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662470144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":163689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:09:42] local.INFO: GPS data processed {"connection_id":163689,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:09:42] local.INFO: Acknowledgment sent {"connection_id":163689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:10:14] local.INFO: TCP Data received {"connection_id":163689,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:10:14] local.INFO: Processing buffer {"connection_id":163689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:10:14] local.INFO: Packet analysis {"connection_id":163689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ddd"} 
[2026-08-26 17:10:14] local.INFO: Extracted packet for processing {"connection_id":163689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ddd"} 
[2026-08-26 17:10:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 17:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662470144001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:10: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-26 17:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787744325000,"timestamp_ms":1787744325000,"timestamp_seconds":1787744325,"priority":1,"record_length":96,"hex_timestamp":"000001a03ddd8d88"} 
[2026-08-26 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-26 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-26 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":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:10: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-26 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-26 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-26 17:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662470144001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662470144001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:10:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:10:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662470144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":163689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:10:14] local.INFO: GPS data processed {"connection_id":163689,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:10:14] local.INFO: Acknowledgment sent {"connection_id":163689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:10:36] local.INFO: TCP Data received {"connection_id":165027,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:10:36] local.INFO: Processing buffer {"connection_id":165027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:10:36] local.INFO: IMEI packet received {"connection_id":165027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":165027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:10:41] local.INFO: TCP Data received {"connection_id":165027,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:10:41] local.INFO: Processing buffer {"connection_id":165027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:10:41] local.INFO: IMEI packet received {"connection_id":165027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":165027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:10:42] local.INFO: TCP Data received {"connection_id":165027,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:10:42] local.INFO: Processing buffer {"connection_id":165027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:10:42] local.INFO: Packet analysis {"connection_id":165027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ddd"} 
[2026-08-26 17:10:42] local.INFO: Extracted packet for processing {"connection_id":165027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ddd"} 
[2026-08-26 17:10:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662470144001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:10: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-26 17:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787744325000,"timestamp_ms":1787744325000,"timestamp_seconds":1787744325,"priority":1,"record_length":96,"hex_timestamp":"000001a03ddd8d88"} 
[2026-08-26 17: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-26 17:10: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-26 17: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:10:42] 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-26 17: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-26 17: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-26 17:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662470144001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662470144001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:10:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:10:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662470144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":165027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:10:42] local.INFO: GPS data processed {"connection_id":165027,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:10:42] local.INFO: Acknowledgment sent {"connection_id":165027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:11:14] local.INFO: TCP Data received {"connection_id":165027,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:11:14] local.INFO: Processing buffer {"connection_id":165027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:11:14] local.INFO: Packet analysis {"connection_id":165027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ddd"} 
[2026-08-26 17:11:14] local.INFO: Extracted packet for processing {"connection_id":165027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ddd"} 
[2026-08-26 17:11:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662470144001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:11: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-26 17:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787744325000,"timestamp_ms":1787744325000,"timestamp_seconds":1787744325,"priority":1,"record_length":96,"hex_timestamp":"000001a03ddd8d88"} 
[2026-08-26 17: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-26 17:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 17: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:11: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-26 17: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-26 17: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-26 17:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662470144001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662470144001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:11:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:11:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662470144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":165027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:11:14] local.INFO: GPS data processed {"connection_id":165027,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:11:14] local.INFO: Acknowledgment sent {"connection_id":165027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:11:17] local.INFO: TCP Data received {"connection_id":163688,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:11:17] local.INFO: Processing buffer {"connection_id":163688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:11:17] local.INFO: IMEI packet received {"connection_id":163688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 17:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":163688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:11:36] local.INFO: TCP Data received {"connection_id":162426,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:11:36] local.INFO: Processing buffer {"connection_id":162426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:11:36] local.INFO: IMEI packet received {"connection_id":162426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":162426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:11:41] local.INFO: TCP Data received {"connection_id":162426,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:11:41] local.INFO: Processing buffer {"connection_id":162426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:11:41] local.INFO: IMEI packet received {"connection_id":162426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":162426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:11:42] local.INFO: TCP Data received {"connection_id":162426,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:11:42] local.INFO: Processing buffer {"connection_id":162426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:11:42] local.INFO: Packet analysis {"connection_id":162426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ddd"} 
[2026-08-26 17:11:42] local.INFO: Extracted packet for processing {"connection_id":162426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ddd"} 
[2026-08-26 17:11:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662470144001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17: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-26 17:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787744325000,"timestamp_ms":1787744325000,"timestamp_seconds":1787744325,"priority":1,"record_length":96,"hex_timestamp":"000001a03ddd8d88"} 
[2026-08-26 17:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:11: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-26 17:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:11:42] 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-26 17:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662470144001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662470144001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:11:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:11:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662470144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":162426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:11:42] local.INFO: GPS data processed {"connection_id":162426,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:11:42] local.INFO: Acknowledgment sent {"connection_id":162426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:12:14] local.INFO: TCP Data received {"connection_id":162426,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:12:14] local.INFO: Processing buffer {"connection_id":162426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:12:14] local.INFO: Packet analysis {"connection_id":162426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ddd"} 
[2026-08-26 17:12:14] local.INFO: Extracted packet for processing {"connection_id":162426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ddd"} 
[2026-08-26 17:12:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662470144001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:12: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-26 17:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787744325000,"timestamp_ms":1787744325000,"timestamp_seconds":1787744325,"priority":1,"record_length":96,"hex_timestamp":"000001a03ddd8d88"} 
[2026-08-26 17: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-26 17: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-26 17: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:12: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-26 17: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-26 17: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-26 17:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662470144001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662470144001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:12:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:12:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662470144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":162426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:12:14] local.INFO: GPS data processed {"connection_id":162426,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:12:14] local.INFO: Acknowledgment sent {"connection_id":162426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:12:36] local.INFO: TCP Data received {"connection_id":165028,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:12:36] local.INFO: Processing buffer {"connection_id":165028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:12:36] local.INFO: IMEI packet received {"connection_id":165028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":165028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:12:41] local.INFO: TCP Data received {"connection_id":165028,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:12:41] local.INFO: Processing buffer {"connection_id":165028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:12:41] local.INFO: IMEI packet received {"connection_id":165028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":165028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:12:42] local.INFO: TCP Data received {"connection_id":165028,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:12:42] local.INFO: Processing buffer {"connection_id":165028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:12:42] local.INFO: Packet analysis {"connection_id":165028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ddd"} 
[2026-08-26 17:12:42] local.INFO: Extracted packet for processing {"connection_id":165028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ddd"} 
[2026-08-26 17:12:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662470144001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:12: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-26 17:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787744325000,"timestamp_ms":1787744325000,"timestamp_seconds":1787744325,"priority":1,"record_length":96,"hex_timestamp":"000001a03ddd8d88"} 
[2026-08-26 17:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:12: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-26 17:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:12:42] 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-26 17:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662470144001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662470144001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:12:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:12:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662470144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":165028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:12:42] local.INFO: GPS data processed {"connection_id":165028,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:12:42] local.INFO: Acknowledgment sent {"connection_id":165028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:13:14] local.INFO: TCP Data received {"connection_id":165028,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:13:14] local.INFO: Processing buffer {"connection_id":165028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:13:14] local.INFO: Packet analysis {"connection_id":165028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ddd"} 
[2026-08-26 17:13:14] local.INFO: Extracted packet for processing {"connection_id":165028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ddd"} 
[2026-08-26 17:13:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662470144001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:13: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-26 17:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787744325000,"timestamp_ms":1787744325000,"timestamp_seconds":1787744325,"priority":1,"record_length":96,"hex_timestamp":"000001a03ddd8d88"} 
[2026-08-26 17:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:13: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-26 17:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:13: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-26 17:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662470144001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662470144001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:13:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:13:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662470144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":165028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:13:14] local.INFO: GPS data processed {"connection_id":165028,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:13:14] local.INFO: Acknowledgment sent {"connection_id":165028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:13:36] local.INFO: TCP Data received {"connection_id":162661,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:13:36] local.INFO: Processing buffer {"connection_id":162661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:13:36] local.INFO: IMEI packet received {"connection_id":162661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":162661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:13:41] local.INFO: TCP Data received {"connection_id":162661,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:13:41] local.INFO: Processing buffer {"connection_id":162661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:13:41] local.INFO: IMEI packet received {"connection_id":162661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":162661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:13:43] local.INFO: TCP Data received {"connection_id":162661,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:13:43] local.INFO: Processing buffer {"connection_id":162661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:13:43] local.INFO: Packet analysis {"connection_id":162661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ddd"} 
[2026-08-26 17:13:43] local.INFO: Extracted packet for processing {"connection_id":162661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ddd"} 
[2026-08-26 17:13:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662470144001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17: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-26 17:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787744325000,"timestamp_ms":1787744325000,"timestamp_seconds":1787744325,"priority":1,"record_length":96,"hex_timestamp":"000001a03ddd8d88"} 
[2026-08-26 17: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-26 17:13: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-26 17: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:13:43] 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-26 17: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-26 17: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-26 17:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662470144001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662470144001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:13:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:13:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662470144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":162661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:13:43] local.INFO: GPS data processed {"connection_id":162661,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:13:43] local.INFO: Acknowledgment sent {"connection_id":162661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:14:14] local.INFO: TCP Data received {"connection_id":162661,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:14:14] local.INFO: Processing buffer {"connection_id":162661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ddd8d88012d34c14006aa4818000c00e628..."} 
[2026-08-26 17:14:14] local.INFO: Packet analysis {"connection_id":162661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ddd"} 
[2026-08-26 17:14:14] local.INFO: Extracted packet for processing {"connection_id":162661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ddd"} 
[2026-08-26 17:14:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 17:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662470144001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:14: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-26 17:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787744325000,"timestamp_ms":1787744325000,"timestamp_seconds":1787744325,"priority":1,"record_length":96,"hex_timestamp":"000001a03ddd8d88"} 
[2026-08-26 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-26 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-26 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":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:14: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-26 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-26 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-26 17:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662470144001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662470144001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:14:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:14:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662470144001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":162661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:14:14] local.INFO: GPS data processed {"connection_id":162661,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:14:14] local.INFO: Acknowledgment sent {"connection_id":162661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:14:36] local.INFO: TCP Data received {"connection_id":165029,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:14:36] local.INFO: Processing buffer {"connection_id":165029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:14:36] local.INFO: IMEI packet received {"connection_id":165029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":165029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:14:41] local.INFO: TCP Data received {"connection_id":165029,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:14:41] local.INFO: Processing buffer {"connection_id":165029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:14:41] local.INFO: IMEI packet received {"connection_id":165029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":165029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:14:42] local.INFO: TCP Data received {"connection_id":165029,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:14:42] local.INFO: Processing buffer {"connection_id":165029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:14:42] local.INFO: Packet analysis {"connection_id":165029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03de2"} 
[2026-08-26 17:14:42] local.INFO: Extracted packet for processing {"connection_id":165029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03de2"} 
[2026-08-26 17:14:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662547200001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17: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-26 17:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787744626000,"timestamp_ms":1787744626000,"timestamp_seconds":1787744626,"priority":1,"record_length":96,"hex_timestamp":"000001a03de22550"} 
[2026-08-26 17: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-26 17: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-26 17: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 17:14: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-26 17: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-26 17: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-26 17:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662547200001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662547200001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:14:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:14:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662547200001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":165029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:14:42] local.INFO: GPS data processed {"connection_id":165029,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:14:42] local.INFO: Acknowledgment sent {"connection_id":165029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:15:14] local.INFO: TCP Data received {"connection_id":165029,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:15:14] local.INFO: Processing buffer {"connection_id":165029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:15:14] local.INFO: Packet analysis {"connection_id":165029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03de2"} 
[2026-08-26 17:15:14] local.INFO: Extracted packet for processing {"connection_id":165029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03de2"} 
[2026-08-26 17:15:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662547200001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:15: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-26 17:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787744626000,"timestamp_ms":1787744626000,"timestamp_seconds":1787744626,"priority":1,"record_length":96,"hex_timestamp":"000001a03de22550"} 
[2026-08-26 17:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:15: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-26 17:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 17:15: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-26 17:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662547200001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662547200001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:15:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:15:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662547200001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":165029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:15:14] local.INFO: GPS data processed {"connection_id":165029,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:15:14] local.INFO: Acknowledgment sent {"connection_id":165029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:15:36] local.INFO: TCP Data received {"connection_id":163691,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:15:36] local.INFO: Processing buffer {"connection_id":163691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:15:36] local.INFO: IMEI packet received {"connection_id":163691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":163691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:15:41] local.INFO: TCP Data received {"connection_id":163691,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:15:41] local.INFO: Processing buffer {"connection_id":163691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:15:41] local.INFO: IMEI packet received {"connection_id":163691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":163691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:15:42] local.INFO: TCP Data received {"connection_id":163691,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:15:42] local.INFO: Processing buffer {"connection_id":163691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:15:42] local.INFO: Packet analysis {"connection_id":163691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03de2"} 
[2026-08-26 17:15:42] local.INFO: Extracted packet for processing {"connection_id":163691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03de2"} 
[2026-08-26 17:15:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662547200001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17: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-26 17:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787744626000,"timestamp_ms":1787744626000,"timestamp_seconds":1787744626,"priority":1,"record_length":96,"hex_timestamp":"000001a03de22550"} 
[2026-08-26 17: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-26 17: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-26 17: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-26 17: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-26 17: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-26 17: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-26 17:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662547200001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662547200001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:15:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:15:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662547200001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":163691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:15:42] local.INFO: GPS data processed {"connection_id":163691,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:15:42] local.INFO: Acknowledgment sent {"connection_id":163691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:16:14] local.INFO: TCP Data received {"connection_id":163691,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:16:14] local.INFO: Processing buffer {"connection_id":163691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:16:14] local.INFO: Packet analysis {"connection_id":163691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03de2"} 
[2026-08-26 17:16:14] local.INFO: Extracted packet for processing {"connection_id":163691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03de2"} 
[2026-08-26 17:16:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662547200001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:16: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-26 17:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787744626000,"timestamp_ms":1787744626000,"timestamp_seconds":1787744626,"priority":1,"record_length":96,"hex_timestamp":"000001a03de22550"} 
[2026-08-26 17:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:16: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-26 17:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 17:16: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-26 17:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662547200001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662547200001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:16:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:16:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662547200001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":163691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:16:14] local.INFO: GPS data processed {"connection_id":163691,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:16:14] local.INFO: Acknowledgment sent {"connection_id":163691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:16:36] local.INFO: TCP Data received {"connection_id":162662,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:16:36] local.INFO: Processing buffer {"connection_id":162662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:16:36] local.INFO: IMEI packet received {"connection_id":162662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":162662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:16:41] local.INFO: TCP Data received {"connection_id":162662,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:16:41] local.INFO: Processing buffer {"connection_id":162662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:16:41] local.INFO: IMEI packet received {"connection_id":162662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":162662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:16:42] local.INFO: TCP Data received {"connection_id":162662,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:16:42] local.INFO: Processing buffer {"connection_id":162662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:16:42] local.INFO: Packet analysis {"connection_id":162662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03de2"} 
[2026-08-26 17:16:42] local.INFO: Extracted packet for processing {"connection_id":162662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03de2"} 
[2026-08-26 17:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662547200001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17: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-26 17:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787744626000,"timestamp_ms":1787744626000,"timestamp_seconds":1787744626,"priority":1,"record_length":96,"hex_timestamp":"000001a03de22550"} 
[2026-08-26 17:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17: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-26 17:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 17: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-26 17:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662547200001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662547200001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:16:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662547200001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":162662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:16:42] local.INFO: GPS data processed {"connection_id":162662,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:16:42] local.INFO: Acknowledgment sent {"connection_id":162662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:16:51] local.INFO: TCP Data received {"connection_id":163690,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:16:51] local.INFO: Processing buffer {"connection_id":163690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:16:51] local.INFO: IMEI packet received {"connection_id":163690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 17:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":163690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:17:14] local.INFO: TCP Data received {"connection_id":162662,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:17:14] local.INFO: Processing buffer {"connection_id":162662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:17:14] local.INFO: Packet analysis {"connection_id":162662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03de2"} 
[2026-08-26 17:17:14] local.INFO: Extracted packet for processing {"connection_id":162662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03de2"} 
[2026-08-26 17:17:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662547200001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:17: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-26 17:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787744626000,"timestamp_ms":1787744626000,"timestamp_seconds":1787744626,"priority":1,"record_length":96,"hex_timestamp":"000001a03de22550"} 
[2026-08-26 17:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:17: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-26 17:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 17:17: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-26 17:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662547200001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662547200001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:17:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:17:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662547200001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":162662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:17:14] local.INFO: GPS data processed {"connection_id":162662,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:17:14] local.INFO: Acknowledgment sent {"connection_id":162662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:17:36] local.INFO: TCP Data received {"connection_id":162663,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:17:36] local.INFO: Processing buffer {"connection_id":162663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:17:36] local.INFO: IMEI packet received {"connection_id":162663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":162663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:17:42] local.INFO: TCP Data received {"connection_id":162663,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:17:42] local.INFO: Processing buffer {"connection_id":162663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:17:42] local.INFO: IMEI packet received {"connection_id":162663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":162663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:17:43] local.INFO: TCP Data received {"connection_id":162663,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:17:43] local.INFO: Processing buffer {"connection_id":162663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:17:43] local.INFO: Packet analysis {"connection_id":162663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03de2"} 
[2026-08-26 17:17:43] local.INFO: Extracted packet for processing {"connection_id":162663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03de2"} 
[2026-08-26 17:17:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662547200001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:17: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-26 17:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787744626000,"timestamp_ms":1787744626000,"timestamp_seconds":1787744626,"priority":1,"record_length":96,"hex_timestamp":"000001a03de22550"} 
[2026-08-26 17: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-26 17:17: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-26 17: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 17:17: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-26 17: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-26 17: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-26 17:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662547200001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662547200001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:17:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:17:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662547200001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":162663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:17:43] local.INFO: GPS data processed {"connection_id":162663,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:17:43] local.INFO: Acknowledgment sent {"connection_id":162663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:18:14] local.INFO: TCP Data received {"connection_id":162663,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:18:14] local.INFO: Processing buffer {"connection_id":162663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:18:14] local.INFO: Packet analysis {"connection_id":162663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03de2"} 
[2026-08-26 17:18:14] local.INFO: Extracted packet for processing {"connection_id":162663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03de2"} 
[2026-08-26 17:18:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662547200001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:18: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-26 17:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787744626000,"timestamp_ms":1787744626000,"timestamp_seconds":1787744626,"priority":1,"record_length":96,"hex_timestamp":"000001a03de22550"} 
[2026-08-26 17: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-26 17:18: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-26 17: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 17:18: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-26 17: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-26 17: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-26 17:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662547200001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662547200001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:18:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:18:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662547200001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":162663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:18:14] local.INFO: GPS data processed {"connection_id":162663,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:18:14] local.INFO: Acknowledgment sent {"connection_id":162663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:18:41] local.INFO: TCP Data received {"connection_id":163693,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:18:41] local.INFO: Processing buffer {"connection_id":163693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:18:41] local.INFO: IMEI packet received {"connection_id":163693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":163693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:18:46] local.INFO: TCP Data received {"connection_id":163693,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:18:46] local.INFO: Processing buffer {"connection_id":163693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:18:46] local.INFO: IMEI packet received {"connection_id":163693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":163693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:18:47] local.INFO: TCP Data received {"connection_id":163693,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:18:47] local.INFO: Processing buffer {"connection_id":163693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:18:47] local.INFO: Packet analysis {"connection_id":163693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03de2"} 
[2026-08-26 17:18:47] local.INFO: Extracted packet for processing {"connection_id":163693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03de2"} 
[2026-08-26 17:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662547200001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:18: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-26 17:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787744626000,"timestamp_ms":1787744626000,"timestamp_seconds":1787744626,"priority":1,"record_length":96,"hex_timestamp":"000001a03de22550"} 
[2026-08-26 17: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-26 17:18: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-26 17: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 17:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 17: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-26 17: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-26 17:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662547200001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662547200001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:18:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:18:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662547200001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":163693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:18:47] local.INFO: GPS data processed {"connection_id":163693,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:18:47] local.INFO: Acknowledgment sent {"connection_id":163693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:18:52] local.INFO: TCP Data received {"connection_id":163693,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:18:52] local.INFO: Processing buffer {"connection_id":163693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03de22550012d34c14006aa4818000a00e627..."} 
[2026-08-26 17:18:52] local.INFO: Packet analysis {"connection_id":163693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03de2"} 
[2026-08-26 17:18:52] local.INFO: Extracted packet for processing {"connection_id":163693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03de2"} 
[2026-08-26 17:18:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662547200001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:18: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-26 17:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787744626000,"timestamp_ms":1787744626000,"timestamp_seconds":1787744626,"priority":1,"record_length":96,"hex_timestamp":"000001a03de22550"} 
[2026-08-26 17: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-26 17:18: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-26 17: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 17:18: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-26 17: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-26 17: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-26 17:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662547200001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662547200001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:18:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:18:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662547200001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":163693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:18:52] local.INFO: GPS data processed {"connection_id":163693,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:18:52] local.INFO: Acknowledgment sent {"connection_id":163693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:19:36] local.INFO: TCP Data received {"connection_id":162664,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:19:36] local.INFO: Processing buffer {"connection_id":162664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:19:36] local.INFO: IMEI packet received {"connection_id":162664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":162664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:19:42] local.INFO: TCP Data received {"connection_id":162664,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:19:42] local.INFO: Processing buffer {"connection_id":162664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:19:42] local.INFO: IMEI packet received {"connection_id":162664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":162664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:19:43] local.INFO: TCP Data received {"connection_id":162664,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:19:43] local.INFO: Processing buffer {"connection_id":162664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:19:43] local.INFO: Packet analysis {"connection_id":162664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03de6"} 
[2026-08-26 17:19:43] local.INFO: Extracted packet for processing {"connection_id":162664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03de6"} 
[2026-08-26 17:19:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662624256001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17: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-26 17:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787744927000,"timestamp_ms":1787744927000,"timestamp_seconds":1787744927,"priority":1,"record_length":96,"hex_timestamp":"000001a03de6bd18"} 
[2026-08-26 17: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-26 17:19: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-26 17: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":107,"data_length":795,"current_offset":136} 
[2026-08-26 17:19:43] 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-26 17: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-26 17: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-26 17:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662624256001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662624256001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:19:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:19:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662624256001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":162664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:19:43] local.INFO: GPS data processed {"connection_id":162664,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:19:43] local.INFO: Acknowledgment sent {"connection_id":162664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:20:14] local.INFO: TCP Data received {"connection_id":162664,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:20:14] local.INFO: Processing buffer {"connection_id":162664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:20:14] local.INFO: Packet analysis {"connection_id":162664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03de6"} 
[2026-08-26 17:20:14] local.INFO: Extracted packet for processing {"connection_id":162664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03de6"} 
[2026-08-26 17:20:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 17:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662624256001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:20: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-26 17:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787744927000,"timestamp_ms":1787744927000,"timestamp_seconds":1787744927,"priority":1,"record_length":96,"hex_timestamp":"000001a03de6bd18"} 
[2026-08-26 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-26 17:20: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-26 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 17:20: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-26 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-26 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-26 17:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662624256001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662624256001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:20:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:20:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662624256001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":162664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:20:14] local.INFO: GPS data processed {"connection_id":162664,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:20:14] local.INFO: Acknowledgment sent {"connection_id":162664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:20:36] local.INFO: TCP Data received {"connection_id":163694,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:20:36] local.INFO: Processing buffer {"connection_id":163694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:20:36] local.INFO: IMEI packet received {"connection_id":163694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":163694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:20:41] local.INFO: TCP Data received {"connection_id":163694,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:20:41] local.INFO: Processing buffer {"connection_id":163694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:20:41] local.INFO: IMEI packet received {"connection_id":163694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":163694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:20:42] local.INFO: TCP Data received {"connection_id":163694,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:20:42] local.INFO: Processing buffer {"connection_id":163694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:20:42] local.INFO: Packet analysis {"connection_id":163694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03de6"} 
[2026-08-26 17:20:42] local.INFO: Extracted packet for processing {"connection_id":163694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03de6"} 
[2026-08-26 17:20:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662624256001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:20: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-26 17:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787744927000,"timestamp_ms":1787744927000,"timestamp_seconds":1787744927,"priority":1,"record_length":96,"hex_timestamp":"000001a03de6bd18"} 
[2026-08-26 17:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:20: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-26 17:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 17:20:42] 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-26 17:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662624256001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662624256001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:20:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:20:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662624256001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":163694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:20:42] local.INFO: GPS data processed {"connection_id":163694,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:20:42] local.INFO: Acknowledgment sent {"connection_id":163694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:21:13] local.INFO: TCP Data received {"connection_id":163694,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:21:13] local.INFO: Processing buffer {"connection_id":163694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:21:13] local.INFO: Packet analysis {"connection_id":163694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03de6"} 
[2026-08-26 17:21:13] local.INFO: Extracted packet for processing {"connection_id":163694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03de6"} 
[2026-08-26 17:21:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662624256001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:21: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-26 17:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787744927000,"timestamp_ms":1787744927000,"timestamp_seconds":1787744927,"priority":1,"record_length":96,"hex_timestamp":"000001a03de6bd18"} 
[2026-08-26 17: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-26 17:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 17: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 17:21:13] 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-26 17: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-26 17: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-26 17:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662624256001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662624256001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:21:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:21:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662624256001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":163694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:21:13] local.INFO: GPS data processed {"connection_id":163694,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:21:13] local.INFO: Acknowledgment sent {"connection_id":163694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:21:36] local.INFO: TCP Data received {"connection_id":165030,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:21:36] local.INFO: Processing buffer {"connection_id":165030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:21:36] local.INFO: IMEI packet received {"connection_id":165030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":165030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:21:41] local.INFO: TCP Data received {"connection_id":165030,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:21:41] local.INFO: Processing buffer {"connection_id":165030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:21:41] local.INFO: IMEI packet received {"connection_id":165030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":165030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:21:43] local.INFO: TCP Data received {"connection_id":165030,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:21:43] local.INFO: Processing buffer {"connection_id":165030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:21:43] local.INFO: Packet analysis {"connection_id":165030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03de6"} 
[2026-08-26 17:21:43] local.INFO: Extracted packet for processing {"connection_id":165030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03de6"} 
[2026-08-26 17:21:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662624256001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:21: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-26 17:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787744927000,"timestamp_ms":1787744927000,"timestamp_seconds":1787744927,"priority":1,"record_length":96,"hex_timestamp":"000001a03de6bd18"} 
[2026-08-26 17:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:21: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-26 17:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 17:21:43] 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-26 17:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662624256001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662624256001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:21:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:21:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662624256001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":165030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:21:43] local.INFO: GPS data processed {"connection_id":165030,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:21:43] local.INFO: Acknowledgment sent {"connection_id":165030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:22:14] local.INFO: TCP Data received {"connection_id":165030,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:22:14] local.INFO: Processing buffer {"connection_id":165030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:22:14] local.INFO: Packet analysis {"connection_id":165030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03de6"} 
[2026-08-26 17:22:14] local.INFO: Extracted packet for processing {"connection_id":165030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03de6"} 
[2026-08-26 17:22:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 17:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662624256001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:22: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-26 17:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787744927000,"timestamp_ms":1787744927000,"timestamp_seconds":1787744927,"priority":1,"record_length":96,"hex_timestamp":"000001a03de6bd18"} 
[2026-08-26 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-26 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-26 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":107,"data_length":795,"current_offset":136} 
[2026-08-26 17:22: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-26 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-26 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-26 17:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662624256001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662624256001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:22:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:22:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662624256001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":165030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:22:14] local.INFO: GPS data processed {"connection_id":165030,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:22:14] local.INFO: Acknowledgment sent {"connection_id":165030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:22:27] local.INFO: TCP Data received {"connection_id":163692,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163692,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:22:27] local.INFO: Processing buffer {"connection_id":163692,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:22:27] local.INFO: IMEI packet received {"connection_id":163692,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 17:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":163692,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:22:36] local.INFO: TCP Data received {"connection_id":162427,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:22:36] local.INFO: Processing buffer {"connection_id":162427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:22:36] local.INFO: IMEI packet received {"connection_id":162427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":162427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:22:41] local.INFO: TCP Data received {"connection_id":162427,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:22:41] local.INFO: Processing buffer {"connection_id":162427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:22:41] local.INFO: IMEI packet received {"connection_id":162427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":162427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:22:42] local.INFO: TCP Data received {"connection_id":162427,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:22:42] local.INFO: Processing buffer {"connection_id":162427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:22:42] local.INFO: Packet analysis {"connection_id":162427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03de6"} 
[2026-08-26 17:22:42] local.INFO: Extracted packet for processing {"connection_id":162427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03de6"} 
[2026-08-26 17:22:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662624256001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:22: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-26 17:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787744927000,"timestamp_ms":1787744927000,"timestamp_seconds":1787744927,"priority":1,"record_length":96,"hex_timestamp":"000001a03de6bd18"} 
[2026-08-26 17:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:22: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-26 17:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 17:22:42] 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-26 17:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662624256001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662624256001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:22:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:22:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662624256001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":162427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:22:42] local.INFO: GPS data processed {"connection_id":162427,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:22:42] local.INFO: Acknowledgment sent {"connection_id":162427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:23:02] local.INFO: TCP Data received {"connection_id":162665,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:23:02] local.INFO: Processing buffer {"connection_id":162665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:23:02] local.INFO: IMEI packet received {"connection_id":162665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 17:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":162665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:23:14] local.INFO: TCP Data received {"connection_id":162427,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:23:14] local.INFO: Processing buffer {"connection_id":162427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:23:14] local.INFO: Packet analysis {"connection_id":162427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03de6"} 
[2026-08-26 17:23:14] local.INFO: Extracted packet for processing {"connection_id":162427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03de6"} 
[2026-08-26 17:23:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662624256001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:23: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-26 17:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787744927000,"timestamp_ms":1787744927000,"timestamp_seconds":1787744927,"priority":1,"record_length":96,"hex_timestamp":"000001a03de6bd18"} 
[2026-08-26 17: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-26 17:23: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-26 17:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 17:23: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-26 17:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17: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-26 17:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662624256001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662624256001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:23:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:23:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662624256001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":162427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:23:14] local.INFO: GPS data processed {"connection_id":162427,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:23:14] local.INFO: Acknowledgment sent {"connection_id":162427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:23:36] local.INFO: TCP Data received {"connection_id":162666,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:23:36] local.INFO: Processing buffer {"connection_id":162666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:23:36] local.INFO: IMEI packet received {"connection_id":162666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":162666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:23:42] local.INFO: TCP Data received {"connection_id":162666,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:23:42] local.INFO: Processing buffer {"connection_id":162666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:23:42] local.INFO: IMEI packet received {"connection_id":162666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":162666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:23:42] local.INFO: TCP Data received {"connection_id":162666,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:23:42] local.INFO: Processing buffer {"connection_id":162666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:23:42] local.INFO: Packet analysis {"connection_id":162666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03de6"} 
[2026-08-26 17:23:42] local.INFO: Extracted packet for processing {"connection_id":162666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03de6"} 
[2026-08-26 17:23:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662624256001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17: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-26 17:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787744927000,"timestamp_ms":1787744927000,"timestamp_seconds":1787744927,"priority":1,"record_length":96,"hex_timestamp":"000001a03de6bd18"} 
[2026-08-26 17: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-26 17:23: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-26 17: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":107,"data_length":795,"current_offset":136} 
[2026-08-26 17:23:42] 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-26 17: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-26 17: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-26 17:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662624256001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662624256001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:23:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:23:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662624256001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":162666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:23:42] local.INFO: GPS data processed {"connection_id":162666,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:23:42] local.INFO: Acknowledgment sent {"connection_id":162666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:24:14] local.INFO: TCP Data received {"connection_id":162666,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:24:14] local.INFO: Processing buffer {"connection_id":162666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03de6bd18012d34c14006aa4818000c00e62a..."} 
[2026-08-26 17:24:14] local.INFO: Packet analysis {"connection_id":162666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03de6"} 
[2026-08-26 17:24:14] local.INFO: Extracted packet for processing {"connection_id":162666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03de6"} 
[2026-08-26 17:24:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662624256001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:24: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-26 17:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787744927000,"timestamp_ms":1787744927000,"timestamp_seconds":1787744927,"priority":1,"record_length":96,"hex_timestamp":"000001a03de6bd18"} 
[2026-08-26 17: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-26 17: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-26 17: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":107,"data_length":795,"current_offset":136} 
[2026-08-26 17:24: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-26 17: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-26 17: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-26 17:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662624256001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662624256001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:24:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:24:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662624256001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":162666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:24:14] local.INFO: GPS data processed {"connection_id":162666,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:24:14] local.INFO: Acknowledgment sent {"connection_id":162666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:24:36] local.INFO: TCP Data received {"connection_id":165031,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:24:36] local.INFO: Processing buffer {"connection_id":165031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:24:36] local.INFO: IMEI packet received {"connection_id":165031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":165031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:24:41] local.INFO: TCP Data received {"connection_id":165031,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:24:41] local.INFO: Processing buffer {"connection_id":165031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:24:41] local.INFO: IMEI packet received {"connection_id":165031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":165031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:24:42] local.INFO: TCP Data received {"connection_id":165031,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:24:42] local.INFO: Processing buffer {"connection_id":165031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:24:42] local.INFO: Packet analysis {"connection_id":165031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03deb"} 
[2026-08-26 17:24:42] local.INFO: Extracted packet for processing {"connection_id":165031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03deb"} 
[2026-08-26 17:24:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662701312001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:24: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-26 17:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787745228000,"timestamp_ms":1787745228000,"timestamp_seconds":1787745228,"priority":1,"record_length":96,"hex_timestamp":"000001a03deb54e0"} 
[2026-08-26 17:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:24: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-26 17:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 17:24: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-26 17:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662701312001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662701312001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:24:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:24:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662701312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":165031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:24:42] local.INFO: GPS data processed {"connection_id":165031,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:24:42] local.INFO: Acknowledgment sent {"connection_id":165031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:25:14] local.INFO: TCP Data received {"connection_id":165031,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:25:14] local.INFO: Processing buffer {"connection_id":165031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:25:14] local.INFO: Packet analysis {"connection_id":165031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03deb"} 
[2026-08-26 17:25:14] local.INFO: Extracted packet for processing {"connection_id":165031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03deb"} 
[2026-08-26 17:25:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662701312001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:25: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-26 17:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787745228000,"timestamp_ms":1787745228000,"timestamp_seconds":1787745228,"priority":1,"record_length":96,"hex_timestamp":"000001a03deb54e0"} 
[2026-08-26 17:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:25: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-26 17:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 17:25: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-26 17:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662701312001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662701312001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:25:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:25:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662701312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":165031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:25:14] local.INFO: GPS data processed {"connection_id":165031,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:25:14] local.INFO: Acknowledgment sent {"connection_id":165031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:25:36] local.INFO: TCP Data received {"connection_id":163695,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:25:36] local.INFO: Processing buffer {"connection_id":163695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:25:36] local.INFO: IMEI packet received {"connection_id":163695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":163695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:25:41] local.INFO: TCP Data received {"connection_id":163695,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:25:41] local.INFO: Processing buffer {"connection_id":163695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:25:41] local.INFO: IMEI packet received {"connection_id":163695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":163695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:25:42] local.INFO: TCP Data received {"connection_id":163695,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:25:42] local.INFO: Processing buffer {"connection_id":163695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:25:42] local.INFO: Packet analysis {"connection_id":163695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03deb"} 
[2026-08-26 17:25:42] local.INFO: Extracted packet for processing {"connection_id":163695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03deb"} 
[2026-08-26 17:25:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662701312001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:25: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-26 17:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787745228000,"timestamp_ms":1787745228000,"timestamp_seconds":1787745228,"priority":1,"record_length":96,"hex_timestamp":"000001a03deb54e0"} 
[2026-08-26 17: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-26 17:25: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-26 17: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 17:25: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-26 17: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-26 17: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-26 17:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662701312001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662701312001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:25:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:25:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662701312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":163695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:25:42] local.INFO: GPS data processed {"connection_id":163695,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:25:42] local.INFO: Acknowledgment sent {"connection_id":163695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:26:13] local.INFO: TCP Data received {"connection_id":163695,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:26:13] local.INFO: Processing buffer {"connection_id":163695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:26:13] local.INFO: Packet analysis {"connection_id":163695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03deb"} 
[2026-08-26 17:26:13] local.INFO: Extracted packet for processing {"connection_id":163695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03deb"} 
[2026-08-26 17:26:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 17:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662701312001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:26: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-26 17:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787745228000,"timestamp_ms":1787745228000,"timestamp_seconds":1787745228,"priority":1,"record_length":96,"hex_timestamp":"000001a03deb54e0"} 
[2026-08-26 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-26 17:26: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-26 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 17:26: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-26 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-26 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-26 17:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662701312001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662701312001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:26:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:26:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662701312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":163695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:26:13] local.INFO: GPS data processed {"connection_id":163695,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:26:13] local.INFO: Acknowledgment sent {"connection_id":163695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:26:36] local.INFO: TCP Data received {"connection_id":162429,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:26:36] local.INFO: Processing buffer {"connection_id":162429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:26:36] local.INFO: IMEI packet received {"connection_id":162429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":162429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:26:41] local.INFO: TCP Data received {"connection_id":162429,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:26:41] local.INFO: Processing buffer {"connection_id":162429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:26:41] local.INFO: IMEI packet received {"connection_id":162429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":162429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:26:42] local.INFO: TCP Data received {"connection_id":162429,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:26:42] local.INFO: Processing buffer {"connection_id":162429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:26:42] local.INFO: Packet analysis {"connection_id":162429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03deb"} 
[2026-08-26 17:26:42] local.INFO: Extracted packet for processing {"connection_id":162429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03deb"} 
[2026-08-26 17:26:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662701312001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:26: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-26 17:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787745228000,"timestamp_ms":1787745228000,"timestamp_seconds":1787745228,"priority":1,"record_length":96,"hex_timestamp":"000001a03deb54e0"} 
[2026-08-26 17:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:26: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-26 17:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 17:26: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-26 17:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662701312001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662701312001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:26:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:26:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662701312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":162429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:26:42] local.INFO: GPS data processed {"connection_id":162429,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:26:42] local.INFO: Acknowledgment sent {"connection_id":162429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:27:13] local.INFO: TCP Data received {"connection_id":162429,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:27:13] local.INFO: Processing buffer {"connection_id":162429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:27:13] local.INFO: Packet analysis {"connection_id":162429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03deb"} 
[2026-08-26 17:27:13] local.INFO: Extracted packet for processing {"connection_id":162429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03deb"} 
[2026-08-26 17:27:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662701312001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:27: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-26 17:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787745228000,"timestamp_ms":1787745228000,"timestamp_seconds":1787745228,"priority":1,"record_length":96,"hex_timestamp":"000001a03deb54e0"} 
[2026-08-26 17:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:27: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-26 17:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 17:27: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-26 17:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662701312001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662701312001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:27:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:27:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662701312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":162429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:27:13] local.INFO: GPS data processed {"connection_id":162429,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:27:13] local.INFO: Acknowledgment sent {"connection_id":162429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:27:36] local.INFO: TCP Data received {"connection_id":162667,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:27:36] local.INFO: Processing buffer {"connection_id":162667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:27:36] local.INFO: IMEI packet received {"connection_id":162667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":162667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:27:41] local.INFO: TCP Data received {"connection_id":162667,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:27:41] local.INFO: Processing buffer {"connection_id":162667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:27:41] local.INFO: IMEI packet received {"connection_id":162667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":162667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:27:42] local.INFO: TCP Data received {"connection_id":162667,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:27:42] local.INFO: Processing buffer {"connection_id":162667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:27:42] local.INFO: Packet analysis {"connection_id":162667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03deb"} 
[2026-08-26 17:27:42] local.INFO: Extracted packet for processing {"connection_id":162667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03deb"} 
[2026-08-26 17:27:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662701312001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:27: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-26 17:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787745228000,"timestamp_ms":1787745228000,"timestamp_seconds":1787745228,"priority":1,"record_length":96,"hex_timestamp":"000001a03deb54e0"} 
[2026-08-26 17: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-26 17: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-26 17: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 17:27: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-26 17: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-26 17: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-26 17:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662701312001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662701312001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:27:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:27:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662701312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":162667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:27:42] local.INFO: GPS data processed {"connection_id":162667,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:27:42] local.INFO: Acknowledgment sent {"connection_id":162667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:28:14] local.INFO: TCP Data received {"connection_id":162667,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:28:14] local.INFO: Processing buffer {"connection_id":162667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:28:14] local.INFO: Packet analysis {"connection_id":162667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03deb"} 
[2026-08-26 17:28:14] local.INFO: Extracted packet for processing {"connection_id":162667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03deb"} 
[2026-08-26 17:28:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662701312001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:28: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-26 17:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787745228000,"timestamp_ms":1787745228000,"timestamp_seconds":1787745228,"priority":1,"record_length":96,"hex_timestamp":"000001a03deb54e0"} 
[2026-08-26 17:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:28: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-26 17:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 17:28: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-26 17:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662701312001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662701312001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:28:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:28:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662701312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":162667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:28:14] local.INFO: GPS data processed {"connection_id":162667,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:28:14] local.INFO: Acknowledgment sent {"connection_id":162667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:28:27] local.INFO: TCP Data received {"connection_id":162668,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:28:27] local.INFO: Processing buffer {"connection_id":162668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:28:27] local.INFO: IMEI packet received {"connection_id":162668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 17:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":162668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:28:41] local.INFO: TCP Data received {"connection_id":165032,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:28:41] local.INFO: Processing buffer {"connection_id":165032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:28:41] local.INFO: IMEI packet received {"connection_id":165032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":165032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:28:46] local.INFO: TCP Data received {"connection_id":165032,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:28:46] local.INFO: Processing buffer {"connection_id":165032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:28:46] local.INFO: IMEI packet received {"connection_id":165032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":165032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:28:47] local.INFO: TCP Data received {"connection_id":165032,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:28:47] local.INFO: Processing buffer {"connection_id":165032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:28:47] local.INFO: Packet analysis {"connection_id":165032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03deb"} 
[2026-08-26 17:28:47] local.INFO: Extracted packet for processing {"connection_id":165032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03deb"} 
[2026-08-26 17:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662701312001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:28: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-26 17:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787745228000,"timestamp_ms":1787745228000,"timestamp_seconds":1787745228,"priority":1,"record_length":96,"hex_timestamp":"000001a03deb54e0"} 
[2026-08-26 17: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-26 17:28: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-26 17: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 17:28: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-26 17: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-26 17: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-26 17:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662701312001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662701312001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:28:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:28:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662701312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":165032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:28:47] local.INFO: GPS data processed {"connection_id":165032,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:28:47] local.INFO: Acknowledgment sent {"connection_id":165032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:28:52] local.INFO: TCP Data received {"connection_id":165032,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:28:52] local.INFO: Processing buffer {"connection_id":165032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03deb54e0012d34c14006aa4818000e00e62a..."} 
[2026-08-26 17:28:52] local.INFO: Packet analysis {"connection_id":165032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03deb"} 
[2026-08-26 17:28:52] local.INFO: Extracted packet for processing {"connection_id":165032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03deb"} 
[2026-08-26 17:28:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:28: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-26 17:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662701312001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:28: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-26 17:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787745228000,"timestamp_ms":1787745228000,"timestamp_seconds":1787745228,"priority":1,"record_length":96,"hex_timestamp":"000001a03deb54e0"} 
[2026-08-26 17: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-26 17:28: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-26 17: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 17:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 17: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-26 17: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-26 17:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662701312001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662701312001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:28:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:28:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662701312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":165032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:28:52] local.INFO: GPS data processed {"connection_id":165032,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:28:52] local.INFO: Acknowledgment sent {"connection_id":165032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:29:36] local.INFO: TCP Data received {"connection_id":162669,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:29:36] local.INFO: Processing buffer {"connection_id":162669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:29:36] local.INFO: IMEI packet received {"connection_id":162669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":162669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:29:41] local.INFO: TCP Data received {"connection_id":162669,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:29:41] local.INFO: Processing buffer {"connection_id":162669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:29:41] local.INFO: IMEI packet received {"connection_id":162669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":162669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:29:42] local.INFO: TCP Data received {"connection_id":162669,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:29:42] local.INFO: Processing buffer {"connection_id":162669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:29:42] local.INFO: Packet analysis {"connection_id":162669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03def"} 
[2026-08-26 17:29:42] local.INFO: Extracted packet for processing {"connection_id":162669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03def"} 
[2026-08-26 17:29:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 17:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662778368001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17: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-26 17:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787745529000,"timestamp_ms":1787745529000,"timestamp_seconds":1787745529,"priority":1,"record_length":96,"hex_timestamp":"000001a03defeca8"} 
[2026-08-26 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-26 17: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-26 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":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:29:42] 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-26 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-26 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-26 17:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662778368001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662778368001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:29:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:29:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662778368001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":162669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:29:42] local.INFO: GPS data processed {"connection_id":162669,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:29:42] local.INFO: Acknowledgment sent {"connection_id":162669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:30:14] local.INFO: TCP Data received {"connection_id":162669,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:30:14] local.INFO: Processing buffer {"connection_id":162669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:30:14] local.INFO: Packet analysis {"connection_id":162669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03def"} 
[2026-08-26 17:30:14] local.INFO: Extracted packet for processing {"connection_id":162669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03def"} 
[2026-08-26 17:30:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662778368001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:30: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-26 17:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787745529000,"timestamp_ms":1787745529000,"timestamp_seconds":1787745529,"priority":1,"record_length":96,"hex_timestamp":"000001a03defeca8"} 
[2026-08-26 17:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17: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-26 17:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:30: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-26 17: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-26 17:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662778368001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662778368001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:30:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:30:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662778368001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":162669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:30:14] local.INFO: GPS data processed {"connection_id":162669,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:30:14] local.INFO: Acknowledgment sent {"connection_id":162669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:30:36] local.INFO: TCP Data received {"connection_id":162430,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:30:36] local.INFO: Processing buffer {"connection_id":162430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:30:36] local.INFO: IMEI packet received {"connection_id":162430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":162430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:30:41] local.INFO: TCP Data received {"connection_id":162430,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:30:41] local.INFO: Processing buffer {"connection_id":162430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:30:41] local.INFO: IMEI packet received {"connection_id":162430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":162430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:30:42] local.INFO: TCP Data received {"connection_id":162430,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:30:42] local.INFO: Processing buffer {"connection_id":162430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:30:42] local.INFO: Packet analysis {"connection_id":162430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03def"} 
[2026-08-26 17:30:42] local.INFO: Extracted packet for processing {"connection_id":162430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03def"} 
[2026-08-26 17:30:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662778368001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:30: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-26 17:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787745529000,"timestamp_ms":1787745529000,"timestamp_seconds":1787745529,"priority":1,"record_length":96,"hex_timestamp":"000001a03defeca8"} 
[2026-08-26 17:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:30: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-26 17:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:30:42] 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-26 17:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662778368001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662778368001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:30:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:30:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662778368001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":162430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:30:42] local.INFO: GPS data processed {"connection_id":162430,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:30:42] local.INFO: Acknowledgment sent {"connection_id":162430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:31:15] local.INFO: TCP Data received {"connection_id":162430,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:31:15] local.INFO: Processing buffer {"connection_id":162430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:31:15] local.INFO: Packet analysis {"connection_id":162430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03def"} 
[2026-08-26 17:31:15] local.INFO: Extracted packet for processing {"connection_id":162430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03def"} 
[2026-08-26 17:31:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662778368001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17: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-26 17:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787745529000,"timestamp_ms":1787745529000,"timestamp_seconds":1787745529,"priority":1,"record_length":96,"hex_timestamp":"000001a03defeca8"} 
[2026-08-26 17: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-26 17: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-26 17: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:31: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-26 17: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-26 17: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-26 17:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662778368001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662778368001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:31:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:31:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662778368001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":162430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:31:15] local.INFO: GPS data processed {"connection_id":162430,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:31:15] local.INFO: Acknowledgment sent {"connection_id":162430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:31:36] local.INFO: TCP Data received {"connection_id":165033,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:31:36] local.INFO: Processing buffer {"connection_id":165033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:31:36] local.INFO: IMEI packet received {"connection_id":165033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":165033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:31:41] local.INFO: TCP Data received {"connection_id":165033,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:31:41] local.INFO: Processing buffer {"connection_id":165033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:31:41] local.INFO: IMEI packet received {"connection_id":165033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":165033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:31:42] local.INFO: TCP Data received {"connection_id":165033,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:31:42] local.INFO: Processing buffer {"connection_id":165033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:31:42] local.INFO: Packet analysis {"connection_id":165033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03def"} 
[2026-08-26 17:31:42] local.INFO: Extracted packet for processing {"connection_id":165033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03def"} 
[2026-08-26 17:31:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662778368001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:31: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-26 17:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787745529000,"timestamp_ms":1787745529000,"timestamp_seconds":1787745529,"priority":1,"record_length":96,"hex_timestamp":"000001a03defeca8"} 
[2026-08-26 17:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:31: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-26 17:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:31:42] 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-26 17:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662778368001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662778368001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:31:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:31:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662778368001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":165033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:31:42] local.INFO: GPS data processed {"connection_id":165033,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:31:42] local.INFO: Acknowledgment sent {"connection_id":165033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:32:14] local.INFO: TCP Data received {"connection_id":165033,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:32:14] local.INFO: Processing buffer {"connection_id":165033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:32:14] local.INFO: Packet analysis {"connection_id":165033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03def"} 
[2026-08-26 17:32:14] local.INFO: Extracted packet for processing {"connection_id":165033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03def"} 
[2026-08-26 17:32:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662778368001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:32: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-26 17:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787745529000,"timestamp_ms":1787745529000,"timestamp_seconds":1787745529,"priority":1,"record_length":96,"hex_timestamp":"000001a03defeca8"} 
[2026-08-26 17: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-26 17: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-26 17: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:32: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-26 17: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-26 17: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-26 17:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662778368001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662778368001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:32:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:32:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662778368001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":165033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:32:14] local.INFO: GPS data processed {"connection_id":165033,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:32:14] local.INFO: Acknowledgment sent {"connection_id":165033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:32:36] local.INFO: TCP Data received {"connection_id":165034,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:32:36] local.INFO: Processing buffer {"connection_id":165034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:32:36] local.INFO: IMEI packet received {"connection_id":165034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":165034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:32:41] local.INFO: TCP Data received {"connection_id":165034,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:32:41] local.INFO: Processing buffer {"connection_id":165034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:32:41] local.INFO: IMEI packet received {"connection_id":165034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":165034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:32:43] local.INFO: TCP Data received {"connection_id":165034,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:32:43] local.INFO: Processing buffer {"connection_id":165034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:32:43] local.INFO: Packet analysis {"connection_id":165034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03def"} 
[2026-08-26 17:32:43] local.INFO: Extracted packet for processing {"connection_id":165034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03def"} 
[2026-08-26 17:32:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662778368001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17: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-26 17:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787745529000,"timestamp_ms":1787745529000,"timestamp_seconds":1787745529,"priority":1,"record_length":96,"hex_timestamp":"000001a03defeca8"} 
[2026-08-26 17: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-26 17: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-26 17: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:32:43] 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-26 17: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-26 17: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-26 17:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662778368001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662778368001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:32:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:32:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662778368001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":165034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:32:43] local.INFO: GPS data processed {"connection_id":165034,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:32:43] local.INFO: Acknowledgment sent {"connection_id":165034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:33:14] local.INFO: TCP Data received {"connection_id":165034,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:33:14] local.INFO: Processing buffer {"connection_id":165034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:33:14] local.INFO: Packet analysis {"connection_id":165034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03def"} 
[2026-08-26 17:33:14] local.INFO: Extracted packet for processing {"connection_id":165034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03def"} 
[2026-08-26 17:33:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 17:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662778368001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:33: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-26 17:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787745529000,"timestamp_ms":1787745529000,"timestamp_seconds":1787745529,"priority":1,"record_length":96,"hex_timestamp":"000001a03defeca8"} 
[2026-08-26 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-26 17:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:33: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-26 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-26 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-26 17:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662778368001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662778368001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:33:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:33:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662778368001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":165034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:33:14] local.INFO: GPS data processed {"connection_id":165034,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:33:14] local.INFO: Acknowledgment sent {"connection_id":165034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:33:41] local.INFO: TCP Data received {"connection_id":162670,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:33:41] local.INFO: Processing buffer {"connection_id":162670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:33:41] local.INFO: IMEI packet received {"connection_id":162670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":162670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:33:46] local.INFO: TCP Data received {"connection_id":162670,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:33:46] local.INFO: Processing buffer {"connection_id":162670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:33:46] local.INFO: IMEI packet received {"connection_id":162670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":162670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:33:47] local.INFO: TCP Data received {"connection_id":162670,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:33:47] local.INFO: Processing buffer {"connection_id":162670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:33:47] local.INFO: Packet analysis {"connection_id":162670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03def"} 
[2026-08-26 17:33:47] local.INFO: Extracted packet for processing {"connection_id":162670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03def"} 
[2026-08-26 17:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662778368001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:33: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-26 17:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787745529000,"timestamp_ms":1787745529000,"timestamp_seconds":1787745529,"priority":1,"record_length":96,"hex_timestamp":"000001a03defeca8"} 
[2026-08-26 17:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:33: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-26 17:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:33:47] 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-26 17: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-26 17:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662778368001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662778368001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:33:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:33:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662778368001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":162670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:33:47] local.INFO: GPS data processed {"connection_id":162670,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:33:47] local.INFO: Acknowledgment sent {"connection_id":162670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:33:52] local.INFO: TCP Data received {"connection_id":162670,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:33:52] local.INFO: Processing buffer {"connection_id":162670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03defeca8012d34c14006aa4818000b00e628..."} 
[2026-08-26 17:33:52] local.INFO: Packet analysis {"connection_id":162670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03def"} 
[2026-08-26 17:33:52] local.INFO: Extracted packet for processing {"connection_id":162670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03def"} 
[2026-08-26 17:33:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662778368001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:33: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-26 17:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787745529000,"timestamp_ms":1787745529000,"timestamp_seconds":1787745529,"priority":1,"record_length":96,"hex_timestamp":"000001a03defeca8"} 
[2026-08-26 17:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:33: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-26 17:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:33:52] 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-26 17: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-26 17:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662778368001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662778368001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:33:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:33:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662778368001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":162670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:33:52] local.INFO: GPS data processed {"connection_id":162670,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:33:52] local.INFO: Acknowledgment sent {"connection_id":162670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:34:02] local.INFO: TCP Data received {"connection_id":162431,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:34:02] local.INFO: Processing buffer {"connection_id":162431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:34:02] local.INFO: IMEI packet received {"connection_id":162431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 17:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":162431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:34:36] local.INFO: TCP Data received {"connection_id":163696,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:34:36] local.INFO: Processing buffer {"connection_id":163696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:34:36] local.INFO: IMEI packet received {"connection_id":163696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":163696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:34:41] local.INFO: TCP Data received {"connection_id":163696,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:34:41] local.INFO: Processing buffer {"connection_id":163696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:34:41] local.INFO: IMEI packet received {"connection_id":163696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":163696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:34:43] local.INFO: TCP Data received {"connection_id":163696,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:34:43] local.INFO: Processing buffer {"connection_id":163696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:34:43] local.INFO: Packet analysis {"connection_id":163696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03df4"} 
[2026-08-26 17:34:43] local.INFO: Extracted packet for processing {"connection_id":163696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03df4"} 
[2026-08-26 17:34:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 17:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662855424001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:34: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-26 17:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787745830000,"timestamp_ms":1787745830000,"timestamp_seconds":1787745830,"priority":1,"record_length":96,"hex_timestamp":"000001a03df48470"} 
[2026-08-26 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-26 17:34: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-26 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:34:43] 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-26 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-26 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-26 17:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662855424001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662855424001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:34:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:34:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662855424001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":163696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:34:43] local.INFO: GPS data processed {"connection_id":163696,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:34:43] local.INFO: Acknowledgment sent {"connection_id":163696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:35:15] local.INFO: TCP Data received {"connection_id":163696,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:35:15] local.INFO: Processing buffer {"connection_id":163696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:35:15] local.INFO: Packet analysis {"connection_id":163696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03df4"} 
[2026-08-26 17:35:15] local.INFO: Extracted packet for processing {"connection_id":163696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03df4"} 
[2026-08-26 17:35:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 17:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662855424001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:35: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-26 17:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787745830000,"timestamp_ms":1787745830000,"timestamp_seconds":1787745830,"priority":1,"record_length":96,"hex_timestamp":"000001a03df48470"} 
[2026-08-26 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-26 17:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:35: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-26 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-26 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-26 17:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662855424001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662855424001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:35:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:35:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662855424001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":163696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:35:15] local.INFO: GPS data processed {"connection_id":163696,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:35:15] local.INFO: Acknowledgment sent {"connection_id":163696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:35:36] local.INFO: TCP Data received {"connection_id":162671,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:35:36] local.INFO: Processing buffer {"connection_id":162671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:35:36] local.INFO: IMEI packet received {"connection_id":162671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":162671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:35:41] local.INFO: TCP Data received {"connection_id":162671,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:35:41] local.INFO: Processing buffer {"connection_id":162671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:35:41] local.INFO: IMEI packet received {"connection_id":162671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":162671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:35:42] local.INFO: TCP Data received {"connection_id":162671,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:35:42] local.INFO: Processing buffer {"connection_id":162671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:35:42] local.INFO: Packet analysis {"connection_id":162671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03df4"} 
[2026-08-26 17:35:42] local.INFO: Extracted packet for processing {"connection_id":162671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03df4"} 
[2026-08-26 17:35:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662855424001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:35: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-26 17:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787745830000,"timestamp_ms":1787745830000,"timestamp_seconds":1787745830,"priority":1,"record_length":96,"hex_timestamp":"000001a03df48470"} 
[2026-08-26 17:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:35: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-26 17:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 17:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662855424001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662855424001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:35:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:35:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662855424001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":162671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:35:42] local.INFO: GPS data processed {"connection_id":162671,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:35:42] local.INFO: Acknowledgment sent {"connection_id":162671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:36:14] local.INFO: TCP Data received {"connection_id":162671,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:36:14] local.INFO: Processing buffer {"connection_id":162671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:36:14] local.INFO: Packet analysis {"connection_id":162671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03df4"} 
[2026-08-26 17:36:14] local.INFO: Extracted packet for processing {"connection_id":162671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03df4"} 
[2026-08-26 17:36:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662855424001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:36: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-26 17:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787745830000,"timestamp_ms":1787745830000,"timestamp_seconds":1787745830,"priority":1,"record_length":96,"hex_timestamp":"000001a03df48470"} 
[2026-08-26 17:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17: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-26 17:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:36: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-26 17:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662855424001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662855424001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:36:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:36:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662855424001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":162671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:36:14] local.INFO: GPS data processed {"connection_id":162671,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:36:14] local.INFO: Acknowledgment sent {"connection_id":162671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:36:41] local.INFO: TCP Data received {"connection_id":165035,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:36:41] local.INFO: Processing buffer {"connection_id":165035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:36:41] local.INFO: IMEI packet received {"connection_id":165035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":165035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:36:47] local.INFO: TCP Data received {"connection_id":165035,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:36:47] local.INFO: Processing buffer {"connection_id":165035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:36:47] local.INFO: IMEI packet received {"connection_id":165035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":165035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:36:48] local.INFO: TCP Data received {"connection_id":165035,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:36:48] local.INFO: Processing buffer {"connection_id":165035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:36:48] local.INFO: Packet analysis {"connection_id":165035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03df4"} 
[2026-08-26 17:36:48] local.INFO: Extracted packet for processing {"connection_id":165035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03df4"} 
[2026-08-26 17:36:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 17:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662855424001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 17:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787745830000,"timestamp_ms":1787745830000,"timestamp_seconds":1787745830,"priority":1,"record_length":96,"hex_timestamp":"000001a03df48470"} 
[2026-08-26 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-26 17:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:36:48] 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-26 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-26 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-26 17:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":165035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":165035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":165035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662855424001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662855424001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:36:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:36:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662855424001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":165035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:36:48] local.INFO: GPS data processed {"connection_id":165035,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:36:48] local.INFO: Acknowledgment sent {"connection_id":165035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:36:52] local.INFO: TCP Data received {"connection_id":165035,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:36:52] local.INFO: Processing buffer {"connection_id":165035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:36:52] local.INFO: Packet analysis {"connection_id":165035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03df4"} 
[2026-08-26 17:36:52] local.INFO: Extracted packet for processing {"connection_id":165035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03df4"} 
[2026-08-26 17:36:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662855424001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:36: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-26 17:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787745830000,"timestamp_ms":1787745830000,"timestamp_seconds":1787745830,"priority":1,"record_length":96,"hex_timestamp":"000001a03df48470"} 
[2026-08-26 17: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-26 17:36: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-26 17: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:36:52] 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-26 17: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-26 17: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-26 17:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662855424001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662855424001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:36:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:36:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662855424001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":165035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:36:52] local.INFO: GPS data processed {"connection_id":165035,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:36:52] local.INFO: Acknowledgment sent {"connection_id":165035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:37:36] local.INFO: TCP Data received {"connection_id":163697,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:37:36] local.INFO: Processing buffer {"connection_id":163697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:37:36] local.INFO: IMEI packet received {"connection_id":163697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":163697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:37:42] local.INFO: TCP Data received {"connection_id":163697,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:37:42] local.INFO: Processing buffer {"connection_id":163697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:37:42] local.INFO: IMEI packet received {"connection_id":163697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":163697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:37:43] local.INFO: TCP Data received {"connection_id":163697,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:37:43] local.INFO: Processing buffer {"connection_id":163697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:37:43] local.INFO: Packet analysis {"connection_id":163697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03df4"} 
[2026-08-26 17:37:43] local.INFO: Extracted packet for processing {"connection_id":163697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03df4"} 
[2026-08-26 17:37:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 17:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662855424001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:37: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-26 17:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787745830000,"timestamp_ms":1787745830000,"timestamp_seconds":1787745830,"priority":1,"record_length":96,"hex_timestamp":"000001a03df48470"} 
[2026-08-26 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-26 17:37: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-26 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:37:43] 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-26 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-26 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-26 17:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662855424001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662855424001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:37:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:37:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662855424001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":163697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:37:43] local.INFO: GPS data processed {"connection_id":163697,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:37:43] local.INFO: Acknowledgment sent {"connection_id":163697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:37:47] local.INFO: TCP Data received {"connection_id":163697,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:37:47] local.INFO: Processing buffer {"connection_id":163697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:37:47] local.INFO: Packet analysis {"connection_id":163697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03df4"} 
[2026-08-26 17:37:47] local.INFO: Extracted packet for processing {"connection_id":163697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03df4"} 
[2026-08-26 17:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662855424001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:37: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-26 17:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787745830000,"timestamp_ms":1787745830000,"timestamp_seconds":1787745830,"priority":1,"record_length":96,"hex_timestamp":"000001a03df48470"} 
[2026-08-26 17: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-26 17:37: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-26 17: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:37:47] 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-26 17: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-26 17: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-26 17:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662855424001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662855424001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:37:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:37:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662855424001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":163697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:37:47] local.INFO: GPS data processed {"connection_id":163697,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:37:47] local.INFO: Acknowledgment sent {"connection_id":163697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:38:19] local.INFO: TCP Data received {"connection_id":163697,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:38:19] local.INFO: Processing buffer {"connection_id":163697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:38:19] local.INFO: Packet analysis {"connection_id":163697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03df4"} 
[2026-08-26 17:38:19] local.INFO: Extracted packet for processing {"connection_id":163697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03df4"} 
[2026-08-26 17:38:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662855424001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 17:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787745830000,"timestamp_ms":1787745830000,"timestamp_seconds":1787745830,"priority":1,"record_length":96,"hex_timestamp":"000001a03df48470"} 
[2026-08-26 17: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-26 17:38: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-26 17: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:38:19] 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-26 17: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-26 17: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-26 17:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662855424001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662855424001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:38:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:38:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662855424001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":163697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:38:19] local.INFO: GPS data processed {"connection_id":163697,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:38:19] local.INFO: Acknowledgment sent {"connection_id":163697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:38:36] local.INFO: TCP Data received {"connection_id":163698,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:38:36] local.INFO: Processing buffer {"connection_id":163698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:38:36] local.INFO: IMEI packet received {"connection_id":163698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":163698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:38:41] local.INFO: TCP Data received {"connection_id":163698,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:38:41] local.INFO: Processing buffer {"connection_id":163698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:38:41] local.INFO: IMEI packet received {"connection_id":163698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":163698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:38:42] local.INFO: TCP Data received {"connection_id":163698,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:38:42] local.INFO: Processing buffer {"connection_id":163698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:38:42] local.INFO: Packet analysis {"connection_id":163698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03df4"} 
[2026-08-26 17:38:42] local.INFO: Extracted packet for processing {"connection_id":163698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03df4"} 
[2026-08-26 17:38:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662855424001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17: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-26 17:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787745830000,"timestamp_ms":1787745830000,"timestamp_seconds":1787745830,"priority":1,"record_length":96,"hex_timestamp":"000001a03df48470"} 
[2026-08-26 17: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-26 17: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-26 17: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 17: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-26 17: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-26 17:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662855424001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662855424001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:38:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:38:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662855424001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":163698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:38:42] local.INFO: GPS data processed {"connection_id":163698,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:38:42] local.INFO: Acknowledgment sent {"connection_id":163698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:39:14] local.INFO: TCP Data received {"connection_id":163698,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:39:14] local.INFO: Processing buffer {"connection_id":163698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03df48470012d34c14006aa4818000900e629..."} 
[2026-08-26 17:39:14] local.INFO: Packet analysis {"connection_id":163698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03df4"} 
[2026-08-26 17:39:14] local.INFO: Extracted packet for processing {"connection_id":163698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03df4"} 
[2026-08-26 17:39:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662855424001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:39: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-26 17:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787745830000,"timestamp_ms":1787745830000,"timestamp_seconds":1787745830,"priority":1,"record_length":96,"hex_timestamp":"000001a03df48470"} 
[2026-08-26 17:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:39: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-26 17:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:39: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-26 17:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662855424001,"66":25451,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662855424001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:39:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:39:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662855424001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":163698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:39:14] local.INFO: GPS data processed {"connection_id":163698,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:39:14] local.INFO: Acknowledgment sent {"connection_id":163698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:39:36] local.INFO: TCP Data received {"connection_id":162673,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:39:36] local.INFO: Processing buffer {"connection_id":162673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:39:36] local.INFO: IMEI packet received {"connection_id":162673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":162673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:39:37] local.INFO: TCP Data received {"connection_id":162672,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:39:37] local.INFO: Processing buffer {"connection_id":162672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:39:37] local.INFO: IMEI packet received {"connection_id":162672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 17:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":162672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:39:41] local.INFO: TCP Data received {"connection_id":162673,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:39:41] local.INFO: Processing buffer {"connection_id":162673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:39:41] local.INFO: IMEI packet received {"connection_id":162673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":162673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:39:42] local.INFO: TCP Data received {"connection_id":162673,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:39:42] local.INFO: Processing buffer {"connection_id":162673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:39:42] local.INFO: Packet analysis {"connection_id":162673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03df9"} 
[2026-08-26 17:39:42] local.INFO: Extracted packet for processing {"connection_id":162673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03df9"} 
[2026-08-26 17:39:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662932480001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:39: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-26 17:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787746131000,"timestamp_ms":1787746131000,"timestamp_seconds":1787746131,"priority":1,"record_length":96,"hex_timestamp":"000001a03df91c38"} 
[2026-08-26 17:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:39: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-26 17:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 17:39:42] 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-26 17:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662932480001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662932480001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:39:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:39:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662932480001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":162673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:39:42] local.INFO: GPS data processed {"connection_id":162673,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:39:42] local.INFO: Acknowledgment sent {"connection_id":162673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:40:14] local.INFO: TCP Data received {"connection_id":162673,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:40:14] local.INFO: Processing buffer {"connection_id":162673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:40:14] local.INFO: Packet analysis {"connection_id":162673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03df9"} 
[2026-08-26 17:40:14] local.INFO: Extracted packet for processing {"connection_id":162673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03df9"} 
[2026-08-26 17:40:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662932480001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:40: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-26 17:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787746131000,"timestamp_ms":1787746131000,"timestamp_seconds":1787746131,"priority":1,"record_length":96,"hex_timestamp":"000001a03df91c38"} 
[2026-08-26 17: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-26 17:40: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-26 17: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 17:40: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-26 17: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-26 17: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-26 17:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662932480001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662932480001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:40:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:40:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662932480001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":162673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:40:14] local.INFO: GPS data processed {"connection_id":162673,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:40:14] local.INFO: Acknowledgment sent {"connection_id":162673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:40:36] local.INFO: TCP Data received {"connection_id":163699,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:40:36] local.INFO: Processing buffer {"connection_id":163699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:40:36] local.INFO: IMEI packet received {"connection_id":163699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":163699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:40:41] local.INFO: TCP Data received {"connection_id":163699,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:40:41] local.INFO: Processing buffer {"connection_id":163699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:40:41] local.INFO: IMEI packet received {"connection_id":163699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":163699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:40:42] local.INFO: TCP Data received {"connection_id":163699,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:40:42] local.INFO: Processing buffer {"connection_id":163699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:40:42] local.INFO: Packet analysis {"connection_id":163699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03df9"} 
[2026-08-26 17:40:42] local.INFO: Extracted packet for processing {"connection_id":163699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03df9"} 
[2026-08-26 17:40:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662932480001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:40: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-26 17:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787746131000,"timestamp_ms":1787746131000,"timestamp_seconds":1787746131,"priority":1,"record_length":96,"hex_timestamp":"000001a03df91c38"} 
[2026-08-26 17: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-26 17:40: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-26 17: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 17:40:42] 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-26 17: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-26 17: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-26 17:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662932480001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662932480001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:40:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:40:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662932480001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":163699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:40:42] local.INFO: GPS data processed {"connection_id":163699,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:40:42] local.INFO: Acknowledgment sent {"connection_id":163699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:41:14] local.INFO: TCP Data received {"connection_id":163699,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:41:14] local.INFO: Processing buffer {"connection_id":163699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:41:14] local.INFO: Packet analysis {"connection_id":163699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03df9"} 
[2026-08-26 17:41:14] local.INFO: Extracted packet for processing {"connection_id":163699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03df9"} 
[2026-08-26 17:41:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662932480001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:41: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-26 17:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787746131000,"timestamp_ms":1787746131000,"timestamp_seconds":1787746131,"priority":1,"record_length":96,"hex_timestamp":"000001a03df91c38"} 
[2026-08-26 17: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-26 17:41: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-26 17: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 17:41: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-26 17: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-26 17: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-26 17:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662932480001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662932480001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:41:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:41:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662932480001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":163699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:41:14] local.INFO: GPS data processed {"connection_id":163699,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:41:14] local.INFO: Acknowledgment sent {"connection_id":163699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:41:41] local.INFO: TCP Data received {"connection_id":162432,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:41:41] local.INFO: Processing buffer {"connection_id":162432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:41:41] local.INFO: IMEI packet received {"connection_id":162432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":162432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:41:46] local.INFO: TCP Data received {"connection_id":162432,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:41:46] local.INFO: Processing buffer {"connection_id":162432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:41:46] local.INFO: IMEI packet received {"connection_id":162432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":162432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:41:48] local.INFO: TCP Data received {"connection_id":162432,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:41:48] local.INFO: Processing buffer {"connection_id":162432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:41:48] local.INFO: Packet analysis {"connection_id":162432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03df9"} 
[2026-08-26 17:41:48] local.INFO: Extracted packet for processing {"connection_id":162432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03df9"} 
[2026-08-26 17:41:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662932480001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 17:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787746131000,"timestamp_ms":1787746131000,"timestamp_seconds":1787746131,"priority":1,"record_length":96,"hex_timestamp":"000001a03df91c38"} 
[2026-08-26 17: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-26 17:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 17: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 17:41:48] 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-26 17: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-26 17: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-26 17:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662932480001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662932480001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:41:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:41:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662932480001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":162432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:41:48] local.INFO: GPS data processed {"connection_id":162432,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:41:48] local.INFO: Acknowledgment sent {"connection_id":162432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:41:52] local.INFO: TCP Data received {"connection_id":162432,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:41:52] local.INFO: Processing buffer {"connection_id":162432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:41:52] local.INFO: Packet analysis {"connection_id":162432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03df9"} 
[2026-08-26 17:41:52] local.INFO: Extracted packet for processing {"connection_id":162432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03df9"} 
[2026-08-26 17:41:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662932480001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:41: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-26 17:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787746131000,"timestamp_ms":1787746131000,"timestamp_seconds":1787746131,"priority":1,"record_length":96,"hex_timestamp":"000001a03df91c38"} 
[2026-08-26 17: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-26 17:41: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-26 17: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 17:41:52] 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-26 17: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-26 17: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-26 17:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662932480001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662932480001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:41:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:41:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662932480001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":162432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:41:52] local.INFO: GPS data processed {"connection_id":162432,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:41:52] local.INFO: Acknowledgment sent {"connection_id":162432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:42:36] local.INFO: TCP Data received {"connection_id":163700,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:42:36] local.INFO: Processing buffer {"connection_id":163700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:42:36] local.INFO: IMEI packet received {"connection_id":163700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":163700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:42:41] local.INFO: TCP Data received {"connection_id":163700,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:42:41] local.INFO: Processing buffer {"connection_id":163700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:42:41] local.INFO: IMEI packet received {"connection_id":163700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":163700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:42:42] local.INFO: TCP Data received {"connection_id":163700,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:42:42] local.INFO: Processing buffer {"connection_id":163700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:42:42] local.INFO: Packet analysis {"connection_id":163700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03df9"} 
[2026-08-26 17:42:42] local.INFO: Extracted packet for processing {"connection_id":163700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03df9"} 
[2026-08-26 17:42:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662932480001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:42: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-26 17:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787746131000,"timestamp_ms":1787746131000,"timestamp_seconds":1787746131,"priority":1,"record_length":96,"hex_timestamp":"000001a03df91c38"} 
[2026-08-26 17: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-26 17:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 17: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 17:42:42] 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-26 17: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-26 17: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-26 17:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662932480001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662932480001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:42:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:42:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662932480001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":163700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:42:42] local.INFO: GPS data processed {"connection_id":163700,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:42:42] local.INFO: Acknowledgment sent {"connection_id":163700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:43:14] local.INFO: TCP Data received {"connection_id":163700,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:43:14] local.INFO: Processing buffer {"connection_id":163700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:43:14] local.INFO: Packet analysis {"connection_id":163700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03df9"} 
[2026-08-26 17:43:14] local.INFO: Extracted packet for processing {"connection_id":163700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03df9"} 
[2026-08-26 17:43:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662932480001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:43: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-26 17:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787746131000,"timestamp_ms":1787746131000,"timestamp_seconds":1787746131,"priority":1,"record_length":96,"hex_timestamp":"000001a03df91c38"} 
[2026-08-26 17:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:43: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-26 17:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 17:43: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-26 17:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662932480001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662932480001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:43:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:43:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662932480001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":163700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:43:14] local.INFO: GPS data processed {"connection_id":163700,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:43:14] local.INFO: Acknowledgment sent {"connection_id":163700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:43:36] local.INFO: TCP Data received {"connection_id":162433,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:43:36] local.INFO: Processing buffer {"connection_id":162433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:43:36] local.INFO: IMEI packet received {"connection_id":162433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":162433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:43:42] local.INFO: TCP Data received {"connection_id":162433,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:43:42] local.INFO: Processing buffer {"connection_id":162433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:43:42] local.INFO: IMEI packet received {"connection_id":162433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":162433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:43:43] local.INFO: TCP Data received {"connection_id":162433,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:43:43] local.INFO: Processing buffer {"connection_id":162433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:43:43] local.INFO: Packet analysis {"connection_id":162433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03df9"} 
[2026-08-26 17:43:43] local.INFO: Extracted packet for processing {"connection_id":162433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03df9"} 
[2026-08-26 17:43:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662932480001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:43: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-26 17:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787746131000,"timestamp_ms":1787746131000,"timestamp_seconds":1787746131,"priority":1,"record_length":96,"hex_timestamp":"000001a03df91c38"} 
[2026-08-26 17:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:43: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-26 17:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 17:43:43] 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-26 17:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662932480001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662932480001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:43:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:43:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662932480001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":162433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:43:43] local.INFO: GPS data processed {"connection_id":162433,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:43:43] local.INFO: Acknowledgment sent {"connection_id":162433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:44:14] local.INFO: TCP Data received {"connection_id":162433,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:44:14] local.INFO: Processing buffer {"connection_id":162433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03df91c38012d34c14006aa4818000b00e62c..."} 
[2026-08-26 17:44:14] local.INFO: Packet analysis {"connection_id":162433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03df9"} 
[2026-08-26 17:44:14] local.INFO: Extracted packet for processing {"connection_id":162433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03df9"} 
[2026-08-26 17:44:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457662932480001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:44: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-26 17:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787746131000,"timestamp_ms":1787746131000,"timestamp_seconds":1787746131,"priority":1,"record_length":96,"hex_timestamp":"000001a03df91c38"} 
[2026-08-26 17: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-26 17:44: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-26 17: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-26 17:44: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-26 17: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-26 17: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-26 17:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457662932480001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457662932480001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:44:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:44:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457662932480001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":162433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:44:14] local.INFO: GPS data processed {"connection_id":162433,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:44:14] local.INFO: Acknowledgment sent {"connection_id":162433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:44:36] local.INFO: TCP Data received {"connection_id":165036,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:44:36] local.INFO: Processing buffer {"connection_id":165036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:44:36] local.INFO: IMEI packet received {"connection_id":165036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":165036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:44:41] local.INFO: TCP Data received {"connection_id":165036,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:44:41] local.INFO: Processing buffer {"connection_id":165036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:44:41] local.INFO: IMEI packet received {"connection_id":165036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":165036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:44:42] local.INFO: TCP Data received {"connection_id":165036,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:44:42] local.INFO: Processing buffer {"connection_id":165036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:44:42] local.INFO: Packet analysis {"connection_id":165036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dfd"} 
[2026-08-26 17:44:42] local.INFO: Extracted packet for processing {"connection_id":165036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dfd"} 
[2026-08-26 17:44:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663009536001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:44: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-26 17:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787746432000,"timestamp_ms":1787746432000,"timestamp_seconds":1787746432,"priority":1,"record_length":96,"hex_timestamp":"000001a03dfdb400"} 
[2026-08-26 17:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:44: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-26 17:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 17:44: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-26 17:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663009536001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663009536001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:44:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:44:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663009536001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":165036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:44:42] local.INFO: GPS data processed {"connection_id":165036,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:44:42] local.INFO: Acknowledgment sent {"connection_id":165036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:45:12] local.INFO: TCP Data received {"connection_id":163701,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163701,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:45:12] local.INFO: Processing buffer {"connection_id":163701,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:45:12] local.INFO: IMEI packet received {"connection_id":163701,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 17:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":163701,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:45:14] local.INFO: TCP Data received {"connection_id":165036,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:45:14] local.INFO: Processing buffer {"connection_id":165036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:45:14] local.INFO: Packet analysis {"connection_id":165036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dfd"} 
[2026-08-26 17:45:14] local.INFO: Extracted packet for processing {"connection_id":165036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dfd"} 
[2026-08-26 17:45:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663009536001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:45: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-26 17:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787746432000,"timestamp_ms":1787746432000,"timestamp_seconds":1787746432,"priority":1,"record_length":96,"hex_timestamp":"000001a03dfdb400"} 
[2026-08-26 17:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:45: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-26 17:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 17:45: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-26 17:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663009536001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663009536001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:45:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:45:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663009536001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":165036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:45:14] local.INFO: GPS data processed {"connection_id":165036,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:45:14] local.INFO: Acknowledgment sent {"connection_id":165036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:45:36] local.INFO: TCP Data received {"connection_id":162674,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:45:36] local.INFO: Processing buffer {"connection_id":162674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:45:36] local.INFO: IMEI packet received {"connection_id":162674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":162674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:45:41] local.INFO: TCP Data received {"connection_id":162674,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:45:41] local.INFO: Processing buffer {"connection_id":162674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:45:41] local.INFO: IMEI packet received {"connection_id":162674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":162674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:45:42] local.INFO: TCP Data received {"connection_id":162674,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:45:42] local.INFO: Processing buffer {"connection_id":162674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:45:42] local.INFO: Packet analysis {"connection_id":162674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dfd"} 
[2026-08-26 17:45:42] local.INFO: Extracted packet for processing {"connection_id":162674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dfd"} 
[2026-08-26 17:45:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663009536001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17: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-26 17:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787746432000,"timestamp_ms":1787746432000,"timestamp_seconds":1787746432,"priority":1,"record_length":96,"hex_timestamp":"000001a03dfdb400"} 
[2026-08-26 17: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-26 17: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-26 17: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-26 17: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-26 17: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-26 17: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-26 17:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663009536001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663009536001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:45:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:45:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663009536001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":162674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:45:42] local.INFO: GPS data processed {"connection_id":162674,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:45:42] local.INFO: Acknowledgment sent {"connection_id":162674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:46:14] local.INFO: TCP Data received {"connection_id":162674,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:46:14] local.INFO: Processing buffer {"connection_id":162674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:46:14] local.INFO: Packet analysis {"connection_id":162674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dfd"} 
[2026-08-26 17:46:14] local.INFO: Extracted packet for processing {"connection_id":162674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dfd"} 
[2026-08-26 17:46:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 17:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663009536001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17: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-26 17:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787746432000,"timestamp_ms":1787746432000,"timestamp_seconds":1787746432,"priority":1,"record_length":96,"hex_timestamp":"000001a03dfdb400"} 
[2026-08-26 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-26 17: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-26 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 17:46: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-26 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-26 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-26 17:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663009536001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663009536001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:46:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:46:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663009536001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":162674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:46:14] local.INFO: GPS data processed {"connection_id":162674,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:46:14] local.INFO: Acknowledgment sent {"connection_id":162674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:46:41] local.INFO: TCP Data received {"connection_id":162434,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:46:41] local.INFO: Processing buffer {"connection_id":162434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:46:41] local.INFO: IMEI packet received {"connection_id":162434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":162434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:46:46] local.INFO: TCP Data received {"connection_id":162434,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:46:46] local.INFO: Processing buffer {"connection_id":162434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:46:46] local.INFO: IMEI packet received {"connection_id":162434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":162434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:46:47] local.INFO: TCP Data received {"connection_id":162434,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:46:47] local.INFO: Processing buffer {"connection_id":162434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:46:47] local.INFO: Packet analysis {"connection_id":162434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dfd"} 
[2026-08-26 17:46:47] local.INFO: Extracted packet for processing {"connection_id":162434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dfd"} 
[2026-08-26 17:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 17:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663009536001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:46: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-26 17:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787746432000,"timestamp_ms":1787746432000,"timestamp_seconds":1787746432,"priority":1,"record_length":96,"hex_timestamp":"000001a03dfdb400"} 
[2026-08-26 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-26 17:46: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-26 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 17:46: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-26 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-26 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-26 17:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663009536001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663009536001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:46:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663009536001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":162434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:46:47] local.INFO: GPS data processed {"connection_id":162434,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:46:47] local.INFO: Acknowledgment sent {"connection_id":162434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:46:52] local.INFO: TCP Data received {"connection_id":162434,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:46:52] local.INFO: Processing buffer {"connection_id":162434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:46:52] local.INFO: Packet analysis {"connection_id":162434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dfd"} 
[2026-08-26 17:46:52] local.INFO: Extracted packet for processing {"connection_id":162434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dfd"} 
[2026-08-26 17:46:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663009536001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:46: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-26 17:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787746432000,"timestamp_ms":1787746432000,"timestamp_seconds":1787746432,"priority":1,"record_length":96,"hex_timestamp":"000001a03dfdb400"} 
[2026-08-26 17: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-26 17:46: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-26 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 17:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 17: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-26 17: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-26 17:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663009536001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663009536001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:46:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:46:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663009536001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":162434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:46:52] local.INFO: GPS data processed {"connection_id":162434,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:46:52] local.INFO: Acknowledgment sent {"connection_id":162434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:47:36] local.INFO: TCP Data received {"connection_id":165037,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:47:36] local.INFO: Processing buffer {"connection_id":165037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:47:36] local.INFO: IMEI packet received {"connection_id":165037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":165037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:47:42] local.INFO: TCP Data received {"connection_id":165037,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:47:42] local.INFO: Processing buffer {"connection_id":165037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:47:42] local.INFO: IMEI packet received {"connection_id":165037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":165037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:47:43] local.INFO: TCP Data received {"connection_id":165037,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:47:43] local.INFO: Processing buffer {"connection_id":165037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:47:43] local.INFO: Packet analysis {"connection_id":165037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dfd"} 
[2026-08-26 17:47:43] local.INFO: Extracted packet for processing {"connection_id":165037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dfd"} 
[2026-08-26 17:47:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663009536001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:47: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-26 17:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787746432000,"timestamp_ms":1787746432000,"timestamp_seconds":1787746432,"priority":1,"record_length":96,"hex_timestamp":"000001a03dfdb400"} 
[2026-08-26 17: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-26 17:47: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-26 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 17:47: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-26 17: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-26 17: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-26 17:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663009536001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663009536001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:47:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:47:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663009536001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":165037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:47:43] local.INFO: GPS data processed {"connection_id":165037,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:47:43] local.INFO: Acknowledgment sent {"connection_id":165037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:48:15] local.INFO: TCP Data received {"connection_id":165037,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:48:15] local.INFO: Processing buffer {"connection_id":165037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:48:15] local.INFO: Packet analysis {"connection_id":165037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dfd"} 
[2026-08-26 17:48:15] local.INFO: Extracted packet for processing {"connection_id":165037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dfd"} 
[2026-08-26 17:48:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663009536001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:48: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-26 17:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787746432000,"timestamp_ms":1787746432000,"timestamp_seconds":1787746432,"priority":1,"record_length":96,"hex_timestamp":"000001a03dfdb400"} 
[2026-08-26 17: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-26 17:48: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-26 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 17:48: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-26 17: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-26 17: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-26 17:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":165037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":165037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":165037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663009536001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663009536001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:48:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:48:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663009536001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":165037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:48:15] local.INFO: GPS data processed {"connection_id":165037,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:48:15] local.INFO: Acknowledgment sent {"connection_id":165037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:48:36] local.INFO: TCP Data received {"connection_id":163703,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:48:36] local.INFO: Processing buffer {"connection_id":163703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:48:36] local.INFO: IMEI packet received {"connection_id":163703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":163703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:48:41] local.INFO: TCP Data received {"connection_id":163703,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:48:41] local.INFO: Processing buffer {"connection_id":163703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:48:41] local.INFO: IMEI packet received {"connection_id":163703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":163703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:48:42] local.INFO: TCP Data received {"connection_id":163703,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:48:42] local.INFO: Processing buffer {"connection_id":163703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:48:42] local.INFO: Packet analysis {"connection_id":163703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dfd"} 
[2026-08-26 17:48:42] local.INFO: Extracted packet for processing {"connection_id":163703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dfd"} 
[2026-08-26 17:48:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663009536001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:48: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-26 17:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787746432000,"timestamp_ms":1787746432000,"timestamp_seconds":1787746432,"priority":1,"record_length":96,"hex_timestamp":"000001a03dfdb400"} 
[2026-08-26 17: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-26 17:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 17:48: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-26 17: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-26 17: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-26 17:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663009536001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663009536001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:48:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:48:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663009536001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":163703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:48:42] local.INFO: GPS data processed {"connection_id":163703,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:48:42] local.INFO: Acknowledgment sent {"connection_id":163703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:49:14] local.INFO: TCP Data received {"connection_id":163703,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:49:14] local.INFO: Processing buffer {"connection_id":163703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03dfdb400012d34c14006aa4818000f00e62c..."} 
[2026-08-26 17:49:14] local.INFO: Packet analysis {"connection_id":163703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03dfd"} 
[2026-08-26 17:49:14] local.INFO: Extracted packet for processing {"connection_id":163703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03dfd"} 
[2026-08-26 17:49:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663009536001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:49: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-26 17:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787746432000,"timestamp_ms":1787746432000,"timestamp_seconds":1787746432,"priority":1,"record_length":96,"hex_timestamp":"000001a03dfdb400"} 
[2026-08-26 17:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:49: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-26 17:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 17:49: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-26 17:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663009536001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663009536001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:49:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:49:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663009536001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":163703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:49:14] local.INFO: GPS data processed {"connection_id":163703,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:49:14] local.INFO: Acknowledgment sent {"connection_id":163703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:49:36] local.INFO: TCP Data received {"connection_id":163704,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:49:36] local.INFO: Processing buffer {"connection_id":163704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:49:36] local.INFO: IMEI packet received {"connection_id":163704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":163704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:49:42] local.INFO: TCP Data received {"connection_id":163704,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:49:42] local.INFO: Processing buffer {"connection_id":163704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:49:42] local.INFO: IMEI packet received {"connection_id":163704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":163704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:49:43] local.INFO: TCP Data received {"connection_id":163704,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:49:43] local.INFO: Processing buffer {"connection_id":163704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:49:43] local.INFO: Packet analysis {"connection_id":163704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e02"} 
[2026-08-26 17:49:43] local.INFO: Extracted packet for processing {"connection_id":163704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e02"} 
[2026-08-26 17:49:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663086592001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:49: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-26 17:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787746733000,"timestamp_ms":1787746733000,"timestamp_seconds":1787746733,"priority":1,"record_length":96,"hex_timestamp":"000001a03e024bc8"} 
[2026-08-26 17: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-26 17:49: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-26 17: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:49:43] 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-26 17: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-26 17: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-26 17:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663086592001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663086592001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:49:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:49:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663086592001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":163704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:49:43] local.INFO: GPS data processed {"connection_id":163704,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:49:43] local.INFO: Acknowledgment sent {"connection_id":163704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:50:14] local.INFO: TCP Data received {"connection_id":163704,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:50:14] local.INFO: Processing buffer {"connection_id":163704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:50:14] local.INFO: Packet analysis {"connection_id":163704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e02"} 
[2026-08-26 17:50:14] local.INFO: Extracted packet for processing {"connection_id":163704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e02"} 
[2026-08-26 17:50:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 17:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663086592001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:50: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-26 17:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787746733000,"timestamp_ms":1787746733000,"timestamp_seconds":1787746733,"priority":1,"record_length":96,"hex_timestamp":"000001a03e024bc8"} 
[2026-08-26 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-26 17:50: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-26 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":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:50: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-26 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-26 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-26 17:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663086592001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663086592001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:50:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:50:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663086592001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":163704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:50:14] local.INFO: GPS data processed {"connection_id":163704,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:50:14] local.INFO: Acknowledgment sent {"connection_id":163704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:50:36] local.INFO: TCP Data received {"connection_id":162435,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:50:36] local.INFO: Processing buffer {"connection_id":162435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:50:36] local.INFO: IMEI packet received {"connection_id":162435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":162435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:50:42] local.INFO: TCP Data received {"connection_id":162435,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:50:42] local.INFO: Processing buffer {"connection_id":162435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:50:42] local.INFO: IMEI packet received {"connection_id":162435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":162435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:50:43] local.INFO: TCP Data received {"connection_id":162435,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:50:43] local.INFO: Processing buffer {"connection_id":162435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:50:43] local.INFO: Packet analysis {"connection_id":162435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e02"} 
[2026-08-26 17:50:43] local.INFO: Extracted packet for processing {"connection_id":162435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e02"} 
[2026-08-26 17:50:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663086592001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:50: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-26 17:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787746733000,"timestamp_ms":1787746733000,"timestamp_seconds":1787746733,"priority":1,"record_length":96,"hex_timestamp":"000001a03e024bc8"} 
[2026-08-26 17: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-26 17:50: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-26 17: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:50:43] 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-26 17: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-26 17: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-26 17:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663086592001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663086592001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:50:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:50:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663086592001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":162435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:50:43] local.INFO: GPS data processed {"connection_id":162435,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:50:43] local.INFO: Acknowledgment sent {"connection_id":162435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:50:47] local.INFO: TCP Data received {"connection_id":163702,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:50:47] local.INFO: Processing buffer {"connection_id":163702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:50:47] local.INFO: IMEI packet received {"connection_id":163702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 17:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":163702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:51:14] local.INFO: TCP Data received {"connection_id":162435,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:51:14] local.INFO: Processing buffer {"connection_id":162435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:51:14] local.INFO: Packet analysis {"connection_id":162435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e02"} 
[2026-08-26 17:51:14] local.INFO: Extracted packet for processing {"connection_id":162435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e02"} 
[2026-08-26 17:51:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663086592001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:51: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-26 17:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787746733000,"timestamp_ms":1787746733000,"timestamp_seconds":1787746733,"priority":1,"record_length":96,"hex_timestamp":"000001a03e024bc8"} 
[2026-08-26 17:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:51: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-26 17:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:51: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-26 17:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663086592001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663086592001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:51:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:51:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663086592001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":162435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:51:14] local.INFO: GPS data processed {"connection_id":162435,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:51:14] local.INFO: Acknowledgment sent {"connection_id":162435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:51:42] local.INFO: TCP Data received {"connection_id":162675,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:51:42] local.INFO: Processing buffer {"connection_id":162675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:51:42] local.INFO: IMEI packet received {"connection_id":162675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":162675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:51:46] local.INFO: TCP Data received {"connection_id":162675,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:51:46] local.INFO: Processing buffer {"connection_id":162675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:51:46] local.INFO: IMEI packet received {"connection_id":162675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":162675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:51:47] local.INFO: TCP Data received {"connection_id":162675,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:51:47] local.INFO: Processing buffer {"connection_id":162675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:51:47] local.INFO: Packet analysis {"connection_id":162675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e02"} 
[2026-08-26 17:51:47] local.INFO: Extracted packet for processing {"connection_id":162675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e02"} 
[2026-08-26 17:51:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663086592001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:51: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-26 17:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787746733000,"timestamp_ms":1787746733000,"timestamp_seconds":1787746733,"priority":1,"record_length":96,"hex_timestamp":"000001a03e024bc8"} 
[2026-08-26 17: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-26 17:51: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-26 17: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:51:47] 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-26 17: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-26 17: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-26 17:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663086592001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663086592001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:51:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:51:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663086592001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":162675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:51:47] local.INFO: GPS data processed {"connection_id":162675,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:51:47] local.INFO: Acknowledgment sent {"connection_id":162675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:51:52] local.INFO: TCP Data received {"connection_id":162675,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:51:52] local.INFO: Processing buffer {"connection_id":162675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:51:52] local.INFO: Packet analysis {"connection_id":162675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e02"} 
[2026-08-26 17:51:52] local.INFO: Extracted packet for processing {"connection_id":162675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e02"} 
[2026-08-26 17:51:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663086592001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:51: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-26 17:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787746733000,"timestamp_ms":1787746733000,"timestamp_seconds":1787746733,"priority":1,"record_length":96,"hex_timestamp":"000001a03e024bc8"} 
[2026-08-26 17:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:51: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-26 17:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:51:52] 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-26 17:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663086592001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663086592001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:51:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:51:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663086592001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":162675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:51:52] local.INFO: GPS data processed {"connection_id":162675,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:51:52] local.INFO: Acknowledgment sent {"connection_id":162675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:52:36] local.INFO: TCP Data received {"connection_id":162436,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:52:36] local.INFO: Processing buffer {"connection_id":162436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:52:36] local.INFO: IMEI packet received {"connection_id":162436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":162436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:52:41] local.INFO: TCP Data received {"connection_id":162436,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:52:41] local.INFO: Processing buffer {"connection_id":162436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:52:41] local.INFO: IMEI packet received {"connection_id":162436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":162436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:52:42] local.INFO: TCP Data received {"connection_id":162436,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:52:42] local.INFO: Processing buffer {"connection_id":162436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:52:42] local.INFO: Packet analysis {"connection_id":162436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e02"} 
[2026-08-26 17:52:42] local.INFO: Extracted packet for processing {"connection_id":162436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e02"} 
[2026-08-26 17:52:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663086592001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:52: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-26 17:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787746733000,"timestamp_ms":1787746733000,"timestamp_seconds":1787746733,"priority":1,"record_length":96,"hex_timestamp":"000001a03e024bc8"} 
[2026-08-26 17: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-26 17:52: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-26 17: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:52:42] 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-26 17: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-26 17: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-26 17:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663086592001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663086592001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:52:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:52:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663086592001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":162436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:52:42] local.INFO: GPS data processed {"connection_id":162436,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:52:42] local.INFO: Acknowledgment sent {"connection_id":162436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:53:15] local.INFO: TCP Data received {"connection_id":162436,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:53:15] local.INFO: Processing buffer {"connection_id":162436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:53:15] local.INFO: Packet analysis {"connection_id":162436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e02"} 
[2026-08-26 17:53:15] local.INFO: Extracted packet for processing {"connection_id":162436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e02"} 
[2026-08-26 17:53:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663086592001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17: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-26 17:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787746733000,"timestamp_ms":1787746733000,"timestamp_seconds":1787746733,"priority":1,"record_length":96,"hex_timestamp":"000001a03e024bc8"} 
[2026-08-26 17: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-26 17: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-26 17: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:53: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-26 17: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-26 17: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-26 17:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663086592001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663086592001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:53:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:53:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663086592001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":162436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:53:15] local.INFO: GPS data processed {"connection_id":162436,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:53:15] local.INFO: Acknowledgment sent {"connection_id":162436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:53:36] local.INFO: TCP Data received {"connection_id":162676,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:53:36] local.INFO: Processing buffer {"connection_id":162676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:53:36] local.INFO: IMEI packet received {"connection_id":162676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":162676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:53:41] local.INFO: TCP Data received {"connection_id":162676,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:53:41] local.INFO: Processing buffer {"connection_id":162676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:53:41] local.INFO: IMEI packet received {"connection_id":162676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":162676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:53:42] local.INFO: TCP Data received {"connection_id":162676,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:53:42] local.INFO: Processing buffer {"connection_id":162676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:53:42] local.INFO: Packet analysis {"connection_id":162676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e02"} 
[2026-08-26 17:53:42] local.INFO: Extracted packet for processing {"connection_id":162676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e02"} 
[2026-08-26 17:53:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663086592001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:53: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-26 17:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787746733000,"timestamp_ms":1787746733000,"timestamp_seconds":1787746733,"priority":1,"record_length":96,"hex_timestamp":"000001a03e024bc8"} 
[2026-08-26 17: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-26 17: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-26 17: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:53:42] 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-26 17: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-26 17: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-26 17:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663086592001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663086592001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:53:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:53:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663086592001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":162676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:53:42] local.INFO: GPS data processed {"connection_id":162676,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:53:42] local.INFO: Acknowledgment sent {"connection_id":162676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:54:14] local.INFO: TCP Data received {"connection_id":162676,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:54:14] local.INFO: Processing buffer {"connection_id":162676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e024bc8012d34c14006aa4818000c00e62d..."} 
[2026-08-26 17:54:14] local.INFO: Packet analysis {"connection_id":162676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e02"} 
[2026-08-26 17:54:14] local.INFO: Extracted packet for processing {"connection_id":162676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e02"} 
[2026-08-26 17:54:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663086592001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:54: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-26 17:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787746733000,"timestamp_ms":1787746733000,"timestamp_seconds":1787746733,"priority":1,"record_length":96,"hex_timestamp":"000001a03e024bc8"} 
[2026-08-26 17:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17: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-26 17:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:54: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-26 17:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663086592001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663086592001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:54:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:54:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663086592001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":162676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:54:14] local.INFO: GPS data processed {"connection_id":162676,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:54:14] local.INFO: Acknowledgment sent {"connection_id":162676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:54:36] local.INFO: TCP Data received {"connection_id":162438,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:54:36] local.INFO: Processing buffer {"connection_id":162438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:54:36] local.INFO: IMEI packet received {"connection_id":162438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":162438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:54:41] local.INFO: TCP Data received {"connection_id":162438,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:54:41] local.INFO: Processing buffer {"connection_id":162438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:54:41] local.INFO: IMEI packet received {"connection_id":162438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":162438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:54:42] local.INFO: TCP Data received {"connection_id":162438,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:54:42] local.INFO: Processing buffer {"connection_id":162438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:54:42] local.INFO: Packet analysis {"connection_id":162438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e06"} 
[2026-08-26 17:54:42] local.INFO: Extracted packet for processing {"connection_id":162438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e06"} 
[2026-08-26 17:54:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663163648001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:54: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-26 17:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787747034000,"timestamp_ms":1787747034000,"timestamp_seconds":1787747034,"priority":1,"record_length":96,"hex_timestamp":"000001a03e06e390"} 
[2026-08-26 17:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:54: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-26 17:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 17:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663163648001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663163648001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:54:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:54:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663163648001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":162438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:54:42] local.INFO: GPS data processed {"connection_id":162438,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:54:42] local.INFO: Acknowledgment sent {"connection_id":162438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:55:14] local.INFO: TCP Data received {"connection_id":162438,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:55:14] local.INFO: Processing buffer {"connection_id":162438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:55:14] local.INFO: Packet analysis {"connection_id":162438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e06"} 
[2026-08-26 17:55:14] local.INFO: Extracted packet for processing {"connection_id":162438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e06"} 
[2026-08-26 17:55:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663163648001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:55: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-26 17:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787747034000,"timestamp_ms":1787747034000,"timestamp_seconds":1787747034,"priority":1,"record_length":96,"hex_timestamp":"000001a03e06e390"} 
[2026-08-26 17:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:55: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-26 17:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:55: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-26 17:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663163648001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663163648001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:55:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:55:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663163648001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":162438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:55:14] local.INFO: GPS data processed {"connection_id":162438,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:55:14] local.INFO: Acknowledgment sent {"connection_id":162438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:55:36] local.INFO: TCP Data received {"connection_id":162677,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:55:36] local.INFO: Processing buffer {"connection_id":162677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:55:36] local.INFO: IMEI packet received {"connection_id":162677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":162677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:55:42] local.INFO: TCP Data received {"connection_id":162677,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:55:42] local.INFO: Processing buffer {"connection_id":162677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:55:42] local.INFO: IMEI packet received {"connection_id":162677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":162677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:55:43] local.INFO: TCP Data received {"connection_id":162677,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:55:43] local.INFO: Processing buffer {"connection_id":162677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:55:43] local.INFO: Packet analysis {"connection_id":162677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e06"} 
[2026-08-26 17:55:43] local.INFO: Extracted packet for processing {"connection_id":162677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e06"} 
[2026-08-26 17:55:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663163648001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:55: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-26 17:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787747034000,"timestamp_ms":1787747034000,"timestamp_seconds":1787747034,"priority":1,"record_length":96,"hex_timestamp":"000001a03e06e390"} 
[2026-08-26 17:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:55: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-26 17:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:55:43] 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-26 17:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663163648001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663163648001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:55:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:55:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663163648001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":162677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:55:43] local.INFO: GPS data processed {"connection_id":162677,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:55:43] local.INFO: Acknowledgment sent {"connection_id":162677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:56:15] local.INFO: TCP Data received {"connection_id":162677,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:56:15] local.INFO: Processing buffer {"connection_id":162677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:56:15] local.INFO: Packet analysis {"connection_id":162677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e06"} 
[2026-08-26 17:56:15] local.INFO: Extracted packet for processing {"connection_id":162677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e06"} 
[2026-08-26 17:56:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663163648001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:56: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-26 17:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787747034000,"timestamp_ms":1787747034000,"timestamp_seconds":1787747034,"priority":1,"record_length":96,"hex_timestamp":"000001a03e06e390"} 
[2026-08-26 17: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-26 17:56: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-26 17: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:56: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-26 17: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-26 17: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-26 17:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663163648001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663163648001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:56:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:56:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663163648001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":162677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:56:15] local.INFO: GPS data processed {"connection_id":162677,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:56:15] local.INFO: Acknowledgment sent {"connection_id":162677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:56:22] local.INFO: TCP Data received {"connection_id":162437,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:56:22] local.INFO: Processing buffer {"connection_id":162437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 17:56:22] local.INFO: IMEI packet received {"connection_id":162437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 17:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":162437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:56:37] local.INFO: TCP Data received {"connection_id":165038,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:56:37] local.INFO: Processing buffer {"connection_id":165038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:56:37] local.INFO: IMEI packet received {"connection_id":165038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":165038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:56:41] local.INFO: TCP Data received {"connection_id":165038,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:56:41] local.INFO: Processing buffer {"connection_id":165038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:56:41] local.INFO: IMEI packet received {"connection_id":165038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":165038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:56:42] local.INFO: TCP Data received {"connection_id":165038,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:56:42] local.INFO: Processing buffer {"connection_id":165038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:56:42] local.INFO: Packet analysis {"connection_id":165038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e06"} 
[2026-08-26 17:56:42] local.INFO: Extracted packet for processing {"connection_id":165038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e06"} 
[2026-08-26 17:56:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663163648001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:56: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-26 17:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787747034000,"timestamp_ms":1787747034000,"timestamp_seconds":1787747034,"priority":1,"record_length":96,"hex_timestamp":"000001a03e06e390"} 
[2026-08-26 17:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:56: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-26 17:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 17:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663163648001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663163648001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:56:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:56:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663163648001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":165038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:56:42] local.INFO: GPS data processed {"connection_id":165038,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:56:42] local.INFO: Acknowledgment sent {"connection_id":165038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:57:13] local.INFO: TCP Data received {"connection_id":165038,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:57:13] local.INFO: Processing buffer {"connection_id":165038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:57:13] local.INFO: Packet analysis {"connection_id":165038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e06"} 
[2026-08-26 17:57:13] local.INFO: Extracted packet for processing {"connection_id":165038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e06"} 
[2026-08-26 17:57:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663163648001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:57: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-26 17:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787747034000,"timestamp_ms":1787747034000,"timestamp_seconds":1787747034,"priority":1,"record_length":96,"hex_timestamp":"000001a03e06e390"} 
[2026-08-26 17: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-26 17:57: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-26 17: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:57: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-26 17: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-26 17: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-26 17:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663163648001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663163648001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:57:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:57:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663163648001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":165038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:57:13] local.INFO: GPS data processed {"connection_id":165038,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:57:13] local.INFO: Acknowledgment sent {"connection_id":165038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:57:36] local.INFO: TCP Data received {"connection_id":162439,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:57:36] local.INFO: Processing buffer {"connection_id":162439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:57:36] local.INFO: IMEI packet received {"connection_id":162439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":162439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:57:41] local.INFO: TCP Data received {"connection_id":162439,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:57:41] local.INFO: Processing buffer {"connection_id":162439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:57:41] local.INFO: IMEI packet received {"connection_id":162439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":162439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:57:42] local.INFO: TCP Data received {"connection_id":162439,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:57:42] local.INFO: Processing buffer {"connection_id":162439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:57:42] local.INFO: Packet analysis {"connection_id":162439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e06"} 
[2026-08-26 17:57:42] local.INFO: Extracted packet for processing {"connection_id":162439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e06"} 
[2026-08-26 17:57:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663163648001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:57: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-26 17:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787747034000,"timestamp_ms":1787747034000,"timestamp_seconds":1787747034,"priority":1,"record_length":96,"hex_timestamp":"000001a03e06e390"} 
[2026-08-26 17:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:57: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-26 17:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 17:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663163648001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663163648001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:57:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:57:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663163648001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":162439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:57:42] local.INFO: GPS data processed {"connection_id":162439,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:57:42] local.INFO: Acknowledgment sent {"connection_id":162439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:58:15] local.INFO: TCP Data received {"connection_id":162439,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:58:15] local.INFO: Processing buffer {"connection_id":162439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:58:15] local.INFO: Packet analysis {"connection_id":162439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e06"} 
[2026-08-26 17:58:15] local.INFO: Extracted packet for processing {"connection_id":162439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e06"} 
[2026-08-26 17:58:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663163648001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17: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-26 17:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787747034000,"timestamp_ms":1787747034000,"timestamp_seconds":1787747034,"priority":1,"record_length":96,"hex_timestamp":"000001a03e06e390"} 
[2026-08-26 17: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-26 17: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-26 17: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:58: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-26 17: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-26 17: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-26 17:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663163648001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663163648001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:58:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:58:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663163648001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":162439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:58:15] local.INFO: GPS data processed {"connection_id":162439,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:58:15] local.INFO: Acknowledgment sent {"connection_id":162439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:58:36] local.INFO: TCP Data received {"connection_id":162679,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:58:36] local.INFO: Processing buffer {"connection_id":162679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:58:36] local.INFO: IMEI packet received {"connection_id":162679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":162679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:58:41] local.INFO: TCP Data received {"connection_id":162679,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:58:41] local.INFO: Processing buffer {"connection_id":162679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:58:41] local.INFO: IMEI packet received {"connection_id":162679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":162679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:58:42] local.INFO: TCP Data received {"connection_id":162679,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:58:42] local.INFO: Processing buffer {"connection_id":162679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:58:42] local.INFO: Packet analysis {"connection_id":162679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e06"} 
[2026-08-26 17:58:42] local.INFO: Extracted packet for processing {"connection_id":162679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e06"} 
[2026-08-26 17:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17: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-26 17:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663163648001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17: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-26 17:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787747034000,"timestamp_ms":1787747034000,"timestamp_seconds":1787747034,"priority":1,"record_length":96,"hex_timestamp":"000001a03e06e390"} 
[2026-08-26 17: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-26 17: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-26 17:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 17: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-26 17: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-26 17:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663163648001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663163648001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:58:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:58:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663163648001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":162679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:58:42] local.INFO: GPS data processed {"connection_id":162679,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:58:42] local.INFO: Acknowledgment sent {"connection_id":162679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:59:14] local.INFO: TCP Data received {"connection_id":162679,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:59:14] local.INFO: Processing buffer {"connection_id":162679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e06e390012d34c14006aa4818000c00e62b..."} 
[2026-08-26 17:59:14] local.INFO: Packet analysis {"connection_id":162679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e06"} 
[2026-08-26 17:59:14] local.INFO: Extracted packet for processing {"connection_id":162679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e06"} 
[2026-08-26 17:59:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663163648001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:59: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-26 17:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787747034000,"timestamp_ms":1787747034000,"timestamp_seconds":1787747034,"priority":1,"record_length":96,"hex_timestamp":"000001a03e06e390"} 
[2026-08-26 17:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:59: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-26 17:59:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 17: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-26 17:59:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663163648001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663163648001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:59:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:59:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663163648001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":162679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:59:14] local.INFO: GPS data processed {"connection_id":162679,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:59:14] local.INFO: Acknowledgment sent {"connection_id":162679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 17:59:36] local.INFO: TCP Data received {"connection_id":162440,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:59:36] local.INFO: Processing buffer {"connection_id":162440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:59:36] local.INFO: IMEI packet received {"connection_id":162440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 17:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":162440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 17:59:41] local.INFO: TCP Data received {"connection_id":162440,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:59:41] local.INFO: Processing buffer {"connection_id":162440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 17:59:41] local.INFO: IMEI packet received {"connection_id":162440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 17:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":162440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 17:59:42] local.INFO: TCP Data received {"connection_id":162440,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 17:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 17:59:42] local.INFO: Processing buffer {"connection_id":162440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 17:59:42] local.INFO: Packet analysis {"connection_id":162440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e0b"} 
[2026-08-26 17:59:42] local.INFO: Extracted packet for processing {"connection_id":162440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e0b"} 
[2026-08-26 17:59:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 17:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 17:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663240704001,"note":"Value kept but may cause issues"} 
[2026-08-26 17:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 17:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 17:59: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-26 17:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787747335000,"timestamp_ms":1787747335000,"timestamp_seconds":1787747335,"priority":1,"record_length":96,"hex_timestamp":"000001a03e0b7b58"} 
[2026-08-26 17:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 17:59: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-26 17:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 17:59:42] 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-26 17:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 17:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 17:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 17:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 17:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 17:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 17:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 17:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 17:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663240704001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 17:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 17:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 17:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663240704001,"description":"Unknown IO ID 0"} 
[2026-08-26 17:59:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 17:59:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 17:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 17:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 17:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663240704001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 17:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":162440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 17:59:42] local.INFO: GPS data processed {"connection_id":162440,"processed":1,"errors":0,"total":1} 
[2026-08-26 17:59:42] local.INFO: Acknowledgment sent {"connection_id":162440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:00:14] local.INFO: TCP Data received {"connection_id":162440,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:00:14] local.INFO: Processing buffer {"connection_id":162440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:00:14] local.INFO: Packet analysis {"connection_id":162440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e0b"} 
[2026-08-26 18:00:14] local.INFO: Extracted packet for processing {"connection_id":162440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e0b"} 
[2026-08-26 18:00:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663240704001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:00: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-26 18:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787747335000,"timestamp_ms":1787747335000,"timestamp_seconds":1787747335,"priority":1,"record_length":96,"hex_timestamp":"000001a03e0b7b58"} 
[2026-08-26 18: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-26 18: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-26 18: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 18:00: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-26 18: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-26 18: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-26 18:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663240704001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663240704001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:00:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:00:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663240704001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":162440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:00:14] local.INFO: GPS data processed {"connection_id":162440,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:00:14] local.INFO: Acknowledgment sent {"connection_id":162440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:00:36] local.INFO: TCP Data received {"connection_id":165039,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:00:36] local.INFO: Processing buffer {"connection_id":165039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:00:36] local.INFO: IMEI packet received {"connection_id":165039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":165039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:00:42] local.INFO: TCP Data received {"connection_id":165039,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:00:42] local.INFO: Processing buffer {"connection_id":165039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:00:42] local.INFO: IMEI packet received {"connection_id":165039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":165039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:00:43] local.INFO: TCP Data received {"connection_id":165039,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:00:43] local.INFO: Processing buffer {"connection_id":165039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:00:43] local.INFO: Packet analysis {"connection_id":165039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e0b"} 
[2026-08-26 18:00:43] local.INFO: Extracted packet for processing {"connection_id":165039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e0b"} 
[2026-08-26 18:00:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663240704001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18: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-26 18:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787747335000,"timestamp_ms":1787747335000,"timestamp_seconds":1787747335,"priority":1,"record_length":96,"hex_timestamp":"000001a03e0b7b58"} 
[2026-08-26 18: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-26 18:00: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-26 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 18:00:43] 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-26 18: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-26 18: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-26 18:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663240704001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663240704001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:00:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:00:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663240704001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":165039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:00:43] local.INFO: GPS data processed {"connection_id":165039,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:00:43] local.INFO: Acknowledgment sent {"connection_id":165039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:01:14] local.INFO: TCP Data received {"connection_id":165039,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:01:14] local.INFO: Processing buffer {"connection_id":165039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:01:14] local.INFO: Packet analysis {"connection_id":165039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e0b"} 
[2026-08-26 18:01:14] local.INFO: Extracted packet for processing {"connection_id":165039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e0b"} 
[2026-08-26 18:01:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663240704001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:01: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-26 18:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787747335000,"timestamp_ms":1787747335000,"timestamp_seconds":1787747335,"priority":1,"record_length":96,"hex_timestamp":"000001a03e0b7b58"} 
[2026-08-26 18:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18: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-26 18:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 18:01: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-26 18: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-26 18:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663240704001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663240704001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:01:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:01:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663240704001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":165039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:01:14] local.INFO: GPS data processed {"connection_id":165039,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:01:14] local.INFO: Acknowledgment sent {"connection_id":165039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:01:36] local.INFO: TCP Data received {"connection_id":162441,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:01:36] local.INFO: Processing buffer {"connection_id":162441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:01:36] local.INFO: IMEI packet received {"connection_id":162441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":162441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:01:41] local.INFO: TCP Data received {"connection_id":162441,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:01:41] local.INFO: Processing buffer {"connection_id":162441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:01:41] local.INFO: IMEI packet received {"connection_id":162441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":162441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:01:43] local.INFO: TCP Data received {"connection_id":162441,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:01:43] local.INFO: Processing buffer {"connection_id":162441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:01:43] local.INFO: Packet analysis {"connection_id":162441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e0b"} 
[2026-08-26 18:01:43] local.INFO: Extracted packet for processing {"connection_id":162441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e0b"} 
[2026-08-26 18:01:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663240704001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:01: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-26 18:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787747335000,"timestamp_ms":1787747335000,"timestamp_seconds":1787747335,"priority":1,"record_length":96,"hex_timestamp":"000001a03e0b7b58"} 
[2026-08-26 18:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:01: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-26 18:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 18:01:43] 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-26 18:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663240704001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663240704001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:01:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:01:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663240704001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":162441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:01:43] local.INFO: GPS data processed {"connection_id":162441,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:01:43] local.INFO: Acknowledgment sent {"connection_id":162441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:01:57] local.INFO: TCP Data received {"connection_id":162678,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:01:57] local.INFO: Processing buffer {"connection_id":162678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:01:57] local.INFO: IMEI packet received {"connection_id":162678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 18:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":162678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:02:14] local.INFO: TCP Data received {"connection_id":162441,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:02:14] local.INFO: Processing buffer {"connection_id":162441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:02:14] local.INFO: Packet analysis {"connection_id":162441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e0b"} 
[2026-08-26 18:02:14] local.INFO: Extracted packet for processing {"connection_id":162441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e0b"} 
[2026-08-26 18:02:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663240704001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:02: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-26 18:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787747335000,"timestamp_ms":1787747335000,"timestamp_seconds":1787747335,"priority":1,"record_length":96,"hex_timestamp":"000001a03e0b7b58"} 
[2026-08-26 18:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:02: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-26 18:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 18:02: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-26 18:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663240704001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663240704001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:02:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:02:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663240704001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":162441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:02:14] local.INFO: GPS data processed {"connection_id":162441,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:02:14] local.INFO: Acknowledgment sent {"connection_id":162441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:02:36] local.INFO: TCP Data received {"connection_id":163706,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:02:36] local.INFO: Processing buffer {"connection_id":163706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:02:36] local.INFO: IMEI packet received {"connection_id":163706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":163706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:02:41] local.INFO: TCP Data received {"connection_id":163706,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:02:41] local.INFO: Processing buffer {"connection_id":163706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:02:41] local.INFO: IMEI packet received {"connection_id":163706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":163706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:02:43] local.INFO: TCP Data received {"connection_id":163706,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:02:43] local.INFO: Processing buffer {"connection_id":163706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:02:43] local.INFO: Packet analysis {"connection_id":163706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e0b"} 
[2026-08-26 18:02:43] local.INFO: Extracted packet for processing {"connection_id":163706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e0b"} 
[2026-08-26 18:02:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663240704001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:02: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-26 18:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787747335000,"timestamp_ms":1787747335000,"timestamp_seconds":1787747335,"priority":1,"record_length":96,"hex_timestamp":"000001a03e0b7b58"} 
[2026-08-26 18:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:02: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-26 18:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 18:02:43] 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-26 18:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663240704001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663240704001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:02:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:02:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663240704001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":163706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:02:43] local.INFO: GPS data processed {"connection_id":163706,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:02:43] local.INFO: Acknowledgment sent {"connection_id":163706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:03:14] local.INFO: TCP Data received {"connection_id":163706,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:03:14] local.INFO: Processing buffer {"connection_id":163706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:03:14] local.INFO: Packet analysis {"connection_id":163706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e0b"} 
[2026-08-26 18:03:14] local.INFO: Extracted packet for processing {"connection_id":163706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e0b"} 
[2026-08-26 18:03:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 18:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663240704001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:03: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-26 18:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787747335000,"timestamp_ms":1787747335000,"timestamp_seconds":1787747335,"priority":1,"record_length":96,"hex_timestamp":"000001a03e0b7b58"} 
[2026-08-26 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-26 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-26 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":97,"data_length":795,"current_offset":136} 
[2026-08-26 18:03: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-26 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-26 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-26 18:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663240704001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663240704001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:03:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:03:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663240704001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":163706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:03:14] local.INFO: GPS data processed {"connection_id":163706,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:03:14] local.INFO: Acknowledgment sent {"connection_id":163706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:03:36] local.INFO: TCP Data received {"connection_id":163707,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:03:36] local.INFO: Processing buffer {"connection_id":163707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:03:36] local.INFO: IMEI packet received {"connection_id":163707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":163707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:03:41] local.INFO: TCP Data received {"connection_id":163707,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:03:41] local.INFO: Processing buffer {"connection_id":163707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:03:41] local.INFO: IMEI packet received {"connection_id":163707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":163707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:03:42] local.INFO: TCP Data received {"connection_id":163707,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:03:42] local.INFO: Processing buffer {"connection_id":163707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:03:42] local.INFO: Packet analysis {"connection_id":163707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e0b"} 
[2026-08-26 18:03:42] local.INFO: Extracted packet for processing {"connection_id":163707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e0b"} 
[2026-08-26 18:03:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663240704001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18: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-26 18:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787747335000,"timestamp_ms":1787747335000,"timestamp_seconds":1787747335,"priority":1,"record_length":96,"hex_timestamp":"000001a03e0b7b58"} 
[2026-08-26 18:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18: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-26 18:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 18:03:42] 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-26 18:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663240704001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663240704001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:03:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:03:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663240704001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":163707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:03:42] local.INFO: GPS data processed {"connection_id":163707,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:03:42] local.INFO: Acknowledgment sent {"connection_id":163707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:04:13] local.INFO: TCP Data received {"connection_id":163707,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:04:13] local.INFO: Processing buffer {"connection_id":163707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e0b7b58012d34c14006aa4818000b00e62d..."} 
[2026-08-26 18:04:13] local.INFO: Packet analysis {"connection_id":163707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e0b"} 
[2026-08-26 18:04:13] local.INFO: Extracted packet for processing {"connection_id":163707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e0b"} 
[2026-08-26 18:04:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 18:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663240704001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:04: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-26 18:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787747335000,"timestamp_ms":1787747335000,"timestamp_seconds":1787747335,"priority":1,"record_length":96,"hex_timestamp":"000001a03e0b7b58"} 
[2026-08-26 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-26 18:04: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-26 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 18:04:13] 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-26 18:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 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-26 18:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663240704001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663240704001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:04:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:04:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663240704001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":163707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:04:13] local.INFO: GPS data processed {"connection_id":163707,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:04:13] local.INFO: Acknowledgment sent {"connection_id":163707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:04:41] local.INFO: TCP Data received {"connection_id":165041,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:04:41] local.INFO: Processing buffer {"connection_id":165041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:04:41] local.INFO: IMEI packet received {"connection_id":165041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":165041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:04:46] local.INFO: TCP Data received {"connection_id":165041,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:04:46] local.INFO: Processing buffer {"connection_id":165041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:04:46] local.INFO: IMEI packet received {"connection_id":165041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":165041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:04:47] local.INFO: TCP Data received {"connection_id":165041,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:04:47] local.INFO: Processing buffer {"connection_id":165041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:04:47] local.INFO: Packet analysis {"connection_id":165041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e10"} 
[2026-08-26 18:04:47] local.INFO: Extracted packet for processing {"connection_id":165041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e10"} 
[2026-08-26 18:04:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 18:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663317760001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:04: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-26 18:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787747636000,"timestamp_ms":1787747636000,"timestamp_seconds":1787747636,"priority":1,"record_length":96,"hex_timestamp":"000001a03e101320"} 
[2026-08-26 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-26 18:04: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-26 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 18:04:47] 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-26 18:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 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-26 18:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663317760001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663317760001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:04:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:04:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663317760001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":165041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:04:47] local.INFO: GPS data processed {"connection_id":165041,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:04:47] local.INFO: Acknowledgment sent {"connection_id":165041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:04:52] local.INFO: TCP Data received {"connection_id":165041,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:04:52] local.INFO: Processing buffer {"connection_id":165041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:04:52] local.INFO: Packet analysis {"connection_id":165041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e10"} 
[2026-08-26 18:04:52] local.INFO: Extracted packet for processing {"connection_id":165041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e10"} 
[2026-08-26 18:04:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663317760001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:04: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-26 18:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787747636000,"timestamp_ms":1787747636000,"timestamp_seconds":1787747636,"priority":1,"record_length":96,"hex_timestamp":"000001a03e101320"} 
[2026-08-26 18:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:04: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-26 18:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 18:04:52] 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-26 18:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663317760001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663317760001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:04:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:04:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663317760001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":165041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:04:52] local.INFO: GPS data processed {"connection_id":165041,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:04:52] local.INFO: Acknowledgment sent {"connection_id":165041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:05:37] local.INFO: TCP Data received {"connection_id":162442,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:05:37] local.INFO: Processing buffer {"connection_id":162442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:05:37] local.INFO: IMEI packet received {"connection_id":162442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":162442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:05:42] local.INFO: TCP Data received {"connection_id":162442,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:05:42] local.INFO: Processing buffer {"connection_id":162442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:05:42] local.INFO: IMEI packet received {"connection_id":162442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":162442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:05:43] local.INFO: TCP Data received {"connection_id":162442,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:05:43] local.INFO: Processing buffer {"connection_id":162442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:05:43] local.INFO: Packet analysis {"connection_id":162442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e10"} 
[2026-08-26 18:05:43] local.INFO: Extracted packet for processing {"connection_id":162442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e10"} 
[2026-08-26 18:05:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663317760001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:05: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-26 18:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787747636000,"timestamp_ms":1787747636000,"timestamp_seconds":1787747636,"priority":1,"record_length":96,"hex_timestamp":"000001a03e101320"} 
[2026-08-26 18:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:05: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-26 18:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 18:05:43] 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-26 18:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663317760001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663317760001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:05:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:05:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663317760001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":162442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:05:43] local.INFO: GPS data processed {"connection_id":162442,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:05:43] local.INFO: Acknowledgment sent {"connection_id":162442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:06:14] local.INFO: TCP Data received {"connection_id":162442,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:06:14] local.INFO: Processing buffer {"connection_id":162442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:06:14] local.INFO: Packet analysis {"connection_id":162442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e10"} 
[2026-08-26 18:06:14] local.INFO: Extracted packet for processing {"connection_id":162442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e10"} 
[2026-08-26 18:06:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663317760001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:06: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-26 18:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787747636000,"timestamp_ms":1787747636000,"timestamp_seconds":1787747636,"priority":1,"record_length":96,"hex_timestamp":"000001a03e101320"} 
[2026-08-26 18:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 18:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 18:06: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-26 18:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663317760001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663317760001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:06:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:06:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663317760001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":162442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:06:14] local.INFO: GPS data processed {"connection_id":162442,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:06:14] local.INFO: Acknowledgment sent {"connection_id":162442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:06:36] local.INFO: TCP Data received {"connection_id":165042,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:06:36] local.INFO: Processing buffer {"connection_id":165042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:06:36] local.INFO: IMEI packet received {"connection_id":165042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":165042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:06:41] local.INFO: TCP Data received {"connection_id":165042,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:06:41] local.INFO: Processing buffer {"connection_id":165042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:06:41] local.INFO: IMEI packet received {"connection_id":165042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":165042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:06:42] local.INFO: TCP Data received {"connection_id":165042,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:06:42] local.INFO: Processing buffer {"connection_id":165042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:06:42] local.INFO: Packet analysis {"connection_id":165042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e10"} 
[2026-08-26 18:06:42] local.INFO: Extracted packet for processing {"connection_id":165042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e10"} 
[2026-08-26 18:06:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663317760001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:06: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-26 18:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787747636000,"timestamp_ms":1787747636000,"timestamp_seconds":1787747636,"priority":1,"record_length":96,"hex_timestamp":"000001a03e101320"} 
[2026-08-26 18:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:06: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-26 18:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 18:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 18:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663317760001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663317760001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:06:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:06:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663317760001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":165042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:06:42] local.INFO: GPS data processed {"connection_id":165042,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:06:42] local.INFO: Acknowledgment sent {"connection_id":165042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:07:14] local.INFO: TCP Data received {"connection_id":165042,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:07:14] local.INFO: Processing buffer {"connection_id":165042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:07:14] local.INFO: Packet analysis {"connection_id":165042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e10"} 
[2026-08-26 18:07:14] local.INFO: Extracted packet for processing {"connection_id":165042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e10"} 
[2026-08-26 18:07:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 18:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663317760001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:07: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-26 18:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787747636000,"timestamp_ms":1787747636000,"timestamp_seconds":1787747636,"priority":1,"record_length":96,"hex_timestamp":"000001a03e101320"} 
[2026-08-26 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-26 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-26 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":86,"data_length":795,"current_offset":136} 
[2026-08-26 18:07: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-26 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-26 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-26 18:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663317760001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663317760001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:07:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:07:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663317760001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":165042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:07:14] local.INFO: GPS data processed {"connection_id":165042,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:07:14] local.INFO: Acknowledgment sent {"connection_id":165042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:07:32] local.INFO: TCP Data received {"connection_id":165040,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:07:32] local.INFO: Processing buffer {"connection_id":165040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:07:32] local.INFO: IMEI packet received {"connection_id":165040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 18:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":165040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:07:36] local.INFO: TCP Data received {"connection_id":162680,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:07:36] local.INFO: Processing buffer {"connection_id":162680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:07:36] local.INFO: IMEI packet received {"connection_id":162680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":162680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:07:42] local.INFO: TCP Data received {"connection_id":162680,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:07:42] local.INFO: Processing buffer {"connection_id":162680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:07:42] local.INFO: IMEI packet received {"connection_id":162680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":162680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:07:42] local.INFO: TCP Data received {"connection_id":162680,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:07:42] local.INFO: Processing buffer {"connection_id":162680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:07:42] local.INFO: Packet analysis {"connection_id":162680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e10"} 
[2026-08-26 18:07:42] local.INFO: Extracted packet for processing {"connection_id":162680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e10"} 
[2026-08-26 18:07:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663317760001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:07: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-26 18:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787747636000,"timestamp_ms":1787747636000,"timestamp_seconds":1787747636,"priority":1,"record_length":96,"hex_timestamp":"000001a03e101320"} 
[2026-08-26 18:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 18:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 18:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 18:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663317760001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663317760001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:07:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:07:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663317760001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":162680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:07:42] local.INFO: GPS data processed {"connection_id":162680,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:07:42] local.INFO: Acknowledgment sent {"connection_id":162680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:08:01] local.INFO: TCP Data received {"connection_id":162443,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:08:01] local.INFO: Processing buffer {"connection_id":162443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:08:01] local.INFO: IMEI packet received {"connection_id":162443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 18:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":162443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:08:14] local.INFO: TCP Data received {"connection_id":162680,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:08:14] local.INFO: Processing buffer {"connection_id":162680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:08:14] local.INFO: Packet analysis {"connection_id":162680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e10"} 
[2026-08-26 18:08:14] local.INFO: Extracted packet for processing {"connection_id":162680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e10"} 
[2026-08-26 18:08:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663317760001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:08: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-26 18:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787747636000,"timestamp_ms":1787747636000,"timestamp_seconds":1787747636,"priority":1,"record_length":96,"hex_timestamp":"000001a03e101320"} 
[2026-08-26 18:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:08: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-26 18:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 18:08: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-26 18:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663317760001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663317760001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:08:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:08:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663317760001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":162680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:08:14] local.INFO: GPS data processed {"connection_id":162680,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:08:14] local.INFO: Acknowledgment sent {"connection_id":162680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:08:41] local.INFO: TCP Data received {"connection_id":163708,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:08:41] local.INFO: Processing buffer {"connection_id":163708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:08:41] local.INFO: IMEI packet received {"connection_id":163708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":163708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:08:46] local.INFO: TCP Data received {"connection_id":163708,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:08:46] local.INFO: Processing buffer {"connection_id":163708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:08:46] local.INFO: IMEI packet received {"connection_id":163708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":163708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:08:47] local.INFO: TCP Data received {"connection_id":163708,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:08:47] local.INFO: Processing buffer {"connection_id":163708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:08:47] local.INFO: Packet analysis {"connection_id":163708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e10"} 
[2026-08-26 18:08:47] local.INFO: Extracted packet for processing {"connection_id":163708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e10"} 
[2026-08-26 18:08:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663317760001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18: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-26 18:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787747636000,"timestamp_ms":1787747636000,"timestamp_seconds":1787747636,"priority":1,"record_length":96,"hex_timestamp":"000001a03e101320"} 
[2026-08-26 18:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18: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-26 18:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 18:08:47] 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-26 18: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-26 18:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663317760001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663317760001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:08:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:08:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663317760001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":163708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:08:47] local.INFO: GPS data processed {"connection_id":163708,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:08:47] local.INFO: Acknowledgment sent {"connection_id":163708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:08:52] local.INFO: TCP Data received {"connection_id":163708,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:08:52] local.INFO: Processing buffer {"connection_id":163708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:08:52] local.INFO: Packet analysis {"connection_id":163708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e10"} 
[2026-08-26 18:08:52] local.INFO: Extracted packet for processing {"connection_id":163708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e10"} 
[2026-08-26 18:08:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663317760001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:08: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-26 18:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787747636000,"timestamp_ms":1787747636000,"timestamp_seconds":1787747636,"priority":1,"record_length":96,"hex_timestamp":"000001a03e101320"} 
[2026-08-26 18:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:08: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-26 18:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 18:08:52] 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-26 18:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663317760001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663317760001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:08:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:08:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663317760001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":163708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:08:52] local.INFO: GPS data processed {"connection_id":163708,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:08:52] local.INFO: Acknowledgment sent {"connection_id":163708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:08:57] local.INFO: TCP Data received {"connection_id":163708,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:08:57] local.INFO: Processing buffer {"connection_id":163708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e101320012d34c14006aa4818000d00e62c..."} 
[2026-08-26 18:08:57] local.INFO: Packet analysis {"connection_id":163708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e10"} 
[2026-08-26 18:08:57] local.INFO: Extracted packet for processing {"connection_id":163708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e10"} 
[2026-08-26 18:08:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663317760001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:08: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-26 18:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787747636000,"timestamp_ms":1787747636000,"timestamp_seconds":1787747636,"priority":1,"record_length":96,"hex_timestamp":"000001a03e101320"} 
[2026-08-26 18:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:08: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-26 18:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 18:08:57] 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-26 18:08:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663317760001,"66":25441,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663317760001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:08:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:08:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663317760001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":163708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:08:57] local.INFO: GPS data processed {"connection_id":163708,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:08:57] local.INFO: Acknowledgment sent {"connection_id":163708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:09:35] local.INFO: TCP Data received {"connection_id":165043,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:09:35] local.INFO: Processing buffer {"connection_id":165043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:09:35] local.INFO: IMEI packet received {"connection_id":165043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":165043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:09:36] local.INFO: TCP Data received {"connection_id":165043,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:09:36] local.INFO: Processing buffer {"connection_id":165043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:09:36] local.INFO: IMEI packet received {"connection_id":165043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":165043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:09:41] local.INFO: TCP Data received {"connection_id":165043,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:09:41] local.INFO: Processing buffer {"connection_id":165043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:09:41] local.INFO: IMEI packet received {"connection_id":165043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":165043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:09:42] local.INFO: TCP Data received {"connection_id":165043,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:09:42] local.INFO: Processing buffer {"connection_id":165043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:09:42] local.INFO: Packet analysis {"connection_id":165043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e14"} 
[2026-08-26 18:09:42] local.INFO: Extracted packet for processing {"connection_id":165043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e14"} 
[2026-08-26 18:09:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663394816001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:09: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-26 18:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787747937000,"timestamp_ms":1787747937000,"timestamp_seconds":1787747937,"priority":1,"record_length":96,"hex_timestamp":"000001a03e14aae8"} 
[2026-08-26 18:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:09: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-26 18:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 18:09:42] 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-26 18:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663394816001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663394816001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:09:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:09:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663394816001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":165043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:09:43] local.INFO: GPS data processed {"connection_id":165043,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:09:43] local.INFO: Acknowledgment sent {"connection_id":165043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:10:14] local.INFO: TCP Data received {"connection_id":165043,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:10:14] local.INFO: Processing buffer {"connection_id":165043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:10:14] local.INFO: Packet analysis {"connection_id":165043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e14"} 
[2026-08-26 18:10:14] local.INFO: Extracted packet for processing {"connection_id":165043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e14"} 
[2026-08-26 18:10:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663394816001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:10: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-26 18:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787747937000,"timestamp_ms":1787747937000,"timestamp_seconds":1787747937,"priority":1,"record_length":96,"hex_timestamp":"000001a03e14aae8"} 
[2026-08-26 18:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18: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-26 18:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 18:10: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-26 18:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663394816001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663394816001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:10:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:10:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663394816001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":165043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:10:14] local.INFO: GPS data processed {"connection_id":165043,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:10:14] local.INFO: Acknowledgment sent {"connection_id":165043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:10:36] local.INFO: TCP Data received {"connection_id":163709,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:10:36] local.INFO: Processing buffer {"connection_id":163709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:10:36] local.INFO: IMEI packet received {"connection_id":163709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":163709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:10:41] local.INFO: TCP Data received {"connection_id":163709,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:10:41] local.INFO: Processing buffer {"connection_id":163709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:10:41] local.INFO: IMEI packet received {"connection_id":163709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":163709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:10:42] local.INFO: TCP Data received {"connection_id":163709,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:10:42] local.INFO: Processing buffer {"connection_id":163709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:10:42] local.INFO: Packet analysis {"connection_id":163709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e14"} 
[2026-08-26 18:10:42] local.INFO: Extracted packet for processing {"connection_id":163709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e14"} 
[2026-08-26 18:10:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663394816001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:10: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-26 18:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787747937000,"timestamp_ms":1787747937000,"timestamp_seconds":1787747937,"priority":1,"record_length":96,"hex_timestamp":"000001a03e14aae8"} 
[2026-08-26 18: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-26 18:10: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-26 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 18:10:42] 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-26 18: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-26 18: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-26 18:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663394816001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663394816001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:10:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:10:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663394816001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":163709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:10:42] local.INFO: GPS data processed {"connection_id":163709,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:10:42] local.INFO: Acknowledgment sent {"connection_id":163709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:11:13] local.INFO: TCP Data received {"connection_id":163709,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:11:13] local.INFO: Processing buffer {"connection_id":163709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:11:13] local.INFO: Packet analysis {"connection_id":163709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e14"} 
[2026-08-26 18:11:13] local.INFO: Extracted packet for processing {"connection_id":163709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e14"} 
[2026-08-26 18:11:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 18:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663394816001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:11: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-26 18:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787747937000,"timestamp_ms":1787747937000,"timestamp_seconds":1787747937,"priority":1,"record_length":96,"hex_timestamp":"000001a03e14aae8"} 
[2026-08-26 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-26 18:11: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-26 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 18:11:13] 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-26 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-26 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-26 18:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663394816001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663394816001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:11:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:11:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663394816001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":163709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:11:13] local.INFO: GPS data processed {"connection_id":163709,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:11:13] local.INFO: Acknowledgment sent {"connection_id":163709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:11:36] local.INFO: TCP Data received {"connection_id":165044,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:11:36] local.INFO: Processing buffer {"connection_id":165044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:11:36] local.INFO: IMEI packet received {"connection_id":165044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":165044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:11:41] local.INFO: TCP Data received {"connection_id":165044,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:11:41] local.INFO: Processing buffer {"connection_id":165044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:11:41] local.INFO: IMEI packet received {"connection_id":165044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":165044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:11:43] local.INFO: TCP Data received {"connection_id":165044,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:11:43] local.INFO: Processing buffer {"connection_id":165044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:11:43] local.INFO: Packet analysis {"connection_id":165044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e14"} 
[2026-08-26 18:11:43] local.INFO: Extracted packet for processing {"connection_id":165044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e14"} 
[2026-08-26 18:11:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663394816001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:11: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-26 18:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787747937000,"timestamp_ms":1787747937000,"timestamp_seconds":1787747937,"priority":1,"record_length":96,"hex_timestamp":"000001a03e14aae8"} 
[2026-08-26 18:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:11: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-26 18:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 18:11:43] 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-26 18:11:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663394816001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663394816001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:11:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:11:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663394816001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":165044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:11:43] local.INFO: GPS data processed {"connection_id":165044,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:11:43] local.INFO: Acknowledgment sent {"connection_id":165044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:12:14] local.INFO: TCP Data received {"connection_id":165044,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:12:14] local.INFO: Processing buffer {"connection_id":165044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:12:14] local.INFO: Packet analysis {"connection_id":165044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e14"} 
[2026-08-26 18:12:14] local.INFO: Extracted packet for processing {"connection_id":165044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e14"} 
[2026-08-26 18:12:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663394816001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:12: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-26 18:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787747937000,"timestamp_ms":1787747937000,"timestamp_seconds":1787747937,"priority":1,"record_length":96,"hex_timestamp":"000001a03e14aae8"} 
[2026-08-26 18: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-26 18:12: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-26 18: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 18:12: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-26 18: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-26 18: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-26 18:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663394816001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663394816001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:12:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:12:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663394816001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":165044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:12:14] local.INFO: GPS data processed {"connection_id":165044,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:12:14] local.INFO: Acknowledgment sent {"connection_id":165044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:12:36] local.INFO: TCP Data received {"connection_id":162681,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:12:36] local.INFO: Processing buffer {"connection_id":162681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:12:36] local.INFO: IMEI packet received {"connection_id":162681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":162681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:12:41] local.INFO: TCP Data received {"connection_id":162681,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:12:41] local.INFO: Processing buffer {"connection_id":162681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:12:41] local.INFO: IMEI packet received {"connection_id":162681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":162681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:12:43] local.INFO: TCP Data received {"connection_id":162681,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:12:43] local.INFO: Processing buffer {"connection_id":162681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:12:43] local.INFO: Packet analysis {"connection_id":162681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e14"} 
[2026-08-26 18:12:43] local.INFO: Extracted packet for processing {"connection_id":162681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e14"} 
[2026-08-26 18:12:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663394816001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18: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-26 18:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787747937000,"timestamp_ms":1787747937000,"timestamp_seconds":1787747937,"priority":1,"record_length":96,"hex_timestamp":"000001a03e14aae8"} 
[2026-08-26 18: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-26 18: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-26 18: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":97,"data_length":795,"current_offset":136} 
[2026-08-26 18:12:43] 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-26 18: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-26 18: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-26 18:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663394816001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663394816001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:12:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:12:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663394816001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":162681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:12:43] local.INFO: GPS data processed {"connection_id":162681,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:12:43] local.INFO: Acknowledgment sent {"connection_id":162681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:13:05] local.INFO: TCP Data received {"connection_id":163710,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:13:05] local.INFO: Processing buffer {"connection_id":163710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:13:05] local.INFO: IMEI packet received {"connection_id":163710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 18:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":163710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:13:14] local.INFO: TCP Data received {"connection_id":162681,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:13:14] local.INFO: Processing buffer {"connection_id":162681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:13:14] local.INFO: Packet analysis {"connection_id":162681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e14"} 
[2026-08-26 18:13:14] local.INFO: Extracted packet for processing {"connection_id":162681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e14"} 
[2026-08-26 18:13:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663394816001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:13: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-26 18:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787747937000,"timestamp_ms":1787747937000,"timestamp_seconds":1787747937,"priority":1,"record_length":96,"hex_timestamp":"000001a03e14aae8"} 
[2026-08-26 18:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:13: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-26 18:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 18:13: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-26 18:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663394816001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663394816001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:13:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:13:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663394816001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":162681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:13:14] local.INFO: GPS data processed {"connection_id":162681,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:13:14] local.INFO: Acknowledgment sent {"connection_id":162681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:13:41] local.INFO: TCP Data received {"connection_id":165045,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:13:41] local.INFO: Processing buffer {"connection_id":165045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:13:41] local.INFO: IMEI packet received {"connection_id":165045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":165045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:13:46] local.INFO: TCP Data received {"connection_id":165045,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:13:46] local.INFO: Processing buffer {"connection_id":165045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:13:46] local.INFO: IMEI packet received {"connection_id":165045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":165045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:13:47] local.INFO: TCP Data received {"connection_id":165045,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:13:47] local.INFO: Processing buffer {"connection_id":165045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:13:47] local.INFO: Packet analysis {"connection_id":165045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e14"} 
[2026-08-26 18:13:47] local.INFO: Extracted packet for processing {"connection_id":165045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e14"} 
[2026-08-26 18:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663394816001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:13: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-26 18:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787747937000,"timestamp_ms":1787747937000,"timestamp_seconds":1787747937,"priority":1,"record_length":96,"hex_timestamp":"000001a03e14aae8"} 
[2026-08-26 18:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:13: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-26 18:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 18:13:47] 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-26 18:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663394816001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663394816001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:13:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663394816001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":165045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:13:48] local.INFO: GPS data processed {"connection_id":165045,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:13:48] local.INFO: Acknowledgment sent {"connection_id":165045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:13:52] local.INFO: TCP Data received {"connection_id":165045,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:13:52] local.INFO: Processing buffer {"connection_id":165045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e14aae8012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:13:52] local.INFO: Packet analysis {"connection_id":165045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e14"} 
[2026-08-26 18:13:52] local.INFO: Extracted packet for processing {"connection_id":165045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e14"} 
[2026-08-26 18:13:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663394816001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:13: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-26 18:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787747937000,"timestamp_ms":1787747937000,"timestamp_seconds":1787747937,"priority":1,"record_length":96,"hex_timestamp":"000001a03e14aae8"} 
[2026-08-26 18: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-26 18:13: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-26 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-26 18:13:52] 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-26 18: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-26 18: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-26 18:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663394816001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663394816001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:13:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:13:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663394816001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":165045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:13:52] local.INFO: GPS data processed {"connection_id":165045,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:13:52] local.INFO: Acknowledgment sent {"connection_id":165045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:14:36] local.INFO: TCP Data received {"connection_id":162445,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:14:36] local.INFO: Processing buffer {"connection_id":162445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:14:36] local.INFO: IMEI packet received {"connection_id":162445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":162445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:14:37] local.INFO: TCP Data received {"connection_id":162445,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:14:37] local.INFO: Processing buffer {"connection_id":162445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:14:37] local.INFO: IMEI packet received {"connection_id":162445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":162445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:14:41] local.INFO: TCP Data received {"connection_id":162445,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:14:41] local.INFO: Processing buffer {"connection_id":162445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:14:41] local.INFO: IMEI packet received {"connection_id":162445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":162445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:14:42] local.INFO: TCP Data received {"connection_id":162445,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:14:42] local.INFO: Processing buffer {"connection_id":162445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:14:42] local.INFO: Packet analysis {"connection_id":162445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e19"} 
[2026-08-26 18:14:42] local.INFO: Extracted packet for processing {"connection_id":162445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e19"} 
[2026-08-26 18:14:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663471872001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18: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-26 18:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787748238000,"timestamp_ms":1787748238000,"timestamp_seconds":1787748238,"priority":1,"record_length":96,"hex_timestamp":"000001a03e1942b0"} 
[2026-08-26 18: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-26 18: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-26 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:14: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-26 18: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-26 18: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-26 18:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663471872001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663471872001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:14:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:14:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663471872001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":162445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:14:42] local.INFO: GPS data processed {"connection_id":162445,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:14:42] local.INFO: Acknowledgment sent {"connection_id":162445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:14:47] local.INFO: TCP Data received {"connection_id":162445,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:14:47] local.INFO: Processing buffer {"connection_id":162445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:14:47] local.INFO: Packet analysis {"connection_id":162445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e19"} 
[2026-08-26 18:14:47] local.INFO: Extracted packet for processing {"connection_id":162445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e19"} 
[2026-08-26 18:14:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663471872001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:14: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-26 18:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787748238000,"timestamp_ms":1787748238000,"timestamp_seconds":1787748238,"priority":1,"record_length":96,"hex_timestamp":"000001a03e1942b0"} 
[2026-08-26 18: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-26 18:14: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-26 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 18: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-26 18: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-26 18:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663471872001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663471872001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:14:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:14:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663471872001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":162445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:14:47] local.INFO: GPS data processed {"connection_id":162445,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:14:47] local.INFO: Acknowledgment sent {"connection_id":162445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:15:19] local.INFO: TCP Data received {"connection_id":162445,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:15:19] local.INFO: Processing buffer {"connection_id":162445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:15:19] local.INFO: Packet analysis {"connection_id":162445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e19"} 
[2026-08-26 18:15:19] local.INFO: Extracted packet for processing {"connection_id":162445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e19"} 
[2026-08-26 18:15:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663471872001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 18:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787748238000,"timestamp_ms":1787748238000,"timestamp_seconds":1787748238,"priority":1,"record_length":96,"hex_timestamp":"000001a03e1942b0"} 
[2026-08-26 18: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-26 18:15: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-26 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 18: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-26 18: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-26 18:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663471872001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663471872001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:15:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:15:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663471872001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":162445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:15:19] local.INFO: GPS data processed {"connection_id":162445,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:15:19] local.INFO: Acknowledgment sent {"connection_id":162445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:15:36] local.INFO: TCP Data received {"connection_id":162682,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:15:36] local.INFO: Processing buffer {"connection_id":162682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:15:36] local.INFO: IMEI packet received {"connection_id":162682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":162682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:15:41] local.INFO: TCP Data received {"connection_id":162682,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:15:41] local.INFO: Processing buffer {"connection_id":162682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:15:41] local.INFO: IMEI packet received {"connection_id":162682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":162682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:15:42] local.INFO: TCP Data received {"connection_id":162682,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:15:42] local.INFO: Processing buffer {"connection_id":162682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:15:42] local.INFO: Packet analysis {"connection_id":162682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e19"} 
[2026-08-26 18:15:42] local.INFO: Extracted packet for processing {"connection_id":162682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e19"} 
[2026-08-26 18:15:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663471872001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18: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-26 18:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787748238000,"timestamp_ms":1787748238000,"timestamp_seconds":1787748238,"priority":1,"record_length":96,"hex_timestamp":"000001a03e1942b0"} 
[2026-08-26 18: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-26 18: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-26 18: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-26 18: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-26 18: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-26 18: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-26 18:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663471872001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663471872001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:15:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:15:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663471872001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":162682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:15:42] local.INFO: GPS data processed {"connection_id":162682,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:15:42] local.INFO: Acknowledgment sent {"connection_id":162682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:16:14] local.INFO: TCP Data received {"connection_id":162682,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:16:14] local.INFO: Processing buffer {"connection_id":162682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:16:14] local.INFO: Packet analysis {"connection_id":162682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e19"} 
[2026-08-26 18:16:14] local.INFO: Extracted packet for processing {"connection_id":162682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e19"} 
[2026-08-26 18:16:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663471872001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:16: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-26 18:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787748238000,"timestamp_ms":1787748238000,"timestamp_seconds":1787748238,"priority":1,"record_length":96,"hex_timestamp":"000001a03e1942b0"} 
[2026-08-26 18:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:16: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-26 18:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:16: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-26 18:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663471872001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663471872001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:16:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:16:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663471872001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":162682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:16:14] local.INFO: GPS data processed {"connection_id":162682,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:16:14] local.INFO: Acknowledgment sent {"connection_id":162682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:16:36] local.INFO: TCP Data received {"connection_id":165046,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:16:36] local.INFO: Processing buffer {"connection_id":165046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:16:36] local.INFO: IMEI packet received {"connection_id":165046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":165046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:16:41] local.INFO: TCP Data received {"connection_id":165046,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:16:41] local.INFO: Processing buffer {"connection_id":165046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:16:41] local.INFO: IMEI packet received {"connection_id":165046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":165046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:16:42] local.INFO: TCP Data received {"connection_id":165046,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:16:42] local.INFO: Processing buffer {"connection_id":165046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:16:42] local.INFO: Packet analysis {"connection_id":165046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e19"} 
[2026-08-26 18:16:42] local.INFO: Extracted packet for processing {"connection_id":165046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e19"} 
[2026-08-26 18:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663471872001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18: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-26 18:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787748238000,"timestamp_ms":1787748238000,"timestamp_seconds":1787748238,"priority":1,"record_length":96,"hex_timestamp":"000001a03e1942b0"} 
[2026-08-26 18:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18: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-26 18:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18: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-26 18:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663471872001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663471872001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:16:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663471872001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":165046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:16:42] local.INFO: GPS data processed {"connection_id":165046,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:16:42] local.INFO: Acknowledgment sent {"connection_id":165046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:17:14] local.INFO: TCP Data received {"connection_id":165046,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:17:14] local.INFO: Processing buffer {"connection_id":165046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:17:14] local.INFO: Packet analysis {"connection_id":165046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e19"} 
[2026-08-26 18:17:14] local.INFO: Extracted packet for processing {"connection_id":165046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e19"} 
[2026-08-26 18:17:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663471872001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:17: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-26 18:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787748238000,"timestamp_ms":1787748238000,"timestamp_seconds":1787748238,"priority":1,"record_length":96,"hex_timestamp":"000001a03e1942b0"} 
[2026-08-26 18:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:17: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-26 18:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:17: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-26 18:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663471872001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663471872001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:17:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:17:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663471872001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":165046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:17:14] local.INFO: GPS data processed {"connection_id":165046,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:17:14] local.INFO: Acknowledgment sent {"connection_id":165046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:17:42] local.INFO: TCP Data received {"connection_id":162446,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:17:42] local.INFO: Processing buffer {"connection_id":162446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:17:42] local.INFO: IMEI packet received {"connection_id":162446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":162446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:17:46] local.INFO: TCP Data received {"connection_id":162446,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:17:46] local.INFO: Processing buffer {"connection_id":162446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:17:46] local.INFO: IMEI packet received {"connection_id":162446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":162446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:17:47] local.INFO: TCP Data received {"connection_id":162446,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:17:47] local.INFO: Processing buffer {"connection_id":162446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:17:47] local.INFO: Packet analysis {"connection_id":162446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e19"} 
[2026-08-26 18:17:47] local.INFO: Extracted packet for processing {"connection_id":162446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e19"} 
[2026-08-26 18:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663471872001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:17: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-26 18:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787748238000,"timestamp_ms":1787748238000,"timestamp_seconds":1787748238,"priority":1,"record_length":96,"hex_timestamp":"000001a03e1942b0"} 
[2026-08-26 18: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-26 18:17: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-26 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 18: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-26 18: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-26 18:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663471872001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663471872001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:17:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663471872001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":162446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:17:47] local.INFO: GPS data processed {"connection_id":162446,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:17:47] local.INFO: Acknowledgment sent {"connection_id":162446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:17:52] local.INFO: TCP Data received {"connection_id":162446,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:17:52] local.INFO: Processing buffer {"connection_id":162446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:17:52] local.INFO: Packet analysis {"connection_id":162446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e19"} 
[2026-08-26 18:17:52] local.INFO: Extracted packet for processing {"connection_id":162446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e19"} 
[2026-08-26 18:17:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663471872001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:17: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-26 18:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787748238000,"timestamp_ms":1787748238000,"timestamp_seconds":1787748238,"priority":1,"record_length":96,"hex_timestamp":"000001a03e1942b0"} 
[2026-08-26 18: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-26 18:17: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-26 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:17: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-26 18: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-26 18: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-26 18:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663471872001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663471872001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:17:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:17:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663471872001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":162446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:17:52] local.INFO: GPS data processed {"connection_id":162446,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:17:52] local.INFO: Acknowledgment sent {"connection_id":162446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:18:36] local.INFO: TCP Data received {"connection_id":162683,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:18:36] local.INFO: Processing buffer {"connection_id":162683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:18:36] local.INFO: IMEI packet received {"connection_id":162683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":162683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:18:37] local.INFO: TCP Data received {"connection_id":163711,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:18:37] local.INFO: Processing buffer {"connection_id":163711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:18:37] local.INFO: IMEI packet received {"connection_id":163711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 18:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":163711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:18:41] local.INFO: TCP Data received {"connection_id":162683,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:18:41] local.INFO: Processing buffer {"connection_id":162683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:18:41] local.INFO: IMEI packet received {"connection_id":162683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":162683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:18:42] local.INFO: TCP Data received {"connection_id":162683,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:18:42] local.INFO: Processing buffer {"connection_id":162683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:18:42] local.INFO: Packet analysis {"connection_id":162683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e19"} 
[2026-08-26 18:18:42] local.INFO: Extracted packet for processing {"connection_id":162683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e19"} 
[2026-08-26 18:18:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663471872001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18: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-26 18:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787748238000,"timestamp_ms":1787748238000,"timestamp_seconds":1787748238,"priority":1,"record_length":96,"hex_timestamp":"000001a03e1942b0"} 
[2026-08-26 18: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-26 18: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-26 18: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-26 18: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-26 18: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-26 18: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-26 18:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663471872001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663471872001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:18:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:18:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663471872001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":162683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:18:42] local.INFO: GPS data processed {"connection_id":162683,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:18:42] local.INFO: Acknowledgment sent {"connection_id":162683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:19:15] local.INFO: TCP Data received {"connection_id":162683,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:19:15] local.INFO: Processing buffer {"connection_id":162683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e1942b0012d34c14006aa4818000f00e62b..."} 
[2026-08-26 18:19:15] local.INFO: Packet analysis {"connection_id":162683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e19"} 
[2026-08-26 18:19:15] local.INFO: Extracted packet for processing {"connection_id":162683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e19"} 
[2026-08-26 18:19:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663471872001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:19: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-26 18:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787748238000,"timestamp_ms":1787748238000,"timestamp_seconds":1787748238,"priority":1,"record_length":96,"hex_timestamp":"000001a03e1942b0"} 
[2026-08-26 18:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:19: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-26 18:19:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:19: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-26 18:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663471872001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663471872001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:19:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:19:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663471872001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":162683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:19:15] local.INFO: GPS data processed {"connection_id":162683,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:19:15] local.INFO: Acknowledgment sent {"connection_id":162683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:19:36] local.INFO: TCP Data received {"connection_id":165047,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:19:36] local.INFO: Processing buffer {"connection_id":165047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:19:36] local.INFO: IMEI packet received {"connection_id":165047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":165047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:19:37] local.INFO: TCP Data received {"connection_id":165047,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:19:37] local.INFO: Processing buffer {"connection_id":165047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:19:37] local.INFO: IMEI packet received {"connection_id":165047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":165047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:19:42] local.INFO: TCP Data received {"connection_id":165047,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:19:42] local.INFO: Processing buffer {"connection_id":165047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:19:42] local.INFO: IMEI packet received {"connection_id":165047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":165047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:19:43] local.INFO: TCP Data received {"connection_id":165047,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:19:43] local.INFO: Processing buffer {"connection_id":165047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:19:43] local.INFO: Packet analysis {"connection_id":165047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e1d"} 
[2026-08-26 18:19:43] local.INFO: Extracted packet for processing {"connection_id":165047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e1d"} 
[2026-08-26 18:19:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663548928001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18: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-26 18:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787748539000,"timestamp_ms":1787748539000,"timestamp_seconds":1787748539,"priority":1,"record_length":96,"hex_timestamp":"000001a03e1dda78"} 
[2026-08-26 18:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18: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-26 18:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:19: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-26 18: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-26 18:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663548928001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663548928001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:19:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:19:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663548928001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":165047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:19:43] local.INFO: GPS data processed {"connection_id":165047,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:19:43] local.INFO: Acknowledgment sent {"connection_id":165047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:20:14] local.INFO: TCP Data received {"connection_id":165047,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:20:14] local.INFO: Processing buffer {"connection_id":165047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:20:14] local.INFO: Packet analysis {"connection_id":165047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e1d"} 
[2026-08-26 18:20:14] local.INFO: Extracted packet for processing {"connection_id":165047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e1d"} 
[2026-08-26 18:20:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663548928001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:20: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-26 18:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787748539000,"timestamp_ms":1787748539000,"timestamp_seconds":1787748539,"priority":1,"record_length":96,"hex_timestamp":"000001a03e1dda78"} 
[2026-08-26 18:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:20: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-26 18:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:20: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-26 18:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663548928001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663548928001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:20:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:20:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663548928001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":165047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:20:14] local.INFO: GPS data processed {"connection_id":165047,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:20:14] local.INFO: Acknowledgment sent {"connection_id":165047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:20:36] local.INFO: TCP Data received {"connection_id":162684,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:20:36] local.INFO: Processing buffer {"connection_id":162684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:20:36] local.INFO: IMEI packet received {"connection_id":162684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":162684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:20:41] local.INFO: TCP Data received {"connection_id":162684,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:20:41] local.INFO: Processing buffer {"connection_id":162684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:20:41] local.INFO: IMEI packet received {"connection_id":162684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":162684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:20:42] local.INFO: TCP Data received {"connection_id":162684,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:20:42] local.INFO: Processing buffer {"connection_id":162684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:20:42] local.INFO: Packet analysis {"connection_id":162684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e1d"} 
[2026-08-26 18:20:42] local.INFO: Extracted packet for processing {"connection_id":162684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e1d"} 
[2026-08-26 18:20:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663548928001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:20: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-26 18:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787748539000,"timestamp_ms":1787748539000,"timestamp_seconds":1787748539,"priority":1,"record_length":96,"hex_timestamp":"000001a03e1dda78"} 
[2026-08-26 18:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 18:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:20: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-26 18:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663548928001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663548928001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:20:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:20:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663548928001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":162684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:20:42] local.INFO: GPS data processed {"connection_id":162684,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:20:42] local.INFO: Acknowledgment sent {"connection_id":162684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:21:14] local.INFO: TCP Data received {"connection_id":162684,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:21:14] local.INFO: Processing buffer {"connection_id":162684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:21:14] local.INFO: Packet analysis {"connection_id":162684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e1d"} 
[2026-08-26 18:21:14] local.INFO: Extracted packet for processing {"connection_id":162684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e1d"} 
[2026-08-26 18:21:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663548928001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:21: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-26 18:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787748539000,"timestamp_ms":1787748539000,"timestamp_seconds":1787748539,"priority":1,"record_length":96,"hex_timestamp":"000001a03e1dda78"} 
[2026-08-26 18: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-26 18:21: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-26 18: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:21: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-26 18: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-26 18: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-26 18:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663548928001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663548928001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:21:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:21:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663548928001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":162684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:21:14] local.INFO: GPS data processed {"connection_id":162684,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:21:14] local.INFO: Acknowledgment sent {"connection_id":162684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:21:36] local.INFO: TCP Data received {"connection_id":162447,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:21:36] local.INFO: Processing buffer {"connection_id":162447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:21:36] local.INFO: IMEI packet received {"connection_id":162447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":162447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:21:41] local.INFO: TCP Data received {"connection_id":162447,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:21:41] local.INFO: Processing buffer {"connection_id":162447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:21:41] local.INFO: IMEI packet received {"connection_id":162447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":162447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:21:42] local.INFO: TCP Data received {"connection_id":162447,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:21:42] local.INFO: Processing buffer {"connection_id":162447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:21:42] local.INFO: Packet analysis {"connection_id":162447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e1d"} 
[2026-08-26 18:21:42] local.INFO: Extracted packet for processing {"connection_id":162447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e1d"} 
[2026-08-26 18:21:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663548928001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:21: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-26 18:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787748539000,"timestamp_ms":1787748539000,"timestamp_seconds":1787748539,"priority":1,"record_length":96,"hex_timestamp":"000001a03e1dda78"} 
[2026-08-26 18: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-26 18:21: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-26 18: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:21: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-26 18: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-26 18: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-26 18:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663548928001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663548928001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:21:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:21:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663548928001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":162447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:21:42] local.INFO: GPS data processed {"connection_id":162447,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:21:42] local.INFO: Acknowledgment sent {"connection_id":162447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:22:14] local.INFO: TCP Data received {"connection_id":162447,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:22:14] local.INFO: Processing buffer {"connection_id":162447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:22:14] local.INFO: Packet analysis {"connection_id":162447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e1d"} 
[2026-08-26 18:22:14] local.INFO: Extracted packet for processing {"connection_id":162447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e1d"} 
[2026-08-26 18:22:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663548928001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:22: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-26 18:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787748539000,"timestamp_ms":1787748539000,"timestamp_seconds":1787748539,"priority":1,"record_length":96,"hex_timestamp":"000001a03e1dda78"} 
[2026-08-26 18:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:22: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-26 18:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:22: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-26 18:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663548928001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663548928001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:22:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:22:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663548928001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":162447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:22:14] local.INFO: GPS data processed {"connection_id":162447,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:22:14] local.INFO: Acknowledgment sent {"connection_id":162447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:22:41] local.INFO: TCP Data received {"connection_id":162685,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:22:41] local.INFO: Processing buffer {"connection_id":162685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:22:41] local.INFO: IMEI packet received {"connection_id":162685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":162685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:22:46] local.INFO: TCP Data received {"connection_id":162685,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:22:46] local.INFO: Processing buffer {"connection_id":162685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:22:46] local.INFO: IMEI packet received {"connection_id":162685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":162685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:22:47] local.INFO: TCP Data received {"connection_id":162685,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:22:47] local.INFO: Processing buffer {"connection_id":162685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:22:47] local.INFO: Packet analysis {"connection_id":162685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e1d"} 
[2026-08-26 18:22:47] local.INFO: Extracted packet for processing {"connection_id":162685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e1d"} 
[2026-08-26 18:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663548928001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:22: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-26 18:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787748539000,"timestamp_ms":1787748539000,"timestamp_seconds":1787748539,"priority":1,"record_length":96,"hex_timestamp":"000001a03e1dda78"} 
[2026-08-26 18:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:22: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-26 18:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:22: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-26 18:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663548928001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663548928001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:22:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663548928001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":162685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:22:47] local.INFO: GPS data processed {"connection_id":162685,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:22:47] local.INFO: Acknowledgment sent {"connection_id":162685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:22:52] local.INFO: TCP Data received {"connection_id":162685,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:22:52] local.INFO: Processing buffer {"connection_id":162685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:22:52] local.INFO: Packet analysis {"connection_id":162685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e1d"} 
[2026-08-26 18:22:52] local.INFO: Extracted packet for processing {"connection_id":162685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e1d"} 
[2026-08-26 18:22:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663548928001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:22: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-26 18:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787748539000,"timestamp_ms":1787748539000,"timestamp_seconds":1787748539,"priority":1,"record_length":96,"hex_timestamp":"000001a03e1dda78"} 
[2026-08-26 18:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:22: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-26 18:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 18:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663548928001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663548928001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:22:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:22:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663548928001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":162685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:22:52] local.INFO: GPS data processed {"connection_id":162685,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:22:52] local.INFO: Acknowledgment sent {"connection_id":162685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:23:36] local.INFO: TCP Data received {"connection_id":162448,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:23:36] local.INFO: Processing buffer {"connection_id":162448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:23:36] local.INFO: IMEI packet received {"connection_id":162448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":162448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:23:41] local.INFO: TCP Data received {"connection_id":162448,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:23:41] local.INFO: Processing buffer {"connection_id":162448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:23:41] local.INFO: IMEI packet received {"connection_id":162448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":162448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:23:42] local.INFO: TCP Data received {"connection_id":162448,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:23:42] local.INFO: Processing buffer {"connection_id":162448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:23:42] local.INFO: Packet analysis {"connection_id":162448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e1d"} 
[2026-08-26 18:23:42] local.INFO: Extracted packet for processing {"connection_id":162448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e1d"} 
[2026-08-26 18:23:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663548928001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18: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-26 18:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787748539000,"timestamp_ms":1787748539000,"timestamp_seconds":1787748539,"priority":1,"record_length":96,"hex_timestamp":"000001a03e1dda78"} 
[2026-08-26 18: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-26 18: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-26 18: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-26 18: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-26 18: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-26 18: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-26 18:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663548928001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663548928001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:23:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:23:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663548928001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":162448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:23:42] local.INFO: GPS data processed {"connection_id":162448,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:23:42] local.INFO: Acknowledgment sent {"connection_id":162448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:24:14] local.INFO: TCP Data received {"connection_id":162448,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:24:14] local.INFO: Processing buffer {"connection_id":162448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e1dda78012d34c14006aa4818000c00e629..."} 
[2026-08-26 18:24:14] local.INFO: Packet analysis {"connection_id":162448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e1d"} 
[2026-08-26 18:24:14] local.INFO: Extracted packet for processing {"connection_id":162448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e1d"} 
[2026-08-26 18:24:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663548928001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:24: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-26 18:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787748539000,"timestamp_ms":1787748539000,"timestamp_seconds":1787748539,"priority":1,"record_length":96,"hex_timestamp":"000001a03e1dda78"} 
[2026-08-26 18:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:24: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-26 18:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:24: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-26 18:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663548928001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663548928001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:24:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:24:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663548928001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":162448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:24:14] local.INFO: GPS data processed {"connection_id":162448,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:24:14] local.INFO: Acknowledgment sent {"connection_id":162448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:24:36] local.INFO: TCP Data received {"connection_id":163713,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:24:36] local.INFO: Processing buffer {"connection_id":163713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:24:36] local.INFO: IMEI packet received {"connection_id":163713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":163713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:24:38] local.INFO: TCP Data received {"connection_id":163713,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:24:38] local.INFO: Processing buffer {"connection_id":163713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:24:38] local.INFO: IMEI packet received {"connection_id":163713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":163713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:24:41] local.INFO: TCP Data received {"connection_id":163713,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:24:41] local.INFO: Processing buffer {"connection_id":163713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:24:41] local.INFO: IMEI packet received {"connection_id":163713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":163713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:24:42] local.INFO: TCP Data received {"connection_id":163713,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:24:42] local.INFO: Processing buffer {"connection_id":163713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:24:42] local.INFO: Packet analysis {"connection_id":163713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e22"} 
[2026-08-26 18:24:42] local.INFO: Extracted packet for processing {"connection_id":163713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e22"} 
[2026-08-26 18:24:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663625984001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:24: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-26 18:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787748840000,"timestamp_ms":1787748840000,"timestamp_seconds":1787748840,"priority":1,"record_length":96,"hex_timestamp":"000001a03e227240"} 
[2026-08-26 18:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:24: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-26 18:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 18:24: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-26 18:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663625984001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663625984001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:24:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:24:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663625984001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":163713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:24:42] local.INFO: GPS data processed {"connection_id":163713,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:24:42] local.INFO: Acknowledgment sent {"connection_id":163713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:25:01] local.INFO: TCP Data received {"connection_id":163714,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:25:01] local.INFO: Processing buffer {"connection_id":163714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:25:01] local.INFO: IMEI packet received {"connection_id":163714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 18:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":163714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:25:13] local.INFO: TCP Data received {"connection_id":163713,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:25:13] local.INFO: Processing buffer {"connection_id":163713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:25:13] local.INFO: Packet analysis {"connection_id":163713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e22"} 
[2026-08-26 18:25:13] local.INFO: Extracted packet for processing {"connection_id":163713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e22"} 
[2026-08-26 18:25:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663625984001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:25: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-26 18:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787748840000,"timestamp_ms":1787748840000,"timestamp_seconds":1787748840,"priority":1,"record_length":96,"hex_timestamp":"000001a03e227240"} 
[2026-08-26 18:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:25: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-26 18:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 18:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 18:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663625984001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663625984001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:25:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:25:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663625984001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":163713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:25:13] local.INFO: GPS data processed {"connection_id":163713,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:25:13] local.INFO: Acknowledgment sent {"connection_id":163713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:25:41] local.INFO: TCP Data received {"connection_id":165048,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:25:41] local.INFO: Processing buffer {"connection_id":165048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:25:41] local.INFO: IMEI packet received {"connection_id":165048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":165048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:25:46] local.INFO: TCP Data received {"connection_id":165048,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:25:46] local.INFO: Processing buffer {"connection_id":165048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:25:46] local.INFO: IMEI packet received {"connection_id":165048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":165048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:25:47] local.INFO: TCP Data received {"connection_id":165048,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:25:47] local.INFO: Processing buffer {"connection_id":165048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:25:47] local.INFO: Packet analysis {"connection_id":165048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e22"} 
[2026-08-26 18:25:47] local.INFO: Extracted packet for processing {"connection_id":165048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e22"} 
[2026-08-26 18:25:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663625984001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:25: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-26 18:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787748840000,"timestamp_ms":1787748840000,"timestamp_seconds":1787748840,"priority":1,"record_length":96,"hex_timestamp":"000001a03e227240"} 
[2026-08-26 18: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-26 18:25: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-26 18: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 18:25: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-26 18: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-26 18: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-26 18:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663625984001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663625984001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:25:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:25:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663625984001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":165048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:25:47] local.INFO: GPS data processed {"connection_id":165048,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:25:47] local.INFO: Acknowledgment sent {"connection_id":165048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:25:52] local.INFO: TCP Data received {"connection_id":165048,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:25:52] local.INFO: Processing buffer {"connection_id":165048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:25:52] local.INFO: Packet analysis {"connection_id":165048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e22"} 
[2026-08-26 18:25:52] local.INFO: Extracted packet for processing {"connection_id":165048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e22"} 
[2026-08-26 18:25:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663625984001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:25: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-26 18:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787748840000,"timestamp_ms":1787748840000,"timestamp_seconds":1787748840,"priority":1,"record_length":96,"hex_timestamp":"000001a03e227240"} 
[2026-08-26 18: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-26 18:25: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-26 18: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 18:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 18: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-26 18: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-26 18:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663625984001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663625984001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:25:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:25:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663625984001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":165048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:25:52] local.INFO: GPS data processed {"connection_id":165048,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:25:52] local.INFO: Acknowledgment sent {"connection_id":165048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:26:36] local.INFO: TCP Data received {"connection_id":163715,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:26:36] local.INFO: Processing buffer {"connection_id":163715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:26:36] local.INFO: IMEI packet received {"connection_id":163715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":163715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:26:41] local.INFO: TCP Data received {"connection_id":163715,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:26:41] local.INFO: Processing buffer {"connection_id":163715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:26:41] local.INFO: IMEI packet received {"connection_id":163715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":163715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:26:42] local.INFO: TCP Data received {"connection_id":163715,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:26:42] local.INFO: Processing buffer {"connection_id":163715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:26:42] local.INFO: Packet analysis {"connection_id":163715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e22"} 
[2026-08-26 18:26:42] local.INFO: Extracted packet for processing {"connection_id":163715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e22"} 
[2026-08-26 18:26:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663625984001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:26: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-26 18:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787748840000,"timestamp_ms":1787748840000,"timestamp_seconds":1787748840,"priority":1,"record_length":96,"hex_timestamp":"000001a03e227240"} 
[2026-08-26 18:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:26: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-26 18:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 18:26: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-26 18:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663625984001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663625984001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:26:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:26:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663625984001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":163715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:26:42] local.INFO: GPS data processed {"connection_id":163715,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:26:42] local.INFO: Acknowledgment sent {"connection_id":163715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:27:14] local.INFO: TCP Data received {"connection_id":163715,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:27:14] local.INFO: Processing buffer {"connection_id":163715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:27:14] local.INFO: Packet analysis {"connection_id":163715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e22"} 
[2026-08-26 18:27:14] local.INFO: Extracted packet for processing {"connection_id":163715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e22"} 
[2026-08-26 18:27:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663625984001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:27: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-26 18:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787748840000,"timestamp_ms":1787748840000,"timestamp_seconds":1787748840,"priority":1,"record_length":96,"hex_timestamp":"000001a03e227240"} 
[2026-08-26 18: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-26 18:27: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-26 18: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 18:27: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-26 18: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-26 18: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-26 18:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663625984001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663625984001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:27:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:27:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663625984001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":163715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":700999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:27:14] local.INFO: GPS data processed {"connection_id":163715,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:27:14] local.INFO: Acknowledgment sent {"connection_id":163715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:27:36] local.INFO: TCP Data received {"connection_id":165049,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:27:36] local.INFO: Processing buffer {"connection_id":165049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:27:36] local.INFO: IMEI packet received {"connection_id":165049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":165049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:27:41] local.INFO: TCP Data received {"connection_id":165049,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:27:41] local.INFO: Processing buffer {"connection_id":165049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:27:41] local.INFO: IMEI packet received {"connection_id":165049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":165049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:27:43] local.INFO: TCP Data received {"connection_id":165049,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:27:43] local.INFO: Processing buffer {"connection_id":165049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:27:43] local.INFO: Packet analysis {"connection_id":165049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e22"} 
[2026-08-26 18:27:43] local.INFO: Extracted packet for processing {"connection_id":165049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e22"} 
[2026-08-26 18:27:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663625984001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:27: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-26 18:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787748840000,"timestamp_ms":1787748840000,"timestamp_seconds":1787748840,"priority":1,"record_length":96,"hex_timestamp":"000001a03e227240"} 
[2026-08-26 18: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-26 18:27: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-26 18: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 18:27: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-26 18:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18: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-26 18:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663625984001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663625984001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:27:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:27:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663625984001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":165049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:27:43] local.INFO: GPS data processed {"connection_id":165049,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:27:43] local.INFO: Acknowledgment sent {"connection_id":165049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:28:15] local.INFO: TCP Data received {"connection_id":165049,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:28:15] local.INFO: Processing buffer {"connection_id":165049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:28:15] local.INFO: Packet analysis {"connection_id":165049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e22"} 
[2026-08-26 18:28:15] local.INFO: Extracted packet for processing {"connection_id":165049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e22"} 
[2026-08-26 18:28:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663625984001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18: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-26 18:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787748840000,"timestamp_ms":1787748840000,"timestamp_seconds":1787748840,"priority":1,"record_length":96,"hex_timestamp":"000001a03e227240"} 
[2026-08-26 18: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-26 18: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-26 18: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 18:28: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-26 18: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-26 18: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-26 18:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":165049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":165049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":165049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663625984001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663625984001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:28:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:28:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663625984001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":165049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:28:15] local.INFO: GPS data processed {"connection_id":165049,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:28:15] local.INFO: Acknowledgment sent {"connection_id":165049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:28:36] local.INFO: TCP Data received {"connection_id":163717,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:28:36] local.INFO: Processing buffer {"connection_id":163717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:28:36] local.INFO: IMEI packet received {"connection_id":163717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":163717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:28:41] local.INFO: TCP Data received {"connection_id":163717,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:28:41] local.INFO: Processing buffer {"connection_id":163717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:28:41] local.INFO: IMEI packet received {"connection_id":163717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":163717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:28:42] local.INFO: TCP Data received {"connection_id":163717,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:28:42] local.INFO: Processing buffer {"connection_id":163717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:28:42] local.INFO: Packet analysis {"connection_id":163717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e22"} 
[2026-08-26 18:28:42] local.INFO: Extracted packet for processing {"connection_id":163717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e22"} 
[2026-08-26 18:28:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663625984001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18: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-26 18:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787748840000,"timestamp_ms":1787748840000,"timestamp_seconds":1787748840,"priority":1,"record_length":96,"hex_timestamp":"000001a03e227240"} 
[2026-08-26 18: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-26 18: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-26 18: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 18:28: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-26 18: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-26 18: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-26 18:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663625984001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663625984001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:28:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:28:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663625984001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":163717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:28:42] local.INFO: GPS data processed {"connection_id":163717,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:28:42] local.INFO: Acknowledgment sent {"connection_id":163717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:28:47] local.INFO: TCP Data received {"connection_id":163717,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:28:47] local.INFO: Processing buffer {"connection_id":163717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:28:47] local.INFO: Packet analysis {"connection_id":163717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e22"} 
[2026-08-26 18:28:47] local.INFO: Extracted packet for processing {"connection_id":163717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e22"} 
[2026-08-26 18:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663625984001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:28: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-26 18:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787748840000,"timestamp_ms":1787748840000,"timestamp_seconds":1787748840,"priority":1,"record_length":96,"hex_timestamp":"000001a03e227240"} 
[2026-08-26 18:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:28: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-26 18:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 18:28: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-26 18:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663625984001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663625984001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:28:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:28:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663625984001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":163717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:28:47] local.INFO: GPS data processed {"connection_id":163717,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:28:47] local.INFO: Acknowledgment sent {"connection_id":163717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:29:19] local.INFO: TCP Data received {"connection_id":163717,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:29:19] local.INFO: Processing buffer {"connection_id":163717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e227240012d34c14006aa4818000a00e62a..."} 
[2026-08-26 18:29:19] local.INFO: Packet analysis {"connection_id":163717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e22"} 
[2026-08-26 18:29:19] local.INFO: Extracted packet for processing {"connection_id":163717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e22"} 
[2026-08-26 18:29:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663625984001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 18:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787748840000,"timestamp_ms":1787748840000,"timestamp_seconds":1787748840,"priority":1,"record_length":96,"hex_timestamp":"000001a03e227240"} 
[2026-08-26 18: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-26 18:29: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-26 18: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 18:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 18: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-26 18: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-26 18:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663625984001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663625984001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:29:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:29:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663625984001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":163717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:29:19] local.INFO: GPS data processed {"connection_id":163717,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:29:19] local.INFO: Acknowledgment sent {"connection_id":163717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:29:36] local.INFO: TCP Data received {"connection_id":162686,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:29:36] local.INFO: Processing buffer {"connection_id":162686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:29:36] local.INFO: IMEI packet received {"connection_id":162686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":162686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:29:39] local.INFO: TCP Data received {"connection_id":162686,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:29:39] local.INFO: Processing buffer {"connection_id":162686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:29:39] local.INFO: IMEI packet received {"connection_id":162686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":162686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:29:41] local.INFO: TCP Data received {"connection_id":162686,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:29:41] local.INFO: Processing buffer {"connection_id":162686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:29:41] local.INFO: IMEI packet received {"connection_id":162686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":162686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:29:42] local.INFO: TCP Data received {"connection_id":162686,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:29:42] local.INFO: Processing buffer {"connection_id":162686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:29:42] local.INFO: Packet analysis {"connection_id":162686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e27"} 
[2026-08-26 18:29:42] local.INFO: Extracted packet for processing {"connection_id":162686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e27"} 
[2026-08-26 18:29:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663703040001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18: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-26 18:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787749141000,"timestamp_ms":1787749141000,"timestamp_seconds":1787749141,"priority":1,"record_length":96,"hex_timestamp":"000001a03e270a08"} 
[2026-08-26 18: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-26 18: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-26 18: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-26 18: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-26 18: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-26 18: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-26 18:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663703040001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663703040001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:29:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:29:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663703040001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":162686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:29:42] local.INFO: GPS data processed {"connection_id":162686,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:29:42] local.INFO: Acknowledgment sent {"connection_id":162686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:30:13] local.INFO: TCP Data received {"connection_id":162686,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:30:13] local.INFO: Processing buffer {"connection_id":162686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:30:13] local.INFO: Packet analysis {"connection_id":162686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e27"} 
[2026-08-26 18:30:13] local.INFO: Extracted packet for processing {"connection_id":162686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e27"} 
[2026-08-26 18:30:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663703040001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:30: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-26 18:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787749141000,"timestamp_ms":1787749141000,"timestamp_seconds":1787749141,"priority":1,"record_length":96,"hex_timestamp":"000001a03e270a08"} 
[2026-08-26 18: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-26 18:30: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-26 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 18:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 18: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-26 18: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-26 18:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663703040001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663703040001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:30:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:30:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663703040001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":162686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:30:13] local.INFO: GPS data processed {"connection_id":162686,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:30:13] local.INFO: Acknowledgment sent {"connection_id":162686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:30:30] local.INFO: TCP Data received {"connection_id":163716,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:30:30] local.INFO: Processing buffer {"connection_id":163716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:30:30] local.INFO: IMEI packet received {"connection_id":163716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 18:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":163716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:30:36] local.INFO: TCP Data received {"connection_id":162449,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:30:36] local.INFO: Processing buffer {"connection_id":162449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:30:36] local.INFO: IMEI packet received {"connection_id":162449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":162449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:30:41] local.INFO: TCP Data received {"connection_id":162449,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:30:41] local.INFO: Processing buffer {"connection_id":162449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:30:41] local.INFO: IMEI packet received {"connection_id":162449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":162449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:30:42] local.INFO: TCP Data received {"connection_id":162449,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:30:42] local.INFO: Processing buffer {"connection_id":162449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:30:42] local.INFO: Packet analysis {"connection_id":162449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e27"} 
[2026-08-26 18:30:42] local.INFO: Extracted packet for processing {"connection_id":162449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e27"} 
[2026-08-26 18:30:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663703040001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:30: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-26 18:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787749141000,"timestamp_ms":1787749141000,"timestamp_seconds":1787749141,"priority":1,"record_length":96,"hex_timestamp":"000001a03e270a08"} 
[2026-08-26 18:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:30: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-26 18:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 18:30: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-26 18:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663703040001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663703040001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:30:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:30:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663703040001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":162449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:30:42] local.INFO: GPS data processed {"connection_id":162449,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:30:42] local.INFO: Acknowledgment sent {"connection_id":162449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:31:11] local.INFO: TCP Data received {"connection_id":165050,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:31:11] local.INFO: Processing buffer {"connection_id":165050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:31:11] local.INFO: IMEI packet received {"connection_id":165050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":165050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:31:16] local.INFO: TCP Data received {"connection_id":165050,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:31:16] local.INFO: Processing buffer {"connection_id":165050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:31:16] local.INFO: IMEI packet received {"connection_id":165050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":165050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:31:17] local.INFO: TCP Data received {"connection_id":165050,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:31:17] local.INFO: Processing buffer {"connection_id":165050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:31:17] local.INFO: Packet analysis {"connection_id":165050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e27"} 
[2026-08-26 18:31:17] local.INFO: Extracted packet for processing {"connection_id":165050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e27"} 
[2026-08-26 18:31:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663703040001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:31: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-26 18:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787749141000,"timestamp_ms":1787749141000,"timestamp_seconds":1787749141,"priority":1,"record_length":96,"hex_timestamp":"000001a03e270a08"} 
[2026-08-26 18:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 18:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 18:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 18:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":165050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":165050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":165050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663703040001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663703040001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:31:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:31:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663703040001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":165050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:31:17] local.INFO: GPS data processed {"connection_id":165050,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:31:17] local.INFO: Acknowledgment sent {"connection_id":165050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:31:41] local.INFO: TCP Data received {"connection_id":162687,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:31:41] local.INFO: Processing buffer {"connection_id":162687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:31:41] local.INFO: IMEI packet received {"connection_id":162687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":162687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:31:46] local.INFO: TCP Data received {"connection_id":162687,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:31:46] local.INFO: Processing buffer {"connection_id":162687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:31:46] local.INFO: IMEI packet received {"connection_id":162687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":162687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:31:47] local.INFO: TCP Data received {"connection_id":162687,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:31:47] local.INFO: Processing buffer {"connection_id":162687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:31:47] local.INFO: Packet analysis {"connection_id":162687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e27"} 
[2026-08-26 18:31:47] local.INFO: Extracted packet for processing {"connection_id":162687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e27"} 
[2026-08-26 18:31:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663703040001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18: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-26 18:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787749141000,"timestamp_ms":1787749141000,"timestamp_seconds":1787749141,"priority":1,"record_length":96,"hex_timestamp":"000001a03e270a08"} 
[2026-08-26 18:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18: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-26 18:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 18:31: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-26 18: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-26 18:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663703040001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663703040001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:31:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:31:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663703040001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":162687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:31:47] local.INFO: GPS data processed {"connection_id":162687,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:31:47] local.INFO: Acknowledgment sent {"connection_id":162687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:32:20] local.INFO: TCP Data received {"connection_id":162687,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:32:20] local.INFO: Processing buffer {"connection_id":162687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:32:20] local.INFO: Packet analysis {"connection_id":162687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e27"} 
[2026-08-26 18:32:20] local.INFO: Extracted packet for processing {"connection_id":162687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e27"} 
[2026-08-26 18:32:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663703040001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:32: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-26 18:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787749141000,"timestamp_ms":1787749141000,"timestamp_seconds":1787749141,"priority":1,"record_length":96,"hex_timestamp":"000001a03e270a08"} 
[2026-08-26 18: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-26 18:32: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-26 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 18:32: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-26 18: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-26 18: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-26 18:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":162687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":162687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":162687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663703040001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663703040001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:32:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:32:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663703040001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":162687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:32:20] local.INFO: GPS data processed {"connection_id":162687,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:32:20] local.INFO: Acknowledgment sent {"connection_id":162687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:32:36] local.INFO: TCP Data received {"connection_id":162450,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:32:36] local.INFO: Processing buffer {"connection_id":162450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:32:36] local.INFO: IMEI packet received {"connection_id":162450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":162450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:32:41] local.INFO: TCP Data received {"connection_id":162450,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:32:41] local.INFO: Processing buffer {"connection_id":162450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:32:41] local.INFO: IMEI packet received {"connection_id":162450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":162450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:32:42] local.INFO: TCP Data received {"connection_id":162450,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:32:42] local.INFO: Processing buffer {"connection_id":162450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:32:42] local.INFO: Packet analysis {"connection_id":162450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e27"} 
[2026-08-26 18:32:42] local.INFO: Extracted packet for processing {"connection_id":162450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e27"} 
[2026-08-26 18:32:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663703040001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:32: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-26 18:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787749141000,"timestamp_ms":1787749141000,"timestamp_seconds":1787749141,"priority":1,"record_length":96,"hex_timestamp":"000001a03e270a08"} 
[2026-08-26 18: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-26 18:32: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-26 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 18:32: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-26 18: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-26 18: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-26 18:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663703040001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663703040001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:32:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:32:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663703040001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":162450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:32:42] local.INFO: GPS data processed {"connection_id":162450,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:32:42] local.INFO: Acknowledgment sent {"connection_id":162450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:33:14] local.INFO: TCP Data received {"connection_id":162450,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:33:14] local.INFO: Processing buffer {"connection_id":162450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:33:14] local.INFO: Packet analysis {"connection_id":162450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e27"} 
[2026-08-26 18:33:14] local.INFO: Extracted packet for processing {"connection_id":162450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e27"} 
[2026-08-26 18:33:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663703040001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:33: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-26 18:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787749141000,"timestamp_ms":1787749141000,"timestamp_seconds":1787749141,"priority":1,"record_length":96,"hex_timestamp":"000001a03e270a08"} 
[2026-08-26 18:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 18:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 18:33: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-26 18:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663703040001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663703040001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:33:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:33:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663703040001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":162450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:33:14] local.INFO: GPS data processed {"connection_id":162450,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:33:14] local.INFO: Acknowledgment sent {"connection_id":162450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:33:36] local.INFO: TCP Data received {"connection_id":162688,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:33:36] local.INFO: Processing buffer {"connection_id":162688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:33:36] local.INFO: IMEI packet received {"connection_id":162688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":162688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:33:41] local.INFO: TCP Data received {"connection_id":162688,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:33:41] local.INFO: Processing buffer {"connection_id":162688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:33:41] local.INFO: IMEI packet received {"connection_id":162688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":162688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:33:42] local.INFO: TCP Data received {"connection_id":162688,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:33:42] local.INFO: Processing buffer {"connection_id":162688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:33:42] local.INFO: Packet analysis {"connection_id":162688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e27"} 
[2026-08-26 18:33:42] local.INFO: Extracted packet for processing {"connection_id":162688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e27"} 
[2026-08-26 18:33:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663703040001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18: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-26 18:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787749141000,"timestamp_ms":1787749141000,"timestamp_seconds":1787749141,"priority":1,"record_length":96,"hex_timestamp":"000001a03e270a08"} 
[2026-08-26 18:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:33: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-26 18:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 18:33: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-26 18:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663703040001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663703040001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:33:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:33:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663703040001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":162688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:33:42] local.INFO: GPS data processed {"connection_id":162688,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:33:42] local.INFO: Acknowledgment sent {"connection_id":162688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:34:14] local.INFO: TCP Data received {"connection_id":162688,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:34:14] local.INFO: Processing buffer {"connection_id":162688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e270a08012d34c14006aa4818000900e62c..."} 
[2026-08-26 18:34:14] local.INFO: Packet analysis {"connection_id":162688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e27"} 
[2026-08-26 18:34:14] local.INFO: Extracted packet for processing {"connection_id":162688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e27"} 
[2026-08-26 18:34:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663703040001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:34: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-26 18:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787749141000,"timestamp_ms":1787749141000,"timestamp_seconds":1787749141,"priority":1,"record_length":96,"hex_timestamp":"000001a03e270a08"} 
[2026-08-26 18:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:34: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-26 18:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 18:34: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-26 18:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663703040001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663703040001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:34:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:34:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663703040001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":162688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:34:14] local.INFO: GPS data processed {"connection_id":162688,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:34:14] local.INFO: Acknowledgment sent {"connection_id":162688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:34:40] local.INFO: TCP Data received {"connection_id":162451,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:34:40] local.INFO: Processing buffer {"connection_id":162451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:34:40] local.INFO: IMEI packet received {"connection_id":162451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":162451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:34:41] local.INFO: TCP Data received {"connection_id":162451,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:34:41] local.INFO: Processing buffer {"connection_id":162451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:34:41] local.INFO: IMEI packet received {"connection_id":162451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":162451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:34:46] local.INFO: TCP Data received {"connection_id":162451,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:34:46] local.INFO: Processing buffer {"connection_id":162451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:34:46] local.INFO: IMEI packet received {"connection_id":162451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":162451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:34:47] local.INFO: TCP Data received {"connection_id":162451,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:34:47] local.INFO: Processing buffer {"connection_id":162451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:34:47] local.INFO: Packet analysis {"connection_id":162451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e2b"} 
[2026-08-26 18:34:47] local.INFO: Extracted packet for processing {"connection_id":162451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e2b"} 
[2026-08-26 18:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663780096001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:34: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-26 18:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787749442000,"timestamp_ms":1787749442000,"timestamp_seconds":1787749442,"priority":1,"record_length":96,"hex_timestamp":"000001a03e2ba1d0"} 
[2026-08-26 18:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:34: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-26 18:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 18: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-26 18:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663780096001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663780096001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:34:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663780096001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":162451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:34:47] local.INFO: GPS data processed {"connection_id":162451,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:34:47] local.INFO: Acknowledgment sent {"connection_id":162451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:34:52] local.INFO: TCP Data received {"connection_id":162451,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:34:52] local.INFO: Processing buffer {"connection_id":162451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:34:52] local.INFO: Packet analysis {"connection_id":162451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e2b"} 
[2026-08-26 18:34:52] local.INFO: Extracted packet for processing {"connection_id":162451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e2b"} 
[2026-08-26 18:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663780096001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:34: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-26 18:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787749442000,"timestamp_ms":1787749442000,"timestamp_seconds":1787749442,"priority":1,"record_length":96,"hex_timestamp":"000001a03e2ba1d0"} 
[2026-08-26 18: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-26 18:34: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-26 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:34: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-26 18: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-26 18: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-26 18:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663780096001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663780096001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:34:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663780096001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":162451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:34:52] local.INFO: GPS data processed {"connection_id":162451,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:34:52] local.INFO: Acknowledgment sent {"connection_id":162451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:35:36] local.INFO: TCP Data received {"connection_id":162689,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:35:36] local.INFO: Processing buffer {"connection_id":162689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:35:36] local.INFO: IMEI packet received {"connection_id":162689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":162689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:35:41] local.INFO: TCP Data received {"connection_id":162689,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:35:41] local.INFO: Processing buffer {"connection_id":162689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:35:41] local.INFO: IMEI packet received {"connection_id":162689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":162689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:35:42] local.INFO: TCP Data received {"connection_id":162689,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:35:42] local.INFO: Processing buffer {"connection_id":162689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:35:42] local.INFO: Packet analysis {"connection_id":162689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e2b"} 
[2026-08-26 18:35:42] local.INFO: Extracted packet for processing {"connection_id":162689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e2b"} 
[2026-08-26 18:35:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663780096001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:35: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-26 18:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787749442000,"timestamp_ms":1787749442000,"timestamp_seconds":1787749442,"priority":1,"record_length":96,"hex_timestamp":"000001a03e2ba1d0"} 
[2026-08-26 18:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:35: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-26 18:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:35: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-26 18:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663780096001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663780096001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:35:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:35:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663780096001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":162689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:35:42] local.INFO: GPS data processed {"connection_id":162689,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:35:42] local.INFO: Acknowledgment sent {"connection_id":162689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:36:01] local.INFO: TCP Data received {"connection_id":165051,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165051,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:36:01] local.INFO: Processing buffer {"connection_id":165051,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:36:01] local.INFO: IMEI packet received {"connection_id":165051,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 18:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":165051,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:36:14] local.INFO: TCP Data received {"connection_id":162689,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:36:14] local.INFO: Processing buffer {"connection_id":162689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:36:14] local.INFO: Packet analysis {"connection_id":162689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e2b"} 
[2026-08-26 18:36:14] local.INFO: Extracted packet for processing {"connection_id":162689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e2b"} 
[2026-08-26 18:36:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663780096001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:36: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-26 18:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787749442000,"timestamp_ms":1787749442000,"timestamp_seconds":1787749442,"priority":1,"record_length":96,"hex_timestamp":"000001a03e2ba1d0"} 
[2026-08-26 18: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-26 18: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-26 18: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:36: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-26 18: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-26 18: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-26 18:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663780096001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663780096001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:36:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:36:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663780096001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":162689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:36:14] local.INFO: GPS data processed {"connection_id":162689,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:36:14] local.INFO: Acknowledgment sent {"connection_id":162689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:36:36] local.INFO: TCP Data received {"connection_id":165052,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:36:36] local.INFO: Processing buffer {"connection_id":165052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:36:36] local.INFO: IMEI packet received {"connection_id":165052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":165052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:36:41] local.INFO: TCP Data received {"connection_id":165052,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:36:41] local.INFO: Processing buffer {"connection_id":165052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:36:41] local.INFO: IMEI packet received {"connection_id":165052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":165052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:36:42] local.INFO: TCP Data received {"connection_id":165052,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:36:42] local.INFO: Processing buffer {"connection_id":165052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:36:42] local.INFO: Packet analysis {"connection_id":165052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e2b"} 
[2026-08-26 18:36:42] local.INFO: Extracted packet for processing {"connection_id":165052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e2b"} 
[2026-08-26 18:36:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663780096001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:36: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-26 18:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787749442000,"timestamp_ms":1787749442000,"timestamp_seconds":1787749442,"priority":1,"record_length":96,"hex_timestamp":"000001a03e2ba1d0"} 
[2026-08-26 18:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:36: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-26 18:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:36: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-26 18:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663780096001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663780096001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:36:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:36:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663780096001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":165052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:36:42] local.INFO: GPS data processed {"connection_id":165052,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:36:42] local.INFO: Acknowledgment sent {"connection_id":165052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:37:13] local.INFO: TCP Data received {"connection_id":165052,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:37:13] local.INFO: Processing buffer {"connection_id":165052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:37:13] local.INFO: Packet analysis {"connection_id":165052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e2b"} 
[2026-08-26 18:37:13] local.INFO: Extracted packet for processing {"connection_id":165052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e2b"} 
[2026-08-26 18:37:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663780096001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:37: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-26 18:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787749442000,"timestamp_ms":1787749442000,"timestamp_seconds":1787749442,"priority":1,"record_length":96,"hex_timestamp":"000001a03e2ba1d0"} 
[2026-08-26 18: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-26 18:37: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-26 18: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-26 18: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-26 18: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-26 18: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-26 18:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663780096001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663780096001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:37:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:37:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663780096001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":165052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:37:13] local.INFO: GPS data processed {"connection_id":165052,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:37:13] local.INFO: Acknowledgment sent {"connection_id":165052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:37:36] local.INFO: TCP Data received {"connection_id":165053,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:37:36] local.INFO: Processing buffer {"connection_id":165053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:37:36] local.INFO: IMEI packet received {"connection_id":165053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":165053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:37:42] local.INFO: TCP Data received {"connection_id":165053,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:37:42] local.INFO: Processing buffer {"connection_id":165053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:37:42] local.INFO: IMEI packet received {"connection_id":165053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":165053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:37:43] local.INFO: TCP Data received {"connection_id":165053,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:37:43] local.INFO: Processing buffer {"connection_id":165053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:37:43] local.INFO: Packet analysis {"connection_id":165053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e2b"} 
[2026-08-26 18:37:43] local.INFO: Extracted packet for processing {"connection_id":165053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e2b"} 
[2026-08-26 18:37:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 18:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663780096001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:37: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-26 18:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787749442000,"timestamp_ms":1787749442000,"timestamp_seconds":1787749442,"priority":1,"record_length":96,"hex_timestamp":"000001a03e2ba1d0"} 
[2026-08-26 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-26 18:37: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-26 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:37: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-26 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-26 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-26 18:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663780096001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663780096001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:37:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:37:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663780096001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":165053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:37:43] local.INFO: GPS data processed {"connection_id":165053,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:37:43] local.INFO: Acknowledgment sent {"connection_id":165053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:38:15] local.INFO: TCP Data received {"connection_id":165053,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:38:15] local.INFO: Processing buffer {"connection_id":165053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:38:15] local.INFO: Packet analysis {"connection_id":165053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e2b"} 
[2026-08-26 18:38:15] local.INFO: Extracted packet for processing {"connection_id":165053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e2b"} 
[2026-08-26 18:38:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663780096001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:38: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-26 18:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787749442000,"timestamp_ms":1787749442000,"timestamp_seconds":1787749442,"priority":1,"record_length":96,"hex_timestamp":"000001a03e2ba1d0"} 
[2026-08-26 18:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:38: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-26 18:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:38: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-26 18:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":165053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":165053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":165053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663780096001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663780096001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:38:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:38:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663780096001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":165053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:38:15] local.INFO: GPS data processed {"connection_id":165053,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:38:15] local.INFO: Acknowledgment sent {"connection_id":165053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:38:41] local.INFO: TCP Data received {"connection_id":162452,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:38:41] local.INFO: Processing buffer {"connection_id":162452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:38:41] local.INFO: IMEI packet received {"connection_id":162452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":162452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:38:46] local.INFO: TCP Data received {"connection_id":162452,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:38:46] local.INFO: Processing buffer {"connection_id":162452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:38:46] local.INFO: IMEI packet received {"connection_id":162452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":162452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:38:48] local.INFO: TCP Data received {"connection_id":162452,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:38:48] local.INFO: Processing buffer {"connection_id":162452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:38:48] local.INFO: Packet analysis {"connection_id":162452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e2b"} 
[2026-08-26 18:38:48] local.INFO: Extracted packet for processing {"connection_id":162452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e2b"} 
[2026-08-26 18:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663780096001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 18:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787749442000,"timestamp_ms":1787749442000,"timestamp_seconds":1787749442,"priority":1,"record_length":96,"hex_timestamp":"000001a03e2ba1d0"} 
[2026-08-26 18: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-26 18:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 18: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-26 18: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-26 18:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663780096001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663780096001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:38:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:38:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663780096001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":162452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:38:48] local.INFO: GPS data processed {"connection_id":162452,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:38:48] local.INFO: Acknowledgment sent {"connection_id":162452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:38:51] local.INFO: TCP Data received {"connection_id":162452,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:38:51] local.INFO: Processing buffer {"connection_id":162452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e2ba1d0012d34c14006aa4818000a00e62c..."} 
[2026-08-26 18:38:51] local.INFO: Packet analysis {"connection_id":162452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e2b"} 
[2026-08-26 18:38:51] local.INFO: Extracted packet for processing {"connection_id":162452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e2b"} 
[2026-08-26 18:38:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663780096001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 18:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787749442000,"timestamp_ms":1787749442000,"timestamp_seconds":1787749442,"priority":1,"record_length":96,"hex_timestamp":"000001a03e2ba1d0"} 
[2026-08-26 18:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 18:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 18:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663780096001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663780096001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:38:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:38:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663780096001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":162452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:38:52] local.INFO: GPS data processed {"connection_id":162452,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:38:52] local.INFO: Acknowledgment sent {"connection_id":162452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:39:36] local.INFO: TCP Data received {"connection_id":163718,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:39:36] local.INFO: Processing buffer {"connection_id":163718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:39:36] local.INFO: IMEI packet received {"connection_id":163718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":163718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:39:41] local.INFO: TCP Data received {"connection_id":163718,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:39:41] local.INFO: Processing buffer {"connection_id":163718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:39:41] local.INFO: IMEI packet received {"connection_id":163718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":163718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:39:42] local.INFO: TCP Data received {"connection_id":163718,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:39:42] local.INFO: Processing buffer {"connection_id":163718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:39:42] local.INFO: Packet analysis {"connection_id":163718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e30"} 
[2026-08-26 18:39:42] local.INFO: Extracted packet for processing {"connection_id":163718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e30"} 
[2026-08-26 18:39:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663857152001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:39: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-26 18:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787749743000,"timestamp_ms":1787749743000,"timestamp_seconds":1787749743,"priority":1,"record_length":96,"hex_timestamp":"000001a03e303998"} 
[2026-08-26 18:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:39: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-26 18:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:39: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-26 18:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663857152001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663857152001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:39:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:39:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663857152001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":163718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:39:42] local.INFO: GPS data processed {"connection_id":163718,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:39:42] local.INFO: Acknowledgment sent {"connection_id":163718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:39:43] local.INFO: TCP Data received {"connection_id":163718,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:39:43] local.INFO: Processing buffer {"connection_id":163718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:39:43] local.INFO: Packet analysis {"connection_id":163718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e30"} 
[2026-08-26 18:39:43] local.INFO: Extracted packet for processing {"connection_id":163718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e30"} 
[2026-08-26 18:39:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 18:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663857152001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:39: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-26 18:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787749743000,"timestamp_ms":1787749743000,"timestamp_seconds":1787749743,"priority":1,"record_length":96,"hex_timestamp":"000001a03e303998"} 
[2026-08-26 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-26 18:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:39: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-26 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-26 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-26 18:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663857152001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663857152001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:39:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:39:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663857152001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":163718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:39:43] local.INFO: GPS data processed {"connection_id":163718,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:39:43] local.INFO: Acknowledgment sent {"connection_id":163718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:40:14] local.INFO: TCP Data received {"connection_id":163718,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:40:14] local.INFO: Processing buffer {"connection_id":163718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:40:14] local.INFO: Packet analysis {"connection_id":163718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e30"} 
[2026-08-26 18:40:14] local.INFO: Extracted packet for processing {"connection_id":163718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e30"} 
[2026-08-26 18:40:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 18:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663857152001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:40: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-26 18:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787749743000,"timestamp_ms":1787749743000,"timestamp_seconds":1787749743,"priority":1,"record_length":96,"hex_timestamp":"000001a03e303998"} 
[2026-08-26 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-26 18:40: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-26 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:40: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-26 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-26 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-26 18:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663857152001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663857152001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:40:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:40:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663857152001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":163718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:40:14] local.INFO: GPS data processed {"connection_id":163718,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:40:14] local.INFO: Acknowledgment sent {"connection_id":163718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:40:41] local.INFO: TCP Data received {"connection_id":165054,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:40:41] local.INFO: Processing buffer {"connection_id":165054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:40:41] local.INFO: IMEI packet received {"connection_id":165054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":165054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:40:46] local.INFO: TCP Data received {"connection_id":165054,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:40:46] local.INFO: Processing buffer {"connection_id":165054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:40:46] local.INFO: IMEI packet received {"connection_id":165054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":165054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:40:47] local.INFO: TCP Data received {"connection_id":165054,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:40:47] local.INFO: Processing buffer {"connection_id":165054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:40:47] local.INFO: Packet analysis {"connection_id":165054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e30"} 
[2026-08-26 18:40:47] local.INFO: Extracted packet for processing {"connection_id":165054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e30"} 
[2026-08-26 18:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663857152001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:40: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-26 18:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787749743000,"timestamp_ms":1787749743000,"timestamp_seconds":1787749743,"priority":1,"record_length":96,"hex_timestamp":"000001a03e303998"} 
[2026-08-26 18:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:40: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-26 18:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 18:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663857152001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663857152001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:40:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:40:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663857152001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":165054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:40:47] local.INFO: GPS data processed {"connection_id":165054,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:40:47] local.INFO: Acknowledgment sent {"connection_id":165054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:41:19] local.INFO: TCP Data received {"connection_id":165054,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:41:19] local.INFO: Processing buffer {"connection_id":165054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:41:19] local.INFO: Packet analysis {"connection_id":165054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e30"} 
[2026-08-26 18:41:19] local.INFO: Extracted packet for processing {"connection_id":165054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e30"} 
[2026-08-26 18:41:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663857152001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 18:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787749743000,"timestamp_ms":1787749743000,"timestamp_seconds":1787749743,"priority":1,"record_length":96,"hex_timestamp":"000001a03e303998"} 
[2026-08-26 18:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:41: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-26 18:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 18:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":165054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":165054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":165054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663857152001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663857152001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:41:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:41:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663857152001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":165054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:41:19] local.INFO: GPS data processed {"connection_id":165054,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:41:19] local.INFO: Acknowledgment sent {"connection_id":165054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:41:36] local.INFO: TCP Data received {"connection_id":162691,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:41:36] local.INFO: Processing buffer {"connection_id":162691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:41:36] local.INFO: IMEI packet received {"connection_id":162691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":162691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:41:37] local.INFO: TCP Data received {"connection_id":162690,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:41:37] local.INFO: Processing buffer {"connection_id":162690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:41:37] local.INFO: IMEI packet received {"connection_id":162690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 18:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":162690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:41:42] local.INFO: TCP Data received {"connection_id":162691,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:41:42] local.INFO: Processing buffer {"connection_id":162691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:41:42] local.INFO: IMEI packet received {"connection_id":162691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":162691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:41:44] local.INFO: TCP Data received {"connection_id":162691,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:41:44] local.INFO: Processing buffer {"connection_id":162691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:41:44] local.INFO: Packet analysis {"connection_id":162691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e30"} 
[2026-08-26 18:41:44] local.INFO: Extracted packet for processing {"connection_id":162691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e30"} 
[2026-08-26 18:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663857152001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:41: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-26 18:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787749743000,"timestamp_ms":1787749743000,"timestamp_seconds":1787749743,"priority":1,"record_length":96,"hex_timestamp":"000001a03e303998"} 
[2026-08-26 18:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:41: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-26 18:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:41: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-26 18:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663857152001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663857152001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:41:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:41:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663857152001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":162691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:41:44] local.INFO: GPS data processed {"connection_id":162691,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:41:44] local.INFO: Acknowledgment sent {"connection_id":162691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:42:15] local.INFO: TCP Data received {"connection_id":162691,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:42:15] local.INFO: Processing buffer {"connection_id":162691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:42:15] local.INFO: Packet analysis {"connection_id":162691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e30"} 
[2026-08-26 18:42:15] local.INFO: Extracted packet for processing {"connection_id":162691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e30"} 
[2026-08-26 18:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663857152001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18: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-26 18:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787749743000,"timestamp_ms":1787749743000,"timestamp_seconds":1787749743,"priority":1,"record_length":96,"hex_timestamp":"000001a03e303998"} 
[2026-08-26 18: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-26 18: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-26 18: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:42: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-26 18: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-26 18: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-26 18:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663857152001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663857152001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:42:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663857152001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":162691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:42:15] local.INFO: GPS data processed {"connection_id":162691,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:42:15] local.INFO: Acknowledgment sent {"connection_id":162691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:42:36] local.INFO: TCP Data received {"connection_id":162453,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:42:36] local.INFO: Processing buffer {"connection_id":162453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:42:36] local.INFO: IMEI packet received {"connection_id":162453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":162453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:42:41] local.INFO: TCP Data received {"connection_id":162453,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:42:41] local.INFO: Processing buffer {"connection_id":162453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:42:41] local.INFO: IMEI packet received {"connection_id":162453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":162453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:42:43] local.INFO: TCP Data received {"connection_id":162453,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:42:43] local.INFO: Processing buffer {"connection_id":162453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:42:43] local.INFO: Packet analysis {"connection_id":162453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e30"} 
[2026-08-26 18:42:43] local.INFO: Extracted packet for processing {"connection_id":162453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e30"} 
[2026-08-26 18:42:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663857152001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18: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-26 18:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787749743000,"timestamp_ms":1787749743000,"timestamp_seconds":1787749743,"priority":1,"record_length":96,"hex_timestamp":"000001a03e303998"} 
[2026-08-26 18:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18: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-26 18:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18: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-26 18:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663857152001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663857152001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:42:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:42:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663857152001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":162453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:42:43] local.INFO: GPS data processed {"connection_id":162453,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:42:43] local.INFO: Acknowledgment sent {"connection_id":162453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:43:14] local.INFO: TCP Data received {"connection_id":162453,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:43:14] local.INFO: Processing buffer {"connection_id":162453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:43:14] local.INFO: Packet analysis {"connection_id":162453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e30"} 
[2026-08-26 18:43:14] local.INFO: Extracted packet for processing {"connection_id":162453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e30"} 
[2026-08-26 18:43:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663857152001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:43: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-26 18:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787749743000,"timestamp_ms":1787749743000,"timestamp_seconds":1787749743,"priority":1,"record_length":96,"hex_timestamp":"000001a03e303998"} 
[2026-08-26 18:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:43: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-26 18:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:43: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-26 18:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663857152001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663857152001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:43:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:43:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663857152001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":162453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:43:14] local.INFO: GPS data processed {"connection_id":162453,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:43:14] local.INFO: Acknowledgment sent {"connection_id":162453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:43:36] local.INFO: TCP Data received {"connection_id":165056,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:43:36] local.INFO: Processing buffer {"connection_id":165056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:43:36] local.INFO: IMEI packet received {"connection_id":165056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":165056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:43:41] local.INFO: TCP Data received {"connection_id":165056,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:43:41] local.INFO: Processing buffer {"connection_id":165056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:43:41] local.INFO: IMEI packet received {"connection_id":165056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":165056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:43:42] local.INFO: TCP Data received {"connection_id":165056,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:43:42] local.INFO: Processing buffer {"connection_id":165056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:43:42] local.INFO: Packet analysis {"connection_id":165056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e30"} 
[2026-08-26 18:43:42] local.INFO: Extracted packet for processing {"connection_id":165056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e30"} 
[2026-08-26 18:43:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663857152001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18: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-26 18:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787749743000,"timestamp_ms":1787749743000,"timestamp_seconds":1787749743,"priority":1,"record_length":96,"hex_timestamp":"000001a03e303998"} 
[2026-08-26 18: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-26 18: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-26 18: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-26 18: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-26 18: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-26 18: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-26 18:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663857152001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663857152001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:43:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:43:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663857152001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":165056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:43:42] local.INFO: GPS data processed {"connection_id":165056,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:43:42] local.INFO: Acknowledgment sent {"connection_id":165056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:44:14] local.INFO: TCP Data received {"connection_id":165056,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:44:14] local.INFO: Processing buffer {"connection_id":165056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:44:14] local.INFO: Packet analysis {"connection_id":165056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e30"} 
[2026-08-26 18:44:14] local.INFO: Extracted packet for processing {"connection_id":165056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e30"} 
[2026-08-26 18:44:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663857152001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:44: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-26 18:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787749743000,"timestamp_ms":1787749743000,"timestamp_seconds":1787749743,"priority":1,"record_length":96,"hex_timestamp":"000001a03e303998"} 
[2026-08-26 18:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:44: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-26 18:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:44: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-26 18:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663857152001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663857152001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:44:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:44:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663857152001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":165056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:44:14] local.INFO: GPS data processed {"connection_id":165056,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:44:14] local.INFO: Acknowledgment sent {"connection_id":165056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:44:36] local.INFO: TCP Data received {"connection_id":163719,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:44:36] local.INFO: Processing buffer {"connection_id":163719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:44:36] local.INFO: IMEI packet received {"connection_id":163719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":163719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:44:41] local.INFO: TCP Data received {"connection_id":163719,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:44:41] local.INFO: Processing buffer {"connection_id":163719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:44:41] local.INFO: IMEI packet received {"connection_id":163719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":163719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:44:42] local.INFO: TCP Data received {"connection_id":163719,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:44:42] local.INFO: Processing buffer {"connection_id":163719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e303998012d34c14006aa4818000700e62b..."} 
[2026-08-26 18:44:42] local.INFO: Packet analysis {"connection_id":163719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e30"} 
[2026-08-26 18:44:42] local.INFO: Extracted packet for processing {"connection_id":163719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e30"} 
[2026-08-26 18:44:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663857152001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:44: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-26 18:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787749743000,"timestamp_ms":1787749743000,"timestamp_seconds":1787749743,"priority":1,"record_length":96,"hex_timestamp":"000001a03e303998"} 
[2026-08-26 18:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:44: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-26 18:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:44: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-26 18:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663857152001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663857152001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:44:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:44:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663857152001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":163719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:44:42] local.INFO: GPS data processed {"connection_id":163719,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:44:42] local.INFO: Acknowledgment sent {"connection_id":163719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:45:13] local.INFO: TCP Data received {"connection_id":163719,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:45:13] local.INFO: Processing buffer {"connection_id":163719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:45:13] local.INFO: Packet analysis {"connection_id":163719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e34"} 
[2026-08-26 18:45:13] local.INFO: Extracted packet for processing {"connection_id":163719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e34"} 
[2026-08-26 18:45:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663934208001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 18:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787750044000,"timestamp_ms":1787750044000,"timestamp_seconds":1787750044,"priority":1,"record_length":96,"hex_timestamp":"000001a03e34d160"} 
[2026-08-26 18:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:45: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-26 18:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:45: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-26 18:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663934208001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663934208001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:45:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:45:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663934208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":163719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:45:14] local.INFO: GPS data processed {"connection_id":163719,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:45:14] local.INFO: Acknowledgment sent {"connection_id":163719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:45:36] local.INFO: TCP Data received {"connection_id":162692,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:45:36] local.INFO: Processing buffer {"connection_id":162692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:45:36] local.INFO: IMEI packet received {"connection_id":162692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":162692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:45:41] local.INFO: TCP Data received {"connection_id":162692,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:45:41] local.INFO: Processing buffer {"connection_id":162692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:45:41] local.INFO: IMEI packet received {"connection_id":162692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":162692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:45:46] local.INFO: TCP Data received {"connection_id":162692,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:45:46] local.INFO: Processing buffer {"connection_id":162692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:45:46] local.INFO: IMEI packet received {"connection_id":162692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":162692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:45:47] local.INFO: TCP Data received {"connection_id":162692,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:45:47] local.INFO: Processing buffer {"connection_id":162692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:45:47] local.INFO: Packet analysis {"connection_id":162692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e34"} 
[2026-08-26 18:45:47] local.INFO: Extracted packet for processing {"connection_id":162692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e34"} 
[2026-08-26 18:45:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663934208001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18: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-26 18:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787750044000,"timestamp_ms":1787750044000,"timestamp_seconds":1787750044,"priority":1,"record_length":96,"hex_timestamp":"000001a03e34d160"} 
[2026-08-26 18:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18: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-26 18:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:45: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-26 18:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663934208001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663934208001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:45:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:45:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663934208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":162692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:45:47] local.INFO: GPS data processed {"connection_id":162692,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:45:47] local.INFO: Acknowledgment sent {"connection_id":162692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:46:19] local.INFO: TCP Data received {"connection_id":162692,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:46:19] local.INFO: Processing buffer {"connection_id":162692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:46:19] local.INFO: Packet analysis {"connection_id":162692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e34"} 
[2026-08-26 18:46:19] local.INFO: Extracted packet for processing {"connection_id":162692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e34"} 
[2026-08-26 18:46:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 18:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663934208001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 18:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787750044000,"timestamp_ms":1787750044000,"timestamp_seconds":1787750044,"priority":1,"record_length":96,"hex_timestamp":"000001a03e34d160"} 
[2026-08-26 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-26 18:46: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-26 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 18:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663934208001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663934208001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:46:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:46:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663934208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":162692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:46:19] local.INFO: GPS data processed {"connection_id":162692,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:46:19] local.INFO: Acknowledgment sent {"connection_id":162692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:46:37] local.INFO: TCP Data received {"connection_id":165057,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:46:37] local.INFO: Processing buffer {"connection_id":165057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:46:37] local.INFO: IMEI packet received {"connection_id":165057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":165057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:46:41] local.INFO: TCP Data received {"connection_id":165057,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:46:41] local.INFO: Processing buffer {"connection_id":165057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:46:41] local.INFO: IMEI packet received {"connection_id":165057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":165057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:46:43] local.INFO: TCP Data received {"connection_id":165057,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:46:43] local.INFO: Processing buffer {"connection_id":165057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:46:43] local.INFO: Packet analysis {"connection_id":165057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e34"} 
[2026-08-26 18:46:43] local.INFO: Extracted packet for processing {"connection_id":165057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e34"} 
[2026-08-26 18:46:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663934208001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:46: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-26 18:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787750044000,"timestamp_ms":1787750044000,"timestamp_seconds":1787750044,"priority":1,"record_length":96,"hex_timestamp":"000001a03e34d160"} 
[2026-08-26 18:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:46: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-26 18:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:46: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-26 18:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663934208001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663934208001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:46:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:46:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663934208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":165057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:46:43] local.INFO: GPS data processed {"connection_id":165057,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:46:43] local.INFO: Acknowledgment sent {"connection_id":165057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:47:12] local.INFO: TCP Data received {"connection_id":165055,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165055,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:47:12] local.INFO: Processing buffer {"connection_id":165055,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:47:12] local.INFO: IMEI packet received {"connection_id":165055,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 18:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":165055,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:47:14] local.INFO: TCP Data received {"connection_id":165057,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:47:14] local.INFO: Processing buffer {"connection_id":165057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:47:14] local.INFO: Packet analysis {"connection_id":165057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e34"} 
[2026-08-26 18:47:14] local.INFO: Extracted packet for processing {"connection_id":165057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e34"} 
[2026-08-26 18:47:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663934208001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:47: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-26 18:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787750044000,"timestamp_ms":1787750044000,"timestamp_seconds":1787750044,"priority":1,"record_length":96,"hex_timestamp":"000001a03e34d160"} 
[2026-08-26 18:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 18:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:47: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-26 18:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663934208001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663934208001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:47:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:47:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663934208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":165057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:47:14] local.INFO: GPS data processed {"connection_id":165057,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:47:14] local.INFO: Acknowledgment sent {"connection_id":165057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:47:36] local.INFO: TCP Data received {"connection_id":162454,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:47:36] local.INFO: Processing buffer {"connection_id":162454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:47:36] local.INFO: IMEI packet received {"connection_id":162454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":162454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:47:41] local.INFO: TCP Data received {"connection_id":162454,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:47:41] local.INFO: Processing buffer {"connection_id":162454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:47:41] local.INFO: IMEI packet received {"connection_id":162454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":162454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:47:42] local.INFO: TCP Data received {"connection_id":162454,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:47:42] local.INFO: Processing buffer {"connection_id":162454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:47:42] local.INFO: Packet analysis {"connection_id":162454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e34"} 
[2026-08-26 18:47:42] local.INFO: Extracted packet for processing {"connection_id":162454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e34"} 
[2026-08-26 18:47:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663934208001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:47: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-26 18:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787750044000,"timestamp_ms":1787750044000,"timestamp_seconds":1787750044,"priority":1,"record_length":96,"hex_timestamp":"000001a03e34d160"} 
[2026-08-26 18:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 18:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:47: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-26 18:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663934208001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663934208001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:47:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:47:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663934208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":162454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:47:42] local.INFO: GPS data processed {"connection_id":162454,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:47:42] local.INFO: Acknowledgment sent {"connection_id":162454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:48:14] local.INFO: TCP Data received {"connection_id":162454,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:48:14] local.INFO: Processing buffer {"connection_id":162454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:48:14] local.INFO: Packet analysis {"connection_id":162454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e34"} 
[2026-08-26 18:48:14] local.INFO: Extracted packet for processing {"connection_id":162454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e34"} 
[2026-08-26 18:48:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663934208001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:48: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-26 18:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787750044000,"timestamp_ms":1787750044000,"timestamp_seconds":1787750044,"priority":1,"record_length":96,"hex_timestamp":"000001a03e34d160"} 
[2026-08-26 18: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-26 18:48: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-26 18: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:48: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-26 18: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-26 18: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-26 18:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663934208001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663934208001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:48:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:48:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663934208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":162454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:48:14] local.INFO: GPS data processed {"connection_id":162454,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:48:14] local.INFO: Acknowledgment sent {"connection_id":162454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:48:36] local.INFO: TCP Data received {"connection_id":162456,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:48:36] local.INFO: Processing buffer {"connection_id":162456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:48:36] local.INFO: IMEI packet received {"connection_id":162456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":162456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:48:41] local.INFO: TCP Data received {"connection_id":162456,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:48:41] local.INFO: Processing buffer {"connection_id":162456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:48:41] local.INFO: IMEI packet received {"connection_id":162456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":162456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:48:43] local.INFO: TCP Data received {"connection_id":162456,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:48:43] local.INFO: Processing buffer {"connection_id":162456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:48:43] local.INFO: Packet analysis {"connection_id":162456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e34"} 
[2026-08-26 18:48:43] local.INFO: Extracted packet for processing {"connection_id":162456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e34"} 
[2026-08-26 18:48:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663934208001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:48: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-26 18:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787750044000,"timestamp_ms":1787750044000,"timestamp_seconds":1787750044,"priority":1,"record_length":96,"hex_timestamp":"000001a03e34d160"} 
[2026-08-26 18:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:48: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-26 18:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:48: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-26 18:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663934208001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663934208001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:48:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:48:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663934208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":162456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:48:43] local.INFO: GPS data processed {"connection_id":162456,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:48:43] local.INFO: Acknowledgment sent {"connection_id":162456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:49:15] local.INFO: TCP Data received {"connection_id":162456,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:49:15] local.INFO: Processing buffer {"connection_id":162456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:49:15] local.INFO: Packet analysis {"connection_id":162456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e34"} 
[2026-08-26 18:49:15] local.INFO: Extracted packet for processing {"connection_id":162456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e34"} 
[2026-08-26 18:49:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663934208001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18: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-26 18:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787750044000,"timestamp_ms":1787750044000,"timestamp_seconds":1787750044,"priority":1,"record_length":96,"hex_timestamp":"000001a03e34d160"} 
[2026-08-26 18: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-26 18: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-26 18: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:49: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-26 18: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-26 18: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-26 18:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663934208001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663934208001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:49:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:49:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663934208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":162456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:49:15] local.INFO: GPS data processed {"connection_id":162456,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:49:15] local.INFO: Acknowledgment sent {"connection_id":162456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:49:36] local.INFO: TCP Data received {"connection_id":163720,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:49:36] local.INFO: Processing buffer {"connection_id":163720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:49:36] local.INFO: IMEI packet received {"connection_id":163720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":163720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:49:41] local.INFO: TCP Data received {"connection_id":163720,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:49:41] local.INFO: Processing buffer {"connection_id":163720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:49:41] local.INFO: IMEI packet received {"connection_id":163720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":163720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:49:42] local.INFO: TCP Data received {"connection_id":163720,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:49:42] local.INFO: Processing buffer {"connection_id":163720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e34d160012d34c14006aa4818000500e62c..."} 
[2026-08-26 18:49:42] local.INFO: Packet analysis {"connection_id":163720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e34"} 
[2026-08-26 18:49:42] local.INFO: Extracted packet for processing {"connection_id":163720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e34"} 
[2026-08-26 18:49:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457663934208001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:49: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-26 18:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787750044000,"timestamp_ms":1787750044000,"timestamp_seconds":1787750044,"priority":1,"record_length":96,"hex_timestamp":"000001a03e34d160"} 
[2026-08-26 18:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:49: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-26 18:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:49: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-26 18:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457663934208001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457663934208001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:49:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:49:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457663934208001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":163720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:49:42] local.INFO: GPS data processed {"connection_id":163720,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:49:42] local.INFO: Acknowledgment sent {"connection_id":163720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:50:13] local.INFO: TCP Data received {"connection_id":163720,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:50:13] local.INFO: Processing buffer {"connection_id":163720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:50:13] local.INFO: Packet analysis {"connection_id":163720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e39"} 
[2026-08-26 18:50:13] local.INFO: Extracted packet for processing {"connection_id":163720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e39"} 
[2026-08-26 18:50:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664011264001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:50: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-26 18:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787750345000,"timestamp_ms":1787750345000,"timestamp_seconds":1787750345,"priority":1,"record_length":96,"hex_timestamp":"000001a03e396928"} 
[2026-08-26 18:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:50: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-26 18:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:50: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-26 18:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664011264001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664011264001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:50:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:50:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664011264001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":163720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:50:13] local.INFO: GPS data processed {"connection_id":163720,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:50:13] local.INFO: Acknowledgment sent {"connection_id":163720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:50:36] local.INFO: TCP Data received {"connection_id":162457,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:50:36] local.INFO: Processing buffer {"connection_id":162457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:50:36] local.INFO: IMEI packet received {"connection_id":162457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":162457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:50:41] local.INFO: TCP Data received {"connection_id":162457,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:50:41] local.INFO: Processing buffer {"connection_id":162457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:50:41] local.INFO: IMEI packet received {"connection_id":162457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":162457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:50:42] local.INFO: TCP Data received {"connection_id":162457,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:50:42] local.INFO: Processing buffer {"connection_id":162457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:50:42] local.INFO: Packet analysis {"connection_id":162457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e39"} 
[2026-08-26 18:50:42] local.INFO: Extracted packet for processing {"connection_id":162457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e39"} 
[2026-08-26 18:50:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664011264001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:50: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-26 18:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787750345000,"timestamp_ms":1787750345000,"timestamp_seconds":1787750345,"priority":1,"record_length":96,"hex_timestamp":"000001a03e396928"} 
[2026-08-26 18:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:50: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-26 18:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:50: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-26 18:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664011264001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664011264001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:50:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:50:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664011264001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":162457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:50:42] local.INFO: GPS data processed {"connection_id":162457,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:50:42] local.INFO: Acknowledgment sent {"connection_id":162457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:51:14] local.INFO: TCP Data received {"connection_id":162457,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:51:14] local.INFO: Processing buffer {"connection_id":162457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:51:14] local.INFO: Packet analysis {"connection_id":162457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e39"} 
[2026-08-26 18:51:14] local.INFO: Extracted packet for processing {"connection_id":162457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e39"} 
[2026-08-26 18:51:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664011264001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:51: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-26 18:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787750345000,"timestamp_ms":1787750345000,"timestamp_seconds":1787750345,"priority":1,"record_length":96,"hex_timestamp":"000001a03e396928"} 
[2026-08-26 18: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-26 18:51: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-26 18: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:51: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-26 18: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-26 18: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-26 18:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664011264001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664011264001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:51:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:51:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664011264001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":162457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:51:14] local.INFO: GPS data processed {"connection_id":162457,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:51:14] local.INFO: Acknowledgment sent {"connection_id":162457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:51:36] local.INFO: TCP Data received {"connection_id":162458,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:51:36] local.INFO: Processing buffer {"connection_id":162458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:51:36] local.INFO: IMEI packet received {"connection_id":162458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":162458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:51:41] local.INFO: TCP Data received {"connection_id":162458,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:51:41] local.INFO: Processing buffer {"connection_id":162458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:51:41] local.INFO: IMEI packet received {"connection_id":162458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":162458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:51:43] local.INFO: TCP Data received {"connection_id":162458,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:51:43] local.INFO: Processing buffer {"connection_id":162458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:51:43] local.INFO: Packet analysis {"connection_id":162458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e39"} 
[2026-08-26 18:51:43] local.INFO: Extracted packet for processing {"connection_id":162458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e39"} 
[2026-08-26 18:51:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664011264001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18: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-26 18:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787750345000,"timestamp_ms":1787750345000,"timestamp_seconds":1787750345,"priority":1,"record_length":96,"hex_timestamp":"000001a03e396928"} 
[2026-08-26 18: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-26 18: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-26 18: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:51: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-26 18: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-26 18: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-26 18:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664011264001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664011264001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:51:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:51:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664011264001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":162458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:51:43] local.INFO: GPS data processed {"connection_id":162458,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:51:43] local.INFO: Acknowledgment sent {"connection_id":162458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:52:14] local.INFO: TCP Data received {"connection_id":162458,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:52:14] local.INFO: Processing buffer {"connection_id":162458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:52:14] local.INFO: Packet analysis {"connection_id":162458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e39"} 
[2026-08-26 18:52:14] local.INFO: Extracted packet for processing {"connection_id":162458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e39"} 
[2026-08-26 18:52:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664011264001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:52: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-26 18:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787750345000,"timestamp_ms":1787750345000,"timestamp_seconds":1787750345,"priority":1,"record_length":96,"hex_timestamp":"000001a03e396928"} 
[2026-08-26 18: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-26 18:52: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-26 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:52: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-26 18: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-26 18: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-26 18:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664011264001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664011264001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:52:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:52:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664011264001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":162458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:52:14] local.INFO: GPS data processed {"connection_id":162458,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:52:14] local.INFO: Acknowledgment sent {"connection_id":162458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:52:36] local.INFO: TCP Data received {"connection_id":165059,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:52:36] local.INFO: Processing buffer {"connection_id":165059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:52:36] local.INFO: IMEI packet received {"connection_id":165059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":165059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:52:41] local.INFO: TCP Data received {"connection_id":165059,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:52:41] local.INFO: Processing buffer {"connection_id":165059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:52:41] local.INFO: IMEI packet received {"connection_id":165059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":165059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:52:42] local.INFO: TCP Data received {"connection_id":165059,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:52:42] local.INFO: Processing buffer {"connection_id":165059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:52:42] local.INFO: Packet analysis {"connection_id":165059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e39"} 
[2026-08-26 18:52:42] local.INFO: Extracted packet for processing {"connection_id":165059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e39"} 
[2026-08-26 18:52:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664011264001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:52: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-26 18:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787750345000,"timestamp_ms":1787750345000,"timestamp_seconds":1787750345,"priority":1,"record_length":96,"hex_timestamp":"000001a03e396928"} 
[2026-08-26 18:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:52: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-26 18:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:52: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-26 18:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664011264001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664011264001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:52:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:52:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664011264001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":165059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:52:42] local.INFO: GPS data processed {"connection_id":165059,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:52:42] local.INFO: Acknowledgment sent {"connection_id":165059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:53:11] local.INFO: TCP Data received {"connection_id":163721,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:53:11] local.INFO: Processing buffer {"connection_id":163721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:53:11] local.INFO: IMEI packet received {"connection_id":163721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 18:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":163721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:53:14] local.INFO: TCP Data received {"connection_id":165059,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:53:14] local.INFO: Processing buffer {"connection_id":165059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:53:14] local.INFO: Packet analysis {"connection_id":165059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e39"} 
[2026-08-26 18:53:14] local.INFO: Extracted packet for processing {"connection_id":165059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e39"} 
[2026-08-26 18:53:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664011264001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:53: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-26 18:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787750345000,"timestamp_ms":1787750345000,"timestamp_seconds":1787750345,"priority":1,"record_length":96,"hex_timestamp":"000001a03e396928"} 
[2026-08-26 18: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-26 18: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-26 18: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:53: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-26 18: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-26 18: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-26 18:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664011264001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664011264001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:53:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:53:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664011264001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":165059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:53:14] local.INFO: GPS data processed {"connection_id":165059,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:53:14] local.INFO: Acknowledgment sent {"connection_id":165059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:53:36] local.INFO: TCP Data received {"connection_id":162459,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:53:36] local.INFO: Processing buffer {"connection_id":162459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:53:36] local.INFO: IMEI packet received {"connection_id":162459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":162459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:53:41] local.INFO: TCP Data received {"connection_id":162459,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:53:41] local.INFO: Processing buffer {"connection_id":162459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:53:41] local.INFO: IMEI packet received {"connection_id":162459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":162459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:53:43] local.INFO: TCP Data received {"connection_id":162459,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:53:43] local.INFO: Processing buffer {"connection_id":162459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:53:43] local.INFO: Packet analysis {"connection_id":162459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e39"} 
[2026-08-26 18:53:43] local.INFO: Extracted packet for processing {"connection_id":162459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e39"} 
[2026-08-26 18:53:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664011264001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:53: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-26 18:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787750345000,"timestamp_ms":1787750345000,"timestamp_seconds":1787750345,"priority":1,"record_length":96,"hex_timestamp":"000001a03e396928"} 
[2026-08-26 18: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-26 18: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-26 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:53: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-26 18: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-26 18: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-26 18:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664011264001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664011264001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:53:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:53:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664011264001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":162459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:53:43] local.INFO: GPS data processed {"connection_id":162459,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:53:43] local.INFO: Acknowledgment sent {"connection_id":162459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:54:15] local.INFO: TCP Data received {"connection_id":162459,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:54:15] local.INFO: Processing buffer {"connection_id":162459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e396928012d34c14006aa4818000700e62c..."} 
[2026-08-26 18:54:15] local.INFO: Packet analysis {"connection_id":162459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e39"} 
[2026-08-26 18:54:15] local.INFO: Extracted packet for processing {"connection_id":162459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e39"} 
[2026-08-26 18:54:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664011264001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:54: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-26 18:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787750345000,"timestamp_ms":1787750345000,"timestamp_seconds":1787750345,"priority":1,"record_length":96,"hex_timestamp":"000001a03e396928"} 
[2026-08-26 18:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:54: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-26 18:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 18:54: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-26 18:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664011264001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664011264001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:54:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:54:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664011264001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":162459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:54:15] local.INFO: GPS data processed {"connection_id":162459,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:54:15] local.INFO: Acknowledgment sent {"connection_id":162459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:54:41] local.INFO: TCP Data received {"connection_id":162693,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:54:41] local.INFO: Processing buffer {"connection_id":162693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:54:41] local.INFO: IMEI packet received {"connection_id":162693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":162693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:54:44] local.INFO: TCP Data received {"connection_id":162693,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:54:44] local.INFO: Processing buffer {"connection_id":162693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:54:44] local.INFO: IMEI packet received {"connection_id":162693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":162693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:54:45] local.INFO: TCP Data received {"connection_id":162693,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:54:45] local.INFO: Processing buffer {"connection_id":162693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:54:45] local.INFO: Packet analysis {"connection_id":162693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:54:45] local.INFO: Extracted packet for processing {"connection_id":162693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:54:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664088320001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:54: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-26 18:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787750646000,"timestamp_ms":1787750646000,"timestamp_seconds":1787750646,"priority":1,"record_length":96,"hex_timestamp":"000001a03e3e00f0"} 
[2026-08-26 18:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:54: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-26 18:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 18:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":162693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":162693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":162693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664088320001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664088320001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:54:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:54:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664088320001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":162693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:54:45] local.INFO: GPS data processed {"connection_id":162693,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:54:45] local.INFO: Acknowledgment sent {"connection_id":162693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:54:46] local.INFO: TCP Data received {"connection_id":162693,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:54:46] local.INFO: Processing buffer {"connection_id":162693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:54:46] local.INFO: Packet analysis {"connection_id":162693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:54:46] local.INFO: Extracted packet for processing {"connection_id":162693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:54:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664088320001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 18:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787750646000,"timestamp_ms":1787750646000,"timestamp_seconds":1787750646,"priority":1,"record_length":96,"hex_timestamp":"000001a03e3e00f0"} 
[2026-08-26 18:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:54: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-26 18:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 18:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664088320001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664088320001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:54:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:54:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664088320001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":162693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:54:46] local.INFO: GPS data processed {"connection_id":162693,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:54:46] local.INFO: Acknowledgment sent {"connection_id":162693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:55:18] local.INFO: TCP Data received {"connection_id":162693,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:55:18] local.INFO: Processing buffer {"connection_id":162693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:55:18] local.INFO: Packet analysis {"connection_id":162693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:55:18] local.INFO: Extracted packet for processing {"connection_id":162693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:55:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664088320001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:55: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-26 18:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787750646000,"timestamp_ms":1787750646000,"timestamp_seconds":1787750646,"priority":1,"record_length":96,"hex_timestamp":"000001a03e3e00f0"} 
[2026-08-26 18: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-26 18:55: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-26 18: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 18: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-26 18: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-26 18:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664088320001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664088320001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:55:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:55:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664088320001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":162693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:55:18] local.INFO: GPS data processed {"connection_id":162693,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:55:18] local.INFO: Acknowledgment sent {"connection_id":162693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:55:36] local.INFO: TCP Data received {"connection_id":162694,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:55:36] local.INFO: Processing buffer {"connection_id":162694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:55:36] local.INFO: IMEI packet received {"connection_id":162694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":162694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:55:41] local.INFO: TCP Data received {"connection_id":162694,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:55:41] local.INFO: Processing buffer {"connection_id":162694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:55:41] local.INFO: IMEI packet received {"connection_id":162694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":162694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:55:42] local.INFO: TCP Data received {"connection_id":162694,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:55:42] local.INFO: Processing buffer {"connection_id":162694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:55:42] local.INFO: Packet analysis {"connection_id":162694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:55:42] local.INFO: Extracted packet for processing {"connection_id":162694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:55:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664088320001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:55: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-26 18:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787750646000,"timestamp_ms":1787750646000,"timestamp_seconds":1787750646,"priority":1,"record_length":96,"hex_timestamp":"000001a03e3e00f0"} 
[2026-08-26 18: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-26 18:55: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-26 18: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:55: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-26 18: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-26 18: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-26 18:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664088320001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664088320001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:55:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:55:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664088320001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":162694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:55:42] local.INFO: GPS data processed {"connection_id":162694,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:55:42] local.INFO: Acknowledgment sent {"connection_id":162694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:56:14] local.INFO: TCP Data received {"connection_id":162694,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:56:14] local.INFO: Processing buffer {"connection_id":162694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:56:14] local.INFO: Packet analysis {"connection_id":162694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:56:14] local.INFO: Extracted packet for processing {"connection_id":162694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:56:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 18:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664088320001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:56: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-26 18:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787750646000,"timestamp_ms":1787750646000,"timestamp_seconds":1787750646,"priority":1,"record_length":96,"hex_timestamp":"000001a03e3e00f0"} 
[2026-08-26 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-26 18: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-26 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":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:56: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-26 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-26 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-26 18:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664088320001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664088320001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:56:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:56:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664088320001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":162694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:56:14] local.INFO: GPS data processed {"connection_id":162694,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:56:14] local.INFO: Acknowledgment sent {"connection_id":162694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:56:41] local.INFO: TCP Data received {"connection_id":165060,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:56:41] local.INFO: Processing buffer {"connection_id":165060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:56:41] local.INFO: IMEI packet received {"connection_id":165060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":165060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:56:46] local.INFO: TCP Data received {"connection_id":165060,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:56:46] local.INFO: Processing buffer {"connection_id":165060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:56:46] local.INFO: IMEI packet received {"connection_id":165060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":165060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:56:47] local.INFO: TCP Data received {"connection_id":165060,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:56:47] local.INFO: Processing buffer {"connection_id":165060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:56:47] local.INFO: Packet analysis {"connection_id":165060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:56:47] local.INFO: Extracted packet for processing {"connection_id":165060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 18:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664088320001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:56: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-26 18:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787750646000,"timestamp_ms":1787750646000,"timestamp_seconds":1787750646,"priority":1,"record_length":96,"hex_timestamp":"000001a03e3e00f0"} 
[2026-08-26 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-26 18:56: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-26 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:56: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-26 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-26 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-26 18:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664088320001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664088320001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:56:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664088320001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":165060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:56:47] local.INFO: GPS data processed {"connection_id":165060,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:56:47] local.INFO: Acknowledgment sent {"connection_id":165060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:56:52] local.INFO: TCP Data received {"connection_id":165060,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:56:52] local.INFO: Processing buffer {"connection_id":165060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:56:52] local.INFO: Packet analysis {"connection_id":165060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:56:52] local.INFO: Extracted packet for processing {"connection_id":165060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:56:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664088320001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:56: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-26 18:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787750646000,"timestamp_ms":1787750646000,"timestamp_seconds":1787750646,"priority":1,"record_length":96,"hex_timestamp":"000001a03e3e00f0"} 
[2026-08-26 18: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-26 18:56: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-26 18: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 18: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-26 18: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-26 18:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664088320001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664088320001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:56:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:56:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664088320001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":165060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:56:52] local.INFO: GPS data processed {"connection_id":165060,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:56:52] local.INFO: Acknowledgment sent {"connection_id":165060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:57:36] local.INFO: TCP Data received {"connection_id":162460,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:57:36] local.INFO: Processing buffer {"connection_id":162460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:57:36] local.INFO: IMEI packet received {"connection_id":162460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":162460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:57:41] local.INFO: TCP Data received {"connection_id":162460,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:57:41] local.INFO: Processing buffer {"connection_id":162460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:57:41] local.INFO: IMEI packet received {"connection_id":162460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":162460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:57:42] local.INFO: TCP Data received {"connection_id":162460,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:57:42] local.INFO: Processing buffer {"connection_id":162460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:57:42] local.INFO: Packet analysis {"connection_id":162460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:57:42] local.INFO: Extracted packet for processing {"connection_id":162460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:57:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664088320001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:57: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-26 18:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787750646000,"timestamp_ms":1787750646000,"timestamp_seconds":1787750646,"priority":1,"record_length":96,"hex_timestamp":"000001a03e3e00f0"} 
[2026-08-26 18:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:57: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-26 18:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:57: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-26 18:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664088320001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664088320001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:57:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:57:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664088320001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":162460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:57:42] local.INFO: GPS data processed {"connection_id":162460,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:57:42] local.INFO: Acknowledgment sent {"connection_id":162460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:57:47] local.INFO: TCP Data received {"connection_id":162460,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:57:47] local.INFO: Processing buffer {"connection_id":162460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:57:47] local.INFO: Packet analysis {"connection_id":162460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:57:47] local.INFO: Extracted packet for processing {"connection_id":162460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:57:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664088320001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:57: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-26 18:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787750646000,"timestamp_ms":1787750646000,"timestamp_seconds":1787750646,"priority":1,"record_length":96,"hex_timestamp":"000001a03e3e00f0"} 
[2026-08-26 18:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:57: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-26 18:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:57: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-26 18:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664088320001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664088320001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:57:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:57:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664088320001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":162460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:57:47] local.INFO: GPS data processed {"connection_id":162460,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:57:47] local.INFO: Acknowledgment sent {"connection_id":162460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:58:18] local.INFO: TCP Data received {"connection_id":162460,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:58:18] local.INFO: Processing buffer {"connection_id":162460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:58:18] local.INFO: Packet analysis {"connection_id":162460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:58:18] local.INFO: Extracted packet for processing {"connection_id":162460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:58:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664088320001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:58: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-26 18:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787750646000,"timestamp_ms":1787750646000,"timestamp_seconds":1787750646,"priority":1,"record_length":96,"hex_timestamp":"000001a03e3e00f0"} 
[2026-08-26 18: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-26 18:58: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-26 18: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 18: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-26 18: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-26 18:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664088320001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664088320001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:58:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:58:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664088320001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":162460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:58:18] local.INFO: GPS data processed {"connection_id":162460,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:58:18] local.INFO: Acknowledgment sent {"connection_id":162460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:58:27] local.INFO: TCP Data received {"connection_id":165061,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165061,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:58:27] local.INFO: Processing buffer {"connection_id":165061,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 18:58:27] local.INFO: IMEI packet received {"connection_id":165061,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 18:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":165061,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:58:36] local.INFO: TCP Data received {"connection_id":162695,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:58:36] local.INFO: Processing buffer {"connection_id":162695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:58:36] local.INFO: IMEI packet received {"connection_id":162695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":162695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:58:41] local.INFO: TCP Data received {"connection_id":162695,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:58:41] local.INFO: Processing buffer {"connection_id":162695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:58:41] local.INFO: IMEI packet received {"connection_id":162695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":162695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:58:42] local.INFO: TCP Data received {"connection_id":162695,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:58:42] local.INFO: Processing buffer {"connection_id":162695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:58:42] local.INFO: Packet analysis {"connection_id":162695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:58:42] local.INFO: Extracted packet for processing {"connection_id":162695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18: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-26 18:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664088320001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18: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-26 18:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787750646000,"timestamp_ms":1787750646000,"timestamp_seconds":1787750646,"priority":1,"record_length":96,"hex_timestamp":"000001a03e3e00f0"} 
[2026-08-26 18: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-26 18: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-26 18:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:58: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-26 18: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-26 18: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-26 18:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664088320001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664088320001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:58:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:58:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664088320001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":162695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:58:42] local.INFO: GPS data processed {"connection_id":162695,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:58:42] local.INFO: Acknowledgment sent {"connection_id":162695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:59:14] local.INFO: TCP Data received {"connection_id":162695,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:59:14] local.INFO: Processing buffer {"connection_id":162695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:59:14] local.INFO: Packet analysis {"connection_id":162695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:59:14] local.INFO: Extracted packet for processing {"connection_id":162695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:59:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 18:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664088320001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:59: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-26 18:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787750646000,"timestamp_ms":1787750646000,"timestamp_seconds":1787750646,"priority":1,"record_length":96,"hex_timestamp":"000001a03e3e00f0"} 
[2026-08-26 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-26 18:59: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-26 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":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:59: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-26 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-26 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-26 18:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664088320001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664088320001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:59:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:59:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664088320001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":162695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:59:14] local.INFO: GPS data processed {"connection_id":162695,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:59:14] local.INFO: Acknowledgment sent {"connection_id":162695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 18:59:36] local.INFO: TCP Data received {"connection_id":163722,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:59:36] local.INFO: Processing buffer {"connection_id":163722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:59:36] local.INFO: IMEI packet received {"connection_id":163722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 18:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":163722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 18:59:41] local.INFO: TCP Data received {"connection_id":163722,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:59:41] local.INFO: Processing buffer {"connection_id":163722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 18:59:41] local.INFO: IMEI packet received {"connection_id":163722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 18:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":163722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 18:59:42] local.INFO: TCP Data received {"connection_id":163722,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:59:42] local.INFO: Processing buffer {"connection_id":163722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e3e00f0012d34c14006aa4818000800e62c..."} 
[2026-08-26 18:59:42] local.INFO: Packet analysis {"connection_id":163722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:59:42] local.INFO: Extracted packet for processing {"connection_id":163722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e3e"} 
[2026-08-26 18:59:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 18:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 18:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664088320001,"note":"Value kept but may cause issues"} 
[2026-08-26 18:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 18:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 18:59: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-26 18:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787750646000,"timestamp_ms":1787750646000,"timestamp_seconds":1787750646,"priority":1,"record_length":96,"hex_timestamp":"000001a03e3e00f0"} 
[2026-08-26 18:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 18:59: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-26 18:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 18:59: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-26 18:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 18:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 18:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 18:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 18:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 18:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 18:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 18:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 18:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664088320001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 18:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 18:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 18:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664088320001,"description":"Unknown IO ID 0"} 
[2026-08-26 18:59:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 18:59:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 18:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 18:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 18:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664088320001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 18:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":163722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 18:59:42] local.INFO: GPS data processed {"connection_id":163722,"processed":1,"errors":0,"total":1} 
[2026-08-26 18:59:42] local.INFO: Acknowledgment sent {"connection_id":163722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:00:13] local.INFO: TCP Data received {"connection_id":163722,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:00:13] local.INFO: Processing buffer {"connection_id":163722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:00:13] local.INFO: Packet analysis {"connection_id":163722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e42"} 
[2026-08-26 19:00:13] local.INFO: Extracted packet for processing {"connection_id":163722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e42"} 
[2026-08-26 19:00:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664165376001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:00: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-26 19:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787750947000,"timestamp_ms":1787750947000,"timestamp_seconds":1787750947,"priority":1,"record_length":96,"hex_timestamp":"000001a03e4298b8"} 
[2026-08-26 19: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-26 19:00: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-26 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 19: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-26 19: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-26 19:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664165376001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664165376001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:00:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:00:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664165376001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":163722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:00:13] local.INFO: GPS data processed {"connection_id":163722,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:00:13] local.INFO: Acknowledgment sent {"connection_id":163722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:00:36] local.INFO: TCP Data received {"connection_id":165062,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:00:36] local.INFO: Processing buffer {"connection_id":165062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:00:36] local.INFO: IMEI packet received {"connection_id":165062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":165062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:00:41] local.INFO: TCP Data received {"connection_id":165062,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:00:41] local.INFO: Processing buffer {"connection_id":165062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:00:41] local.INFO: IMEI packet received {"connection_id":165062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":165062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:00:42] local.INFO: TCP Data received {"connection_id":165062,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:00:42] local.INFO: Processing buffer {"connection_id":165062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:00:42] local.INFO: Packet analysis {"connection_id":165062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e42"} 
[2026-08-26 19:00:42] local.INFO: Extracted packet for processing {"connection_id":165062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e42"} 
[2026-08-26 19:00:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664165376001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19: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-26 19:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787750947000,"timestamp_ms":1787750947000,"timestamp_seconds":1787750947,"priority":1,"record_length":96,"hex_timestamp":"000001a03e4298b8"} 
[2026-08-26 19: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-26 19: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-26 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:00: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-26 19: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-26 19: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-26 19:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664165376001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664165376001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:00:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:00:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664165376001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":165062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:00:42] local.INFO: GPS data processed {"connection_id":165062,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:00:42] local.INFO: Acknowledgment sent {"connection_id":165062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:01:15] local.INFO: TCP Data received {"connection_id":165062,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:01:15] local.INFO: Processing buffer {"connection_id":165062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:01:15] local.INFO: Packet analysis {"connection_id":165062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e42"} 
[2026-08-26 19:01:15] local.INFO: Extracted packet for processing {"connection_id":165062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e42"} 
[2026-08-26 19:01:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664165376001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19: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-26 19:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787750947000,"timestamp_ms":1787750947000,"timestamp_seconds":1787750947,"priority":1,"record_length":96,"hex_timestamp":"000001a03e4298b8"} 
[2026-08-26 19: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-26 19:01: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-26 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:01: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-26 19: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-26 19: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-26 19:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":165062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":165062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":165062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664165376001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664165376001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:01:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:01:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664165376001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":165062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:01:15] local.INFO: GPS data processed {"connection_id":165062,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:01:15] local.INFO: Acknowledgment sent {"connection_id":165062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:01:42] local.INFO: TCP Data received {"connection_id":165063,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:01:42] local.INFO: Processing buffer {"connection_id":165063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:01:42] local.INFO: IMEI packet received {"connection_id":165063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":165063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:01:46] local.INFO: TCP Data received {"connection_id":165063,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:01:46] local.INFO: Processing buffer {"connection_id":165063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:01:46] local.INFO: IMEI packet received {"connection_id":165063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":165063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:01:47] local.INFO: TCP Data received {"connection_id":165063,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:01:47] local.INFO: Processing buffer {"connection_id":165063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:01:47] local.INFO: Packet analysis {"connection_id":165063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e42"} 
[2026-08-26 19:01:47] local.INFO: Extracted packet for processing {"connection_id":165063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e42"} 
[2026-08-26 19:01:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664165376001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:01: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-26 19:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787750947000,"timestamp_ms":1787750947000,"timestamp_seconds":1787750947,"priority":1,"record_length":96,"hex_timestamp":"000001a03e4298b8"} 
[2026-08-26 19: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-26 19:01: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-26 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:01: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-26 19: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-26 19: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-26 19:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664165376001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664165376001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:01:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:01:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664165376001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":165063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:01:47] local.INFO: GPS data processed {"connection_id":165063,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:01:47] local.INFO: Acknowledgment sent {"connection_id":165063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:01:52] local.INFO: TCP Data received {"connection_id":165063,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:01:52] local.INFO: Processing buffer {"connection_id":165063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:01:52] local.INFO: Packet analysis {"connection_id":165063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e42"} 
[2026-08-26 19:01:52] local.INFO: Extracted packet for processing {"connection_id":165063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e42"} 
[2026-08-26 19:01:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664165376001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:01: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-26 19:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787750947000,"timestamp_ms":1787750947000,"timestamp_seconds":1787750947,"priority":1,"record_length":96,"hex_timestamp":"000001a03e4298b8"} 
[2026-08-26 19: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-26 19:01: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-26 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 19: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-26 19: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-26 19:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664165376001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664165376001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:01:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:01:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664165376001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":165063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:01:52] local.INFO: GPS data processed {"connection_id":165063,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:01:52] local.INFO: Acknowledgment sent {"connection_id":165063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:02:36] local.INFO: TCP Data received {"connection_id":165064,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:02:36] local.INFO: Processing buffer {"connection_id":165064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:02:36] local.INFO: IMEI packet received {"connection_id":165064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":165064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:02:41] local.INFO: TCP Data received {"connection_id":165064,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:02:41] local.INFO: Processing buffer {"connection_id":165064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:02:41] local.INFO: IMEI packet received {"connection_id":165064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":165064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:02:42] local.INFO: TCP Data received {"connection_id":165064,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:02:42] local.INFO: Processing buffer {"connection_id":165064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:02:42] local.INFO: Packet analysis {"connection_id":165064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e42"} 
[2026-08-26 19:02:42] local.INFO: Extracted packet for processing {"connection_id":165064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e42"} 
[2026-08-26 19:02:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664165376001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19: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-26 19:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787750947000,"timestamp_ms":1787750947000,"timestamp_seconds":1787750947,"priority":1,"record_length":96,"hex_timestamp":"000001a03e4298b8"} 
[2026-08-26 19: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-26 19: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-26 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:02: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-26 19: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-26 19: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-26 19:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664165376001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664165376001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:02:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:02:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664165376001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":165064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:02:42] local.INFO: GPS data processed {"connection_id":165064,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:02:42] local.INFO: Acknowledgment sent {"connection_id":165064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:03:14] local.INFO: TCP Data received {"connection_id":165064,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:03:14] local.INFO: Processing buffer {"connection_id":165064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:03:14] local.INFO: Packet analysis {"connection_id":165064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e42"} 
[2026-08-26 19:03:14] local.INFO: Extracted packet for processing {"connection_id":165064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e42"} 
[2026-08-26 19:03:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664165376001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:03: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-26 19:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787750947000,"timestamp_ms":1787750947000,"timestamp_seconds":1787750947,"priority":1,"record_length":96,"hex_timestamp":"000001a03e4298b8"} 
[2026-08-26 19: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-26 19: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-26 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:03: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-26 19: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-26 19: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-26 19:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664165376001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664165376001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:03:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:03:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664165376001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":165064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:03:14] local.INFO: GPS data processed {"connection_id":165064,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:03:14] local.INFO: Acknowledgment sent {"connection_id":165064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:03:36] local.INFO: TCP Data received {"connection_id":163724,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:03:36] local.INFO: Processing buffer {"connection_id":163724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:03:36] local.INFO: IMEI packet received {"connection_id":163724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":163724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:03:41] local.INFO: TCP Data received {"connection_id":163724,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:03:41] local.INFO: Processing buffer {"connection_id":163724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:03:41] local.INFO: IMEI packet received {"connection_id":163724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":163724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:03:43] local.INFO: TCP Data received {"connection_id":163724,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:03:43] local.INFO: Processing buffer {"connection_id":163724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:03:43] local.INFO: Packet analysis {"connection_id":163724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e42"} 
[2026-08-26 19:03:43] local.INFO: Extracted packet for processing {"connection_id":163724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e42"} 
[2026-08-26 19:03:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664165376001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:03: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-26 19:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787750947000,"timestamp_ms":1787750947000,"timestamp_seconds":1787750947,"priority":1,"record_length":96,"hex_timestamp":"000001a03e4298b8"} 
[2026-08-26 19:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:03: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-26 19:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:03: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-26 19:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664165376001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664165376001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:03:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:03:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664165376001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":163724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:03:43] local.INFO: GPS data processed {"connection_id":163724,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:03:43] local.INFO: Acknowledgment sent {"connection_id":163724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:04:01] local.INFO: TCP Data received {"connection_id":163723,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:04:01] local.INFO: Processing buffer {"connection_id":163723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:04:01] local.INFO: IMEI packet received {"connection_id":163723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 19:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":163723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:04:16] local.INFO: TCP Data received {"connection_id":163724,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:04:16] local.INFO: Processing buffer {"connection_id":163724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:04:16] local.INFO: Packet analysis {"connection_id":163724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e42"} 
[2026-08-26 19:04:16] local.INFO: Extracted packet for processing {"connection_id":163724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e42"} 
[2026-08-26 19:04:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664165376001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:04: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-26 19:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787750947000,"timestamp_ms":1787750947000,"timestamp_seconds":1787750947,"priority":1,"record_length":96,"hex_timestamp":"000001a03e4298b8"} 
[2026-08-26 19:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:04: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-26 19:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:04: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-26 19:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664165376001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664165376001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:04:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:04:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664165376001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":163724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:04:16] local.INFO: GPS data processed {"connection_id":163724,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:04:16] local.INFO: Acknowledgment sent {"connection_id":163724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:04:36] local.INFO: TCP Data received {"connection_id":165065,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:04:36] local.INFO: Processing buffer {"connection_id":165065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:04:36] local.INFO: IMEI packet received {"connection_id":165065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":165065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:04:42] local.INFO: TCP Data received {"connection_id":165065,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:04:42] local.INFO: Processing buffer {"connection_id":165065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:04:42] local.INFO: IMEI packet received {"connection_id":165065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":165065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:04:43] local.INFO: TCP Data received {"connection_id":165065,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:04:43] local.INFO: Processing buffer {"connection_id":165065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e4298b8012d34c14006aa4818000c00e62b..."} 
[2026-08-26 19:04:43] local.INFO: Packet analysis {"connection_id":165065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e42"} 
[2026-08-26 19:04:43] local.INFO: Extracted packet for processing {"connection_id":165065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e42"} 
[2026-08-26 19:04:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664165376001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:04: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-26 19:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787750947000,"timestamp_ms":1787750947000,"timestamp_seconds":1787750947,"priority":1,"record_length":96,"hex_timestamp":"000001a03e4298b8"} 
[2026-08-26 19:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:04: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-26 19:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":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-26 19:04: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-26 19:04: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-26 19:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664165376001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664165376001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:04:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:04:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664165376001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":165065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:04:43] local.INFO: GPS data processed {"connection_id":165065,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:04:43] local.INFO: Acknowledgment sent {"connection_id":165065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:05:14] local.INFO: TCP Data received {"connection_id":165065,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:05:14] local.INFO: Processing buffer {"connection_id":165065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:05:14] local.INFO: Packet analysis {"connection_id":165065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e47"} 
[2026-08-26 19:05:14] local.INFO: Extracted packet for processing {"connection_id":165065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e47"} 
[2026-08-26 19:05:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664242432001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:05: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-26 19:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787751248000,"timestamp_ms":1787751248000,"timestamp_seconds":1787751248,"priority":1,"record_length":96,"hex_timestamp":"000001a03e473080"} 
[2026-08-26 19: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-26 19:05: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-26 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:05: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-26 19: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-26 19: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-26 19:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664242432001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664242432001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:05:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:05:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664242432001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":165065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:05:15] local.INFO: GPS data processed {"connection_id":165065,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:05:15] local.INFO: Acknowledgment sent {"connection_id":165065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:05:41] local.INFO: TCP Data received {"connection_id":163725,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:05:41] local.INFO: Processing buffer {"connection_id":163725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:05:41] local.INFO: IMEI packet received {"connection_id":163725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":163725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:05:47] local.INFO: TCP Data received {"connection_id":163725,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:05:47] local.INFO: Processing buffer {"connection_id":163725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:05:47] local.INFO: IMEI packet received {"connection_id":163725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":163725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:05:48] local.INFO: TCP Data received {"connection_id":163725,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:05:48] local.INFO: Processing buffer {"connection_id":163725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:05:48] local.INFO: Packet analysis {"connection_id":163725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e47"} 
[2026-08-26 19:05:48] local.INFO: Extracted packet for processing {"connection_id":163725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e47"} 
[2026-08-26 19:05:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664242432001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 19:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787751248000,"timestamp_ms":1787751248000,"timestamp_seconds":1787751248,"priority":1,"record_length":96,"hex_timestamp":"000001a03e473080"} 
[2026-08-26 19: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-26 19:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 19: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-26 19: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-26 19:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664242432001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664242432001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:05:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:05:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664242432001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":163725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:05:48] local.INFO: GPS data processed {"connection_id":163725,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:05:48] local.INFO: Acknowledgment sent {"connection_id":163725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:05:52] local.INFO: TCP Data received {"connection_id":163725,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:05:52] local.INFO: Processing buffer {"connection_id":163725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:05:52] local.INFO: Packet analysis {"connection_id":163725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e47"} 
[2026-08-26 19:05:52] local.INFO: Extracted packet for processing {"connection_id":163725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e47"} 
[2026-08-26 19:05:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664242432001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:05: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-26 19:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787751248000,"timestamp_ms":1787751248000,"timestamp_seconds":1787751248,"priority":1,"record_length":96,"hex_timestamp":"000001a03e473080"} 
[2026-08-26 19: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-26 19:05: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-26 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 19: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-26 19: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-26 19:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664242432001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664242432001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:05:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:05:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664242432001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":163725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:05:52] local.INFO: GPS data processed {"connection_id":163725,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:05:52] local.INFO: Acknowledgment sent {"connection_id":163725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:06:36] local.INFO: TCP Data received {"connection_id":165066,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:06:36] local.INFO: Processing buffer {"connection_id":165066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:06:36] local.INFO: IMEI packet received {"connection_id":165066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":165066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:06:41] local.INFO: TCP Data received {"connection_id":165066,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:06:41] local.INFO: Processing buffer {"connection_id":165066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:06:41] local.INFO: IMEI packet received {"connection_id":165066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":165066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:06:42] local.INFO: TCP Data received {"connection_id":165066,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:06:42] local.INFO: Processing buffer {"connection_id":165066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:06:42] local.INFO: Packet analysis {"connection_id":165066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e47"} 
[2026-08-26 19:06:42] local.INFO: Extracted packet for processing {"connection_id":165066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e47"} 
[2026-08-26 19:06:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664242432001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:06: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-26 19:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787751248000,"timestamp_ms":1787751248000,"timestamp_seconds":1787751248,"priority":1,"record_length":96,"hex_timestamp":"000001a03e473080"} 
[2026-08-26 19:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:06: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-26 19:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:06: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-26 19:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664242432001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664242432001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:06:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:06:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664242432001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":165066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:06:42] local.INFO: GPS data processed {"connection_id":165066,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:06:42] local.INFO: Acknowledgment sent {"connection_id":165066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:07:13] local.INFO: TCP Data received {"connection_id":165066,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:07:13] local.INFO: Processing buffer {"connection_id":165066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:07:13] local.INFO: Packet analysis {"connection_id":165066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e47"} 
[2026-08-26 19:07:13] local.INFO: Extracted packet for processing {"connection_id":165066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e47"} 
[2026-08-26 19:07:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664242432001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:07: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-26 19:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787751248000,"timestamp_ms":1787751248000,"timestamp_seconds":1787751248,"priority":1,"record_length":96,"hex_timestamp":"000001a03e473080"} 
[2026-08-26 19: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-26 19:07: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-26 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 19: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-26 19: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-26 19:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664242432001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664242432001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:07:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:07:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664242432001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":165066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:07:13] local.INFO: GPS data processed {"connection_id":165066,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:07:13] local.INFO: Acknowledgment sent {"connection_id":165066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:07:36] local.INFO: TCP Data received {"connection_id":162696,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:07:36] local.INFO: Processing buffer {"connection_id":162696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:07:36] local.INFO: IMEI packet received {"connection_id":162696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":162696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:07:42] local.INFO: TCP Data received {"connection_id":162696,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:07:42] local.INFO: Processing buffer {"connection_id":162696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:07:42] local.INFO: IMEI packet received {"connection_id":162696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":162696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:07:43] local.INFO: TCP Data received {"connection_id":162696,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:07:43] local.INFO: Processing buffer {"connection_id":162696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:07:43] local.INFO: Packet analysis {"connection_id":162696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e47"} 
[2026-08-26 19:07:43] local.INFO: Extracted packet for processing {"connection_id":162696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e47"} 
[2026-08-26 19:07:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664242432001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:07: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-26 19:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787751248000,"timestamp_ms":1787751248000,"timestamp_seconds":1787751248,"priority":1,"record_length":96,"hex_timestamp":"000001a03e473080"} 
[2026-08-26 19: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-26 19:07: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-26 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:07: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-26 19: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-26 19: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-26 19:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664242432001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664242432001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:07:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:07:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664242432001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":162696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:07:43] local.INFO: GPS data processed {"connection_id":162696,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:07:43] local.INFO: Acknowledgment sent {"connection_id":162696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:08:14] local.INFO: TCP Data received {"connection_id":162696,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:08:14] local.INFO: Processing buffer {"connection_id":162696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:08:14] local.INFO: Packet analysis {"connection_id":162696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e47"} 
[2026-08-26 19:08:14] local.INFO: Extracted packet for processing {"connection_id":162696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e47"} 
[2026-08-26 19:08:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664242432001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:08: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-26 19:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787751248000,"timestamp_ms":1787751248000,"timestamp_seconds":1787751248,"priority":1,"record_length":96,"hex_timestamp":"000001a03e473080"} 
[2026-08-26 19: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-26 19:08: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-26 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:08: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-26 19: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-26 19: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-26 19:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664242432001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664242432001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:08:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:08:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664242432001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":162696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:08:14] local.INFO: GPS data processed {"connection_id":162696,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:08:14] local.INFO: Acknowledgment sent {"connection_id":162696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:08:36] local.INFO: TCP Data received {"connection_id":165067,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:08:36] local.INFO: Processing buffer {"connection_id":165067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:08:36] local.INFO: IMEI packet received {"connection_id":165067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":165067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:08:41] local.INFO: TCP Data received {"connection_id":165067,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:08:41] local.INFO: Processing buffer {"connection_id":165067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:08:41] local.INFO: IMEI packet received {"connection_id":165067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":165067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:08:42] local.INFO: TCP Data received {"connection_id":165067,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:08:42] local.INFO: Processing buffer {"connection_id":165067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:08:42] local.INFO: Packet analysis {"connection_id":165067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e47"} 
[2026-08-26 19:08:42] local.INFO: Extracted packet for processing {"connection_id":165067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e47"} 
[2026-08-26 19:08:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664242432001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19: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-26 19:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787751248000,"timestamp_ms":1787751248000,"timestamp_seconds":1787751248,"priority":1,"record_length":96,"hex_timestamp":"000001a03e473080"} 
[2026-08-26 19:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19: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-26 19:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:08: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-26 19:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664242432001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664242432001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:08:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:08:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664242432001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":165067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:08:43] local.INFO: GPS data processed {"connection_id":165067,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:08:43] local.INFO: Acknowledgment sent {"connection_id":165067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:09:14] local.INFO: TCP Data received {"connection_id":165067,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:09:14] local.INFO: Processing buffer {"connection_id":165067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:09:14] local.INFO: Packet analysis {"connection_id":165067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e47"} 
[2026-08-26 19:09:14] local.INFO: Extracted packet for processing {"connection_id":165067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e47"} 
[2026-08-26 19:09:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664242432001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:09: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-26 19:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787751248000,"timestamp_ms":1787751248000,"timestamp_seconds":1787751248,"priority":1,"record_length":96,"hex_timestamp":"000001a03e473080"} 
[2026-08-26 19:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 19:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:09: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-26 19:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664242432001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664242432001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:09:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:09:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664242432001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":165067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:09:14] local.INFO: GPS data processed {"connection_id":165067,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:09:14] local.INFO: Acknowledgment sent {"connection_id":165067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:09:36] local.INFO: TCP Data received {"connection_id":162697,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:09:36] local.INFO: Processing buffer {"connection_id":162697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:09:36] local.INFO: IMEI packet received {"connection_id":162697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":162697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:09:37] local.INFO: TCP Data received {"connection_id":163726,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:09:37] local.INFO: Processing buffer {"connection_id":163726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:09:37] local.INFO: IMEI packet received {"connection_id":163726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 19:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":163726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:09:41] local.INFO: TCP Data received {"connection_id":162697,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:09:41] local.INFO: Processing buffer {"connection_id":162697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:09:41] local.INFO: IMEI packet received {"connection_id":162697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":162697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:09:42] local.INFO: TCP Data received {"connection_id":162697,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:09:42] local.INFO: Processing buffer {"connection_id":162697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e473080012d34c14006aa4818000400e62b..."} 
[2026-08-26 19:09:42] local.INFO: Packet analysis {"connection_id":162697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e47"} 
[2026-08-26 19:09:42] local.INFO: Extracted packet for processing {"connection_id":162697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e47"} 
[2026-08-26 19:09:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664242432001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:09: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-26 19:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787751248000,"timestamp_ms":1787751248000,"timestamp_seconds":1787751248,"priority":1,"record_length":96,"hex_timestamp":"000001a03e473080"} 
[2026-08-26 19:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:09: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-26 19:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:09: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-26 19:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664242432001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664242432001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:09:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:09:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664242432001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":162697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:09:42] local.INFO: GPS data processed {"connection_id":162697,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:09:42] local.INFO: Acknowledgment sent {"connection_id":162697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:10:13] local.INFO: TCP Data received {"connection_id":162697,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:10:13] local.INFO: Processing buffer {"connection_id":162697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:10:13] local.INFO: Packet analysis {"connection_id":162697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e4b"} 
[2026-08-26 19:10:13] local.INFO: Extracted packet for processing {"connection_id":162697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e4b"} 
[2026-08-26 19:10:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664319488001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:10: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-26 19:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787751549000,"timestamp_ms":1787751549000,"timestamp_seconds":1787751549,"priority":1,"record_length":96,"hex_timestamp":"000001a03e4bc848"} 
[2026-08-26 19: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-26 19:10: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-26 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 19:10: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-26 19: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-26 19: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-26 19:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664319488001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664319488001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:10:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:10:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664319488001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":162697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:10:13] local.INFO: GPS data processed {"connection_id":162697,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:10:13] local.INFO: Acknowledgment sent {"connection_id":162697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:10:41] local.INFO: TCP Data received {"connection_id":162461,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:10:41] local.INFO: Processing buffer {"connection_id":162461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:10:41] local.INFO: IMEI packet received {"connection_id":162461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":162461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:10:46] local.INFO: TCP Data received {"connection_id":162461,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:10:46] local.INFO: Processing buffer {"connection_id":162461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:10:46] local.INFO: IMEI packet received {"connection_id":162461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":162461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:10:47] local.INFO: TCP Data received {"connection_id":162461,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:10:47] local.INFO: Processing buffer {"connection_id":162461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:10:47] local.INFO: Packet analysis {"connection_id":162461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e4b"} 
[2026-08-26 19:10:47] local.INFO: Extracted packet for processing {"connection_id":162461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e4b"} 
[2026-08-26 19:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664319488001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:10: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-26 19:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787751549000,"timestamp_ms":1787751549000,"timestamp_seconds":1787751549,"priority":1,"record_length":96,"hex_timestamp":"000001a03e4bc848"} 
[2026-08-26 19: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-26 19:10: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-26 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 19:10: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-26 19: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-26 19: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-26 19:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664319488001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664319488001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:10:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:10:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664319488001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":162461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:10:47] local.INFO: GPS data processed {"connection_id":162461,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:10:47] local.INFO: Acknowledgment sent {"connection_id":162461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:10:52] local.INFO: TCP Data received {"connection_id":162461,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:10:52] local.INFO: Processing buffer {"connection_id":162461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:10:52] local.INFO: Packet analysis {"connection_id":162461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e4b"} 
[2026-08-26 19:10:52] local.INFO: Extracted packet for processing {"connection_id":162461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e4b"} 
[2026-08-26 19:10:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664319488001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:10: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-26 19:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787751549000,"timestamp_ms":1787751549000,"timestamp_seconds":1787751549,"priority":1,"record_length":96,"hex_timestamp":"000001a03e4bc848"} 
[2026-08-26 19: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-26 19:10: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-26 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 19:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 19: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-26 19: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-26 19:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664319488001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664319488001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:10:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:10:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664319488001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":162461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:10:52] local.INFO: GPS data processed {"connection_id":162461,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:10:52] local.INFO: Acknowledgment sent {"connection_id":162461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:11:36] local.INFO: TCP Data received {"connection_id":162698,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:11:36] local.INFO: Processing buffer {"connection_id":162698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:11:36] local.INFO: IMEI packet received {"connection_id":162698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":162698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:11:41] local.INFO: TCP Data received {"connection_id":162698,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:11:41] local.INFO: Processing buffer {"connection_id":162698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:11:41] local.INFO: IMEI packet received {"connection_id":162698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":162698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:11:42] local.INFO: TCP Data received {"connection_id":162698,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:11:42] local.INFO: Processing buffer {"connection_id":162698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:11:42] local.INFO: Packet analysis {"connection_id":162698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e4b"} 
[2026-08-26 19:11:42] local.INFO: Extracted packet for processing {"connection_id":162698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e4b"} 
[2026-08-26 19:11:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664319488001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19: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-26 19:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787751549000,"timestamp_ms":1787751549000,"timestamp_seconds":1787751549,"priority":1,"record_length":96,"hex_timestamp":"000001a03e4bc848"} 
[2026-08-26 19: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-26 19: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-26 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 19:11: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-26 19: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-26 19: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-26 19:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664319488001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664319488001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:11:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:11:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664319488001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":162698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:11:42] local.INFO: GPS data processed {"connection_id":162698,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:11:42] local.INFO: Acknowledgment sent {"connection_id":162698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:12:13] local.INFO: TCP Data received {"connection_id":162698,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:12:13] local.INFO: Processing buffer {"connection_id":162698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:12:13] local.INFO: Packet analysis {"connection_id":162698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e4b"} 
[2026-08-26 19:12:13] local.INFO: Extracted packet for processing {"connection_id":162698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e4b"} 
[2026-08-26 19:12:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 19:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664319488001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:12: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-26 19:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787751549000,"timestamp_ms":1787751549000,"timestamp_seconds":1787751549,"priority":1,"record_length":96,"hex_timestamp":"000001a03e4bc848"} 
[2026-08-26 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-26 19:12: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-26 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":31,"data_length":795,"current_offset":136} 
[2026-08-26 19:12: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-26 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-26 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-26 19:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664319488001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664319488001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:12:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:12:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664319488001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":162698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:12:13] local.INFO: GPS data processed {"connection_id":162698,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:12:13] local.INFO: Acknowledgment sent {"connection_id":162698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:12:36] local.INFO: TCP Data received {"connection_id":162699,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:12:36] local.INFO: Processing buffer {"connection_id":162699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:12:36] local.INFO: IMEI packet received {"connection_id":162699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":162699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:12:41] local.INFO: TCP Data received {"connection_id":162699,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:12:41] local.INFO: Processing buffer {"connection_id":162699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:12:41] local.INFO: IMEI packet received {"connection_id":162699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":162699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:12:42] local.INFO: TCP Data received {"connection_id":162699,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:12:42] local.INFO: Processing buffer {"connection_id":162699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:12:42] local.INFO: Packet analysis {"connection_id":162699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e4b"} 
[2026-08-26 19:12:42] local.INFO: Extracted packet for processing {"connection_id":162699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e4b"} 
[2026-08-26 19:12:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664319488001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:12: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-26 19:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787751549000,"timestamp_ms":1787751549000,"timestamp_seconds":1787751549,"priority":1,"record_length":96,"hex_timestamp":"000001a03e4bc848"} 
[2026-08-26 19:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 19:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 19:12: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-26 19:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664319488001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664319488001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:12:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:12:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664319488001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":162699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:12:42] local.INFO: GPS data processed {"connection_id":162699,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:12:42] local.INFO: Acknowledgment sent {"connection_id":162699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:13:13] local.INFO: TCP Data received {"connection_id":162699,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:13:13] local.INFO: Processing buffer {"connection_id":162699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:13:13] local.INFO: Packet analysis {"connection_id":162699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e4b"} 
[2026-08-26 19:13:13] local.INFO: Extracted packet for processing {"connection_id":162699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e4b"} 
[2026-08-26 19:13:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664319488001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:13: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-26 19:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787751549000,"timestamp_ms":1787751549000,"timestamp_seconds":1787751549,"priority":1,"record_length":96,"hex_timestamp":"000001a03e4bc848"} 
[2026-08-26 19: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-26 19:13: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-26 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 19:13: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-26 19: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-26 19: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-26 19:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664319488001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664319488001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:13:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:13:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664319488001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":162699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:13:13] local.INFO: GPS data processed {"connection_id":162699,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:13:13] local.INFO: Acknowledgment sent {"connection_id":162699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:13:37] local.INFO: TCP Data received {"connection_id":163727,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:13:37] local.INFO: Processing buffer {"connection_id":163727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:13:37] local.INFO: IMEI packet received {"connection_id":163727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":163727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:13:39] local.INFO: TCP Data received {"connection_id":163728,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 19:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163728,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 19:13:39] local.INFO: Processing buffer {"connection_id":163728,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-26 19:13:39] local.INFO: Packet analysis {"connection_id":163728,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 19:13:39] local.INFO: Extracted packet for processing {"connection_id":163728,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-26 19:13: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-26 19:13:39] 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-26 19:13:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-26 19:13:39] 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-26 19:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-26 19:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-26 19:13:39] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163728,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-26 19:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163728,"device_imei":null,"avl_records_count":1} 
[2026-08-26 19:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163728,"device_imei":null,"avl_records_count":1} 
[2026-08-26 19:13:39] 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-26 19:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":163728,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-26 19:13:39] local.INFO: GPS data processed {"connection_id":163728,"processed":0,"errors":0,"total":1} 
[2026-08-26 19:13:39] local.INFO: Acknowledgment sent {"connection_id":163728,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:13:41] local.INFO: TCP Data received {"connection_id":163727,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:13:41] local.INFO: Processing buffer {"connection_id":163727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:13:41] local.INFO: IMEI packet received {"connection_id":163727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":163727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:13:42] local.INFO: TCP Data received {"connection_id":163727,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:13:42] local.INFO: Processing buffer {"connection_id":163727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:13:42] local.INFO: Packet analysis {"connection_id":163727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e4b"} 
[2026-08-26 19:13:42] local.INFO: Extracted packet for processing {"connection_id":163727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e4b"} 
[2026-08-26 19:13:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664319488001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:13: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-26 19:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787751549000,"timestamp_ms":1787751549000,"timestamp_seconds":1787751549,"priority":1,"record_length":96,"hex_timestamp":"000001a03e4bc848"} 
[2026-08-26 19:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:13: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-26 19:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 19:13: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-26 19:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664319488001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664319488001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:13:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:13:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664319488001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":163727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:13:42] local.INFO: GPS data processed {"connection_id":163727,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:13:42] local.INFO: Acknowledgment sent {"connection_id":163727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:14:14] local.INFO: TCP Data received {"connection_id":163727,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:14:14] local.INFO: Processing buffer {"connection_id":163727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:14:14] local.INFO: Packet analysis {"connection_id":163727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e4b"} 
[2026-08-26 19:14:14] local.INFO: Extracted packet for processing {"connection_id":163727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e4b"} 
[2026-08-26 19:14:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664319488001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:14: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-26 19:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787751549000,"timestamp_ms":1787751549000,"timestamp_seconds":1787751549,"priority":1,"record_length":96,"hex_timestamp":"000001a03e4bc848"} 
[2026-08-26 19: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-26 19: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-26 19: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 19:14: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-26 19: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-26 19: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-26 19:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664319488001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664319488001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:14:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:14:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664319488001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":163727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:14:14] local.INFO: GPS data processed {"connection_id":163727,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:14:14] local.INFO: Acknowledgment sent {"connection_id":163727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:14:36] local.INFO: TCP Data received {"connection_id":162463,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:14:36] local.INFO: Processing buffer {"connection_id":162463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:14:36] local.INFO: IMEI packet received {"connection_id":162463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":162463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:14:41] local.INFO: TCP Data received {"connection_id":162463,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:14:41] local.INFO: Processing buffer {"connection_id":162463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:14:41] local.INFO: IMEI packet received {"connection_id":162463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":162463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:14:42] local.INFO: TCP Data received {"connection_id":162463,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:14:42] local.INFO: Processing buffer {"connection_id":162463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e4bc848012d34c14006aa4818000400e62c..."} 
[2026-08-26 19:14:42] local.INFO: Packet analysis {"connection_id":162463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e4b"} 
[2026-08-26 19:14:42] local.INFO: Extracted packet for processing {"connection_id":162463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e4b"} 
[2026-08-26 19:14:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664319488001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19: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-26 19:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787751549000,"timestamp_ms":1787751549000,"timestamp_seconds":1787751549,"priority":1,"record_length":96,"hex_timestamp":"000001a03e4bc848"} 
[2026-08-26 19:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19: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-26 19:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 19:14: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-26 19:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664319488001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664319488001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:14:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:14:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664319488001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":162463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:14:42] local.INFO: GPS data processed {"connection_id":162463,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:14:42] local.INFO: Acknowledgment sent {"connection_id":162463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:15:12] local.INFO: TCP Data received {"connection_id":162462,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:15:12] local.INFO: Processing buffer {"connection_id":162462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:15:12] local.INFO: IMEI packet received {"connection_id":162462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 19:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":162462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:15:13] local.INFO: TCP Data received {"connection_id":162463,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:15:13] local.INFO: Processing buffer {"connection_id":162463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:15:13] local.INFO: Packet analysis {"connection_id":162463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e50"} 
[2026-08-26 19:15:13] local.INFO: Extracted packet for processing {"connection_id":162463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e50"} 
[2026-08-26 19:15:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664396544001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:15: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-26 19:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787751850000,"timestamp_ms":1787751850000,"timestamp_seconds":1787751850,"priority":1,"record_length":96,"hex_timestamp":"000001a03e506010"} 
[2026-08-26 19: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-26 19:15: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-26 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:15:13] 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-26 19: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-26 19: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-26 19:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664396544001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664396544001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:15:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:15:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664396544001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":162463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:15:13] local.INFO: GPS data processed {"connection_id":162463,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:15:13] local.INFO: Acknowledgment sent {"connection_id":162463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:15:41] local.INFO: TCP Data received {"connection_id":162700,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:15:41] local.INFO: Processing buffer {"connection_id":162700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:15:41] local.INFO: IMEI packet received {"connection_id":162700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":162700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:15:46] local.INFO: TCP Data received {"connection_id":162700,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:15:46] local.INFO: Processing buffer {"connection_id":162700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:15:46] local.INFO: IMEI packet received {"connection_id":162700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":162700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:15:47] local.INFO: TCP Data received {"connection_id":162700,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:15:47] local.INFO: Processing buffer {"connection_id":162700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:15:47] local.INFO: Packet analysis {"connection_id":162700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e50"} 
[2026-08-26 19:15:47] local.INFO: Extracted packet for processing {"connection_id":162700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e50"} 
[2026-08-26 19:15:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 19:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664396544001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:15: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-26 19:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787751850000,"timestamp_ms":1787751850000,"timestamp_seconds":1787751850,"priority":1,"record_length":96,"hex_timestamp":"000001a03e506010"} 
[2026-08-26 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-26 19:15: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-26 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:15:47] 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-26 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-26 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-26 19:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664396544001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664396544001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:15:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:15:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664396544001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":162700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:15:47] local.INFO: GPS data processed {"connection_id":162700,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:15:47] local.INFO: Acknowledgment sent {"connection_id":162700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:15:52] local.INFO: TCP Data received {"connection_id":162700,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:15:52] local.INFO: Processing buffer {"connection_id":162700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:15:52] local.INFO: Packet analysis {"connection_id":162700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e50"} 
[2026-08-26 19:15:52] local.INFO: Extracted packet for processing {"connection_id":162700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e50"} 
[2026-08-26 19:15:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664396544001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:15: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-26 19:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787751850000,"timestamp_ms":1787751850000,"timestamp_seconds":1787751850,"priority":1,"record_length":96,"hex_timestamp":"000001a03e506010"} 
[2026-08-26 19: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-26 19:15: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-26 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:15:52] 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-26 19: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-26 19: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-26 19:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664396544001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664396544001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:15:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:15:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664396544001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":162700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:15:52] local.INFO: GPS data processed {"connection_id":162700,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:15:52] local.INFO: Acknowledgment sent {"connection_id":162700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:16:36] local.INFO: TCP Data received {"connection_id":163729,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:16:36] local.INFO: Processing buffer {"connection_id":163729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:16:36] local.INFO: IMEI packet received {"connection_id":163729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":163729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:16:41] local.INFO: TCP Data received {"connection_id":163729,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:16:41] local.INFO: Processing buffer {"connection_id":163729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:16:41] local.INFO: IMEI packet received {"connection_id":163729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":163729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:16:42] local.INFO: TCP Data received {"connection_id":163729,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:16:42] local.INFO: Processing buffer {"connection_id":163729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:16:42] local.INFO: Packet analysis {"connection_id":163729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e50"} 
[2026-08-26 19:16:42] local.INFO: Extracted packet for processing {"connection_id":163729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e50"} 
[2026-08-26 19:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664396544001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19: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-26 19:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787751850000,"timestamp_ms":1787751850000,"timestamp_seconds":1787751850,"priority":1,"record_length":96,"hex_timestamp":"000001a03e506010"} 
[2026-08-26 19: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-26 19:16: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-26 19: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":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:16:42] 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-26 19: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-26 19: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-26 19:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664396544001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664396544001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:16:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664396544001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":163729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:16:42] local.INFO: GPS data processed {"connection_id":163729,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:16:42] local.INFO: Acknowledgment sent {"connection_id":163729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:17:15] local.INFO: TCP Data received {"connection_id":163729,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:17:15] local.INFO: Processing buffer {"connection_id":163729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:17:15] local.INFO: Packet analysis {"connection_id":163729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e50"} 
[2026-08-26 19:17:15] local.INFO: Extracted packet for processing {"connection_id":163729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e50"} 
[2026-08-26 19:17:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664396544001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19: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-26 19:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787751850000,"timestamp_ms":1787751850000,"timestamp_seconds":1787751850,"priority":1,"record_length":96,"hex_timestamp":"000001a03e506010"} 
[2026-08-26 19: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-26 19:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 19: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":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:17:15] 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-26 19: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-26 19: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-26 19:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664396544001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664396544001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:17:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:17:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664396544001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":163729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:17:15] local.INFO: GPS data processed {"connection_id":163729,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:17:15] local.INFO: Acknowledgment sent {"connection_id":163729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:17:36] local.INFO: TCP Data received {"connection_id":162464,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:17:36] local.INFO: Processing buffer {"connection_id":162464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:17:36] local.INFO: IMEI packet received {"connection_id":162464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":162464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:17:41] local.INFO: TCP Data received {"connection_id":162464,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:17:41] local.INFO: Processing buffer {"connection_id":162464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:17:41] local.INFO: IMEI packet received {"connection_id":162464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":162464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:17:42] local.INFO: TCP Data received {"connection_id":162464,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:17:42] local.INFO: Processing buffer {"connection_id":162464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:17:42] local.INFO: Packet analysis {"connection_id":162464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e50"} 
[2026-08-26 19:17:42] local.INFO: Extracted packet for processing {"connection_id":162464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e50"} 
[2026-08-26 19:17:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664396544001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:17: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-26 19:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787751850000,"timestamp_ms":1787751850000,"timestamp_seconds":1787751850,"priority":1,"record_length":96,"hex_timestamp":"000001a03e506010"} 
[2026-08-26 19:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:17: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-26 19:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:17:42] 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-26 19:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664396544001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664396544001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:17:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:17:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664396544001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":162464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:17:42] local.INFO: GPS data processed {"connection_id":162464,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:17:42] local.INFO: Acknowledgment sent {"connection_id":162464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:18:14] local.INFO: TCP Data received {"connection_id":162464,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:18:14] local.INFO: Processing buffer {"connection_id":162464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:18:14] local.INFO: Packet analysis {"connection_id":162464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e50"} 
[2026-08-26 19:18:14] local.INFO: Extracted packet for processing {"connection_id":162464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e50"} 
[2026-08-26 19:18:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664396544001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:18: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-26 19:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787751850000,"timestamp_ms":1787751850000,"timestamp_seconds":1787751850,"priority":1,"record_length":96,"hex_timestamp":"000001a03e506010"} 
[2026-08-26 19:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:18: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-26 19:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:18: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-26 19:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664396544001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664396544001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:18:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:18:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664396544001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":162464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:18:14] local.INFO: GPS data processed {"connection_id":162464,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:18:14] local.INFO: Acknowledgment sent {"connection_id":162464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:18:36] local.INFO: TCP Data received {"connection_id":162701,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:18:36] local.INFO: Processing buffer {"connection_id":162701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:18:36] local.INFO: IMEI packet received {"connection_id":162701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":162701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:18:41] local.INFO: TCP Data received {"connection_id":162701,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:18:41] local.INFO: Processing buffer {"connection_id":162701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:18:41] local.INFO: IMEI packet received {"connection_id":162701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":162701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:18:42] local.INFO: TCP Data received {"connection_id":162701,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:18:42] local.INFO: Processing buffer {"connection_id":162701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:18:42] local.INFO: Packet analysis {"connection_id":162701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e50"} 
[2026-08-26 19:18:42] local.INFO: Extracted packet for processing {"connection_id":162701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e50"} 
[2026-08-26 19:18:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664396544001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19: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-26 19:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787751850000,"timestamp_ms":1787751850000,"timestamp_seconds":1787751850,"priority":1,"record_length":96,"hex_timestamp":"000001a03e506010"} 
[2026-08-26 19: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-26 19:18: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-26 19: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":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:18:42] 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-26 19: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-26 19: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-26 19:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664396544001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664396544001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:18:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:18:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664396544001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":162701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:18:42] local.INFO: GPS data processed {"connection_id":162701,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:18:42] local.INFO: Acknowledgment sent {"connection_id":162701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:19:14] local.INFO: TCP Data received {"connection_id":162701,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:19:14] local.INFO: Processing buffer {"connection_id":162701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:19:14] local.INFO: Packet analysis {"connection_id":162701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e50"} 
[2026-08-26 19:19:14] local.INFO: Extracted packet for processing {"connection_id":162701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e50"} 
[2026-08-26 19:19:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664396544001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:19: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-26 19:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787751850000,"timestamp_ms":1787751850000,"timestamp_seconds":1787751850,"priority":1,"record_length":96,"hex_timestamp":"000001a03e506010"} 
[2026-08-26 19:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:19: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-26 19:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:19: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-26 19:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664396544001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664396544001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:19:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:19:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664396544001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":162701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:19:14] local.INFO: GPS data processed {"connection_id":162701,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:19:14] local.INFO: Acknowledgment sent {"connection_id":162701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:19:36] local.INFO: TCP Data received {"connection_id":163730,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:19:36] local.INFO: Processing buffer {"connection_id":163730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:19:36] local.INFO: IMEI packet received {"connection_id":163730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":163730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:19:41] local.INFO: TCP Data received {"connection_id":163730,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:19:41] local.INFO: Processing buffer {"connection_id":163730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:19:41] local.INFO: IMEI packet received {"connection_id":163730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":163730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:19:42] local.INFO: TCP Data received {"connection_id":163730,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:19:42] local.INFO: Processing buffer {"connection_id":163730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e506010012d34c14006aa4818000900e62d..."} 
[2026-08-26 19:19:42] local.INFO: Packet analysis {"connection_id":163730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e50"} 
[2026-08-26 19:19:42] local.INFO: Extracted packet for processing {"connection_id":163730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e50"} 
[2026-08-26 19:19:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664396544001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19: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-26 19:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787751850000,"timestamp_ms":1787751850000,"timestamp_seconds":1787751850,"priority":1,"record_length":96,"hex_timestamp":"000001a03e506010"} 
[2026-08-26 19: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-26 19:19: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-26 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:19:42] 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-26 19: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-26 19: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-26 19:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664396544001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664396544001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:19:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:19:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664396544001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":163730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:19:42] local.INFO: GPS data processed {"connection_id":163730,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:19:42] local.INFO: Acknowledgment sent {"connection_id":163730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:20:13] local.INFO: TCP Data received {"connection_id":163730,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:20:13] local.INFO: Processing buffer {"connection_id":163730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:20:13] local.INFO: Packet analysis {"connection_id":163730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e54"} 
[2026-08-26 19:20:13] local.INFO: Extracted packet for processing {"connection_id":163730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e54"} 
[2026-08-26 19:20:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664473600001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:20: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-26 19:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787752151000,"timestamp_ms":1787752151000,"timestamp_seconds":1787752151,"priority":1,"record_length":96,"hex_timestamp":"000001a03e54f7d8"} 
[2026-08-26 19: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-26 19:20: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-26 19: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 19:20: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-26 19: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-26 19: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-26 19:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664473600001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664473600001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:20:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:20:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664473600001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":163730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:20:13] local.INFO: GPS data processed {"connection_id":163730,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:20:13] local.INFO: Acknowledgment sent {"connection_id":163730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:20:41] local.INFO: TCP Data received {"connection_id":162466,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:20:41] local.INFO: Processing buffer {"connection_id":162466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:20:41] local.INFO: IMEI packet received {"connection_id":162466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":162466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:20:46] local.INFO: TCP Data received {"connection_id":162466,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:20:46] local.INFO: Processing buffer {"connection_id":162466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:20:46] local.INFO: IMEI packet received {"connection_id":162466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":162466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:20:47] local.INFO: TCP Data received {"connection_id":162465,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:20:47] local.INFO: Processing buffer {"connection_id":162465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:20:47] local.INFO: IMEI packet received {"connection_id":162465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 19:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":162465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:20:47] local.INFO: TCP Data received {"connection_id":162466,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:20:47] local.INFO: Processing buffer {"connection_id":162466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:20:47] local.INFO: Packet analysis {"connection_id":162466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e54"} 
[2026-08-26 19:20:47] local.INFO: Extracted packet for processing {"connection_id":162466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e54"} 
[2026-08-26 19:20:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 19:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664473600001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:20: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-26 19:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787752151000,"timestamp_ms":1787752151000,"timestamp_seconds":1787752151,"priority":1,"record_length":96,"hex_timestamp":"000001a03e54f7d8"} 
[2026-08-26 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-26 19:20: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-26 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 19:20:47] 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-26 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-26 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-26 19:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664473600001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664473600001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:20:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:20:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664473600001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":162466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:20:47] local.INFO: GPS data processed {"connection_id":162466,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:20:47] local.INFO: Acknowledgment sent {"connection_id":162466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:20:52] local.INFO: TCP Data received {"connection_id":162466,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:20:52] local.INFO: Processing buffer {"connection_id":162466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:20:52] local.INFO: Packet analysis {"connection_id":162466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e54"} 
[2026-08-26 19:20:52] local.INFO: Extracted packet for processing {"connection_id":162466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e54"} 
[2026-08-26 19:20:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664473600001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:20: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-26 19:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787752151000,"timestamp_ms":1787752151000,"timestamp_seconds":1787752151,"priority":1,"record_length":96,"hex_timestamp":"000001a03e54f7d8"} 
[2026-08-26 19: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-26 19:20: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-26 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 19:20:52] 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-26 19:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19: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-26 19:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664473600001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664473600001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:20:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:20:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664473600001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":162466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:20:52] local.INFO: GPS data processed {"connection_id":162466,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:20:52] local.INFO: Acknowledgment sent {"connection_id":162466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:21:36] local.INFO: TCP Data received {"connection_id":162702,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:21:36] local.INFO: Processing buffer {"connection_id":162702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:21:36] local.INFO: IMEI packet received {"connection_id":162702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":162702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:21:42] local.INFO: TCP Data received {"connection_id":162702,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:21:42] local.INFO: Processing buffer {"connection_id":162702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:21:42] local.INFO: IMEI packet received {"connection_id":162702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":162702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:21:43] local.INFO: TCP Data received {"connection_id":162702,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:21:43] local.INFO: Processing buffer {"connection_id":162702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:21:43] local.INFO: Packet analysis {"connection_id":162702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e54"} 
[2026-08-26 19:21:43] local.INFO: Extracted packet for processing {"connection_id":162702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e54"} 
[2026-08-26 19:21:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664473600001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:21: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-26 19:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787752151000,"timestamp_ms":1787752151000,"timestamp_seconds":1787752151,"priority":1,"record_length":96,"hex_timestamp":"000001a03e54f7d8"} 
[2026-08-26 19:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:21: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-26 19:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 19:21:43] 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-26 19:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664473600001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664473600001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:21:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:21:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664473600001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":162702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:21:43] local.INFO: GPS data processed {"connection_id":162702,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:21:43] local.INFO: Acknowledgment sent {"connection_id":162702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:22:17] local.INFO: TCP Data received {"connection_id":162702,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:22:17] local.INFO: Processing buffer {"connection_id":162702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:22:17] local.INFO: Packet analysis {"connection_id":162702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e54"} 
[2026-08-26 19:22:17] local.INFO: Extracted packet for processing {"connection_id":162702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e54"} 
[2026-08-26 19:22:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664473600001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:22: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-26 19:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787752151000,"timestamp_ms":1787752151000,"timestamp_seconds":1787752151,"priority":1,"record_length":96,"hex_timestamp":"000001a03e54f7d8"} 
[2026-08-26 19:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:22: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-26 19:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 19:22:17] 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-26 19:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664473600001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664473600001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:22:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:22:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664473600001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":162702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:22:17] local.INFO: GPS data processed {"connection_id":162702,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:22:17] local.INFO: Acknowledgment sent {"connection_id":162702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:22:36] local.INFO: TCP Data received {"connection_id":162703,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:22:36] local.INFO: Processing buffer {"connection_id":162703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:22:36] local.INFO: IMEI packet received {"connection_id":162703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":162703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:22:41] local.INFO: TCP Data received {"connection_id":162703,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:22:41] local.INFO: Processing buffer {"connection_id":162703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:22:41] local.INFO: IMEI packet received {"connection_id":162703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":162703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:22:42] local.INFO: TCP Data received {"connection_id":162703,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:22:42] local.INFO: Processing buffer {"connection_id":162703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:22:42] local.INFO: Packet analysis {"connection_id":162703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e54"} 
[2026-08-26 19:22:42] local.INFO: Extracted packet for processing {"connection_id":162703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e54"} 
[2026-08-26 19:22:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664473600001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:22: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-26 19:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787752151000,"timestamp_ms":1787752151000,"timestamp_seconds":1787752151,"priority":1,"record_length":96,"hex_timestamp":"000001a03e54f7d8"} 
[2026-08-26 19:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:22: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-26 19:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 19:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 19:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664473600001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664473600001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:22:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:22:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664473600001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":162703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:22:42] local.INFO: GPS data processed {"connection_id":162703,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:22:42] local.INFO: Acknowledgment sent {"connection_id":162703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:23:14] local.INFO: TCP Data received {"connection_id":162703,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:23:14] local.INFO: Processing buffer {"connection_id":162703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:23:14] local.INFO: Packet analysis {"connection_id":162703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e54"} 
[2026-08-26 19:23:14] local.INFO: Extracted packet for processing {"connection_id":162703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e54"} 
[2026-08-26 19:23:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 19:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664473600001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:23: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-26 19:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787752151000,"timestamp_ms":1787752151000,"timestamp_seconds":1787752151,"priority":1,"record_length":96,"hex_timestamp":"000001a03e54f7d8"} 
[2026-08-26 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-26 19:23: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-26 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 19:23: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-26 19:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 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-26 19:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664473600001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664473600001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:23:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:23:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664473600001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":162703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:23:14] local.INFO: GPS data processed {"connection_id":162703,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:23:14] local.INFO: Acknowledgment sent {"connection_id":162703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:23:36] local.INFO: TCP Data received {"connection_id":165069,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:23:36] local.INFO: Processing buffer {"connection_id":165069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:23:36] local.INFO: IMEI packet received {"connection_id":165069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":165069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:23:41] local.INFO: TCP Data received {"connection_id":165069,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:23:41] local.INFO: Processing buffer {"connection_id":165069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:23:41] local.INFO: IMEI packet received {"connection_id":165069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":165069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:23:42] local.INFO: TCP Data received {"connection_id":165069,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:23:42] local.INFO: Processing buffer {"connection_id":165069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:23:42] local.INFO: Packet analysis {"connection_id":165069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e54"} 
[2026-08-26 19:23:42] local.INFO: Extracted packet for processing {"connection_id":165069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e54"} 
[2026-08-26 19:23:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664473600001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19: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-26 19:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787752151000,"timestamp_ms":1787752151000,"timestamp_seconds":1787752151,"priority":1,"record_length":96,"hex_timestamp":"000001a03e54f7d8"} 
[2026-08-26 19:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19: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-26 19:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 19:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 19:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664473600001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664473600001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:23:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:23:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664473600001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":165069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:23:42] local.INFO: GPS data processed {"connection_id":165069,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:23:42] local.INFO: Acknowledgment sent {"connection_id":165069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:24:14] local.INFO: TCP Data received {"connection_id":165069,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:24:14] local.INFO: Processing buffer {"connection_id":165069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:24:14] local.INFO: Packet analysis {"connection_id":165069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e54"} 
[2026-08-26 19:24:14] local.INFO: Extracted packet for processing {"connection_id":165069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e54"} 
[2026-08-26 19:24:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 19:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664473600001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:24: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-26 19:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787752151000,"timestamp_ms":1787752151000,"timestamp_seconds":1787752151,"priority":1,"record_length":96,"hex_timestamp":"000001a03e54f7d8"} 
[2026-08-26 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-26 19:24: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-26 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-26 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-26 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-26 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-26 19:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664473600001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664473600001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:24:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:24:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664473600001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":165069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:24:14] local.INFO: GPS data processed {"connection_id":165069,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:24:14] local.INFO: Acknowledgment sent {"connection_id":165069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:24:41] local.INFO: TCP Data received {"connection_id":162704,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:24:41] local.INFO: Processing buffer {"connection_id":162704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:24:41] local.INFO: IMEI packet received {"connection_id":162704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":162704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:24:46] local.INFO: TCP Data received {"connection_id":162704,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:24:46] local.INFO: Processing buffer {"connection_id":162704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:24:46] local.INFO: IMEI packet received {"connection_id":162704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":162704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:24:47] local.INFO: TCP Data received {"connection_id":162704,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:24:47] local.INFO: Processing buffer {"connection_id":162704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e54f7d8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:24:47] local.INFO: Packet analysis {"connection_id":162704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e54"} 
[2026-08-26 19:24:47] local.INFO: Extracted packet for processing {"connection_id":162704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e54"} 
[2026-08-26 19:24:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 19:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664473600001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:24: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-26 19:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787752151000,"timestamp_ms":1787752151000,"timestamp_seconds":1787752151,"priority":1,"record_length":96,"hex_timestamp":"000001a03e54f7d8"} 
[2026-08-26 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-26 19:24: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-26 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 19:24:47] 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-26 19: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-26 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-26 19:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664473600001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664473600001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:24:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:24:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664473600001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":162704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:24:47] local.INFO: GPS data processed {"connection_id":162704,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:24:47] local.INFO: Acknowledgment sent {"connection_id":162704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:24:51] local.INFO: TCP Data received {"connection_id":162704,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:24:51] local.INFO: Processing buffer {"connection_id":162704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:24:51] local.INFO: Packet analysis {"connection_id":162704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e59"} 
[2026-08-26 19:24:51] local.INFO: Extracted packet for processing {"connection_id":162704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e59"} 
[2026-08-26 19:24:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664550656001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 19:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787752452000,"timestamp_ms":1787752452000,"timestamp_seconds":1787752452,"priority":1,"record_length":96,"hex_timestamp":"000001a03e598fa0"} 
[2026-08-26 19:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 19:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:24:51] 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-26 19:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664550656001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664550656001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:24:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:24:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664550656001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":162704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:24:51] local.INFO: GPS data processed {"connection_id":162704,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:24:51] local.INFO: Acknowledgment sent {"connection_id":162704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:25:37] local.INFO: TCP Data received {"connection_id":163731,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:25:37] local.INFO: Processing buffer {"connection_id":163731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:25:37] local.INFO: IMEI packet received {"connection_id":163731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":163731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:25:41] local.INFO: TCP Data received {"connection_id":163731,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:25:41] local.INFO: Processing buffer {"connection_id":163731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:25:41] local.INFO: IMEI packet received {"connection_id":163731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":163731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:25:42] local.INFO: TCP Data received {"connection_id":163731,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:25:42] local.INFO: Processing buffer {"connection_id":163731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:25:42] local.INFO: Packet analysis {"connection_id":163731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e59"} 
[2026-08-26 19:25:42] local.INFO: Extracted packet for processing {"connection_id":163731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e59"} 
[2026-08-26 19:25:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664550656001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:25: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-26 19:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787752452000,"timestamp_ms":1787752452000,"timestamp_seconds":1787752452,"priority":1,"record_length":96,"hex_timestamp":"000001a03e598fa0"} 
[2026-08-26 19: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-26 19:25: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-26 19: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":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:25:42] 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-26 19: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-26 19: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-26 19:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664550656001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664550656001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:25:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:25:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664550656001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":163731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:25:42] local.INFO: GPS data processed {"connection_id":163731,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:25:42] local.INFO: Acknowledgment sent {"connection_id":163731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:26:15] local.INFO: TCP Data received {"connection_id":163731,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:26:15] local.INFO: Processing buffer {"connection_id":163731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:26:15] local.INFO: Packet analysis {"connection_id":163731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e59"} 
[2026-08-26 19:26:15] local.INFO: Extracted packet for processing {"connection_id":163731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e59"} 
[2026-08-26 19:26:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664550656001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19: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-26 19:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787752452000,"timestamp_ms":1787752452000,"timestamp_seconds":1787752452,"priority":1,"record_length":96,"hex_timestamp":"000001a03e598fa0"} 
[2026-08-26 19:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19: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-26 19:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:26:15] 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-26 19:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664550656001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664550656001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:26:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:26:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664550656001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":163731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:26:15] local.INFO: GPS data processed {"connection_id":163731,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:26:15] local.INFO: Acknowledgment sent {"connection_id":163731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:26:22] local.INFO: TCP Data received {"connection_id":165068,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:26:22] local.INFO: Processing buffer {"connection_id":165068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:26:22] local.INFO: IMEI packet received {"connection_id":165068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 19:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":165068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:26:36] local.INFO: TCP Data received {"connection_id":163732,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:26:36] local.INFO: Processing buffer {"connection_id":163732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:26:36] local.INFO: IMEI packet received {"connection_id":163732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":163732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:26:41] local.INFO: TCP Data received {"connection_id":163732,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:26:41] local.INFO: Processing buffer {"connection_id":163732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:26:41] local.INFO: IMEI packet received {"connection_id":163732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":163732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:26:42] local.INFO: TCP Data received {"connection_id":163732,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:26:42] local.INFO: Processing buffer {"connection_id":163732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:26:42] local.INFO: Packet analysis {"connection_id":163732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e59"} 
[2026-08-26 19:26:42] local.INFO: Extracted packet for processing {"connection_id":163732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e59"} 
[2026-08-26 19:26:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664550656001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:26: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-26 19:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787752452000,"timestamp_ms":1787752452000,"timestamp_seconds":1787752452,"priority":1,"record_length":96,"hex_timestamp":"000001a03e598fa0"} 
[2026-08-26 19:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:26: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-26 19:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:26:42] 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-26 19:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664550656001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664550656001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:26:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:26:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664550656001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":163732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:26:42] local.INFO: GPS data processed {"connection_id":163732,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:26:42] local.INFO: Acknowledgment sent {"connection_id":163732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:27:13] local.INFO: TCP Data received {"connection_id":163732,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:27:13] local.INFO: Processing buffer {"connection_id":163732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:27:13] local.INFO: Packet analysis {"connection_id":163732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e59"} 
[2026-08-26 19:27:13] local.INFO: Extracted packet for processing {"connection_id":163732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e59"} 
[2026-08-26 19:27:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664550656001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:27: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-26 19:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787752452000,"timestamp_ms":1787752452000,"timestamp_seconds":1787752452,"priority":1,"record_length":96,"hex_timestamp":"000001a03e598fa0"} 
[2026-08-26 19:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:27: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-26 19:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:27:13] 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-26 19:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664550656001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664550656001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:27:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:27:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664550656001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":163732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:27:13] local.INFO: GPS data processed {"connection_id":163732,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:27:13] local.INFO: Acknowledgment sent {"connection_id":163732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:27:36] local.INFO: TCP Data received {"connection_id":163733,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:27:36] local.INFO: Processing buffer {"connection_id":163733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:27:36] local.INFO: IMEI packet received {"connection_id":163733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":163733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:27:41] local.INFO: TCP Data received {"connection_id":163733,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:27:41] local.INFO: Processing buffer {"connection_id":163733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:27:41] local.INFO: IMEI packet received {"connection_id":163733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":163733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:27:43] local.INFO: TCP Data received {"connection_id":163733,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:27:43] local.INFO: Processing buffer {"connection_id":163733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:27:43] local.INFO: Packet analysis {"connection_id":163733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e59"} 
[2026-08-26 19:27:43] local.INFO: Extracted packet for processing {"connection_id":163733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e59"} 
[2026-08-26 19:27:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664550656001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:27: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-26 19:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787752452000,"timestamp_ms":1787752452000,"timestamp_seconds":1787752452,"priority":1,"record_length":96,"hex_timestamp":"000001a03e598fa0"} 
[2026-08-26 19: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-26 19:27: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-26 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:27:43] 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-26 19:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19: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-26 19:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664550656001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664550656001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:27:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:27:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664550656001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":163733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:27:43] local.INFO: GPS data processed {"connection_id":163733,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:27:43] local.INFO: Acknowledgment sent {"connection_id":163733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:28:14] local.INFO: TCP Data received {"connection_id":163733,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:28:14] local.INFO: Processing buffer {"connection_id":163733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:28:14] local.INFO: Packet analysis {"connection_id":163733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e59"} 
[2026-08-26 19:28:14] local.INFO: Extracted packet for processing {"connection_id":163733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e59"} 
[2026-08-26 19:28:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 19:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664550656001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:28: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-26 19:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787752452000,"timestamp_ms":1787752452000,"timestamp_seconds":1787752452,"priority":1,"record_length":96,"hex_timestamp":"000001a03e598fa0"} 
[2026-08-26 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-26 19:28: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-26 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":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:28: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-26 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-26 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-26 19:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664550656001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664550656001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:28:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:28:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664550656001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":163733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:28:14] local.INFO: GPS data processed {"connection_id":163733,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:28:14] local.INFO: Acknowledgment sent {"connection_id":163733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:28:36] local.INFO: TCP Data received {"connection_id":165070,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:28:36] local.INFO: Processing buffer {"connection_id":165070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:28:36] local.INFO: IMEI packet received {"connection_id":165070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":165070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:28:41] local.INFO: TCP Data received {"connection_id":165070,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:28:41] local.INFO: Processing buffer {"connection_id":165070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:28:41] local.INFO: IMEI packet received {"connection_id":165070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":165070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:28:42] local.INFO: TCP Data received {"connection_id":165070,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:28:42] local.INFO: Processing buffer {"connection_id":165070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:28:42] local.INFO: Packet analysis {"connection_id":165070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e59"} 
[2026-08-26 19:28:42] local.INFO: Extracted packet for processing {"connection_id":165070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e59"} 
[2026-08-26 19:28:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664550656001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19: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-26 19:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787752452000,"timestamp_ms":1787752452000,"timestamp_seconds":1787752452,"priority":1,"record_length":96,"hex_timestamp":"000001a03e598fa0"} 
[2026-08-26 19: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-26 19: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-26 19: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":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:28:42] 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-26 19: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-26 19: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-26 19:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664550656001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664550656001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:28:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:28:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664550656001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":165070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:28:42] local.INFO: GPS data processed {"connection_id":165070,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:28:42] local.INFO: Acknowledgment sent {"connection_id":165070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:29:14] local.INFO: TCP Data received {"connection_id":165070,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:29:14] local.INFO: Processing buffer {"connection_id":165070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:29:14] local.INFO: Packet analysis {"connection_id":165070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e59"} 
[2026-08-26 19:29:14] local.INFO: Extracted packet for processing {"connection_id":165070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e59"} 
[2026-08-26 19:29:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664550656001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:29: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-26 19:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787752452000,"timestamp_ms":1787752452000,"timestamp_seconds":1787752452,"priority":1,"record_length":96,"hex_timestamp":"000001a03e598fa0"} 
[2026-08-26 19:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 19:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:29: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-26 19:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664550656001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664550656001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:29:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:29:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664550656001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":165070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:29:14] local.INFO: GPS data processed {"connection_id":165070,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:29:14] local.INFO: Acknowledgment sent {"connection_id":165070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:29:41] local.INFO: TCP Data received {"connection_id":162705,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:29:41] local.INFO: Processing buffer {"connection_id":162705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:29:41] local.INFO: IMEI packet received {"connection_id":162705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":162705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:29:46] local.INFO: TCP Data received {"connection_id":162705,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:29:46] local.INFO: Processing buffer {"connection_id":162705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:29:46] local.INFO: IMEI packet received {"connection_id":162705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":162705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:29:47] local.INFO: TCP Data received {"connection_id":162705,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:29:47] local.INFO: Processing buffer {"connection_id":162705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:29:47] local.INFO: Packet analysis {"connection_id":162705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e59"} 
[2026-08-26 19:29:47] local.INFO: Extracted packet for processing {"connection_id":162705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e59"} 
[2026-08-26 19:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 19:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664550656001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:29: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-26 19:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787752452000,"timestamp_ms":1787752452000,"timestamp_seconds":1787752452,"priority":1,"record_length":96,"hex_timestamp":"000001a03e598fa0"} 
[2026-08-26 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-26 19:29: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-26 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:29:47] 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-26 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-26 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-26 19:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664550656001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664550656001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:29:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:29:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664550656001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":162705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:29:47] local.INFO: GPS data processed {"connection_id":162705,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:29:47] local.INFO: Acknowledgment sent {"connection_id":162705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:29:51] local.INFO: TCP Data received {"connection_id":162705,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:29:51] local.INFO: Processing buffer {"connection_id":162705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e598fa0012d34c14006aa4818000700e62e..."} 
[2026-08-26 19:29:51] local.INFO: Packet analysis {"connection_id":162705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e59"} 
[2026-08-26 19:29:51] local.INFO: Extracted packet for processing {"connection_id":162705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e59"} 
[2026-08-26 19:29:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664550656001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 19:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787752452000,"timestamp_ms":1787752452000,"timestamp_seconds":1787752452,"priority":1,"record_length":96,"hex_timestamp":"000001a03e598fa0"} 
[2026-08-26 19: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-26 19:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:29:51] 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-26 19: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-26 19: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-26 19:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664550656001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664550656001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:29:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:29:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664550656001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":162705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:29:52] local.INFO: GPS data processed {"connection_id":162705,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:29:52] local.INFO: Acknowledgment sent {"connection_id":162705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:30:36] local.INFO: TCP Data received {"connection_id":162706,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:30:36] local.INFO: Processing buffer {"connection_id":162706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:30:36] local.INFO: IMEI packet received {"connection_id":162706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":162706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:30:41] local.INFO: TCP Data received {"connection_id":162706,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:30:41] local.INFO: Processing buffer {"connection_id":162706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:30:41] local.INFO: IMEI packet received {"connection_id":162706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":162706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:30:42] local.INFO: TCP Data received {"connection_id":162706,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:30:42] local.INFO: Processing buffer {"connection_id":162706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:30:42] local.INFO: Packet analysis {"connection_id":162706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e5e"} 
[2026-08-26 19:30:42] local.INFO: Extracted packet for processing {"connection_id":162706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e5e"} 
[2026-08-26 19:30:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664627712001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:30: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-26 19:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787752753000,"timestamp_ms":1787752753000,"timestamp_seconds":1787752753,"priority":1,"record_length":96,"hex_timestamp":"000001a03e5e2768"} 
[2026-08-26 19:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:30: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-26 19:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:30: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-26 19:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664627712001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664627712001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:30:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:30:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664627712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":162706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:30:42] local.INFO: GPS data processed {"connection_id":162706,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:30:42] local.INFO: Acknowledgment sent {"connection_id":162706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:31:14] local.INFO: TCP Data received {"connection_id":162706,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:31:14] local.INFO: Processing buffer {"connection_id":162706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:31:14] local.INFO: Packet analysis {"connection_id":162706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e5e"} 
[2026-08-26 19:31:14] local.INFO: Extracted packet for processing {"connection_id":162706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e5e"} 
[2026-08-26 19:31:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664627712001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19: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-26 19:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787752753000,"timestamp_ms":1787752753000,"timestamp_seconds":1787752753,"priority":1,"record_length":96,"hex_timestamp":"000001a03e5e2768"} 
[2026-08-26 19: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-26 19: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-26 19: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-26 19: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-26 19: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-26 19: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-26 19:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664627712001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664627712001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:31:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:31:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664627712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":162706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:31:14] local.INFO: GPS data processed {"connection_id":162706,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:31:14] local.INFO: Acknowledgment sent {"connection_id":162706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:31:36] local.INFO: TCP Data received {"connection_id":163734,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:31:36] local.INFO: Processing buffer {"connection_id":163734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:31:36] local.INFO: IMEI packet received {"connection_id":163734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":163734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:31:41] local.INFO: TCP Data received {"connection_id":163734,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:31:41] local.INFO: Processing buffer {"connection_id":163734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:31:41] local.INFO: IMEI packet received {"connection_id":163734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":163734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:31:43] local.INFO: TCP Data received {"connection_id":163734,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:31:43] local.INFO: Processing buffer {"connection_id":163734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:31:43] local.INFO: Packet analysis {"connection_id":163734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e5e"} 
[2026-08-26 19:31:43] local.INFO: Extracted packet for processing {"connection_id":163734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e5e"} 
[2026-08-26 19:31:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664627712001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:31: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-26 19:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787752753000,"timestamp_ms":1787752753000,"timestamp_seconds":1787752753,"priority":1,"record_length":96,"hex_timestamp":"000001a03e5e2768"} 
[2026-08-26 19:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:31: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-26 19:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:31: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-26 19:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664627712001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664627712001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:31:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:31:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664627712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":163734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:31:43] local.INFO: GPS data processed {"connection_id":163734,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:31:43] local.INFO: Acknowledgment sent {"connection_id":163734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:31:57] local.INFO: TCP Data received {"connection_id":162467,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162467,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:31:57] local.INFO: Processing buffer {"connection_id":162467,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:31:57] local.INFO: IMEI packet received {"connection_id":162467,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 19:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":162467,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:32:16] local.INFO: TCP Data received {"connection_id":163734,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:32:16] local.INFO: Processing buffer {"connection_id":163734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:32:16] local.INFO: Packet analysis {"connection_id":163734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e5e"} 
[2026-08-26 19:32:16] local.INFO: Extracted packet for processing {"connection_id":163734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e5e"} 
[2026-08-26 19:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664627712001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:32: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-26 19:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787752753000,"timestamp_ms":1787752753000,"timestamp_seconds":1787752753,"priority":1,"record_length":96,"hex_timestamp":"000001a03e5e2768"} 
[2026-08-26 19: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-26 19:32: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-26 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:32: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-26 19: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-26 19: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-26 19:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664627712001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664627712001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:32:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:32:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664627712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":163734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:32:16] local.INFO: GPS data processed {"connection_id":163734,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:32:16] local.INFO: Acknowledgment sent {"connection_id":163734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:32:36] local.INFO: TCP Data received {"connection_id":165071,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:32:36] local.INFO: Processing buffer {"connection_id":165071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:32:36] local.INFO: IMEI packet received {"connection_id":165071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":165071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:32:41] local.INFO: TCP Data received {"connection_id":165071,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:32:41] local.INFO: Processing buffer {"connection_id":165071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:32:41] local.INFO: IMEI packet received {"connection_id":165071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":165071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:32:42] local.INFO: TCP Data received {"connection_id":165071,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:32:42] local.INFO: Processing buffer {"connection_id":165071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:32:42] local.INFO: Packet analysis {"connection_id":165071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e5e"} 
[2026-08-26 19:32:42] local.INFO: Extracted packet for processing {"connection_id":165071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e5e"} 
[2026-08-26 19:32:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664627712001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:32: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-26 19:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787752753000,"timestamp_ms":1787752753000,"timestamp_seconds":1787752753,"priority":1,"record_length":96,"hex_timestamp":"000001a03e5e2768"} 
[2026-08-26 19: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-26 19:32: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-26 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:32: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-26 19: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-26 19: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-26 19:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664627712001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664627712001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:32:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:32:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664627712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":165071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:32:42] local.INFO: GPS data processed {"connection_id":165071,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:32:42] local.INFO: Acknowledgment sent {"connection_id":165071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:33:13] local.INFO: TCP Data received {"connection_id":165071,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:33:13] local.INFO: Processing buffer {"connection_id":165071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:33:13] local.INFO: Packet analysis {"connection_id":165071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e5e"} 
[2026-08-26 19:33:13] local.INFO: Extracted packet for processing {"connection_id":165071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e5e"} 
[2026-08-26 19:33:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664627712001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:33: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-26 19:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787752753000,"timestamp_ms":1787752753000,"timestamp_seconds":1787752753,"priority":1,"record_length":96,"hex_timestamp":"000001a03e5e2768"} 
[2026-08-26 19:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:33: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-26 19:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 19:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664627712001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664627712001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:33:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:33:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664627712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":165071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:33:13] local.INFO: GPS data processed {"connection_id":165071,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:33:13] local.INFO: Acknowledgment sent {"connection_id":165071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:33:41] local.INFO: TCP Data received {"connection_id":163735,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:33:41] local.INFO: Processing buffer {"connection_id":163735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:33:41] local.INFO: IMEI packet received {"connection_id":163735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":163735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:33:46] local.INFO: TCP Data received {"connection_id":163735,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:33:46] local.INFO: Processing buffer {"connection_id":163735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:33:46] local.INFO: IMEI packet received {"connection_id":163735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":163735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:33:47] local.INFO: TCP Data received {"connection_id":163735,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:33:47] local.INFO: Processing buffer {"connection_id":163735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:33:47] local.INFO: Packet analysis {"connection_id":163735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e5e"} 
[2026-08-26 19:33:47] local.INFO: Extracted packet for processing {"connection_id":163735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e5e"} 
[2026-08-26 19:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 19:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664627712001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:33: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-26 19:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787752753000,"timestamp_ms":1787752753000,"timestamp_seconds":1787752753,"priority":1,"record_length":96,"hex_timestamp":"000001a03e5e2768"} 
[2026-08-26 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-26 19:33: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-26 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:33: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-26 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-26 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-26 19:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664627712001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664627712001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:33:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:33:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664627712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":163735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:33:47] local.INFO: GPS data processed {"connection_id":163735,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:33:47] local.INFO: Acknowledgment sent {"connection_id":163735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:33:52] local.INFO: TCP Data received {"connection_id":163735,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:33:52] local.INFO: Processing buffer {"connection_id":163735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:33:52] local.INFO: Packet analysis {"connection_id":163735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e5e"} 
[2026-08-26 19:33:52] local.INFO: Extracted packet for processing {"connection_id":163735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e5e"} 
[2026-08-26 19:33:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664627712001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:33: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-26 19:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787752753000,"timestamp_ms":1787752753000,"timestamp_seconds":1787752753,"priority":1,"record_length":96,"hex_timestamp":"000001a03e5e2768"} 
[2026-08-26 19: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-26 19:33: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-26 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 19: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-26 19: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-26 19:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664627712001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664627712001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:33:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:33:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664627712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":163735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:33:52] local.INFO: GPS data processed {"connection_id":163735,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:33:52] local.INFO: Acknowledgment sent {"connection_id":163735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:34:36] local.INFO: TCP Data received {"connection_id":162468,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:34:36] local.INFO: Processing buffer {"connection_id":162468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:34:36] local.INFO: IMEI packet received {"connection_id":162468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":162468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:34:41] local.INFO: TCP Data received {"connection_id":162468,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:34:41] local.INFO: Processing buffer {"connection_id":162468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:34:41] local.INFO: IMEI packet received {"connection_id":162468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":162468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:34:42] local.INFO: TCP Data received {"connection_id":162468,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:34:42] local.INFO: Processing buffer {"connection_id":162468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e5e2768012d34c14006aa4818000800e62f..."} 
[2026-08-26 19:34:42] local.INFO: Packet analysis {"connection_id":162468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e5e"} 
[2026-08-26 19:34:42] local.INFO: Extracted packet for processing {"connection_id":162468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e5e"} 
[2026-08-26 19:34:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664627712001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19: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-26 19:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787752753000,"timestamp_ms":1787752753000,"timestamp_seconds":1787752753,"priority":1,"record_length":96,"hex_timestamp":"000001a03e5e2768"} 
[2026-08-26 19: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-26 19: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-26 19: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":233,"data_length":795,"current_offset":136} 
[2026-08-26 19:34: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-26 19: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-26 19: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-26 19:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664627712001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664627712001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:34:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:34:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664627712001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":162468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:34:42] local.INFO: GPS data processed {"connection_id":162468,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:34:42] local.INFO: Acknowledgment sent {"connection_id":162468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:35:13] local.INFO: TCP Data received {"connection_id":162468,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:35:13] local.INFO: Processing buffer {"connection_id":162468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:35:13] local.INFO: Packet analysis {"connection_id":162468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e62"} 
[2026-08-26 19:35:13] local.INFO: Extracted packet for processing {"connection_id":162468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e62"} 
[2026-08-26 19:35:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664704768001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:35: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-26 19:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787753054000,"timestamp_ms":1787753054000,"timestamp_seconds":1787753054,"priority":1,"record_length":96,"hex_timestamp":"000001a03e62bf30"} 
[2026-08-26 19: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-26 19:35: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-26 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:35: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-26 19: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-26 19: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-26 19:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664704768001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664704768001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:35:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:35:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664704768001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":162468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:35:13] local.INFO: GPS data processed {"connection_id":162468,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:35:13] local.INFO: Acknowledgment sent {"connection_id":162468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:35:36] local.INFO: TCP Data received {"connection_id":165072,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:35:36] local.INFO: Processing buffer {"connection_id":165072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:35:36] local.INFO: IMEI packet received {"connection_id":165072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":165072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:35:41] local.INFO: TCP Data received {"connection_id":165072,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:35:41] local.INFO: Processing buffer {"connection_id":165072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:35:41] local.INFO: IMEI packet received {"connection_id":165072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":165072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:35:42] local.INFO: TCP Data received {"connection_id":165072,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:35:42] local.INFO: Processing buffer {"connection_id":165072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:35:42] local.INFO: Packet analysis {"connection_id":165072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e62"} 
[2026-08-26 19:35:42] local.INFO: Extracted packet for processing {"connection_id":165072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e62"} 
[2026-08-26 19:35:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664704768001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:35: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-26 19:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787753054000,"timestamp_ms":1787753054000,"timestamp_seconds":1787753054,"priority":1,"record_length":96,"hex_timestamp":"000001a03e62bf30"} 
[2026-08-26 19:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:35: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-26 19:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:35: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-26 19:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664704768001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664704768001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:35:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:35:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664704768001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":165072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:35:42] local.INFO: GPS data processed {"connection_id":165072,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:35:42] local.INFO: Acknowledgment sent {"connection_id":165072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:36:14] local.INFO: TCP Data received {"connection_id":165072,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:36:14] local.INFO: Processing buffer {"connection_id":165072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:36:14] local.INFO: Packet analysis {"connection_id":165072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e62"} 
[2026-08-26 19:36:14] local.INFO: Extracted packet for processing {"connection_id":165072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e62"} 
[2026-08-26 19:36:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664704768001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:36: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-26 19:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787753054000,"timestamp_ms":1787753054000,"timestamp_seconds":1787753054,"priority":1,"record_length":96,"hex_timestamp":"000001a03e62bf30"} 
[2026-08-26 19: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-26 19:36: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-26 19: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:36: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-26 19: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-26 19: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-26 19:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664704768001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664704768001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:36:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:36:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664704768001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":165072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:36:14] local.INFO: GPS data processed {"connection_id":165072,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:36:14] local.INFO: Acknowledgment sent {"connection_id":165072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:36:36] local.INFO: TCP Data received {"connection_id":165073,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:36:36] local.INFO: Processing buffer {"connection_id":165073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:36:36] local.INFO: IMEI packet received {"connection_id":165073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":165073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:36:41] local.INFO: TCP Data received {"connection_id":165073,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:36:41] local.INFO: Processing buffer {"connection_id":165073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:36:41] local.INFO: IMEI packet received {"connection_id":165073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":165073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:36:45] local.INFO: TCP Data received {"connection_id":165073,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:36:45] local.INFO: Processing buffer {"connection_id":165073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:36:45] local.INFO: Packet analysis {"connection_id":165073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e62"} 
[2026-08-26 19:36:45] local.INFO: Extracted packet for processing {"connection_id":165073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e62"} 
[2026-08-26 19:36:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664704768001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:36: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-26 19:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787753054000,"timestamp_ms":1787753054000,"timestamp_seconds":1787753054,"priority":1,"record_length":96,"hex_timestamp":"000001a03e62bf30"} 
[2026-08-26 19: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-26 19:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:36: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-26 19: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-26 19: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-26 19:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":165073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":165073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":165073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664704768001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664704768001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:36:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:36:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664704768001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":165073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:36:45] local.INFO: GPS data processed {"connection_id":165073,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:36:45] local.INFO: Acknowledgment sent {"connection_id":165073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:37:32] local.INFO: TCP Data received {"connection_id":162707,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:37:32] local.INFO: Processing buffer {"connection_id":162707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:37:32] local.INFO: IMEI packet received {"connection_id":162707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 19:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":162707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:37:41] local.INFO: TCP Data received {"connection_id":163736,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:37:41] local.INFO: Processing buffer {"connection_id":163736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:37:41] local.INFO: IMEI packet received {"connection_id":163736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":163736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:37:46] local.INFO: TCP Data received {"connection_id":165073,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:37:46] local.INFO: Processing buffer {"connection_id":165073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:37:46] local.INFO: Packet analysis {"connection_id":165073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e62"} 
[2026-08-26 19:37:46] local.INFO: Extracted packet for processing {"connection_id":165073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e62"} 
[2026-08-26 19:37:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664704768001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 19:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787753054000,"timestamp_ms":1787753054000,"timestamp_seconds":1787753054,"priority":1,"record_length":96,"hex_timestamp":"000001a03e62bf30"} 
[2026-08-26 19: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-26 19:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 19: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-26 19: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-26 19:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":165073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":165073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":165073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664704768001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664704768001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:37:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:37:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664704768001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":165073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:37:46] local.INFO: GPS data processed {"connection_id":165073,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:37:46] local.INFO: Acknowledgment sent {"connection_id":165073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:37:50] local.INFO: TCP Data received {"connection_id":163736,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:37:50] local.INFO: Processing buffer {"connection_id":163736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:37:50] local.INFO: IMEI packet received {"connection_id":163736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":163736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:37:51] local.INFO: TCP Data received {"connection_id":163736,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:37:51] local.INFO: Processing buffer {"connection_id":163736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:37:51] local.INFO: Packet analysis {"connection_id":163736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e62"} 
[2026-08-26 19:37:51] local.INFO: Extracted packet for processing {"connection_id":163736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e62"} 
[2026-08-26 19:37:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664704768001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 19:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787753054000,"timestamp_ms":1787753054000,"timestamp_seconds":1787753054,"priority":1,"record_length":96,"hex_timestamp":"000001a03e62bf30"} 
[2026-08-26 19:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 19:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 19:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664704768001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664704768001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:37:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:37:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664704768001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":163736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:37:51] local.INFO: GPS data processed {"connection_id":163736,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:37:51] local.INFO: Acknowledgment sent {"connection_id":163736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:37:53] local.INFO: TCP Data received {"connection_id":163736,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:37:53] local.INFO: Processing buffer {"connection_id":163736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:37:53] local.INFO: Packet analysis {"connection_id":163736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e62"} 
[2026-08-26 19:37:53] local.INFO: Extracted packet for processing {"connection_id":163736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e62"} 
[2026-08-26 19:37:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664704768001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 19:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787753054000,"timestamp_ms":1787753054000,"timestamp_seconds":1787753054,"priority":1,"record_length":96,"hex_timestamp":"000001a03e62bf30"} 
[2026-08-26 19: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-26 19:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 19: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-26 19: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-26 19:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664704768001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664704768001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:37:53] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:37:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664704768001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":163736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:37:53] local.INFO: GPS data processed {"connection_id":163736,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:37:53] local.INFO: Acknowledgment sent {"connection_id":163736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:38:02] local.INFO: TCP Data received {"connection_id":162708,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162708,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:38:02] local.INFO: Processing buffer {"connection_id":162708,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:38:02] local.INFO: IMEI packet received {"connection_id":162708,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 19:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":162708,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:38:36] local.INFO: TCP Data received {"connection_id":162709,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:38:36] local.INFO: Processing buffer {"connection_id":162709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:38:36] local.INFO: IMEI packet received {"connection_id":162709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":162709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:38:41] local.INFO: TCP Data received {"connection_id":162709,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:38:41] local.INFO: Processing buffer {"connection_id":162709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:38:41] local.INFO: IMEI packet received {"connection_id":162709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":162709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:38:43] local.INFO: TCP Data received {"connection_id":162709,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:38:43] local.INFO: Processing buffer {"connection_id":162709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:38:43] local.INFO: Packet analysis {"connection_id":162709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e62"} 
[2026-08-26 19:38:43] local.INFO: Extracted packet for processing {"connection_id":162709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e62"} 
[2026-08-26 19:38:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 19:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664704768001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19: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-26 19:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787753054000,"timestamp_ms":1787753054000,"timestamp_seconds":1787753054,"priority":1,"record_length":96,"hex_timestamp":"000001a03e62bf30"} 
[2026-08-26 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-26 19: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-26 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19: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-26 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-26 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-26 19:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664704768001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664704768001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:38:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:38:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664704768001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":162709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:38:43] local.INFO: GPS data processed {"connection_id":162709,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:38:43] local.INFO: Acknowledgment sent {"connection_id":162709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:39:15] local.INFO: TCP Data received {"connection_id":162709,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:39:15] local.INFO: Processing buffer {"connection_id":162709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:39:15] local.INFO: Packet analysis {"connection_id":162709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e62"} 
[2026-08-26 19:39:15] local.INFO: Extracted packet for processing {"connection_id":162709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e62"} 
[2026-08-26 19:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664704768001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:39: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-26 19:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787753054000,"timestamp_ms":1787753054000,"timestamp_seconds":1787753054,"priority":1,"record_length":96,"hex_timestamp":"000001a03e62bf30"} 
[2026-08-26 19: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-26 19:39: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-26 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:39: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-26 19: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-26 19: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-26 19:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664704768001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664704768001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664704768001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":162709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:39:15] local.INFO: GPS data processed {"connection_id":162709,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:39:15] local.INFO: Acknowledgment sent {"connection_id":162709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:39:36] local.INFO: TCP Data received {"connection_id":165074,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:39:36] local.INFO: Processing buffer {"connection_id":165074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:39:36] local.INFO: IMEI packet received {"connection_id":165074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":165074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:39:41] local.INFO: TCP Data received {"connection_id":165074,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:39:41] local.INFO: Processing buffer {"connection_id":165074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:39:41] local.INFO: IMEI packet received {"connection_id":165074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":165074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:39:42] local.INFO: TCP Data received {"connection_id":165074,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:39:42] local.INFO: Processing buffer {"connection_id":165074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e62bf30012d34c14006aa4818000900e62f..."} 
[2026-08-26 19:39:42] local.INFO: Packet analysis {"connection_id":165074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e62"} 
[2026-08-26 19:39:42] local.INFO: Extracted packet for processing {"connection_id":165074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e62"} 
[2026-08-26 19:39:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664704768001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:39: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-26 19:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787753054000,"timestamp_ms":1787753054000,"timestamp_seconds":1787753054,"priority":1,"record_length":96,"hex_timestamp":"000001a03e62bf30"} 
[2026-08-26 19:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:39: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-26 19:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:39: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-26 19:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664704768001,"66":25419,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664704768001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:39:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:39:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664704768001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":165074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:39:42] local.INFO: GPS data processed {"connection_id":165074,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:39:42] local.INFO: Acknowledgment sent {"connection_id":165074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:40:13] local.INFO: TCP Data received {"connection_id":165074,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:40:13] local.INFO: Processing buffer {"connection_id":165074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:40:13] local.INFO: Packet analysis {"connection_id":165074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e67"} 
[2026-08-26 19:40:13] local.INFO: Extracted packet for processing {"connection_id":165074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e67"} 
[2026-08-26 19:40:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664781824001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:40: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-26 19:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787753355000,"timestamp_ms":1787753355000,"timestamp_seconds":1787753355,"priority":1,"record_length":96,"hex_timestamp":"000001a03e6756f8"} 
[2026-08-26 19:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 19:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:40:13] 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-26 19:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664781824001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664781824001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:40:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:40:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664781824001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":165074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:40:13] local.INFO: GPS data processed {"connection_id":165074,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:40:13] local.INFO: Acknowledgment sent {"connection_id":165074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:40:36] local.INFO: TCP Data received {"connection_id":163737,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:40:36] local.INFO: Processing buffer {"connection_id":163737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:40:36] local.INFO: IMEI packet received {"connection_id":163737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":163737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:40:41] local.INFO: TCP Data received {"connection_id":163737,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:40:41] local.INFO: Processing buffer {"connection_id":163737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:40:41] local.INFO: IMEI packet received {"connection_id":163737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":163737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:40:42] local.INFO: TCP Data received {"connection_id":163737,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:40:42] local.INFO: Processing buffer {"connection_id":163737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:40:42] local.INFO: Packet analysis {"connection_id":163737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e67"} 
[2026-08-26 19:40:42] local.INFO: Extracted packet for processing {"connection_id":163737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e67"} 
[2026-08-26 19:40:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664781824001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:40: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-26 19:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787753355000,"timestamp_ms":1787753355000,"timestamp_seconds":1787753355,"priority":1,"record_length":96,"hex_timestamp":"000001a03e6756f8"} 
[2026-08-26 19: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-26 19:40: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-26 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:40:42] 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-26 19: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-26 19: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-26 19:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664781824001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664781824001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:40:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:40:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664781824001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":163737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:40:42] local.INFO: GPS data processed {"connection_id":163737,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:40:42] local.INFO: Acknowledgment sent {"connection_id":163737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:41:14] local.INFO: TCP Data received {"connection_id":163737,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:41:14] local.INFO: Processing buffer {"connection_id":163737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:41:14] local.INFO: Packet analysis {"connection_id":163737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e67"} 
[2026-08-26 19:41:14] local.INFO: Extracted packet for processing {"connection_id":163737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e67"} 
[2026-08-26 19:41:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664781824001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:41: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-26 19:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787753355000,"timestamp_ms":1787753355000,"timestamp_seconds":1787753355,"priority":1,"record_length":96,"hex_timestamp":"000001a03e6756f8"} 
[2026-08-26 19: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-26 19:41: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-26 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:41: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-26 19: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-26 19: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-26 19:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664781824001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664781824001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:41:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:41:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664781824001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":163737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:41:14] local.INFO: GPS data processed {"connection_id":163737,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:41:14] local.INFO: Acknowledgment sent {"connection_id":163737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:41:41] local.INFO: TCP Data received {"connection_id":163738,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:41:41] local.INFO: Processing buffer {"connection_id":163738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:41:41] local.INFO: IMEI packet received {"connection_id":163738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":163738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:41:46] local.INFO: TCP Data received {"connection_id":163738,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:41:46] local.INFO: Processing buffer {"connection_id":163738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:41:46] local.INFO: IMEI packet received {"connection_id":163738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":163738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:42:08] local.INFO: TCP Data received {"connection_id":163738,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:42:08] local.INFO: Processing buffer {"connection_id":163738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:42:08] local.INFO: Packet analysis {"connection_id":163738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e67"} 
[2026-08-26 19:42:08] local.INFO: Extracted packet for processing {"connection_id":163738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e67"} 
[2026-08-26 19:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664781824001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:42: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-26 19:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787753355000,"timestamp_ms":1787753355000,"timestamp_seconds":1787753355,"priority":1,"record_length":96,"hex_timestamp":"000001a03e6756f8"} 
[2026-08-26 19:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:42: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-26 19:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:42:08] 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-26 19:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664781824001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664781824001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:42:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:42:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664781824001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":163738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:42:08] local.INFO: GPS data processed {"connection_id":163738,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:42:08] local.INFO: Acknowledgment sent {"connection_id":163738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:42:36] local.INFO: TCP Data received {"connection_id":162470,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:42:36] local.INFO: Processing buffer {"connection_id":162470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:42:36] local.INFO: IMEI packet received {"connection_id":162470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":162470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:42:41] local.INFO: TCP Data received {"connection_id":162470,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:42:41] local.INFO: Processing buffer {"connection_id":162470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:42:41] local.INFO: IMEI packet received {"connection_id":162470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":162470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:42:47] local.INFO: TCP Data received {"connection_id":162470,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:42:47] local.INFO: Processing buffer {"connection_id":162470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:42:47] local.INFO: Packet analysis {"connection_id":162470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e67"} 
[2026-08-26 19:42:47] local.INFO: Extracted packet for processing {"connection_id":162470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e67"} 
[2026-08-26 19:42:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 19:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664781824001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:42: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-26 19:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787753355000,"timestamp_ms":1787753355000,"timestamp_seconds":1787753355,"priority":1,"record_length":96,"hex_timestamp":"000001a03e6756f8"} 
[2026-08-26 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-26 19:42: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-26 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:42:47] 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-26 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-26 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-26 19:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664781824001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664781824001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:42:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:42:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664781824001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":162470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:42:47] local.INFO: GPS data processed {"connection_id":162470,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:42:47] local.INFO: Acknowledgment sent {"connection_id":162470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:43:19] local.INFO: TCP Data received {"connection_id":162470,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:43:19] local.INFO: Processing buffer {"connection_id":162470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:43:19] local.INFO: Packet analysis {"connection_id":162470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e67"} 
[2026-08-26 19:43:19] local.INFO: Extracted packet for processing {"connection_id":162470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e67"} 
[2026-08-26 19:43:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664781824001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 19:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787753355000,"timestamp_ms":1787753355000,"timestamp_seconds":1787753355,"priority":1,"record_length":96,"hex_timestamp":"000001a03e6756f8"} 
[2026-08-26 19: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-26 19:43: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-26 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:43:19] 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-26 19: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-26 19: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-26 19:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664781824001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664781824001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:43:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:43:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664781824001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":162470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:43:19] local.INFO: GPS data processed {"connection_id":162470,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:43:19] local.INFO: Acknowledgment sent {"connection_id":162470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:43:21] local.INFO: TCP Data received {"connection_id":165075,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:43:21] local.INFO: Processing buffer {"connection_id":165075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:43:21] local.INFO: IMEI packet received {"connection_id":165075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 19:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":165075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:43:37] local.INFO: TCP Data received {"connection_id":165076,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:43:37] local.INFO: Processing buffer {"connection_id":165076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:43:37] local.INFO: IMEI packet received {"connection_id":165076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":165076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:43:42] local.INFO: TCP Data received {"connection_id":165076,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:43:42] local.INFO: Processing buffer {"connection_id":165076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:43:42] local.INFO: IMEI packet received {"connection_id":165076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":165076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:43:44] local.INFO: TCP Data received {"connection_id":165076,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:43:44] local.INFO: Processing buffer {"connection_id":165076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:43:44] local.INFO: Packet analysis {"connection_id":165076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e67"} 
[2026-08-26 19:43:44] local.INFO: Extracted packet for processing {"connection_id":165076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e67"} 
[2026-08-26 19:43:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664781824001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:43: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-26 19:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787753355000,"timestamp_ms":1787753355000,"timestamp_seconds":1787753355,"priority":1,"record_length":96,"hex_timestamp":"000001a03e6756f8"} 
[2026-08-26 19: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-26 19:43: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-26 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:43:44] 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-26 19: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-26 19: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-26 19:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":165076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":165076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":165076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664781824001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664781824001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:43:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:43:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664781824001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":165076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:43:44] local.INFO: GPS data processed {"connection_id":165076,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:43:44] local.INFO: Acknowledgment sent {"connection_id":165076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:44:16] local.INFO: TCP Data received {"connection_id":165076,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:44:16] local.INFO: Processing buffer {"connection_id":165076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:44:16] local.INFO: Packet analysis {"connection_id":165076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e67"} 
[2026-08-26 19:44:16] local.INFO: Extracted packet for processing {"connection_id":165076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e67"} 
[2026-08-26 19:44:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664781824001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19: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-26 19:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787753355000,"timestamp_ms":1787753355000,"timestamp_seconds":1787753355,"priority":1,"record_length":96,"hex_timestamp":"000001a03e6756f8"} 
[2026-08-26 19: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-26 19:44: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-26 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:44: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-26 19: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-26 19: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-26 19:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":165076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":165076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":165076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664781824001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664781824001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:44:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:44:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664781824001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":165076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:44:16] local.INFO: GPS data processed {"connection_id":165076,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:44:16] local.INFO: Acknowledgment sent {"connection_id":165076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:44:36] local.INFO: TCP Data received {"connection_id":162710,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:44:36] local.INFO: Processing buffer {"connection_id":162710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:44:36] local.INFO: IMEI packet received {"connection_id":162710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":162710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:44:41] local.INFO: TCP Data received {"connection_id":162710,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:44:41] local.INFO: Processing buffer {"connection_id":162710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:44:41] local.INFO: IMEI packet received {"connection_id":162710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":162710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:44:42] local.INFO: TCP Data received {"connection_id":162710,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:44:42] local.INFO: Processing buffer {"connection_id":162710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e6756f8012d34c14006aa4818000800e62e..."} 
[2026-08-26 19:44:42] local.INFO: Packet analysis {"connection_id":162710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e67"} 
[2026-08-26 19:44:42] local.INFO: Extracted packet for processing {"connection_id":162710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e67"} 
[2026-08-26 19:44:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664781824001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:44: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-26 19:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787753355000,"timestamp_ms":1787753355000,"timestamp_seconds":1787753355,"priority":1,"record_length":96,"hex_timestamp":"000001a03e6756f8"} 
[2026-08-26 19:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:44: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-26 19:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-26 19:44:42] 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-26 19:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664781824001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664781824001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:44:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:44:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664781824001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":162710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:44:42] local.INFO: GPS data processed {"connection_id":162710,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:44:42] local.INFO: Acknowledgment sent {"connection_id":162710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:45:13] local.INFO: TCP Data received {"connection_id":162710,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:45:13] local.INFO: Processing buffer {"connection_id":162710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:45:13] local.INFO: Packet analysis {"connection_id":162710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e6b"} 
[2026-08-26 19:45:13] local.INFO: Extracted packet for processing {"connection_id":162710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e6b"} 
[2026-08-26 19:45:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664858880001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 19:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787753656000,"timestamp_ms":1787753656000,"timestamp_seconds":1787753656,"priority":1,"record_length":96,"hex_timestamp":"000001a03e6beec0"} 
[2026-08-26 19:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:45: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-26 19:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:45: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-26 19:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664858880001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664858880001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:45:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:45:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664858880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":162710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:45:13] local.INFO: GPS data processed {"connection_id":162710,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:45:13] local.INFO: Acknowledgment sent {"connection_id":162710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:45:41] local.INFO: TCP Data received {"connection_id":162711,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:45:41] local.INFO: Processing buffer {"connection_id":162711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:45:41] local.INFO: IMEI packet received {"connection_id":162711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":162711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:45:46] local.INFO: TCP Data received {"connection_id":162711,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:45:46] local.INFO: Processing buffer {"connection_id":162711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:45:46] local.INFO: IMEI packet received {"connection_id":162711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":162711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:45:47] local.INFO: TCP Data received {"connection_id":162711,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:45:47] local.INFO: Processing buffer {"connection_id":162711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:45:47] local.INFO: Packet analysis {"connection_id":162711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e6b"} 
[2026-08-26 19:45:47] local.INFO: Extracted packet for processing {"connection_id":162711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e6b"} 
[2026-08-26 19:45:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 19:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664858880001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19: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-26 19:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787753656000,"timestamp_ms":1787753656000,"timestamp_seconds":1787753656,"priority":1,"record_length":96,"hex_timestamp":"000001a03e6beec0"} 
[2026-08-26 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-26 19: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-26 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 19:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664858880001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664858880001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:45:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:45:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664858880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":162711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:45:47] local.INFO: GPS data processed {"connection_id":162711,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:45:47] local.INFO: Acknowledgment sent {"connection_id":162711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:45:52] local.INFO: TCP Data received {"connection_id":162711,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:45:52] local.INFO: Processing buffer {"connection_id":162711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:45:52] local.INFO: Packet analysis {"connection_id":162711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e6b"} 
[2026-08-26 19:45:52] local.INFO: Extracted packet for processing {"connection_id":162711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e6b"} 
[2026-08-26 19:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664858880001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:45: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-26 19:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787753656000,"timestamp_ms":1787753656000,"timestamp_seconds":1787753656,"priority":1,"record_length":96,"hex_timestamp":"000001a03e6beec0"} 
[2026-08-26 19:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:45: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-26 19:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:45: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-26 19: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-26 19:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664858880001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664858880001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:45:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:45:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664858880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":162711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:45:52] local.INFO: GPS data processed {"connection_id":162711,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:45:52] local.INFO: Acknowledgment sent {"connection_id":162711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:46:36] local.INFO: TCP Data received {"connection_id":162471,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:46:36] local.INFO: Processing buffer {"connection_id":162471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:46:36] local.INFO: IMEI packet received {"connection_id":162471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":162471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:46:41] local.INFO: TCP Data received {"connection_id":162471,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:46:41] local.INFO: Processing buffer {"connection_id":162471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:46:41] local.INFO: IMEI packet received {"connection_id":162471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":162471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:46:42] local.INFO: TCP Data received {"connection_id":162471,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:46:42] local.INFO: Processing buffer {"connection_id":162471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:46:42] local.INFO: Packet analysis {"connection_id":162471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e6b"} 
[2026-08-26 19:46:42] local.INFO: Extracted packet for processing {"connection_id":162471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e6b"} 
[2026-08-26 19:46:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664858880001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:46: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-26 19:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787753656000,"timestamp_ms":1787753656000,"timestamp_seconds":1787753656,"priority":1,"record_length":96,"hex_timestamp":"000001a03e6beec0"} 
[2026-08-26 19:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:46: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-26 19:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:46: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-26 19:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664858880001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664858880001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:46:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:46:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664858880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":162471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:46:42] local.INFO: GPS data processed {"connection_id":162471,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:46:42] local.INFO: Acknowledgment sent {"connection_id":162471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:47:13] local.INFO: TCP Data received {"connection_id":162471,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:47:13] local.INFO: Processing buffer {"connection_id":162471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:47:13] local.INFO: Packet analysis {"connection_id":162471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e6b"} 
[2026-08-26 19:47:13] local.INFO: Extracted packet for processing {"connection_id":162471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e6b"} 
[2026-08-26 19:47:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664858880001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:47: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-26 19:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787753656000,"timestamp_ms":1787753656000,"timestamp_seconds":1787753656,"priority":1,"record_length":96,"hex_timestamp":"000001a03e6beec0"} 
[2026-08-26 19: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-26 19:47: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-26 19: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-26 19: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-26 19: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-26 19: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-26 19:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664858880001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664858880001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:47:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:47:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664858880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":162471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:47:13] local.INFO: GPS data processed {"connection_id":162471,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:47:13] local.INFO: Acknowledgment sent {"connection_id":162471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:47:36] local.INFO: TCP Data received {"connection_id":163739,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:47:36] local.INFO: Processing buffer {"connection_id":163739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:47:36] local.INFO: IMEI packet received {"connection_id":163739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":163739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:47:41] local.INFO: TCP Data received {"connection_id":163739,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:47:41] local.INFO: Processing buffer {"connection_id":163739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:47:41] local.INFO: IMEI packet received {"connection_id":163739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":163739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:47:42] local.INFO: TCP Data received {"connection_id":163739,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:47:42] local.INFO: Processing buffer {"connection_id":163739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:47:42] local.INFO: Packet analysis {"connection_id":163739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e6b"} 
[2026-08-26 19:47:42] local.INFO: Extracted packet for processing {"connection_id":163739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e6b"} 
[2026-08-26 19:47:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664858880001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:47: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-26 19:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787753656000,"timestamp_ms":1787753656000,"timestamp_seconds":1787753656,"priority":1,"record_length":96,"hex_timestamp":"000001a03e6beec0"} 
[2026-08-26 19:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 19:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:47: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-26 19:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664858880001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664858880001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:47:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:47:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664858880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":163739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:47:42] local.INFO: GPS data processed {"connection_id":163739,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:47:42] local.INFO: Acknowledgment sent {"connection_id":163739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:48:14] local.INFO: TCP Data received {"connection_id":163739,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:48:14] local.INFO: Processing buffer {"connection_id":163739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:48:14] local.INFO: Packet analysis {"connection_id":163739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e6b"} 
[2026-08-26 19:48:14] local.INFO: Extracted packet for processing {"connection_id":163739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e6b"} 
[2026-08-26 19:48:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664858880001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:48: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-26 19:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787753656000,"timestamp_ms":1787753656000,"timestamp_seconds":1787753656,"priority":1,"record_length":96,"hex_timestamp":"000001a03e6beec0"} 
[2026-08-26 19:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:48: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-26 19:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:48: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-26 19:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664858880001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664858880001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:48:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:48:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664858880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":163739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:48:14] local.INFO: GPS data processed {"connection_id":163739,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:48:14] local.INFO: Acknowledgment sent {"connection_id":163739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:48:37] local.INFO: TCP Data received {"connection_id":165077,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:48:37] local.INFO: Processing buffer {"connection_id":165077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:48:37] local.INFO: IMEI packet received {"connection_id":165077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":165077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:48:41] local.INFO: TCP Data received {"connection_id":165077,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:48:41] local.INFO: Processing buffer {"connection_id":165077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:48:41] local.INFO: IMEI packet received {"connection_id":165077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":165077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:48:42] local.INFO: TCP Data received {"connection_id":165077,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:48:42] local.INFO: Processing buffer {"connection_id":165077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:48:42] local.INFO: Packet analysis {"connection_id":165077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e6b"} 
[2026-08-26 19:48:42] local.INFO: Extracted packet for processing {"connection_id":165077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e6b"} 
[2026-08-26 19:48:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664858880001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:48: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-26 19:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787753656000,"timestamp_ms":1787753656000,"timestamp_seconds":1787753656,"priority":1,"record_length":96,"hex_timestamp":"000001a03e6beec0"} 
[2026-08-26 19: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-26 19:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:48: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-26 19: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-26 19: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-26 19:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664858880001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664858880001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:48:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:48:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664858880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":165077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:48:42] local.INFO: GPS data processed {"connection_id":165077,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:48:42] local.INFO: Acknowledgment sent {"connection_id":165077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:48:56] local.INFO: TCP Data received {"connection_id":163740,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163740,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:48:56] local.INFO: Processing buffer {"connection_id":163740,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:48:56] local.INFO: IMEI packet received {"connection_id":163740,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 19:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":163740,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:49:14] local.INFO: TCP Data received {"connection_id":165077,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:49:14] local.INFO: Processing buffer {"connection_id":165077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:49:14] local.INFO: Packet analysis {"connection_id":165077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e6b"} 
[2026-08-26 19:49:14] local.INFO: Extracted packet for processing {"connection_id":165077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e6b"} 
[2026-08-26 19:49:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664858880001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:49: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-26 19:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787753656000,"timestamp_ms":1787753656000,"timestamp_seconds":1787753656,"priority":1,"record_length":96,"hex_timestamp":"000001a03e6beec0"} 
[2026-08-26 19:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:49: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-26 19:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:49: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-26 19:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664858880001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664858880001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:49:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:49:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664858880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":165077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:49:14] local.INFO: GPS data processed {"connection_id":165077,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:49:14] local.INFO: Acknowledgment sent {"connection_id":165077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:49:36] local.INFO: TCP Data received {"connection_id":163741,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:49:36] local.INFO: Processing buffer {"connection_id":163741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:49:36] local.INFO: IMEI packet received {"connection_id":163741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":163741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:49:41] local.INFO: TCP Data received {"connection_id":163741,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:49:41] local.INFO: Processing buffer {"connection_id":163741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:49:41] local.INFO: IMEI packet received {"connection_id":163741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":163741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:49:42] local.INFO: TCP Data received {"connection_id":163741,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:49:42] local.INFO: Processing buffer {"connection_id":163741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e6beec0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 19:49:42] local.INFO: Packet analysis {"connection_id":163741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e6b"} 
[2026-08-26 19:49:42] local.INFO: Extracted packet for processing {"connection_id":163741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e6b"} 
[2026-08-26 19:49:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664858880001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:49: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-26 19:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787753656000,"timestamp_ms":1787753656000,"timestamp_seconds":1787753656,"priority":1,"record_length":96,"hex_timestamp":"000001a03e6beec0"} 
[2026-08-26 19:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:49: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-26 19:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:49: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-26 19:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664858880001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664858880001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:49:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:49:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664858880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":163741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:49:42] local.INFO: GPS data processed {"connection_id":163741,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:49:42] local.INFO: Acknowledgment sent {"connection_id":163741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:50:13] local.INFO: TCP Data received {"connection_id":163741,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:50:13] local.INFO: Processing buffer {"connection_id":163741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:50:13] local.INFO: Packet analysis {"connection_id":163741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e70"} 
[2026-08-26 19:50:13] local.INFO: Extracted packet for processing {"connection_id":163741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e70"} 
[2026-08-26 19:50:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664935936001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:50: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-26 19:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787753957000,"timestamp_ms":1787753957000,"timestamp_seconds":1787753957,"priority":1,"record_length":96,"hex_timestamp":"000001a03e708688"} 
[2026-08-26 19:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:50: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-26 19:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 19:50: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-26 19:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664935936001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664935936001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:50:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:50:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664935936001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":163741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:50:13] local.INFO: GPS data processed {"connection_id":163741,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:50:13] local.INFO: Acknowledgment sent {"connection_id":163741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:50:41] local.INFO: TCP Data received {"connection_id":165078,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:50:41] local.INFO: Processing buffer {"connection_id":165078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:50:41] local.INFO: IMEI packet received {"connection_id":165078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":165078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:50:46] local.INFO: TCP Data received {"connection_id":165078,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:50:46] local.INFO: Processing buffer {"connection_id":165078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:50:46] local.INFO: IMEI packet received {"connection_id":165078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":165078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:50:47] local.INFO: TCP Data received {"connection_id":165078,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:50:47] local.INFO: Processing buffer {"connection_id":165078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:50:47] local.INFO: Packet analysis {"connection_id":165078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e70"} 
[2026-08-26 19:50:47] local.INFO: Extracted packet for processing {"connection_id":165078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e70"} 
[2026-08-26 19:50:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 19:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664935936001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:50: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-26 19:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787753957000,"timestamp_ms":1787753957000,"timestamp_seconds":1787753957,"priority":1,"record_length":96,"hex_timestamp":"000001a03e708688"} 
[2026-08-26 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-26 19:50: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-26 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 19:50:47] 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-26 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-26 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-26 19:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664935936001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664935936001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:50:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:50:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664935936001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":165078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:50:47] local.INFO: GPS data processed {"connection_id":165078,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:50:47] local.INFO: Acknowledgment sent {"connection_id":165078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:50:52] local.INFO: TCP Data received {"connection_id":165078,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:50:52] local.INFO: Processing buffer {"connection_id":165078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:50:52] local.INFO: Packet analysis {"connection_id":165078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e70"} 
[2026-08-26 19:50:52] local.INFO: Extracted packet for processing {"connection_id":165078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e70"} 
[2026-08-26 19:50:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664935936001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:50: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-26 19:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787753957000,"timestamp_ms":1787753957000,"timestamp_seconds":1787753957,"priority":1,"record_length":96,"hex_timestamp":"000001a03e708688"} 
[2026-08-26 19:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:50: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-26 19:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 19:50:52] 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-26 19:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664935936001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664935936001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:50:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:50:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664935936001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":165078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:50:52] local.INFO: GPS data processed {"connection_id":165078,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:50:52] local.INFO: Acknowledgment sent {"connection_id":165078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:51:36] local.INFO: TCP Data received {"connection_id":162712,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:51:36] local.INFO: Processing buffer {"connection_id":162712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:51:36] local.INFO: IMEI packet received {"connection_id":162712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":162712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:51:41] local.INFO: TCP Data received {"connection_id":162712,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:51:41] local.INFO: Processing buffer {"connection_id":162712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:51:41] local.INFO: IMEI packet received {"connection_id":162712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":162712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:51:42] local.INFO: TCP Data received {"connection_id":162712,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:51:42] local.INFO: Processing buffer {"connection_id":162712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:51:42] local.INFO: Packet analysis {"connection_id":162712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e70"} 
[2026-08-26 19:51:42] local.INFO: Extracted packet for processing {"connection_id":162712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e70"} 
[2026-08-26 19:51:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664935936001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19: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-26 19:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787753957000,"timestamp_ms":1787753957000,"timestamp_seconds":1787753957,"priority":1,"record_length":96,"hex_timestamp":"000001a03e708688"} 
[2026-08-26 19:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:51: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-26 19:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 19:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 19:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664935936001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664935936001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:51:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:51:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664935936001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":162712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:51:42] local.INFO: GPS data processed {"connection_id":162712,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:51:42] local.INFO: Acknowledgment sent {"connection_id":162712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:52:14] local.INFO: TCP Data received {"connection_id":162712,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:52:14] local.INFO: Processing buffer {"connection_id":162712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:52:14] local.INFO: Packet analysis {"connection_id":162712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e70"} 
[2026-08-26 19:52:14] local.INFO: Extracted packet for processing {"connection_id":162712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e70"} 
[2026-08-26 19:52:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664935936001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:52: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-26 19:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787753957000,"timestamp_ms":1787753957000,"timestamp_seconds":1787753957,"priority":1,"record_length":96,"hex_timestamp":"000001a03e708688"} 
[2026-08-26 19:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:52: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-26 19:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 19:52: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-26 19:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664935936001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664935936001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:52:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:52:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664935936001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":162712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:52:14] local.INFO: GPS data processed {"connection_id":162712,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:52:14] local.INFO: Acknowledgment sent {"connection_id":162712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:52:36] local.INFO: TCP Data received {"connection_id":165079,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:52:36] local.INFO: Processing buffer {"connection_id":165079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:52:36] local.INFO: IMEI packet received {"connection_id":165079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":165079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:52:41] local.INFO: TCP Data received {"connection_id":165079,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:52:41] local.INFO: Processing buffer {"connection_id":165079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:52:41] local.INFO: IMEI packet received {"connection_id":165079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":165079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:52:42] local.INFO: TCP Data received {"connection_id":165079,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:52:42] local.INFO: Processing buffer {"connection_id":165079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:52:42] local.INFO: Packet analysis {"connection_id":165079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e70"} 
[2026-08-26 19:52:42] local.INFO: Extracted packet for processing {"connection_id":165079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e70"} 
[2026-08-26 19:52:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664935936001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:52: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-26 19:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787753957000,"timestamp_ms":1787753957000,"timestamp_seconds":1787753957,"priority":1,"record_length":96,"hex_timestamp":"000001a03e708688"} 
[2026-08-26 19:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:52: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-26 19:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 19:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 19:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664935936001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664935936001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:52:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:52:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664935936001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":165079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:52:42] local.INFO: GPS data processed {"connection_id":165079,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:52:42] local.INFO: Acknowledgment sent {"connection_id":165079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:53:14] local.INFO: TCP Data received {"connection_id":165079,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:53:14] local.INFO: Processing buffer {"connection_id":165079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:53:14] local.INFO: Packet analysis {"connection_id":165079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e70"} 
[2026-08-26 19:53:14] local.INFO: Extracted packet for processing {"connection_id":165079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e70"} 
[2026-08-26 19:53:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664935936001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:53: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-26 19:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787753957000,"timestamp_ms":1787753957000,"timestamp_seconds":1787753957,"priority":1,"record_length":96,"hex_timestamp":"000001a03e708688"} 
[2026-08-26 19: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-26 19:53: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-26 19: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 19:53: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-26 19: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-26 19: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-26 19:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664935936001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664935936001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:53:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:53:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664935936001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":165079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:53:14] local.INFO: GPS data processed {"connection_id":165079,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:53:14] local.INFO: Acknowledgment sent {"connection_id":165079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:53:36] local.INFO: TCP Data received {"connection_id":163742,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:53:36] local.INFO: Processing buffer {"connection_id":163742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:53:36] local.INFO: IMEI packet received {"connection_id":163742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":163742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:53:41] local.INFO: TCP Data received {"connection_id":163742,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:53:41] local.INFO: Processing buffer {"connection_id":163742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:53:41] local.INFO: IMEI packet received {"connection_id":163742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":163742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:53:42] local.INFO: TCP Data received {"connection_id":163742,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:53:42] local.INFO: Processing buffer {"connection_id":163742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:53:42] local.INFO: Packet analysis {"connection_id":163742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e70"} 
[2026-08-26 19:53:42] local.INFO: Extracted packet for processing {"connection_id":163742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e70"} 
[2026-08-26 19:53:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664935936001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:53: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-26 19:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787753957000,"timestamp_ms":1787753957000,"timestamp_seconds":1787753957,"priority":1,"record_length":96,"hex_timestamp":"000001a03e708688"} 
[2026-08-26 19: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-26 19:53: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-26 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 19:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 19: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-26 19: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-26 19:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664935936001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664935936001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:53:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:53:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664935936001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":163742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:53:42] local.INFO: GPS data processed {"connection_id":163742,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:53:42] local.INFO: Acknowledgment sent {"connection_id":163742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:54:14] local.INFO: TCP Data received {"connection_id":163742,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:54:14] local.INFO: Processing buffer {"connection_id":163742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:54:14] local.INFO: Packet analysis {"connection_id":163742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e70"} 
[2026-08-26 19:54:14] local.INFO: Extracted packet for processing {"connection_id":163742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e70"} 
[2026-08-26 19:54:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664935936001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:54: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-26 19:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787753957000,"timestamp_ms":1787753957000,"timestamp_seconds":1787753957,"priority":1,"record_length":96,"hex_timestamp":"000001a03e708688"} 
[2026-08-26 19: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-26 19:54: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-26 19: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":86,"data_length":795,"current_offset":136} 
[2026-08-26 19:54: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-26 19: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-26 19: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-26 19:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664935936001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664935936001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:54:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:54:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664935936001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":163742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:54:14] local.INFO: GPS data processed {"connection_id":163742,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:54:14] local.INFO: Acknowledgment sent {"connection_id":163742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:54:32] local.INFO: TCP Data received {"connection_id":162472,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:54:32] local.INFO: Processing buffer {"connection_id":162472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 19:54:32] local.INFO: IMEI packet received {"connection_id":162472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 19:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":162472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:54:36] local.INFO: TCP Data received {"connection_id":165080,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:54:36] local.INFO: Processing buffer {"connection_id":165080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:54:36] local.INFO: IMEI packet received {"connection_id":165080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":165080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:54:41] local.INFO: TCP Data received {"connection_id":165080,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:54:41] local.INFO: Processing buffer {"connection_id":165080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:54:41] local.INFO: IMEI packet received {"connection_id":165080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":165080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:54:42] local.INFO: TCP Data received {"connection_id":165080,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:54:42] local.INFO: Processing buffer {"connection_id":165080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e708688012d34c14006aa4818000700e62d..."} 
[2026-08-26 19:54:42] local.INFO: Packet analysis {"connection_id":165080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e70"} 
[2026-08-26 19:54:42] local.INFO: Extracted packet for processing {"connection_id":165080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e70"} 
[2026-08-26 19:54:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457664935936001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:54: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-26 19:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787753957000,"timestamp_ms":1787753957000,"timestamp_seconds":1787753957,"priority":1,"record_length":96,"hex_timestamp":"000001a03e708688"} 
[2026-08-26 19:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:54: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-26 19:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 19:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 19:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457664935936001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457664935936001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:54:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:54:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457664935936001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":165080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:54:42] local.INFO: GPS data processed {"connection_id":165080,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:54:42] local.INFO: Acknowledgment sent {"connection_id":165080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:55:14] local.INFO: TCP Data received {"connection_id":165080,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:55:14] local.INFO: Processing buffer {"connection_id":165080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:55:14] local.INFO: Packet analysis {"connection_id":165080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e75"} 
[2026-08-26 19:55:14] local.INFO: Extracted packet for processing {"connection_id":165080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e75"} 
[2026-08-26 19:55:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665012992001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:55: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-26 19:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787754258000,"timestamp_ms":1787754258000,"timestamp_seconds":1787754258,"priority":1,"record_length":96,"hex_timestamp":"000001a03e751e50"} 
[2026-08-26 19:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 19:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:55: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-26 19:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665012992001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665012992001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:55:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:55:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665012992001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":165080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:55:14] local.INFO: GPS data processed {"connection_id":165080,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:55:14] local.INFO: Acknowledgment sent {"connection_id":165080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:55:41] local.INFO: TCP Data received {"connection_id":163743,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:55:41] local.INFO: Processing buffer {"connection_id":163743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:55:41] local.INFO: IMEI packet received {"connection_id":163743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":163743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:55:46] local.INFO: TCP Data received {"connection_id":163743,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:55:46] local.INFO: Processing buffer {"connection_id":163743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:55:46] local.INFO: IMEI packet received {"connection_id":163743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":163743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:55:47] local.INFO: TCP Data received {"connection_id":163743,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:55:47] local.INFO: Processing buffer {"connection_id":163743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:55:47] local.INFO: Packet analysis {"connection_id":163743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e75"} 
[2026-08-26 19:55:47] local.INFO: Extracted packet for processing {"connection_id":163743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e75"} 
[2026-08-26 19:55:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 19:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665012992001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:55: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-26 19:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787754258000,"timestamp_ms":1787754258000,"timestamp_seconds":1787754258,"priority":1,"record_length":96,"hex_timestamp":"000001a03e751e50"} 
[2026-08-26 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-26 19:55: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-26 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 19:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665012992001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665012992001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:55:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:55:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665012992001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":163743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:55:47] local.INFO: GPS data processed {"connection_id":163743,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:55:47] local.INFO: Acknowledgment sent {"connection_id":163743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:55:51] local.INFO: TCP Data received {"connection_id":163743,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:55:51] local.INFO: Processing buffer {"connection_id":163743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:55:51] local.INFO: Packet analysis {"connection_id":163743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e75"} 
[2026-08-26 19:55:51] local.INFO: Extracted packet for processing {"connection_id":163743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e75"} 
[2026-08-26 19:55:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665012992001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 19:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787754258000,"timestamp_ms":1787754258000,"timestamp_seconds":1787754258,"priority":1,"record_length":96,"hex_timestamp":"000001a03e751e50"} 
[2026-08-26 19:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 19:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 19:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665012992001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665012992001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:55:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:55:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665012992001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":163743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:55:51] local.INFO: GPS data processed {"connection_id":163743,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:55:51] local.INFO: Acknowledgment sent {"connection_id":163743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:56:36] local.INFO: TCP Data received {"connection_id":162713,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:56:36] local.INFO: Processing buffer {"connection_id":162713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:56:36] local.INFO: IMEI packet received {"connection_id":162713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":162713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:56:41] local.INFO: TCP Data received {"connection_id":162713,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:56:41] local.INFO: Processing buffer {"connection_id":162713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:56:41] local.INFO: IMEI packet received {"connection_id":162713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":162713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:56:42] local.INFO: TCP Data received {"connection_id":162713,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:56:42] local.INFO: Processing buffer {"connection_id":162713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:56:42] local.INFO: Packet analysis {"connection_id":162713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e75"} 
[2026-08-26 19:56:42] local.INFO: Extracted packet for processing {"connection_id":162713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e75"} 
[2026-08-26 19:56:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665012992001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:56: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-26 19:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787754258000,"timestamp_ms":1787754258000,"timestamp_seconds":1787754258,"priority":1,"record_length":96,"hex_timestamp":"000001a03e751e50"} 
[2026-08-26 19:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:56: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-26 19:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:56: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-26 19:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665012992001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665012992001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:56:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:56:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665012992001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":162713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:56:42] local.INFO: GPS data processed {"connection_id":162713,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:56:42] local.INFO: Acknowledgment sent {"connection_id":162713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:57:13] local.INFO: TCP Data received {"connection_id":162713,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:57:13] local.INFO: Processing buffer {"connection_id":162713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:57:13] local.INFO: Packet analysis {"connection_id":162713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e75"} 
[2026-08-26 19:57:13] local.INFO: Extracted packet for processing {"connection_id":162713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e75"} 
[2026-08-26 19:57:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665012992001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:57: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-26 19:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787754258000,"timestamp_ms":1787754258000,"timestamp_seconds":1787754258,"priority":1,"record_length":96,"hex_timestamp":"000001a03e751e50"} 
[2026-08-26 19:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:57: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-26 19:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:57: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-26 19:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665012992001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665012992001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:57:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:57:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665012992001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":162713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:57:13] local.INFO: GPS data processed {"connection_id":162713,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:57:13] local.INFO: Acknowledgment sent {"connection_id":162713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:57:36] local.INFO: TCP Data received {"connection_id":162473,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:57:36] local.INFO: Processing buffer {"connection_id":162473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:57:36] local.INFO: IMEI packet received {"connection_id":162473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":162473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:57:41] local.INFO: TCP Data received {"connection_id":162473,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:57:41] local.INFO: Processing buffer {"connection_id":162473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:57:41] local.INFO: IMEI packet received {"connection_id":162473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":162473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:57:42] local.INFO: TCP Data received {"connection_id":162473,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:57:42] local.INFO: Processing buffer {"connection_id":162473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:57:42] local.INFO: Packet analysis {"connection_id":162473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e75"} 
[2026-08-26 19:57:42] local.INFO: Extracted packet for processing {"connection_id":162473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e75"} 
[2026-08-26 19:57:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665012992001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:57: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-26 19:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787754258000,"timestamp_ms":1787754258000,"timestamp_seconds":1787754258,"priority":1,"record_length":96,"hex_timestamp":"000001a03e751e50"} 
[2026-08-26 19:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:57: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-26 19:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:57: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-26 19:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665012992001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665012992001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:57:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:57:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665012992001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":162473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:57:42] local.INFO: GPS data processed {"connection_id":162473,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:57:42] local.INFO: Acknowledgment sent {"connection_id":162473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:58:14] local.INFO: TCP Data received {"connection_id":162473,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:58:14] local.INFO: Processing buffer {"connection_id":162473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:58:14] local.INFO: Packet analysis {"connection_id":162473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e75"} 
[2026-08-26 19:58:14] local.INFO: Extracted packet for processing {"connection_id":162473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e75"} 
[2026-08-26 19:58:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665012992001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:58: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-26 19:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787754258000,"timestamp_ms":1787754258000,"timestamp_seconds":1787754258,"priority":1,"record_length":96,"hex_timestamp":"000001a03e751e50"} 
[2026-08-26 19:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:58: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-26 19:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:58: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-26 19:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665012992001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665012992001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:58:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:58:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665012992001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":162473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:58:14] local.INFO: GPS data processed {"connection_id":162473,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:58:14] local.INFO: Acknowledgment sent {"connection_id":162473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:58:36] local.INFO: TCP Data received {"connection_id":163744,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:58:36] local.INFO: Processing buffer {"connection_id":163744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:58:36] local.INFO: IMEI packet received {"connection_id":163744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":163744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:58:41] local.INFO: TCP Data received {"connection_id":163744,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:58:41] local.INFO: Processing buffer {"connection_id":163744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:58:41] local.INFO: IMEI packet received {"connection_id":163744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":163744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:58:42] local.INFO: TCP Data received {"connection_id":163744,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:58:42] local.INFO: Processing buffer {"connection_id":163744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:58:42] local.INFO: Packet analysis {"connection_id":163744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e75"} 
[2026-08-26 19:58:42] local.INFO: Extracted packet for processing {"connection_id":163744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e75"} 
[2026-08-26 19:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665012992001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19: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-26 19:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787754258000,"timestamp_ms":1787754258000,"timestamp_seconds":1787754258,"priority":1,"record_length":96,"hex_timestamp":"000001a03e751e50"} 
[2026-08-26 19: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-26 19:58: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-26 19:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:58: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-26 19: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-26 19: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-26 19:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665012992001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665012992001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:58:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:58:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665012992001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":163744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:58:42] local.INFO: GPS data processed {"connection_id":163744,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:58:42] local.INFO: Acknowledgment sent {"connection_id":163744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:59:14] local.INFO: TCP Data received {"connection_id":163744,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:59:14] local.INFO: Processing buffer {"connection_id":163744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:59:14] local.INFO: Packet analysis {"connection_id":163744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e75"} 
[2026-08-26 19:59:14] local.INFO: Extracted packet for processing {"connection_id":163744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e75"} 
[2026-08-26 19:59:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19: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-26 19:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665012992001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:59: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-26 19:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787754258000,"timestamp_ms":1787754258000,"timestamp_seconds":1787754258,"priority":1,"record_length":96,"hex_timestamp":"000001a03e751e50"} 
[2026-08-26 19: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-26 19: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-26 19: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:59: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-26 19: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-26 19: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-26 19:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665012992001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665012992001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:59:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:59:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665012992001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":163744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:59:14] local.INFO: GPS data processed {"connection_id":163744,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:59:14] local.INFO: Acknowledgment sent {"connection_id":163744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 19:59:36] local.INFO: TCP Data received {"connection_id":162714,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:59:36] local.INFO: Processing buffer {"connection_id":162714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:59:36] local.INFO: IMEI packet received {"connection_id":162714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 19:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":162714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 19:59:41] local.INFO: TCP Data received {"connection_id":162714,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:59:41] local.INFO: Processing buffer {"connection_id":162714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 19:59:41] local.INFO: IMEI packet received {"connection_id":162714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 19:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":162714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 19:59:42] local.INFO: TCP Data received {"connection_id":162714,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:59:42] local.INFO: Processing buffer {"connection_id":162714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e751e50012d34c14006aa4818000d00e62c..."} 
[2026-08-26 19:59:42] local.INFO: Packet analysis {"connection_id":162714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e75"} 
[2026-08-26 19:59:42] local.INFO: Extracted packet for processing {"connection_id":162714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e75"} 
[2026-08-26 19:59:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 19:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 19:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665012992001,"note":"Value kept but may cause issues"} 
[2026-08-26 19:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 19:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 19:59: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-26 19:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787754258000,"timestamp_ms":1787754258000,"timestamp_seconds":1787754258,"priority":1,"record_length":96,"hex_timestamp":"000001a03e751e50"} 
[2026-08-26 19:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 19:59: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-26 19:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 19:59: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-26 19:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 19:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 19:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 19:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 19:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 19:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 19:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 19:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 19:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665012992001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 19:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 19:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 19:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665012992001,"description":"Unknown IO ID 0"} 
[2026-08-26 19:59:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 19:59:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 19:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 19:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 19:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665012992001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 19:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":162714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 19:59:42] local.INFO: GPS data processed {"connection_id":162714,"processed":1,"errors":0,"total":1} 
[2026-08-26 19:59:42] local.INFO: Acknowledgment sent {"connection_id":162714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:00:08] local.INFO: TCP Data received {"connection_id":165081,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:00:08] local.INFO: Processing buffer {"connection_id":165081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:00:08] local.INFO: IMEI packet received {"connection_id":165081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 20:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":165081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:00:14] local.INFO: TCP Data received {"connection_id":162714,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:00:14] local.INFO: Processing buffer {"connection_id":162714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:00:14] local.INFO: Packet analysis {"connection_id":162714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e79"} 
[2026-08-26 20:00:14] local.INFO: Extracted packet for processing {"connection_id":162714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e79"} 
[2026-08-26 20:00:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 20:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665090048001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:00: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-26 20:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787754559000,"timestamp_ms":1787754559000,"timestamp_seconds":1787754559,"priority":1,"record_length":96,"hex_timestamp":"000001a03e79b618"} 
[2026-08-26 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-26 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-26 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":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:00: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-26 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-26 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-26 20:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665090048001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665090048001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:00:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:00:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665090048001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":162714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:00:14] local.INFO: GPS data processed {"connection_id":162714,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:00:14] local.INFO: Acknowledgment sent {"connection_id":162714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:00:37] local.INFO: TCP Data received {"connection_id":162474,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:00:37] local.INFO: Processing buffer {"connection_id":162474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:00:37] local.INFO: IMEI packet received {"connection_id":162474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":162474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:00:41] local.INFO: TCP Data received {"connection_id":162474,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:00:41] local.INFO: Processing buffer {"connection_id":162474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:00:41] local.INFO: IMEI packet received {"connection_id":162474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":162474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:00:42] local.INFO: TCP Data received {"connection_id":162474,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:00:42] local.INFO: Processing buffer {"connection_id":162474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:00:42] local.INFO: Packet analysis {"connection_id":162474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e79"} 
[2026-08-26 20:00:42] local.INFO: Extracted packet for processing {"connection_id":162474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e79"} 
[2026-08-26 20:00:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665090048001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20: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-26 20:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787754559000,"timestamp_ms":1787754559000,"timestamp_seconds":1787754559,"priority":1,"record_length":96,"hex_timestamp":"000001a03e79b618"} 
[2026-08-26 20: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-26 20: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-26 20: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:00: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-26 20: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-26 20: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-26 20:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665090048001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665090048001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:00:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:00:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665090048001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":162474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:00:42] local.INFO: GPS data processed {"connection_id":162474,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:00:42] local.INFO: Acknowledgment sent {"connection_id":162474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:00:47] local.INFO: TCP Data received {"connection_id":162474,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:00:47] local.INFO: Processing buffer {"connection_id":162474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:00:47] local.INFO: Packet analysis {"connection_id":162474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e79"} 
[2026-08-26 20:00:47] local.INFO: Extracted packet for processing {"connection_id":162474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e79"} 
[2026-08-26 20:00:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 20:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665090048001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:00: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-26 20:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787754559000,"timestamp_ms":1787754559000,"timestamp_seconds":1787754559,"priority":1,"record_length":96,"hex_timestamp":"000001a03e79b618"} 
[2026-08-26 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-26 20:00: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-26 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 20:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665090048001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665090048001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:00:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:00:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665090048001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":162474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:00:47] local.INFO: GPS data processed {"connection_id":162474,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:00:47] local.INFO: Acknowledgment sent {"connection_id":162474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:01:18] local.INFO: TCP Data received {"connection_id":162474,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:01:18] local.INFO: Processing buffer {"connection_id":162474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:01:18] local.INFO: Packet analysis {"connection_id":162474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e79"} 
[2026-08-26 20:01:18] local.INFO: Extracted packet for processing {"connection_id":162474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e79"} 
[2026-08-26 20:01:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 20:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665090048001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:01: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-26 20:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787754559000,"timestamp_ms":1787754559000,"timestamp_seconds":1787754559,"priority":1,"record_length":96,"hex_timestamp":"000001a03e79b618"} 
[2026-08-26 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-26 20:01: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-26 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 20:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665090048001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665090048001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:01:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:01:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665090048001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":162474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:01:18] local.INFO: GPS data processed {"connection_id":162474,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:01:18] local.INFO: Acknowledgment sent {"connection_id":162474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:01:36] local.INFO: TCP Data received {"connection_id":163745,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:01:36] local.INFO: Processing buffer {"connection_id":163745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:01:36] local.INFO: IMEI packet received {"connection_id":163745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":163745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:01:41] local.INFO: TCP Data received {"connection_id":163745,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:01:41] local.INFO: Processing buffer {"connection_id":163745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:01:41] local.INFO: IMEI packet received {"connection_id":163745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":163745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:01:42] local.INFO: TCP Data received {"connection_id":163745,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:01:42] local.INFO: Processing buffer {"connection_id":163745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:01:42] local.INFO: Packet analysis {"connection_id":163745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e79"} 
[2026-08-26 20:01:42] local.INFO: Extracted packet for processing {"connection_id":163745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e79"} 
[2026-08-26 20:01:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665090048001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:01: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-26 20:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787754559000,"timestamp_ms":1787754559000,"timestamp_seconds":1787754559,"priority":1,"record_length":96,"hex_timestamp":"000001a03e79b618"} 
[2026-08-26 20:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:01: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-26 20:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:01: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-26 20:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665090048001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665090048001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:01:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:01:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665090048001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":163745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:01:42] local.INFO: GPS data processed {"connection_id":163745,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:01:42] local.INFO: Acknowledgment sent {"connection_id":163745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:02:14] local.INFO: TCP Data received {"connection_id":163745,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:02:14] local.INFO: Processing buffer {"connection_id":163745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:02:14] local.INFO: Packet analysis {"connection_id":163745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e79"} 
[2026-08-26 20:02:14] local.INFO: Extracted packet for processing {"connection_id":163745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e79"} 
[2026-08-26 20:02:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665090048001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:02: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-26 20:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787754559000,"timestamp_ms":1787754559000,"timestamp_seconds":1787754559,"priority":1,"record_length":96,"hex_timestamp":"000001a03e79b618"} 
[2026-08-26 20: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-26 20:02: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-26 20: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:02: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-26 20: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-26 20: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-26 20:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665090048001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665090048001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:02:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:02:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665090048001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":163745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:02:14] local.INFO: GPS data processed {"connection_id":163745,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:02:14] local.INFO: Acknowledgment sent {"connection_id":163745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:02:36] local.INFO: TCP Data received {"connection_id":162475,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:02:36] local.INFO: Processing buffer {"connection_id":162475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:02:36] local.INFO: IMEI packet received {"connection_id":162475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":162475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:02:41] local.INFO: TCP Data received {"connection_id":162475,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:02:41] local.INFO: Processing buffer {"connection_id":162475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:02:41] local.INFO: IMEI packet received {"connection_id":162475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":162475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:02:42] local.INFO: TCP Data received {"connection_id":162475,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:02:42] local.INFO: Processing buffer {"connection_id":162475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:02:42] local.INFO: Packet analysis {"connection_id":162475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e79"} 
[2026-08-26 20:02:42] local.INFO: Extracted packet for processing {"connection_id":162475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e79"} 
[2026-08-26 20:02:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665090048001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20: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-26 20:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787754559000,"timestamp_ms":1787754559000,"timestamp_seconds":1787754559,"priority":1,"record_length":96,"hex_timestamp":"000001a03e79b618"} 
[2026-08-26 20: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-26 20: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-26 20: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-26 20: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-26 20: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-26 20: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-26 20:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665090048001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665090048001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:02:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:02:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665090048001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":162475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:02:42] local.INFO: GPS data processed {"connection_id":162475,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:02:42] local.INFO: Acknowledgment sent {"connection_id":162475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:03:14] local.INFO: TCP Data received {"connection_id":162475,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:03:14] local.INFO: Processing buffer {"connection_id":162475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:03:14] local.INFO: Packet analysis {"connection_id":162475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e79"} 
[2026-08-26 20:03:14] local.INFO: Extracted packet for processing {"connection_id":162475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e79"} 
[2026-08-26 20:03:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665090048001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:03: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-26 20:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787754559000,"timestamp_ms":1787754559000,"timestamp_seconds":1787754559,"priority":1,"record_length":96,"hex_timestamp":"000001a03e79b618"} 
[2026-08-26 20: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-26 20: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-26 20: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:03: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-26 20: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-26 20: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-26 20:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665090048001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665090048001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:03:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:03:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665090048001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":162475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:03:14] local.INFO: GPS data processed {"connection_id":162475,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:03:14] local.INFO: Acknowledgment sent {"connection_id":162475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:03:36] local.INFO: TCP Data received {"connection_id":163746,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:03:36] local.INFO: Processing buffer {"connection_id":163746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:03:36] local.INFO: IMEI packet received {"connection_id":163746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":163746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:03:41] local.INFO: TCP Data received {"connection_id":163746,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:03:41] local.INFO: Processing buffer {"connection_id":163746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:03:41] local.INFO: IMEI packet received {"connection_id":163746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":163746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:03:42] local.INFO: TCP Data received {"connection_id":163746,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:03:42] local.INFO: Processing buffer {"connection_id":163746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:03:42] local.INFO: Packet analysis {"connection_id":163746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e79"} 
[2026-08-26 20:03:42] local.INFO: Extracted packet for processing {"connection_id":163746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e79"} 
[2026-08-26 20:03:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665090048001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20: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-26 20:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787754559000,"timestamp_ms":1787754559000,"timestamp_seconds":1787754559,"priority":1,"record_length":96,"hex_timestamp":"000001a03e79b618"} 
[2026-08-26 20: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-26 20: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-26 20: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:03: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-26 20: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-26 20: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-26 20:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665090048001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665090048001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:03:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:03:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665090048001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":163746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:03:42] local.INFO: GPS data processed {"connection_id":163746,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:03:42] local.INFO: Acknowledgment sent {"connection_id":163746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:04:13] local.INFO: TCP Data received {"connection_id":163746,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:04:13] local.INFO: Processing buffer {"connection_id":163746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:04:13] local.INFO: Packet analysis {"connection_id":163746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e79"} 
[2026-08-26 20:04:13] local.INFO: Extracted packet for processing {"connection_id":163746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e79"} 
[2026-08-26 20:04:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665090048001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:04: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-26 20:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787754559000,"timestamp_ms":1787754559000,"timestamp_seconds":1787754559,"priority":1,"record_length":96,"hex_timestamp":"000001a03e79b618"} 
[2026-08-26 20:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:04: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-26 20:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:04: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-26 20:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665090048001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665090048001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:04:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:04:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665090048001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":163746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:04:13] local.INFO: GPS data processed {"connection_id":163746,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:04:13] local.INFO: Acknowledgment sent {"connection_id":163746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:04:41] local.INFO: TCP Data received {"connection_id":165082,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:04:41] local.INFO: Processing buffer {"connection_id":165082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:04:41] local.INFO: IMEI packet received {"connection_id":165082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":165082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:04:46] local.INFO: TCP Data received {"connection_id":165082,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:04:46] local.INFO: Processing buffer {"connection_id":165082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:04:46] local.INFO: IMEI packet received {"connection_id":165082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":165082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:04:47] local.INFO: TCP Data received {"connection_id":165082,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:04:47] local.INFO: Processing buffer {"connection_id":165082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:04:47] local.INFO: Packet analysis {"connection_id":165082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e79"} 
[2026-08-26 20:04:47] local.INFO: Extracted packet for processing {"connection_id":165082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e79"} 
[2026-08-26 20:04:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 20:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665090048001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:04: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-26 20:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787754559000,"timestamp_ms":1787754559000,"timestamp_seconds":1787754559,"priority":1,"record_length":96,"hex_timestamp":"000001a03e79b618"} 
[2026-08-26 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-26 20:04: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-26 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 20:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665090048001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665090048001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:04:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:04:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665090048001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":165082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:04:47] local.INFO: GPS data processed {"connection_id":165082,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:04:47] local.INFO: Acknowledgment sent {"connection_id":165082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:04:52] local.INFO: TCP Data received {"connection_id":165082,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:04:52] local.INFO: Processing buffer {"connection_id":165082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e79b618012d34c14006aa4818000c00e630..."} 
[2026-08-26 20:04:52] local.INFO: Packet analysis {"connection_id":165082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e79"} 
[2026-08-26 20:04:52] local.INFO: Extracted packet for processing {"connection_id":165082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e79"} 
[2026-08-26 20:04:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665090048001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:04: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-26 20:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787754559000,"timestamp_ms":1787754559000,"timestamp_seconds":1787754559,"priority":1,"record_length":96,"hex_timestamp":"000001a03e79b618"} 
[2026-08-26 20: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-26 20:04: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-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:04: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-26 20: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-26 20: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-26 20:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665090048001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665090048001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:04:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:04:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665090048001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":165082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:04:52] local.INFO: GPS data processed {"connection_id":165082,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:04:52] local.INFO: Acknowledgment sent {"connection_id":165082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:05:36] local.INFO: TCP Data received {"connection_id":162716,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:05:36] local.INFO: Processing buffer {"connection_id":162716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:05:36] local.INFO: IMEI packet received {"connection_id":162716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":162716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:05:41] local.INFO: TCP Data received {"connection_id":162716,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:05:41] local.INFO: Processing buffer {"connection_id":162716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:05:41] local.INFO: IMEI packet received {"connection_id":162716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":162716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:05:41] local.INFO: TCP Data received {"connection_id":162715,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:05:41] local.INFO: Processing buffer {"connection_id":162715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:05:41] local.INFO: IMEI packet received {"connection_id":162715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 20:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":162715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:05:42] local.INFO: TCP Data received {"connection_id":162716,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:05:42] local.INFO: Processing buffer {"connection_id":162716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:05:42] local.INFO: Packet analysis {"connection_id":162716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e7e"} 
[2026-08-26 20:05:42] local.INFO: Extracted packet for processing {"connection_id":162716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e7e"} 
[2026-08-26 20:05:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665167104001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:05: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-26 20:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787754860000,"timestamp_ms":1787754860000,"timestamp_seconds":1787754860,"priority":1,"record_length":96,"hex_timestamp":"000001a03e7e4de0"} 
[2026-08-26 20:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 20:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:05: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-26 20:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665167104001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665167104001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:05:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:05:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665167104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":162716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:05:42] local.INFO: GPS data processed {"connection_id":162716,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:05:42] local.INFO: Acknowledgment sent {"connection_id":162716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:06:13] local.INFO: TCP Data received {"connection_id":162716,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:06:13] local.INFO: Processing buffer {"connection_id":162716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:06:13] local.INFO: Packet analysis {"connection_id":162716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e7e"} 
[2026-08-26 20:06:13] local.INFO: Extracted packet for processing {"connection_id":162716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e7e"} 
[2026-08-26 20:06:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665167104001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:06: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-26 20:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787754860000,"timestamp_ms":1787754860000,"timestamp_seconds":1787754860,"priority":1,"record_length":96,"hex_timestamp":"000001a03e7e4de0"} 
[2026-08-26 20: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-26 20:06: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-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:06: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-26 20: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-26 20: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-26 20:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665167104001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665167104001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:06:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:06:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665167104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":162716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:06:13] local.INFO: GPS data processed {"connection_id":162716,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:06:13] local.INFO: Acknowledgment sent {"connection_id":162716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:06:36] local.INFO: TCP Data received {"connection_id":162717,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:06:36] local.INFO: Processing buffer {"connection_id":162717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:06:36] local.INFO: IMEI packet received {"connection_id":162717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":162717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:06:41] local.INFO: TCP Data received {"connection_id":162717,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:06:41] local.INFO: Processing buffer {"connection_id":162717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:06:41] local.INFO: IMEI packet received {"connection_id":162717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":162717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:06:42] local.INFO: TCP Data received {"connection_id":162717,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:06:42] local.INFO: Processing buffer {"connection_id":162717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:06:42] local.INFO: Packet analysis {"connection_id":162717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e7e"} 
[2026-08-26 20:06:42] local.INFO: Extracted packet for processing {"connection_id":162717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e7e"} 
[2026-08-26 20:06:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665167104001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:06: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-26 20:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787754860000,"timestamp_ms":1787754860000,"timestamp_seconds":1787754860,"priority":1,"record_length":96,"hex_timestamp":"000001a03e7e4de0"} 
[2026-08-26 20:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:06: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-26 20:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:06: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-26 20:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665167104001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665167104001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:06:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:06:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665167104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":162717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:06:42] local.INFO: GPS data processed {"connection_id":162717,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:06:42] local.INFO: Acknowledgment sent {"connection_id":162717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:07:13] local.INFO: TCP Data received {"connection_id":162717,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:07:13] local.INFO: Processing buffer {"connection_id":162717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:07:13] local.INFO: Packet analysis {"connection_id":162717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e7e"} 
[2026-08-26 20:07:13] local.INFO: Extracted packet for processing {"connection_id":162717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e7e"} 
[2026-08-26 20:07:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665167104001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:07: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-26 20:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787754860000,"timestamp_ms":1787754860000,"timestamp_seconds":1787754860,"priority":1,"record_length":96,"hex_timestamp":"000001a03e7e4de0"} 
[2026-08-26 20: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-26 20:07: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-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:07: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-26 20: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-26 20: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-26 20:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665167104001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665167104001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:07:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:07:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665167104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":162717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:07:13] local.INFO: GPS data processed {"connection_id":162717,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:07:13] local.INFO: Acknowledgment sent {"connection_id":162717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:07:36] local.INFO: TCP Data received {"connection_id":162476,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:07:36] local.INFO: Processing buffer {"connection_id":162476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:07:36] local.INFO: IMEI packet received {"connection_id":162476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":162476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:07:41] local.INFO: TCP Data received {"connection_id":162476,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:07:41] local.INFO: Processing buffer {"connection_id":162476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:07:41] local.INFO: IMEI packet received {"connection_id":162476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":162476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:07:42] local.INFO: TCP Data received {"connection_id":162476,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:07:42] local.INFO: Processing buffer {"connection_id":162476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:07:42] local.INFO: Packet analysis {"connection_id":162476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e7e"} 
[2026-08-26 20:07:42] local.INFO: Extracted packet for processing {"connection_id":162476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e7e"} 
[2026-08-26 20:07:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665167104001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:07: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-26 20:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787754860000,"timestamp_ms":1787754860000,"timestamp_seconds":1787754860,"priority":1,"record_length":96,"hex_timestamp":"000001a03e7e4de0"} 
[2026-08-26 20:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 20:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:07: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-26 20:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665167104001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665167104001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:07:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:07:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665167104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":162476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:07:42] local.INFO: GPS data processed {"connection_id":162476,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:07:42] local.INFO: Acknowledgment sent {"connection_id":162476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:08:16] local.INFO: TCP Data received {"connection_id":162476,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:08:16] local.INFO: Processing buffer {"connection_id":162476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:08:16] local.INFO: Packet analysis {"connection_id":162476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e7e"} 
[2026-08-26 20:08:16] local.INFO: Extracted packet for processing {"connection_id":162476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e7e"} 
[2026-08-26 20:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665167104001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20: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-26 20:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787754860000,"timestamp_ms":1787754860000,"timestamp_seconds":1787754860,"priority":1,"record_length":96,"hex_timestamp":"000001a03e7e4de0"} 
[2026-08-26 20: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-26 20: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-26 20: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-26 20: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-26 20: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-26 20: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-26 20:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665167104001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665167104001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:08:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665167104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":162476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:08:16] local.INFO: GPS data processed {"connection_id":162476,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:08:16] local.INFO: Acknowledgment sent {"connection_id":162476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:08:36] local.INFO: TCP Data received {"connection_id":165084,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:08:36] local.INFO: Processing buffer {"connection_id":165084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:08:36] local.INFO: IMEI packet received {"connection_id":165084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":165084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:08:41] local.INFO: TCP Data received {"connection_id":165084,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:08:41] local.INFO: Processing buffer {"connection_id":165084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:08:41] local.INFO: IMEI packet received {"connection_id":165084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":165084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:08:42] local.INFO: TCP Data received {"connection_id":165084,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:08:42] local.INFO: Processing buffer {"connection_id":165084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:08:42] local.INFO: Packet analysis {"connection_id":165084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e7e"} 
[2026-08-26 20:08:42] local.INFO: Extracted packet for processing {"connection_id":165084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e7e"} 
[2026-08-26 20:08:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665167104001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20: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-26 20:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787754860000,"timestamp_ms":1787754860000,"timestamp_seconds":1787754860,"priority":1,"record_length":96,"hex_timestamp":"000001a03e7e4de0"} 
[2026-08-26 20: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-26 20: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-26 20: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-26 20: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-26 20: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-26 20: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-26 20:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665167104001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665167104001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:08:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:08:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665167104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":165084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:08:42] local.INFO: GPS data processed {"connection_id":165084,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:08:42] local.INFO: Acknowledgment sent {"connection_id":165084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:09:13] local.INFO: TCP Data received {"connection_id":165084,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:09:13] local.INFO: Processing buffer {"connection_id":165084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:09:13] local.INFO: Packet analysis {"connection_id":165084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e7e"} 
[2026-08-26 20:09:13] local.INFO: Extracted packet for processing {"connection_id":165084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e7e"} 
[2026-08-26 20:09:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665167104001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:09: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-26 20:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787754860000,"timestamp_ms":1787754860000,"timestamp_seconds":1787754860,"priority":1,"record_length":96,"hex_timestamp":"000001a03e7e4de0"} 
[2026-08-26 20:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:09: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-26 20:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:09: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-26 20:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665167104001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665167104001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:09:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:09:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665167104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":165084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:09:13] local.INFO: GPS data processed {"connection_id":165084,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:09:13] local.INFO: Acknowledgment sent {"connection_id":165084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:09:41] local.INFO: TCP Data received {"connection_id":162718,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:09:41] local.INFO: Processing buffer {"connection_id":162718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:09:41] local.INFO: IMEI packet received {"connection_id":162718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":162718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:09:47] local.INFO: TCP Data received {"connection_id":162718,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:09:47] local.INFO: Processing buffer {"connection_id":162718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:09:47] local.INFO: IMEI packet received {"connection_id":162718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":162718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:09:48] local.INFO: TCP Data received {"connection_id":162718,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:09:48] local.INFO: Processing buffer {"connection_id":162718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e7e4de0012d34c14006aa4818000b00e630..."} 
[2026-08-26 20:09:48] local.INFO: Packet analysis {"connection_id":162718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e7e"} 
[2026-08-26 20:09:48] local.INFO: Extracted packet for processing {"connection_id":162718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e7e"} 
[2026-08-26 20:09:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665167104001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 20:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787754860000,"timestamp_ms":1787754860000,"timestamp_seconds":1787754860,"priority":1,"record_length":96,"hex_timestamp":"000001a03e7e4de0"} 
[2026-08-26 20: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-26 20:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 20: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-26 20: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-26 20:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665167104001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665167104001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:09:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:09:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665167104001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":162718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:09:48] local.INFO: GPS data processed {"connection_id":162718,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:09:48] local.INFO: Acknowledgment sent {"connection_id":162718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:10:19] local.INFO: TCP Data received {"connection_id":162718,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:10:19] local.INFO: Processing buffer {"connection_id":162718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:10:19] local.INFO: Packet analysis {"connection_id":162718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e82"} 
[2026-08-26 20:10:19] local.INFO: Extracted packet for processing {"connection_id":162718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e82"} 
[2026-08-26 20:10:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 20:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665244160001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 20:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787755161000,"timestamp_ms":1787755161000,"timestamp_seconds":1787755161,"priority":1,"record_length":96,"hex_timestamp":"000001a03e82e5a8"} 
[2026-08-26 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-26 20:10: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-26 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 20:10:19] 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-26 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-26 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-26 20:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665244160001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665244160001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:10:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:10:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665244160001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":162718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:10:19] local.INFO: GPS data processed {"connection_id":162718,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:10:19] local.INFO: Acknowledgment sent {"connection_id":162718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:10:37] local.INFO: TCP Data received {"connection_id":165085,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:10:37] local.INFO: Processing buffer {"connection_id":165085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:10:37] local.INFO: IMEI packet received {"connection_id":165085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":165085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:10:41] local.INFO: TCP Data received {"connection_id":165085,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:10:41] local.INFO: Processing buffer {"connection_id":165085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:10:41] local.INFO: IMEI packet received {"connection_id":165085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":165085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:10:42] local.INFO: TCP Data received {"connection_id":165085,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:10:42] local.INFO: Processing buffer {"connection_id":165085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:10:42] local.INFO: Packet analysis {"connection_id":165085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e82"} 
[2026-08-26 20:10:42] local.INFO: Extracted packet for processing {"connection_id":165085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e82"} 
[2026-08-26 20:10:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665244160001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:10: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-26 20:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787755161000,"timestamp_ms":1787755161000,"timestamp_seconds":1787755161,"priority":1,"record_length":96,"hex_timestamp":"000001a03e82e5a8"} 
[2026-08-26 20: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-26 20:10: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-26 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 20:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 20: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-26 20: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-26 20:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665244160001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665244160001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:10:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:10:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665244160001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":165085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:10:42] local.INFO: GPS data processed {"connection_id":165085,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:10:42] local.INFO: Acknowledgment sent {"connection_id":165085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:11:14] local.INFO: TCP Data received {"connection_id":165085,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:11:14] local.INFO: Processing buffer {"connection_id":165085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:11:14] local.INFO: Packet analysis {"connection_id":165085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e82"} 
[2026-08-26 20:11:14] local.INFO: Extracted packet for processing {"connection_id":165085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e82"} 
[2026-08-26 20:11:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665244160001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:11: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-26 20:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787755161000,"timestamp_ms":1787755161000,"timestamp_seconds":1787755161,"priority":1,"record_length":96,"hex_timestamp":"000001a03e82e5a8"} 
[2026-08-26 20: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-26 20:11: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-26 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 20:11: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-26 20: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-26 20: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-26 20:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665244160001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665244160001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:11:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:11:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665244160001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":165085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:11:14] local.INFO: GPS data processed {"connection_id":165085,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:11:14] local.INFO: Acknowledgment sent {"connection_id":165085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:11:16] local.INFO: TCP Data received {"connection_id":165083,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:11:16] local.INFO: Processing buffer {"connection_id":165083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:11:16] local.INFO: IMEI packet received {"connection_id":165083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 20:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":165083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:11:36] local.INFO: TCP Data received {"connection_id":162719,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:11:36] local.INFO: Processing buffer {"connection_id":162719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:11:36] local.INFO: IMEI packet received {"connection_id":162719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":162719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:11:41] local.INFO: TCP Data received {"connection_id":162719,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:11:41] local.INFO: Processing buffer {"connection_id":162719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:11:41] local.INFO: IMEI packet received {"connection_id":162719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":162719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:11:43] local.INFO: TCP Data received {"connection_id":162719,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:11:43] local.INFO: Processing buffer {"connection_id":162719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:11:43] local.INFO: Packet analysis {"connection_id":162719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e82"} 
[2026-08-26 20:11:43] local.INFO: Extracted packet for processing {"connection_id":162719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e82"} 
[2026-08-26 20:11:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665244160001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:11: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-26 20:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787755161000,"timestamp_ms":1787755161000,"timestamp_seconds":1787755161,"priority":1,"record_length":96,"hex_timestamp":"000001a03e82e5a8"} 
[2026-08-26 20: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-26 20:11: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-26 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 20:11:43] 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-26 20: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-26 20: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-26 20:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665244160001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665244160001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:11:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:11:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665244160001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":162719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:11:43] local.INFO: GPS data processed {"connection_id":162719,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:11:43] local.INFO: Acknowledgment sent {"connection_id":162719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:12:14] local.INFO: TCP Data received {"connection_id":162719,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:12:14] local.INFO: Processing buffer {"connection_id":162719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:12:14] local.INFO: Packet analysis {"connection_id":162719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e82"} 
[2026-08-26 20:12:14] local.INFO: Extracted packet for processing {"connection_id":162719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e82"} 
[2026-08-26 20:12:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665244160001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:12: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-26 20:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787755161000,"timestamp_ms":1787755161000,"timestamp_seconds":1787755161,"priority":1,"record_length":96,"hex_timestamp":"000001a03e82e5a8"} 
[2026-08-26 20:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:12: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-26 20:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 20:12: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-26 20:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665244160001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665244160001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:12:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:12:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665244160001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":162719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:12:14] local.INFO: GPS data processed {"connection_id":162719,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:12:14] local.INFO: Acknowledgment sent {"connection_id":162719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:12:36] local.INFO: TCP Data received {"connection_id":162720,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:12:36] local.INFO: Processing buffer {"connection_id":162720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:12:36] local.INFO: IMEI packet received {"connection_id":162720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":162720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:12:41] local.INFO: TCP Data received {"connection_id":162720,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:12:41] local.INFO: Processing buffer {"connection_id":162720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:12:41] local.INFO: IMEI packet received {"connection_id":162720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":162720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:12:42] local.INFO: TCP Data received {"connection_id":162720,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:12:42] local.INFO: Processing buffer {"connection_id":162720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:12:42] local.INFO: Packet analysis {"connection_id":162720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e82"} 
[2026-08-26 20:12:42] local.INFO: Extracted packet for processing {"connection_id":162720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e82"} 
[2026-08-26 20:12:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665244160001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:12: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-26 20:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787755161000,"timestamp_ms":1787755161000,"timestamp_seconds":1787755161,"priority":1,"record_length":96,"hex_timestamp":"000001a03e82e5a8"} 
[2026-08-26 20:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:12: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-26 20:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 20:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 20:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665244160001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665244160001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:12:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:12:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665244160001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":162720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:12:42] local.INFO: GPS data processed {"connection_id":162720,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:12:42] local.INFO: Acknowledgment sent {"connection_id":162720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:13:13] local.INFO: TCP Data received {"connection_id":162720,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:13:13] local.INFO: Processing buffer {"connection_id":162720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:13:13] local.INFO: Packet analysis {"connection_id":162720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e82"} 
[2026-08-26 20:13:13] local.INFO: Extracted packet for processing {"connection_id":162720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e82"} 
[2026-08-26 20:13:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665244160001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:13: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-26 20:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787755161000,"timestamp_ms":1787755161000,"timestamp_seconds":1787755161,"priority":1,"record_length":96,"hex_timestamp":"000001a03e82e5a8"} 
[2026-08-26 20: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-26 20:13: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-26 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 20:13: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-26 20: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-26 20: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-26 20:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665244160001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665244160001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:13:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:13:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665244160001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":162720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:13:13] local.INFO: GPS data processed {"connection_id":162720,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:13:13] local.INFO: Acknowledgment sent {"connection_id":162720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:13:36] local.INFO: TCP Data received {"connection_id":162477,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:13:36] local.INFO: Processing buffer {"connection_id":162477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:13:36] local.INFO: IMEI packet received {"connection_id":162477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":162477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:13:41] local.INFO: TCP Data received {"connection_id":162477,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:13:41] local.INFO: Processing buffer {"connection_id":162477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:13:41] local.INFO: IMEI packet received {"connection_id":162477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":162477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:13:42] local.INFO: TCP Data received {"connection_id":162477,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:13:42] local.INFO: Processing buffer {"connection_id":162477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:13:42] local.INFO: Packet analysis {"connection_id":162477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e82"} 
[2026-08-26 20:13:42] local.INFO: Extracted packet for processing {"connection_id":162477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e82"} 
[2026-08-26 20:13:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665244160001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:13: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-26 20:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787755161000,"timestamp_ms":1787755161000,"timestamp_seconds":1787755161,"priority":1,"record_length":96,"hex_timestamp":"000001a03e82e5a8"} 
[2026-08-26 20:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:13: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-26 20:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 20:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 20:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665244160001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665244160001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:13:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:13:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665244160001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":162477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:13:42] local.INFO: GPS data processed {"connection_id":162477,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:13:42] local.INFO: Acknowledgment sent {"connection_id":162477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:14:13] local.INFO: TCP Data received {"connection_id":162477,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:14:13] local.INFO: Processing buffer {"connection_id":162477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:14:13] local.INFO: Packet analysis {"connection_id":162477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e82"} 
[2026-08-26 20:14:13] local.INFO: Extracted packet for processing {"connection_id":162477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e82"} 
[2026-08-26 20:14:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665244160001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:14: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-26 20:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787755161000,"timestamp_ms":1787755161000,"timestamp_seconds":1787755161,"priority":1,"record_length":96,"hex_timestamp":"000001a03e82e5a8"} 
[2026-08-26 20:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20: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-26 20:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 20:14: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-26 20:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665244160001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665244160001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:14:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:14:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665244160001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":162477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:14:14] local.INFO: GPS data processed {"connection_id":162477,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:14:14] local.INFO: Acknowledgment sent {"connection_id":162477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:14:41] local.INFO: TCP Data received {"connection_id":162722,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:14:41] local.INFO: Processing buffer {"connection_id":162722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:14:41] local.INFO: IMEI packet received {"connection_id":162722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":162722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:14:46] local.INFO: TCP Data received {"connection_id":162722,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:14:46] local.INFO: Processing buffer {"connection_id":162722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:14:46] local.INFO: IMEI packet received {"connection_id":162722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":162722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:14:47] local.INFO: TCP Data received {"connection_id":162722,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:14:47] local.INFO: Processing buffer {"connection_id":162722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:14:47] local.INFO: Packet analysis {"connection_id":162722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e82"} 
[2026-08-26 20:14:47] local.INFO: Extracted packet for processing {"connection_id":162722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e82"} 
[2026-08-26 20:14:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665244160001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:14: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-26 20:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787755161000,"timestamp_ms":1787755161000,"timestamp_seconds":1787755161,"priority":1,"record_length":96,"hex_timestamp":"000001a03e82e5a8"} 
[2026-08-26 20: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-26 20:14: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-26 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 20:14:47] 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-26 20: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-26 20: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-26 20:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665244160001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665244160001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:14:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:14:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665244160001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":162722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:14:47] local.INFO: GPS data processed {"connection_id":162722,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:14:47] local.INFO: Acknowledgment sent {"connection_id":162722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:14:51] local.INFO: TCP Data received {"connection_id":162722,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:14:51] local.INFO: Processing buffer {"connection_id":162722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e82e5a8012d34c14006aa4818000f00e630..."} 
[2026-08-26 20:14:51] local.INFO: Packet analysis {"connection_id":162722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e82"} 
[2026-08-26 20:14:51] local.INFO: Extracted packet for processing {"connection_id":162722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e82"} 
[2026-08-26 20:14:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665244160001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 20:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787755161000,"timestamp_ms":1787755161000,"timestamp_seconds":1787755161,"priority":1,"record_length":96,"hex_timestamp":"000001a03e82e5a8"} 
[2026-08-26 20: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-26 20:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-26 20:14:51] 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-26 20: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-26 20: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-26 20:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665244160001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665244160001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:14:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:14:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665244160001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":162722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:14:52] local.INFO: GPS data processed {"connection_id":162722,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:14:52] local.INFO: Acknowledgment sent {"connection_id":162722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:15:36] local.INFO: TCP Data received {"connection_id":162478,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:15:36] local.INFO: Processing buffer {"connection_id":162478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:15:36] local.INFO: IMEI packet received {"connection_id":162478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":162478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:15:41] local.INFO: TCP Data received {"connection_id":162478,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:15:41] local.INFO: Processing buffer {"connection_id":162478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:15:41] local.INFO: IMEI packet received {"connection_id":162478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":162478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:15:42] local.INFO: TCP Data received {"connection_id":162478,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:15:42] local.INFO: Processing buffer {"connection_id":162478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:15:42] local.INFO: Packet analysis {"connection_id":162478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e87"} 
[2026-08-26 20:15:42] local.INFO: Extracted packet for processing {"connection_id":162478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e87"} 
[2026-08-26 20:15:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665321216001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20: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-26 20:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787755462000,"timestamp_ms":1787755462000,"timestamp_seconds":1787755462,"priority":1,"record_length":96,"hex_timestamp":"000001a03e877d70"} 
[2026-08-26 20: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-26 20: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-26 20: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:15: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-26 20: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-26 20: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-26 20:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665321216001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665321216001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:15:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:15:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665321216001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":162478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:15:42] local.INFO: GPS data processed {"connection_id":162478,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:15:42] local.INFO: Acknowledgment sent {"connection_id":162478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:16:13] local.INFO: TCP Data received {"connection_id":162478,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:16:13] local.INFO: Processing buffer {"connection_id":162478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:16:13] local.INFO: Packet analysis {"connection_id":162478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e87"} 
[2026-08-26 20:16:13] local.INFO: Extracted packet for processing {"connection_id":162478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e87"} 
[2026-08-26 20:16:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 20:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665321216001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:16: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-26 20:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787755462000,"timestamp_ms":1787755462000,"timestamp_seconds":1787755462,"priority":1,"record_length":96,"hex_timestamp":"000001a03e877d70"} 
[2026-08-26 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-26 20:16: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-26 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":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:16: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-26 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-26 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-26 20:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665321216001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665321216001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:16:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:16:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665321216001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":162478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:16:13] local.INFO: GPS data processed {"connection_id":162478,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:16:13] local.INFO: Acknowledgment sent {"connection_id":162478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:16:36] local.INFO: TCP Data received {"connection_id":165086,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:16:36] local.INFO: Processing buffer {"connection_id":165086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:16:36] local.INFO: IMEI packet received {"connection_id":165086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":165086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:16:41] local.INFO: TCP Data received {"connection_id":165086,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:16:41] local.INFO: Processing buffer {"connection_id":165086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:16:41] local.INFO: IMEI packet received {"connection_id":165086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":165086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:16:42] local.INFO: TCP Data received {"connection_id":165086,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:16:42] local.INFO: Processing buffer {"connection_id":165086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:16:42] local.INFO: Packet analysis {"connection_id":165086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e87"} 
[2026-08-26 20:16:42] local.INFO: Extracted packet for processing {"connection_id":165086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e87"} 
[2026-08-26 20:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665321216001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20: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-26 20:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787755462000,"timestamp_ms":1787755462000,"timestamp_seconds":1787755462,"priority":1,"record_length":96,"hex_timestamp":"000001a03e877d70"} 
[2026-08-26 20: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-26 20: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-26 20: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:16: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-26 20: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-26 20: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-26 20:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665321216001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665321216001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:16:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665321216001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":165086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:16:42] local.INFO: GPS data processed {"connection_id":165086,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:16:42] local.INFO: Acknowledgment sent {"connection_id":165086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:16:51] local.INFO: TCP Data received {"connection_id":162721,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:16:51] local.INFO: Processing buffer {"connection_id":162721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:16:51] local.INFO: IMEI packet received {"connection_id":162721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 20:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":162721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:17:13] local.INFO: TCP Data received {"connection_id":165086,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:17:13] local.INFO: Processing buffer {"connection_id":165086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:17:13] local.INFO: Packet analysis {"connection_id":165086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e87"} 
[2026-08-26 20:17:13] local.INFO: Extracted packet for processing {"connection_id":165086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e87"} 
[2026-08-26 20:17:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665321216001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:17: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-26 20:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787755462000,"timestamp_ms":1787755462000,"timestamp_seconds":1787755462,"priority":1,"record_length":96,"hex_timestamp":"000001a03e877d70"} 
[2026-08-26 20: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-26 20:17: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-26 20: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:17: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-26 20: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-26 20: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-26 20:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665321216001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665321216001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:17:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:17:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665321216001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":165086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:17:13] local.INFO: GPS data processed {"connection_id":165086,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:17:13] local.INFO: Acknowledgment sent {"connection_id":165086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:17:36] local.INFO: TCP Data received {"connection_id":163747,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:17:36] local.INFO: Processing buffer {"connection_id":163747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:17:36] local.INFO: IMEI packet received {"connection_id":163747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":163747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:17:41] local.INFO: TCP Data received {"connection_id":163747,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:17:41] local.INFO: Processing buffer {"connection_id":163747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:17:41] local.INFO: IMEI packet received {"connection_id":163747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":163747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:17:44] local.INFO: TCP Data received {"connection_id":163747,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:17:44] local.INFO: Processing buffer {"connection_id":163747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:17:44] local.INFO: Packet analysis {"connection_id":163747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e87"} 
[2026-08-26 20:17:44] local.INFO: Extracted packet for processing {"connection_id":163747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e87"} 
[2026-08-26 20:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665321216001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:17: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-26 20:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787755462000,"timestamp_ms":1787755462000,"timestamp_seconds":1787755462,"priority":1,"record_length":96,"hex_timestamp":"000001a03e877d70"} 
[2026-08-26 20:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:17: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-26 20:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:17: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-26 20:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665321216001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665321216001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:17:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665321216001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":163747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:17:44] local.INFO: GPS data processed {"connection_id":163747,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:17:44] local.INFO: Acknowledgment sent {"connection_id":163747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:18:15] local.INFO: TCP Data received {"connection_id":163747,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:18:15] local.INFO: Processing buffer {"connection_id":163747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:18:15] local.INFO: Packet analysis {"connection_id":163747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e87"} 
[2026-08-26 20:18:15] local.INFO: Extracted packet for processing {"connection_id":163747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e87"} 
[2026-08-26 20:18:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665321216001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:18: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-26 20:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787755462000,"timestamp_ms":1787755462000,"timestamp_seconds":1787755462,"priority":1,"record_length":96,"hex_timestamp":"000001a03e877d70"} 
[2026-08-26 20:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 20:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:18: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-26 20:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665321216001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665321216001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:18:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:18:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665321216001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":163747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:18:15] local.INFO: GPS data processed {"connection_id":163747,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:18:15] local.INFO: Acknowledgment sent {"connection_id":163747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:18:41] local.INFO: TCP Data received {"connection_id":162724,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:18:41] local.INFO: Processing buffer {"connection_id":162724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:18:41] local.INFO: IMEI packet received {"connection_id":162724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":162724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:18:46] local.INFO: TCP Data received {"connection_id":162724,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:18:46] local.INFO: Processing buffer {"connection_id":162724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:18:46] local.INFO: IMEI packet received {"connection_id":162724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":162724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:18:48] local.INFO: TCP Data received {"connection_id":162724,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:18:48] local.INFO: Processing buffer {"connection_id":162724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:18:48] local.INFO: Packet analysis {"connection_id":162724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e87"} 
[2026-08-26 20:18:48] local.INFO: Extracted packet for processing {"connection_id":162724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e87"} 
[2026-08-26 20:18:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665321216001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 20:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787755462000,"timestamp_ms":1787755462000,"timestamp_seconds":1787755462,"priority":1,"record_length":96,"hex_timestamp":"000001a03e877d70"} 
[2026-08-26 20: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-26 20:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 20: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 20: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-26 20: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-26 20:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665321216001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665321216001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:18:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:18:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665321216001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":162724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:18:48] local.INFO: GPS data processed {"connection_id":162724,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:18:48] local.INFO: Acknowledgment sent {"connection_id":162724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:18:52] local.INFO: TCP Data received {"connection_id":162724,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:18:52] local.INFO: Processing buffer {"connection_id":162724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:18:52] local.INFO: Packet analysis {"connection_id":162724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e87"} 
[2026-08-26 20:18:52] local.INFO: Extracted packet for processing {"connection_id":162724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e87"} 
[2026-08-26 20:18:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665321216001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:18: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-26 20:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787755462000,"timestamp_ms":1787755462000,"timestamp_seconds":1787755462,"priority":1,"record_length":96,"hex_timestamp":"000001a03e877d70"} 
[2026-08-26 20: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-26 20:18: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-26 20: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 20: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-26 20: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-26 20:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665321216001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665321216001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:18:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:18:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665321216001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":162724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:18:52] local.INFO: GPS data processed {"connection_id":162724,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:18:52] local.INFO: Acknowledgment sent {"connection_id":162724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:19:36] local.INFO: TCP Data received {"connection_id":162725,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:19:36] local.INFO: Processing buffer {"connection_id":162725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:19:36] local.INFO: IMEI packet received {"connection_id":162725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":162725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:19:41] local.INFO: TCP Data received {"connection_id":162725,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:19:41] local.INFO: Processing buffer {"connection_id":162725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:19:41] local.INFO: IMEI packet received {"connection_id":162725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":162725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:19:42] local.INFO: TCP Data received {"connection_id":162725,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:19:42] local.INFO: Processing buffer {"connection_id":162725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e877d70012d34c14006aa4818000f00e62f..."} 
[2026-08-26 20:19:42] local.INFO: Packet analysis {"connection_id":162725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e87"} 
[2026-08-26 20:19:42] local.INFO: Extracted packet for processing {"connection_id":162725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e87"} 
[2026-08-26 20:19:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665321216001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20: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-26 20:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787755462000,"timestamp_ms":1787755462000,"timestamp_seconds":1787755462,"priority":1,"record_length":96,"hex_timestamp":"000001a03e877d70"} 
[2026-08-26 20: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-26 20: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-26 20: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:19: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-26 20: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-26 20: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-26 20:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665321216001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665321216001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:19:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:19:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665321216001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":162725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:19:42] local.INFO: GPS data processed {"connection_id":162725,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:19:42] local.INFO: Acknowledgment sent {"connection_id":162725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:20:14] local.INFO: TCP Data received {"connection_id":162725,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:20:14] local.INFO: Processing buffer {"connection_id":162725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:20:14] local.INFO: Packet analysis {"connection_id":162725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e8c"} 
[2026-08-26 20:20:14] local.INFO: Extracted packet for processing {"connection_id":162725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e8c"} 
[2026-08-26 20:20:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":17,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665398272001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:20: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-26 20:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787755763000,"timestamp_ms":1787755763000,"timestamp_seconds":1787755763,"priority":1,"record_length":96,"hex_timestamp":"000001a03e8c1538"} 
[2026-08-26 20: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-26 20:20: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-26 20: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:20: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-26 20: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-26 20: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-26 20:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665398272001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665398272001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:20:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:20:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665398272001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":162725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:20:14] local.INFO: GPS data processed {"connection_id":162725,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:20:14] local.INFO: Acknowledgment sent {"connection_id":162725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:20:36] local.INFO: TCP Data received {"connection_id":163748,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:20:36] local.INFO: Processing buffer {"connection_id":163748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:20:36] local.INFO: IMEI packet received {"connection_id":163748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":163748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:20:41] local.INFO: TCP Data received {"connection_id":163748,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:20:41] local.INFO: Processing buffer {"connection_id":163748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:20:41] local.INFO: IMEI packet received {"connection_id":163748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":163748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:20:42] local.INFO: TCP Data received {"connection_id":163748,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:20:42] local.INFO: Processing buffer {"connection_id":163748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:20:42] local.INFO: Packet analysis {"connection_id":163748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e8c"} 
[2026-08-26 20:20:42] local.INFO: Extracted packet for processing {"connection_id":163748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e8c"} 
[2026-08-26 20:20:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":17,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665398272001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:20: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-26 20:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787755763000,"timestamp_ms":1787755763000,"timestamp_seconds":1787755763,"priority":1,"record_length":96,"hex_timestamp":"000001a03e8c1538"} 
[2026-08-26 20:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:20: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-26 20:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:20: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-26 20:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665398272001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665398272001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:20:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:20:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665398272001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":163748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:20:42] local.INFO: GPS data processed {"connection_id":163748,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:20:42] local.INFO: Acknowledgment sent {"connection_id":163748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:21:13] local.INFO: TCP Data received {"connection_id":163748,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:21:13] local.INFO: Processing buffer {"connection_id":163748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:21:13] local.INFO: Packet analysis {"connection_id":163748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e8c"} 
[2026-08-26 20:21:13] local.INFO: Extracted packet for processing {"connection_id":163748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e8c"} 
[2026-08-26 20:21:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":17,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665398272001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:21: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-26 20:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787755763000,"timestamp_ms":1787755763000,"timestamp_seconds":1787755763,"priority":1,"record_length":96,"hex_timestamp":"000001a03e8c1538"} 
[2026-08-26 20: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-26 20:21: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-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:21: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-26 20: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-26 20: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-26 20:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665398272001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665398272001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:21:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:21:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665398272001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":163748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:21:13] local.INFO: GPS data processed {"connection_id":163748,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:21:13] local.INFO: Acknowledgment sent {"connection_id":163748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:21:36] local.INFO: TCP Data received {"connection_id":162479,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:21:36] local.INFO: Processing buffer {"connection_id":162479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:21:36] local.INFO: IMEI packet received {"connection_id":162479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":162479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:21:41] local.INFO: TCP Data received {"connection_id":162479,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:21:41] local.INFO: Processing buffer {"connection_id":162479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:21:41] local.INFO: IMEI packet received {"connection_id":162479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":162479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:21:42] local.INFO: TCP Data received {"connection_id":162479,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:21:42] local.INFO: Processing buffer {"connection_id":162479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:21:42] local.INFO: Packet analysis {"connection_id":162479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e8c"} 
[2026-08-26 20:21:42] local.INFO: Extracted packet for processing {"connection_id":162479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e8c"} 
[2026-08-26 20:21:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":17,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665398272001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:21: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-26 20:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787755763000,"timestamp_ms":1787755763000,"timestamp_seconds":1787755763,"priority":1,"record_length":96,"hex_timestamp":"000001a03e8c1538"} 
[2026-08-26 20: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-26 20:21: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-26 20: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:21: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-26 20: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-26 20: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-26 20:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665398272001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665398272001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:21:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:21:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665398272001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":162479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:21:42] local.INFO: GPS data processed {"connection_id":162479,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:21:42] local.INFO: Acknowledgment sent {"connection_id":162479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:22:14] local.INFO: TCP Data received {"connection_id":162479,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:22:14] local.INFO: Processing buffer {"connection_id":162479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:22:14] local.INFO: Packet analysis {"connection_id":162479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e8c"} 
[2026-08-26 20:22:14] local.INFO: Extracted packet for processing {"connection_id":162479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e8c"} 
[2026-08-26 20:22:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":17,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665398272001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:22: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-26 20:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787755763000,"timestamp_ms":1787755763000,"timestamp_seconds":1787755763,"priority":1,"record_length":96,"hex_timestamp":"000001a03e8c1538"} 
[2026-08-26 20: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-26 20:22: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-26 20: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:22: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-26 20: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-26 20: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-26 20:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665398272001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665398272001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:22:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:22:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665398272001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":162479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:22:14] local.INFO: GPS data processed {"connection_id":162479,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:22:14] local.INFO: Acknowledgment sent {"connection_id":162479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:22:27] local.INFO: TCP Data received {"connection_id":162723,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:22:27] local.INFO: Processing buffer {"connection_id":162723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:22:27] local.INFO: IMEI packet received {"connection_id":162723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 20:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":162723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:22:41] local.INFO: TCP Data received {"connection_id":163749,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:22:41] local.INFO: Processing buffer {"connection_id":163749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:22:41] local.INFO: IMEI packet received {"connection_id":163749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":163749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:22:46] local.INFO: TCP Data received {"connection_id":163749,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:22:46] local.INFO: Processing buffer {"connection_id":163749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:22:46] local.INFO: IMEI packet received {"connection_id":163749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":163749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:22:47] local.INFO: TCP Data received {"connection_id":163749,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:22:47] local.INFO: Processing buffer {"connection_id":163749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:22:47] local.INFO: Packet analysis {"connection_id":163749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e8c"} 
[2026-08-26 20:22:47] local.INFO: Extracted packet for processing {"connection_id":163749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e8c"} 
[2026-08-26 20:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":17,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665398272001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:22: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-26 20:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787755763000,"timestamp_ms":1787755763000,"timestamp_seconds":1787755763,"priority":1,"record_length":96,"hex_timestamp":"000001a03e8c1538"} 
[2026-08-26 20: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-26 20:22: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-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 20: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-26 20: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-26 20:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665398272001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665398272001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:22:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665398272001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":163749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:22:47] local.INFO: GPS data processed {"connection_id":163749,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:22:47] local.INFO: Acknowledgment sent {"connection_id":163749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:22:52] local.INFO: TCP Data received {"connection_id":163749,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:22:52] local.INFO: Processing buffer {"connection_id":163749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:22:52] local.INFO: Packet analysis {"connection_id":163749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e8c"} 
[2026-08-26 20:22:52] local.INFO: Extracted packet for processing {"connection_id":163749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e8c"} 
[2026-08-26 20:22:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":17,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665398272001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:22: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-26 20:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787755763000,"timestamp_ms":1787755763000,"timestamp_seconds":1787755763,"priority":1,"record_length":96,"hex_timestamp":"000001a03e8c1538"} 
[2026-08-26 20:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:22: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-26 20:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:22: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-26 20:22:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665398272001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665398272001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:22:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:22:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665398272001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":163749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:22:52] local.INFO: GPS data processed {"connection_id":163749,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:22:52] local.INFO: Acknowledgment sent {"connection_id":163749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:23:01] local.INFO: TCP Data received {"connection_id":165087,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:23:01] local.INFO: Processing buffer {"connection_id":165087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:23:01] local.INFO: IMEI packet received {"connection_id":165087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 20:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":165087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:23:37] local.INFO: TCP Data received {"connection_id":162480,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:23:37] local.INFO: Processing buffer {"connection_id":162480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:23:37] local.INFO: IMEI packet received {"connection_id":162480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":162480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:23:41] local.INFO: TCP Data received {"connection_id":162480,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:23:41] local.INFO: Processing buffer {"connection_id":162480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:23:41] local.INFO: IMEI packet received {"connection_id":162480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":162480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:23:42] local.INFO: TCP Data received {"connection_id":162480,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:23:42] local.INFO: Processing buffer {"connection_id":162480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:23:42] local.INFO: Packet analysis {"connection_id":162480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e8c"} 
[2026-08-26 20:23:42] local.INFO: Extracted packet for processing {"connection_id":162480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e8c"} 
[2026-08-26 20:23:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":17,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665398272001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20: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-26 20:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787755763000,"timestamp_ms":1787755763000,"timestamp_seconds":1787755763,"priority":1,"record_length":96,"hex_timestamp":"000001a03e8c1538"} 
[2026-08-26 20: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-26 20:23: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-26 20: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:23: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-26 20: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-26 20: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-26 20:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665398272001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665398272001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:23:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:23:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665398272001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":162480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:23:42] local.INFO: GPS data processed {"connection_id":162480,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:23:42] local.INFO: Acknowledgment sent {"connection_id":162480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:23:46] local.INFO: TCP Data received {"connection_id":162480,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:23:46] local.INFO: Processing buffer {"connection_id":162480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:23:46] local.INFO: Packet analysis {"connection_id":162480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e8c"} 
[2026-08-26 20:23:46] local.INFO: Extracted packet for processing {"connection_id":162480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e8c"} 
[2026-08-26 20:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":17,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665398272001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 20:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787755763000,"timestamp_ms":1787755763000,"timestamp_seconds":1787755763,"priority":1,"record_length":96,"hex_timestamp":"000001a03e8c1538"} 
[2026-08-26 20:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 20:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 20:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665398272001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665398272001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:23:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665398272001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":162480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:23:46] local.INFO: GPS data processed {"connection_id":162480,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:23:46] local.INFO: Acknowledgment sent {"connection_id":162480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:24:18] local.INFO: TCP Data received {"connection_id":162480,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:24:18] local.INFO: Processing buffer {"connection_id":162480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:24:18] local.INFO: Packet analysis {"connection_id":162480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e8c"} 
[2026-08-26 20:24:18] local.INFO: Extracted packet for processing {"connection_id":162480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e8c"} 
[2026-08-26 20:24:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":17,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 20:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665398272001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:24: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-26 20:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787755763000,"timestamp_ms":1787755763000,"timestamp_seconds":1787755763,"priority":1,"record_length":96,"hex_timestamp":"000001a03e8c1538"} 
[2026-08-26 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-26 20:24: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-26 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 20:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665398272001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665398272001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:24:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:24:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665398272001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":162480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:24:18] local.INFO: GPS data processed {"connection_id":162480,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:24:18] local.INFO: Acknowledgment sent {"connection_id":162480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:24:36] local.INFO: TCP Data received {"connection_id":165089,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:24:36] local.INFO: Processing buffer {"connection_id":165089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:24:36] local.INFO: IMEI packet received {"connection_id":165089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":165089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:24:41] local.INFO: TCP Data received {"connection_id":165089,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:24:41] local.INFO: Processing buffer {"connection_id":165089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:24:41] local.INFO: IMEI packet received {"connection_id":165089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":165089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:24:42] local.INFO: TCP Data received {"connection_id":165089,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:24:42] local.INFO: Processing buffer {"connection_id":165089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e8c1538012d34c14006aa4818001100e630..."} 
[2026-08-26 20:24:42] local.INFO: Packet analysis {"connection_id":165089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e8c"} 
[2026-08-26 20:24:42] local.INFO: Extracted packet for processing {"connection_id":165089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e8c"} 
[2026-08-26 20:24:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":17,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665398272001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:24: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-26 20:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787755763000,"timestamp_ms":1787755763000,"timestamp_seconds":1787755763,"priority":1,"record_length":96,"hex_timestamp":"000001a03e8c1538"} 
[2026-08-26 20:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:24: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-26 20:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:24: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-26 20:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665398272001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665398272001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:24:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:24:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665398272001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":165089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:24:42] local.INFO: GPS data processed {"connection_id":165089,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:24:42] local.INFO: Acknowledgment sent {"connection_id":165089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:25:13] local.INFO: TCP Data received {"connection_id":165089,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:25:13] local.INFO: Processing buffer {"connection_id":165089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:25:13] local.INFO: Packet analysis {"connection_id":165089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e90"} 
[2026-08-26 20:25:13] local.INFO: Extracted packet for processing {"connection_id":165089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e90"} 
[2026-08-26 20:25:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665475328001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:25: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-26 20:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787756064000,"timestamp_ms":1787756064000,"timestamp_seconds":1787756064,"priority":1,"record_length":96,"hex_timestamp":"000001a03e90ad00"} 
[2026-08-26 20: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-26 20:25: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-26 20: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:25: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-26 20: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-26 20: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-26 20:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665475328001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665475328001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:25:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:25:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665475328001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":165089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:25:13] local.INFO: GPS data processed {"connection_id":165089,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:25:13] local.INFO: Acknowledgment sent {"connection_id":165089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:25:36] local.INFO: TCP Data received {"connection_id":162726,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:25:36] local.INFO: Processing buffer {"connection_id":162726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:25:36] local.INFO: IMEI packet received {"connection_id":162726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":162726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:25:41] local.INFO: TCP Data received {"connection_id":162726,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:25:41] local.INFO: Processing buffer {"connection_id":162726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:25:41] local.INFO: IMEI packet received {"connection_id":162726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":162726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:25:43] local.INFO: TCP Data received {"connection_id":162726,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:25:43] local.INFO: Processing buffer {"connection_id":162726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:25:43] local.INFO: Packet analysis {"connection_id":162726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e90"} 
[2026-08-26 20:25:43] local.INFO: Extracted packet for processing {"connection_id":162726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e90"} 
[2026-08-26 20:25:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665475328001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:25: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-26 20:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787756064000,"timestamp_ms":1787756064000,"timestamp_seconds":1787756064,"priority":1,"record_length":96,"hex_timestamp":"000001a03e90ad00"} 
[2026-08-26 20:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:25: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-26 20:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:25: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-26 20:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665475328001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665475328001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:25:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:25:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665475328001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":162726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:25:43] local.INFO: GPS data processed {"connection_id":162726,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:25:43] local.INFO: Acknowledgment sent {"connection_id":162726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:26:14] local.INFO: TCP Data received {"connection_id":162726,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:26:14] local.INFO: Processing buffer {"connection_id":162726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:26:14] local.INFO: Packet analysis {"connection_id":162726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e90"} 
[2026-08-26 20:26:14] local.INFO: Extracted packet for processing {"connection_id":162726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e90"} 
[2026-08-26 20:26:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665475328001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:26: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-26 20:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787756064000,"timestamp_ms":1787756064000,"timestamp_seconds":1787756064,"priority":1,"record_length":96,"hex_timestamp":"000001a03e90ad00"} 
[2026-08-26 20: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-26 20: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-26 20: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:26: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-26 20: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-26 20: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-26 20:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665475328001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665475328001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:26:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:26:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665475328001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":162726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:26:14] local.INFO: GPS data processed {"connection_id":162726,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:26:14] local.INFO: Acknowledgment sent {"connection_id":162726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:26:36] local.INFO: TCP Data received {"connection_id":162727,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:26:36] local.INFO: Processing buffer {"connection_id":162727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:26:36] local.INFO: IMEI packet received {"connection_id":162727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":162727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:26:41] local.INFO: TCP Data received {"connection_id":162727,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:26:41] local.INFO: Processing buffer {"connection_id":162727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:26:41] local.INFO: IMEI packet received {"connection_id":162727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":162727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:26:42] local.INFO: TCP Data received {"connection_id":162727,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:26:42] local.INFO: Processing buffer {"connection_id":162727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:26:42] local.INFO: Packet analysis {"connection_id":162727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e90"} 
[2026-08-26 20:26:42] local.INFO: Extracted packet for processing {"connection_id":162727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e90"} 
[2026-08-26 20:26:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665475328001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:26: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-26 20:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787756064000,"timestamp_ms":1787756064000,"timestamp_seconds":1787756064,"priority":1,"record_length":96,"hex_timestamp":"000001a03e90ad00"} 
[2026-08-26 20:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:26: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-26 20:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:26: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-26 20:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665475328001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665475328001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:26:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:26:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665475328001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":162727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:26:42] local.INFO: GPS data processed {"connection_id":162727,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:26:42] local.INFO: Acknowledgment sent {"connection_id":162727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:27:14] local.INFO: TCP Data received {"connection_id":162727,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:27:14] local.INFO: Processing buffer {"connection_id":162727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:27:14] local.INFO: Packet analysis {"connection_id":162727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e90"} 
[2026-08-26 20:27:14] local.INFO: Extracted packet for processing {"connection_id":162727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e90"} 
[2026-08-26 20:27:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665475328001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:27: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-26 20:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787756064000,"timestamp_ms":1787756064000,"timestamp_seconds":1787756064,"priority":1,"record_length":96,"hex_timestamp":"000001a03e90ad00"} 
[2026-08-26 20:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:27: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-26 20:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:27: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-26 20:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665475328001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665475328001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:27:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:27:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665475328001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":162727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:27:14] local.INFO: GPS data processed {"connection_id":162727,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:27:14] local.INFO: Acknowledgment sent {"connection_id":162727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:27:41] local.INFO: TCP Data received {"connection_id":165090,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:27:41] local.INFO: Processing buffer {"connection_id":165090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:27:41] local.INFO: IMEI packet received {"connection_id":165090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":165090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:27:46] local.INFO: TCP Data received {"connection_id":165090,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:27:46] local.INFO: Processing buffer {"connection_id":165090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:27:46] local.INFO: IMEI packet received {"connection_id":165090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":165090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:27:47] local.INFO: TCP Data received {"connection_id":165090,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:27:47] local.INFO: Processing buffer {"connection_id":165090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:27:47] local.INFO: Packet analysis {"connection_id":165090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e90"} 
[2026-08-26 20:27:47] local.INFO: Extracted packet for processing {"connection_id":165090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e90"} 
[2026-08-26 20:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 20:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665475328001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20: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-26 20:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787756064000,"timestamp_ms":1787756064000,"timestamp_seconds":1787756064,"priority":1,"record_length":96,"hex_timestamp":"000001a03e90ad00"} 
[2026-08-26 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-26 20: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-26 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 20: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-26 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-26 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-26 20:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665475328001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665475328001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:27:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665475328001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":165090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:27:47] local.INFO: GPS data processed {"connection_id":165090,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:27:47] local.INFO: Acknowledgment sent {"connection_id":165090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:27:51] local.INFO: TCP Data received {"connection_id":165090,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:27:51] local.INFO: Processing buffer {"connection_id":165090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:27:51] local.INFO: Packet analysis {"connection_id":165090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e90"} 
[2026-08-26 20:27:51] local.INFO: Extracted packet for processing {"connection_id":165090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e90"} 
[2026-08-26 20:27:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665475328001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 20:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787756064000,"timestamp_ms":1787756064000,"timestamp_seconds":1787756064,"priority":1,"record_length":96,"hex_timestamp":"000001a03e90ad00"} 
[2026-08-26 20: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-26 20:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 20: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 20: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-26 20: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-26 20:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":165090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":165090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":165090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665475328001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665475328001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:27:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:27:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665475328001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":165090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:27:51] local.INFO: GPS data processed {"connection_id":165090,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:27:51] local.INFO: Acknowledgment sent {"connection_id":165090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:28:32] local.INFO: TCP Data received {"connection_id":162481,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:28:32] local.INFO: Processing buffer {"connection_id":162481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:28:32] local.INFO: IMEI packet received {"connection_id":162481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 20:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":162481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:28:36] local.INFO: TCP Data received {"connection_id":165091,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:28:36] local.INFO: Processing buffer {"connection_id":165091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:28:36] local.INFO: IMEI packet received {"connection_id":165091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":165091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:28:41] local.INFO: TCP Data received {"connection_id":165091,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:28:41] local.INFO: Processing buffer {"connection_id":165091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:28:41] local.INFO: IMEI packet received {"connection_id":165091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":165091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:28:42] local.INFO: TCP Data received {"connection_id":165091,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:28:42] local.INFO: Processing buffer {"connection_id":165091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:28:42] local.INFO: Packet analysis {"connection_id":165091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e90"} 
[2026-08-26 20:28:42] local.INFO: Extracted packet for processing {"connection_id":165091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e90"} 
[2026-08-26 20:28:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665475328001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20: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-26 20:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787756064000,"timestamp_ms":1787756064000,"timestamp_seconds":1787756064,"priority":1,"record_length":96,"hex_timestamp":"000001a03e90ad00"} 
[2026-08-26 20: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-26 20: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-26 20: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-26 20: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-26 20: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-26 20: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-26 20:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665475328001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665475328001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:28:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:28:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665475328001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":165091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:28:42] local.INFO: GPS data processed {"connection_id":165091,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:28:42] local.INFO: Acknowledgment sent {"connection_id":165091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:29:14] local.INFO: TCP Data received {"connection_id":165091,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:29:14] local.INFO: Processing buffer {"connection_id":165091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:29:14] local.INFO: Packet analysis {"connection_id":165091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e90"} 
[2026-08-26 20:29:14] local.INFO: Extracted packet for processing {"connection_id":165091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e90"} 
[2026-08-26 20:29:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665475328001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:29: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-26 20:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787756064000,"timestamp_ms":1787756064000,"timestamp_seconds":1787756064,"priority":1,"record_length":96,"hex_timestamp":"000001a03e90ad00"} 
[2026-08-26 20:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 20:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:29: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-26 20:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665475328001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665475328001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:29:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:29:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665475328001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":165091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:29:14] local.INFO: GPS data processed {"connection_id":165091,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:29:14] local.INFO: Acknowledgment sent {"connection_id":165091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:29:36] local.INFO: TCP Data received {"connection_id":165092,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:29:36] local.INFO: Processing buffer {"connection_id":165092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:29:36] local.INFO: IMEI packet received {"connection_id":165092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":165092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:29:41] local.INFO: TCP Data received {"connection_id":165092,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:29:41] local.INFO: Processing buffer {"connection_id":165092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:29:41] local.INFO: IMEI packet received {"connection_id":165092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":165092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:29:42] local.INFO: TCP Data received {"connection_id":165092,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:29:42] local.INFO: Processing buffer {"connection_id":165092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e90ad00012d34c14006aa4818000100e62f..."} 
[2026-08-26 20:29:42] local.INFO: Packet analysis {"connection_id":165092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e90"} 
[2026-08-26 20:29:42] local.INFO: Extracted packet for processing {"connection_id":165092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e90"} 
[2026-08-26 20:29:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":1,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665475328001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20: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-26 20:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787756064000,"timestamp_ms":1787756064000,"timestamp_seconds":1787756064,"priority":1,"record_length":96,"hex_timestamp":"000001a03e90ad00"} 
[2026-08-26 20: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-26 20: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-26 20: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:29: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-26 20: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-26 20: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-26 20:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665475328001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665475328001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:29:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:29:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665475328001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":165092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:29:42] local.INFO: GPS data processed {"connection_id":165092,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:29:42] local.INFO: Acknowledgment sent {"connection_id":165092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:30:13] local.INFO: TCP Data received {"connection_id":165092,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:30:13] local.INFO: Processing buffer {"connection_id":165092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:30:13] local.INFO: Packet analysis {"connection_id":165092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e95"} 
[2026-08-26 20:30:13] local.INFO: Extracted packet for processing {"connection_id":165092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e95"} 
[2026-08-26 20:30:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665552384001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:30: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-26 20:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787756365000,"timestamp_ms":1787756365000,"timestamp_seconds":1787756365,"priority":1,"record_length":96,"hex_timestamp":"000001a03e9544c8"} 
[2026-08-26 20: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-26 20:30: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-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:30: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-26 20: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-26 20: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-26 20:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665552384001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665552384001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:30:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:30:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665552384001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":165092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:30:13] local.INFO: GPS data processed {"connection_id":165092,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:30:13] local.INFO: Acknowledgment sent {"connection_id":165092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:30:36] local.INFO: TCP Data received {"connection_id":162728,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:30:36] local.INFO: Processing buffer {"connection_id":162728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:30:36] local.INFO: IMEI packet received {"connection_id":162728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":162728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:30:41] local.INFO: TCP Data received {"connection_id":162728,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:30:41] local.INFO: Processing buffer {"connection_id":162728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:30:41] local.INFO: IMEI packet received {"connection_id":162728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":162728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:30:42] local.INFO: TCP Data received {"connection_id":162728,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:30:42] local.INFO: Processing buffer {"connection_id":162728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:30:42] local.INFO: Packet analysis {"connection_id":162728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e95"} 
[2026-08-26 20:30:42] local.INFO: Extracted packet for processing {"connection_id":162728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e95"} 
[2026-08-26 20:30:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665552384001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:30: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-26 20:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787756365000,"timestamp_ms":1787756365000,"timestamp_seconds":1787756365,"priority":1,"record_length":96,"hex_timestamp":"000001a03e9544c8"} 
[2026-08-26 20:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:30: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-26 20:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:30: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-26 20:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665552384001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665552384001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:30:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:30:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665552384001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":162728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:30:42] local.INFO: GPS data processed {"connection_id":162728,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:30:42] local.INFO: Acknowledgment sent {"connection_id":162728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:31:13] local.INFO: TCP Data received {"connection_id":162728,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:31:13] local.INFO: Processing buffer {"connection_id":162728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:31:13] local.INFO: Packet analysis {"connection_id":162728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e95"} 
[2026-08-26 20:31:13] local.INFO: Extracted packet for processing {"connection_id":162728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e95"} 
[2026-08-26 20:31:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665552384001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:31: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-26 20:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787756365000,"timestamp_ms":1787756365000,"timestamp_seconds":1787756365,"priority":1,"record_length":96,"hex_timestamp":"000001a03e9544c8"} 
[2026-08-26 20: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-26 20:31: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-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:31: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-26 20: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-26 20: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-26 20:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665552384001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665552384001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:31:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:31:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665552384001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":162728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:31:13] local.INFO: GPS data processed {"connection_id":162728,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:31:13] local.INFO: Acknowledgment sent {"connection_id":162728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:31:36] local.INFO: TCP Data received {"connection_id":162729,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:31:36] local.INFO: Processing buffer {"connection_id":162729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:31:36] local.INFO: IMEI packet received {"connection_id":162729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":162729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:31:41] local.INFO: TCP Data received {"connection_id":162729,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:31:41] local.INFO: Processing buffer {"connection_id":162729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:31:41] local.INFO: IMEI packet received {"connection_id":162729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":162729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:31:42] local.INFO: TCP Data received {"connection_id":162729,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:31:42] local.INFO: Processing buffer {"connection_id":162729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:31:42] local.INFO: Packet analysis {"connection_id":162729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e95"} 
[2026-08-26 20:31:42] local.INFO: Extracted packet for processing {"connection_id":162729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e95"} 
[2026-08-26 20:31:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665552384001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:31: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-26 20:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787756365000,"timestamp_ms":1787756365000,"timestamp_seconds":1787756365,"priority":1,"record_length":96,"hex_timestamp":"000001a03e9544c8"} 
[2026-08-26 20:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:31: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-26 20:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:31: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-26 20:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665552384001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665552384001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:31:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:31:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665552384001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":162729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:31:42] local.INFO: GPS data processed {"connection_id":162729,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:31:42] local.INFO: Acknowledgment sent {"connection_id":162729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:32:14] local.INFO: TCP Data received {"connection_id":162729,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:32:14] local.INFO: Processing buffer {"connection_id":162729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:32:14] local.INFO: Packet analysis {"connection_id":162729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e95"} 
[2026-08-26 20:32:14] local.INFO: Extracted packet for processing {"connection_id":162729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e95"} 
[2026-08-26 20:32:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665552384001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:32: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-26 20:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787756365000,"timestamp_ms":1787756365000,"timestamp_seconds":1787756365,"priority":1,"record_length":96,"hex_timestamp":"000001a03e9544c8"} 
[2026-08-26 20: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-26 20: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-26 20: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:32: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-26 20: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-26 20: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-26 20:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665552384001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665552384001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:32:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:32:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665552384001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":162729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:32:14] local.INFO: GPS data processed {"connection_id":162729,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:32:14] local.INFO: Acknowledgment sent {"connection_id":162729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:32:41] local.INFO: TCP Data received {"connection_id":165093,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:32:41] local.INFO: Processing buffer {"connection_id":165093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:32:41] local.INFO: IMEI packet received {"connection_id":165093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":165093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:32:46] local.INFO: TCP Data received {"connection_id":165093,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:32:46] local.INFO: Processing buffer {"connection_id":165093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:32:46] local.INFO: IMEI packet received {"connection_id":165093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":165093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:32:47] local.INFO: TCP Data received {"connection_id":165093,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:32:47] local.INFO: Processing buffer {"connection_id":165093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:32:47] local.INFO: Packet analysis {"connection_id":165093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e95"} 
[2026-08-26 20:32:47] local.INFO: Extracted packet for processing {"connection_id":165093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e95"} 
[2026-08-26 20:32:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 20:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665552384001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:32: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-26 20:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787756365000,"timestamp_ms":1787756365000,"timestamp_seconds":1787756365,"priority":1,"record_length":96,"hex_timestamp":"000001a03e9544c8"} 
[2026-08-26 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-26 20:32: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-26 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 20:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665552384001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665552384001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:32:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:32:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665552384001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":165093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:32:47] local.INFO: GPS data processed {"connection_id":165093,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:32:47] local.INFO: Acknowledgment sent {"connection_id":165093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:32:51] local.INFO: TCP Data received {"connection_id":165093,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:32:51] local.INFO: Processing buffer {"connection_id":165093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:32:51] local.INFO: Packet analysis {"connection_id":165093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e95"} 
[2026-08-26 20:32:51] local.INFO: Extracted packet for processing {"connection_id":165093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e95"} 
[2026-08-26 20:32:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665552384001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 20:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787756365000,"timestamp_ms":1787756365000,"timestamp_seconds":1787756365,"priority":1,"record_length":96,"hex_timestamp":"000001a03e9544c8"} 
[2026-08-26 20: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-26 20:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 20: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-26 20: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-26 20:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":165093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":165093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":165093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665552384001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665552384001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:32:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:32:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665552384001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":165093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:32:52] local.INFO: GPS data processed {"connection_id":165093,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:32:52] local.INFO: Acknowledgment sent {"connection_id":165093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:33:36] local.INFO: TCP Data received {"connection_id":165094,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:33:36] local.INFO: Processing buffer {"connection_id":165094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:33:36] local.INFO: IMEI packet received {"connection_id":165094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":165094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:33:41] local.INFO: TCP Data received {"connection_id":165094,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:33:41] local.INFO: Processing buffer {"connection_id":165094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:33:41] local.INFO: IMEI packet received {"connection_id":165094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":165094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:33:42] local.INFO: TCP Data received {"connection_id":165094,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:33:42] local.INFO: Processing buffer {"connection_id":165094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:33:42] local.INFO: Packet analysis {"connection_id":165094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e95"} 
[2026-08-26 20:33:42] local.INFO: Extracted packet for processing {"connection_id":165094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e95"} 
[2026-08-26 20:33:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665552384001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20: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-26 20:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787756365000,"timestamp_ms":1787756365000,"timestamp_seconds":1787756365,"priority":1,"record_length":96,"hex_timestamp":"000001a03e9544c8"} 
[2026-08-26 20: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-26 20:33: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-26 20: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-26 20: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-26 20: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-26 20: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-26 20:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665552384001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665552384001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:33:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:33:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665552384001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":165094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:33:42] local.INFO: GPS data processed {"connection_id":165094,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:33:42] local.INFO: Acknowledgment sent {"connection_id":165094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:34:06] local.INFO: TCP Data received {"connection_id":162730,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:34:06] local.INFO: Processing buffer {"connection_id":162730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:34:06] local.INFO: IMEI packet received {"connection_id":162730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 20:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":162730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:34:14] local.INFO: TCP Data received {"connection_id":165094,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:34:14] local.INFO: Processing buffer {"connection_id":165094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:34:14] local.INFO: Packet analysis {"connection_id":165094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e95"} 
[2026-08-26 20:34:14] local.INFO: Extracted packet for processing {"connection_id":165094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e95"} 
[2026-08-26 20:34:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665552384001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:34: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-26 20:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787756365000,"timestamp_ms":1787756365000,"timestamp_seconds":1787756365,"priority":1,"record_length":96,"hex_timestamp":"000001a03e9544c8"} 
[2026-08-26 20:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:34: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-26 20:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:34: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-26 20:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665552384001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665552384001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:34:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:34:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665552384001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":165094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:34:14] local.INFO: GPS data processed {"connection_id":165094,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:34:14] local.INFO: Acknowledgment sent {"connection_id":165094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:34:36] local.INFO: TCP Data received {"connection_id":163750,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:34:36] local.INFO: Processing buffer {"connection_id":163750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:34:36] local.INFO: IMEI packet received {"connection_id":163750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":163750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:34:38] local.INFO: TCP Data received {"connection_id":162731,"ip":"192.161.49.2","data_length":211,"data_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-08-26 20:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162731,"packet_length":211,"packet_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-08-26 20:34:38] local.INFO: Processing buffer {"connection_id":162731,"buffer_length":211,"buffer_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-08-26 20:34:38] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":162731,"buffer_length":211,"first_bytes_hex":"474554202f2e2e2532462e2e2532462e"} 
[2026-08-26 20:34:41] local.INFO: TCP Data received {"connection_id":163750,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:34:41] local.INFO: Processing buffer {"connection_id":163750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:34:41] local.INFO: IMEI packet received {"connection_id":163750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":163750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:34:42] local.INFO: TCP Data received {"connection_id":163750,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:34:42] local.INFO: Processing buffer {"connection_id":163750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e9544c8012d34c14006aa4818000700e630..."} 
[2026-08-26 20:34:42] local.INFO: Packet analysis {"connection_id":163750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e95"} 
[2026-08-26 20:34:42] local.INFO: Extracted packet for processing {"connection_id":163750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e95"} 
[2026-08-26 20:34:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":7,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665552384001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20: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-26 20:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787756365000,"timestamp_ms":1787756365000,"timestamp_seconds":1787756365,"priority":1,"record_length":96,"hex_timestamp":"000001a03e9544c8"} 
[2026-08-26 20: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-26 20: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-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:34: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-26 20: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-26 20: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-26 20:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665552384001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665552384001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:34:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:34:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665552384001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":163750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:34:42] local.INFO: GPS data processed {"connection_id":163750,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:34:42] local.INFO: Acknowledgment sent {"connection_id":163750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:35:13] local.INFO: TCP Data received {"connection_id":163750,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:35:13] local.INFO: Processing buffer {"connection_id":163750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:35:13] local.INFO: Packet analysis {"connection_id":163750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e99"} 
[2026-08-26 20:35:13] local.INFO: Extracted packet for processing {"connection_id":163750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e99"} 
[2026-08-26 20:35:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665629440001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:35: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-26 20:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787756666000,"timestamp_ms":1787756666000,"timestamp_seconds":1787756666,"priority":1,"record_length":96,"hex_timestamp":"000001a03e99dc90"} 
[2026-08-26 20: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-26 20:35: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-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:35: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-26 20: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-26 20: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-26 20:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665629440001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665629440001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:35:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:35:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665629440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":163750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:35:13] local.INFO: GPS data processed {"connection_id":163750,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:35:13] local.INFO: Acknowledgment sent {"connection_id":163750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:35:41] local.INFO: TCP Data received {"connection_id":162732,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:35:41] local.INFO: Processing buffer {"connection_id":162732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:35:41] local.INFO: IMEI packet received {"connection_id":162732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":162732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:35:46] local.INFO: TCP Data received {"connection_id":162732,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:35:46] local.INFO: Processing buffer {"connection_id":162732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:35:46] local.INFO: IMEI packet received {"connection_id":162732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":162732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:35:47] local.INFO: TCP Data received {"connection_id":162732,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:35:47] local.INFO: Processing buffer {"connection_id":162732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:35:47] local.INFO: Packet analysis {"connection_id":162732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e99"} 
[2026-08-26 20:35:47] local.INFO: Extracted packet for processing {"connection_id":162732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e99"} 
[2026-08-26 20:35:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665629440001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:35: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-26 20:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787756666000,"timestamp_ms":1787756666000,"timestamp_seconds":1787756666,"priority":1,"record_length":96,"hex_timestamp":"000001a03e99dc90"} 
[2026-08-26 20: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-26 20:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 20: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-26 20: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-26 20:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665629440001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665629440001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:35:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:35:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665629440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":162732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:35:47] local.INFO: GPS data processed {"connection_id":162732,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:35:47] local.INFO: Acknowledgment sent {"connection_id":162732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:35:51] local.INFO: TCP Data received {"connection_id":162732,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:35:51] local.INFO: Processing buffer {"connection_id":162732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:35:51] local.INFO: Packet analysis {"connection_id":162732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e99"} 
[2026-08-26 20:35:51] local.INFO: Extracted packet for processing {"connection_id":162732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e99"} 
[2026-08-26 20:35:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665629440001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 20:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787756666000,"timestamp_ms":1787756666000,"timestamp_seconds":1787756666,"priority":1,"record_length":96,"hex_timestamp":"000001a03e99dc90"} 
[2026-08-26 20: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-26 20:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 20: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-26 20: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-26 20:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665629440001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665629440001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:35:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:35:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665629440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":162732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:35:51] local.INFO: GPS data processed {"connection_id":162732,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:35:51] local.INFO: Acknowledgment sent {"connection_id":162732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:36:36] local.INFO: TCP Data received {"connection_id":162482,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:36:36] local.INFO: Processing buffer {"connection_id":162482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:36:36] local.INFO: IMEI packet received {"connection_id":162482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":162482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:36:41] local.INFO: TCP Data received {"connection_id":162482,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:36:41] local.INFO: Processing buffer {"connection_id":162482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:36:41] local.INFO: IMEI packet received {"connection_id":162482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":162482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:36:42] local.INFO: TCP Data received {"connection_id":162482,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:36:42] local.INFO: Processing buffer {"connection_id":162482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:36:42] local.INFO: Packet analysis {"connection_id":162482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e99"} 
[2026-08-26 20:36:42] local.INFO: Extracted packet for processing {"connection_id":162482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e99"} 
[2026-08-26 20:36:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665629440001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:36: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-26 20:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787756666000,"timestamp_ms":1787756666000,"timestamp_seconds":1787756666,"priority":1,"record_length":96,"hex_timestamp":"000001a03e99dc90"} 
[2026-08-26 20:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:36: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-26 20:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:36: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-26 20:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665629440001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665629440001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:36:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:36:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665629440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":162482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:36:42] local.INFO: GPS data processed {"connection_id":162482,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:36:42] local.INFO: Acknowledgment sent {"connection_id":162482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:37:14] local.INFO: TCP Data received {"connection_id":162482,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:37:14] local.INFO: Processing buffer {"connection_id":162482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:37:14] local.INFO: Packet analysis {"connection_id":162482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e99"} 
[2026-08-26 20:37:14] local.INFO: Extracted packet for processing {"connection_id":162482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e99"} 
[2026-08-26 20:37:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665629440001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:37: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-26 20:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787756666000,"timestamp_ms":1787756666000,"timestamp_seconds":1787756666,"priority":1,"record_length":96,"hex_timestamp":"000001a03e99dc90"} 
[2026-08-26 20: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-26 20: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-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:37: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-26 20: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-26 20: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-26 20:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665629440001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665629440001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:37:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:37:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665629440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":162482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:37:14] local.INFO: GPS data processed {"connection_id":162482,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:37:14] local.INFO: Acknowledgment sent {"connection_id":162482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:37:36] local.INFO: TCP Data received {"connection_id":165095,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:37:36] local.INFO: Processing buffer {"connection_id":165095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:37:36] local.INFO: IMEI packet received {"connection_id":165095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":165095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:37:41] local.INFO: TCP Data received {"connection_id":165095,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:37:41] local.INFO: Processing buffer {"connection_id":165095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:37:41] local.INFO: IMEI packet received {"connection_id":165095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":165095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:37:42] local.INFO: TCP Data received {"connection_id":165095,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:37:42] local.INFO: Processing buffer {"connection_id":165095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:37:42] local.INFO: Packet analysis {"connection_id":165095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e99"} 
[2026-08-26 20:37:42] local.INFO: Extracted packet for processing {"connection_id":165095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e99"} 
[2026-08-26 20:37:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665629440001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20: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-26 20:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787756666000,"timestamp_ms":1787756666000,"timestamp_seconds":1787756666,"priority":1,"record_length":96,"hex_timestamp":"000001a03e99dc90"} 
[2026-08-26 20: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-26 20: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-26 20: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:37: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-26 20: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-26 20: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-26 20:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665629440001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665629440001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:37:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:37:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665629440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":165095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:37:42] local.INFO: GPS data processed {"connection_id":165095,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:37:42] local.INFO: Acknowledgment sent {"connection_id":165095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:38:14] local.INFO: TCP Data received {"connection_id":165095,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:38:14] local.INFO: Processing buffer {"connection_id":165095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:38:14] local.INFO: Packet analysis {"connection_id":165095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e99"} 
[2026-08-26 20:38:14] local.INFO: Extracted packet for processing {"connection_id":165095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e99"} 
[2026-08-26 20:38:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665629440001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:38: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-26 20:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787756666000,"timestamp_ms":1787756666000,"timestamp_seconds":1787756666,"priority":1,"record_length":96,"hex_timestamp":"000001a03e99dc90"} 
[2026-08-26 20:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 20:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:38: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-26 20:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665629440001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665629440001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:38:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:38:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665629440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":165095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:38:14] local.INFO: GPS data processed {"connection_id":165095,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:38:14] local.INFO: Acknowledgment sent {"connection_id":165095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:38:36] local.INFO: TCP Data received {"connection_id":163751,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:38:36] local.INFO: Processing buffer {"connection_id":163751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:38:36] local.INFO: IMEI packet received {"connection_id":163751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":163751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:38:41] local.INFO: TCP Data received {"connection_id":163751,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:38:41] local.INFO: Processing buffer {"connection_id":163751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:38:41] local.INFO: IMEI packet received {"connection_id":163751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":163751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:38:42] local.INFO: TCP Data received {"connection_id":163751,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:38:42] local.INFO: Processing buffer {"connection_id":163751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:38:42] local.INFO: Packet analysis {"connection_id":163751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e99"} 
[2026-08-26 20:38:42] local.INFO: Extracted packet for processing {"connection_id":163751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e99"} 
[2026-08-26 20:38:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665629440001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20: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-26 20:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787756666000,"timestamp_ms":1787756666000,"timestamp_seconds":1787756666,"priority":1,"record_length":96,"hex_timestamp":"000001a03e99dc90"} 
[2026-08-26 20: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-26 20: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-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:38: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-26 20: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-26 20: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-26 20:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665629440001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665629440001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:38:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:38:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665629440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":163751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:38:42] local.INFO: GPS data processed {"connection_id":163751,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:38:42] local.INFO: Acknowledgment sent {"connection_id":163751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:39:13] local.INFO: TCP Data received {"connection_id":163751,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:39:13] local.INFO: Processing buffer {"connection_id":163751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:39:13] local.INFO: Packet analysis {"connection_id":163751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e99"} 
[2026-08-26 20:39:13] local.INFO: Extracted packet for processing {"connection_id":163751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e99"} 
[2026-08-26 20:39:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665629440001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:39: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-26 20:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787756666000,"timestamp_ms":1787756666000,"timestamp_seconds":1787756666,"priority":1,"record_length":96,"hex_timestamp":"000001a03e99dc90"} 
[2026-08-26 20: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-26 20:39: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-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:39: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-26 20: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-26 20: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-26 20:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665629440001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665629440001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:39:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:39:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665629440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":163751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:39:13] local.INFO: GPS data processed {"connection_id":163751,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:39:13] local.INFO: Acknowledgment sent {"connection_id":163751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:39:36] local.INFO: TCP Data received {"connection_id":163752,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:39:36] local.INFO: Processing buffer {"connection_id":163752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:39:36] local.INFO: IMEI packet received {"connection_id":163752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":163752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:39:41] local.INFO: TCP Data received {"connection_id":163752,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:39:41] local.INFO: Processing buffer {"connection_id":163752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:39:41] local.INFO: IMEI packet received {"connection_id":163752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":163752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:39:41] local.INFO: TCP Data received {"connection_id":162733,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:39:41] local.INFO: Processing buffer {"connection_id":162733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:39:41] local.INFO: IMEI packet received {"connection_id":162733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 20:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":162733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:39:43] local.INFO: TCP Data received {"connection_id":163752,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:39:43] local.INFO: Processing buffer {"connection_id":163752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e99dc90012d34c14006aa4818000800e62e..."} 
[2026-08-26 20:39:43] local.INFO: Packet analysis {"connection_id":163752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e99"} 
[2026-08-26 20:39:43] local.INFO: Extracted packet for processing {"connection_id":163752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e99"} 
[2026-08-26 20:39:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665629440001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:39: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-26 20:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787756666000,"timestamp_ms":1787756666000,"timestamp_seconds":1787756666,"priority":1,"record_length":96,"hex_timestamp":"000001a03e99dc90"} 
[2026-08-26 20: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-26 20:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:39: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-26 20: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-26 20: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-26 20:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665629440001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665629440001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:39:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:39:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665629440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":163752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:39:43] local.INFO: GPS data processed {"connection_id":163752,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:39:43] local.INFO: Acknowledgment sent {"connection_id":163752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:40:14] local.INFO: TCP Data received {"connection_id":163752,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:40:14] local.INFO: Processing buffer {"connection_id":163752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:40:14] local.INFO: Packet analysis {"connection_id":163752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e9e"} 
[2026-08-26 20:40:14] local.INFO: Extracted packet for processing {"connection_id":163752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e9e"} 
[2026-08-26 20:40:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665706496001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:40: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-26 20:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787756967000,"timestamp_ms":1787756967000,"timestamp_seconds":1787756967,"priority":1,"record_length":96,"hex_timestamp":"000001a03e9e7458"} 
[2026-08-26 20:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:40: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-26 20:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:40: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-26 20:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665706496001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665706496001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:40:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:40:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665706496001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":163752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:40:14] local.INFO: GPS data processed {"connection_id":163752,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:40:14] local.INFO: Acknowledgment sent {"connection_id":163752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:40:36] local.INFO: TCP Data received {"connection_id":163753,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:40:36] local.INFO: Processing buffer {"connection_id":163753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:40:36] local.INFO: IMEI packet received {"connection_id":163753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":163753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:40:41] local.INFO: TCP Data received {"connection_id":163753,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:40:41] local.INFO: Processing buffer {"connection_id":163753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:40:41] local.INFO: IMEI packet received {"connection_id":163753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":163753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:40:42] local.INFO: TCP Data received {"connection_id":163753,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:40:42] local.INFO: Processing buffer {"connection_id":163753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:40:42] local.INFO: Packet analysis {"connection_id":163753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e9e"} 
[2026-08-26 20:40:42] local.INFO: Extracted packet for processing {"connection_id":163753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e9e"} 
[2026-08-26 20:40:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665706496001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:40: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-26 20:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787756967000,"timestamp_ms":1787756967000,"timestamp_seconds":1787756967,"priority":1,"record_length":96,"hex_timestamp":"000001a03e9e7458"} 
[2026-08-26 20: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-26 20:40: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-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:40: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-26 20: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-26 20: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-26 20:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665706496001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665706496001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:40:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:40:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665706496001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":163753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:40:42] local.INFO: GPS data processed {"connection_id":163753,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:40:42] local.INFO: Acknowledgment sent {"connection_id":163753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:41:13] local.INFO: TCP Data received {"connection_id":163753,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:41:13] local.INFO: Processing buffer {"connection_id":163753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:41:13] local.INFO: Packet analysis {"connection_id":163753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e9e"} 
[2026-08-26 20:41:13] local.INFO: Extracted packet for processing {"connection_id":163753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e9e"} 
[2026-08-26 20:41:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665706496001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:41: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-26 20:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787756967000,"timestamp_ms":1787756967000,"timestamp_seconds":1787756967,"priority":1,"record_length":96,"hex_timestamp":"000001a03e9e7458"} 
[2026-08-26 20:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 20:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:41: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-26 20:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665706496001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665706496001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:41:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:41:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665706496001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":163753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:41:13] local.INFO: GPS data processed {"connection_id":163753,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:41:13] local.INFO: Acknowledgment sent {"connection_id":163753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:41:36] local.INFO: TCP Data received {"connection_id":163754,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:41:36] local.INFO: Processing buffer {"connection_id":163754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:41:36] local.INFO: IMEI packet received {"connection_id":163754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":163754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:41:41] local.INFO: TCP Data received {"connection_id":163754,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:41:41] local.INFO: Processing buffer {"connection_id":163754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:41:41] local.INFO: IMEI packet received {"connection_id":163754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":163754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:41:42] local.INFO: TCP Data received {"connection_id":163754,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:41:42] local.INFO: Processing buffer {"connection_id":163754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:41:42] local.INFO: Packet analysis {"connection_id":163754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e9e"} 
[2026-08-26 20:41:42] local.INFO: Extracted packet for processing {"connection_id":163754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e9e"} 
[2026-08-26 20:41:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665706496001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:41: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-26 20:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787756967000,"timestamp_ms":1787756967000,"timestamp_seconds":1787756967,"priority":1,"record_length":96,"hex_timestamp":"000001a03e9e7458"} 
[2026-08-26 20: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-26 20:41: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-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:41: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-26 20: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-26 20: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-26 20:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665706496001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665706496001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:41:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:41:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665706496001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":163754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:41:42] local.INFO: GPS data processed {"connection_id":163754,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:41:42] local.INFO: Acknowledgment sent {"connection_id":163754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:42:13] local.INFO: TCP Data received {"connection_id":163754,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:42:13] local.INFO: Processing buffer {"connection_id":163754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:42:13] local.INFO: Packet analysis {"connection_id":163754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e9e"} 
[2026-08-26 20:42:13] local.INFO: Extracted packet for processing {"connection_id":163754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e9e"} 
[2026-08-26 20:42:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 20:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665706496001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:42: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-26 20:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787756967000,"timestamp_ms":1787756967000,"timestamp_seconds":1787756967,"priority":1,"record_length":96,"hex_timestamp":"000001a03e9e7458"} 
[2026-08-26 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-26 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-26 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":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:42: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-26 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-26 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-26 20:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665706496001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665706496001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:42:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:42:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665706496001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":163754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:42:13] local.INFO: GPS data processed {"connection_id":163754,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:42:13] local.INFO: Acknowledgment sent {"connection_id":163754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:42:36] local.INFO: TCP Data received {"connection_id":165096,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:42:36] local.INFO: Processing buffer {"connection_id":165096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:42:36] local.INFO: IMEI packet received {"connection_id":165096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":165096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:42:41] local.INFO: TCP Data received {"connection_id":165096,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:42:41] local.INFO: Processing buffer {"connection_id":165096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:42:41] local.INFO: IMEI packet received {"connection_id":165096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":165096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:42:42] local.INFO: TCP Data received {"connection_id":165096,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:42:42] local.INFO: Processing buffer {"connection_id":165096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:42:42] local.INFO: Packet analysis {"connection_id":165096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e9e"} 
[2026-08-26 20:42:42] local.INFO: Extracted packet for processing {"connection_id":165096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e9e"} 
[2026-08-26 20:42:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665706496001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:42: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-26 20:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787756967000,"timestamp_ms":1787756967000,"timestamp_seconds":1787756967,"priority":1,"record_length":96,"hex_timestamp":"000001a03e9e7458"} 
[2026-08-26 20: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-26 20:42: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-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:42: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-26 20: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-26 20: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-26 20:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665706496001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665706496001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:42:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:42:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665706496001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":165096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:42:42] local.INFO: GPS data processed {"connection_id":165096,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:42:42] local.INFO: Acknowledgment sent {"connection_id":165096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:43:13] local.INFO: TCP Data received {"connection_id":165096,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:43:13] local.INFO: Processing buffer {"connection_id":165096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:43:13] local.INFO: Packet analysis {"connection_id":165096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e9e"} 
[2026-08-26 20:43:13] local.INFO: Extracted packet for processing {"connection_id":165096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e9e"} 
[2026-08-26 20:43:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665706496001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:43: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-26 20:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787756967000,"timestamp_ms":1787756967000,"timestamp_seconds":1787756967,"priority":1,"record_length":96,"hex_timestamp":"000001a03e9e7458"} 
[2026-08-26 20:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:43: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-26 20:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:43: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-26 20:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665706496001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665706496001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:43:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:43:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665706496001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":165096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:43:13] local.INFO: GPS data processed {"connection_id":165096,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:43:13] local.INFO: Acknowledgment sent {"connection_id":165096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:43:36] local.INFO: TCP Data received {"connection_id":162483,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:43:36] local.INFO: Processing buffer {"connection_id":162483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:43:36] local.INFO: IMEI packet received {"connection_id":162483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":162483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:43:41] local.INFO: TCP Data received {"connection_id":162483,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:43:41] local.INFO: Processing buffer {"connection_id":162483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:43:41] local.INFO: IMEI packet received {"connection_id":162483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":162483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:43:42] local.INFO: TCP Data received {"connection_id":162483,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:43:42] local.INFO: Processing buffer {"connection_id":162483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:43:42] local.INFO: Packet analysis {"connection_id":162483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e9e"} 
[2026-08-26 20:43:42] local.INFO: Extracted packet for processing {"connection_id":162483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e9e"} 
[2026-08-26 20:43:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665706496001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20: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-26 20:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787756967000,"timestamp_ms":1787756967000,"timestamp_seconds":1787756967,"priority":1,"record_length":96,"hex_timestamp":"000001a03e9e7458"} 
[2026-08-26 20: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-26 20:43: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-26 20: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-26 20: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-26 20: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-26 20: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-26 20:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665706496001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665706496001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:43:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:43:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665706496001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":162483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:43:42] local.INFO: GPS data processed {"connection_id":162483,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:43:42] local.INFO: Acknowledgment sent {"connection_id":162483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:44:14] local.INFO: TCP Data received {"connection_id":162483,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:44:14] local.INFO: Processing buffer {"connection_id":162483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:44:14] local.INFO: Packet analysis {"connection_id":162483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e9e"} 
[2026-08-26 20:44:14] local.INFO: Extracted packet for processing {"connection_id":162483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e9e"} 
[2026-08-26 20:44:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665706496001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:44: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-26 20:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787756967000,"timestamp_ms":1787756967000,"timestamp_seconds":1787756967,"priority":1,"record_length":96,"hex_timestamp":"000001a03e9e7458"} 
[2026-08-26 20:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:44: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-26 20:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:44: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-26 20:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665706496001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665706496001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:44:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:44:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665706496001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":162483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:44:14] local.INFO: GPS data processed {"connection_id":162483,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:44:14] local.INFO: Acknowledgment sent {"connection_id":162483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:44:36] local.INFO: TCP Data received {"connection_id":162484,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:44:36] local.INFO: Processing buffer {"connection_id":162484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:44:36] local.INFO: IMEI packet received {"connection_id":162484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":162484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:44:41] local.INFO: TCP Data received {"connection_id":162484,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:44:41] local.INFO: Processing buffer {"connection_id":162484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:44:41] local.INFO: IMEI packet received {"connection_id":162484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":162484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:44:42] local.INFO: TCP Data received {"connection_id":162484,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:44:42] local.INFO: Processing buffer {"connection_id":162484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03e9e7458012d34c14006aa4818000c00e62c..."} 
[2026-08-26 20:44:42] local.INFO: Packet analysis {"connection_id":162484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03e9e"} 
[2026-08-26 20:44:42] local.INFO: Extracted packet for processing {"connection_id":162484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03e9e"} 
[2026-08-26 20:44:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665706496001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:44: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-26 20:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787756967000,"timestamp_ms":1787756967000,"timestamp_seconds":1787756967,"priority":1,"record_length":96,"hex_timestamp":"000001a03e9e7458"} 
[2026-08-26 20:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:44: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-26 20:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:44: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-26 20:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665706496001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665706496001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:44:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:44:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665706496001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":162484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:44:42] local.INFO: GPS data processed {"connection_id":162484,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:44:42] local.INFO: Acknowledgment sent {"connection_id":162484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:45:13] local.INFO: TCP Data received {"connection_id":162484,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:45:13] local.INFO: Processing buffer {"connection_id":162484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:45:13] local.INFO: Packet analysis {"connection_id":162484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ea3"} 
[2026-08-26 20:45:13] local.INFO: Extracted packet for processing {"connection_id":162484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ea3"} 
[2026-08-26 20:45:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665783552001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 20:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787757268000,"timestamp_ms":1787757268000,"timestamp_seconds":1787757268,"priority":1,"record_length":96,"hex_timestamp":"000001a03ea30c20"} 
[2026-08-26 20:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:45: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-26 20:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:45: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-26 20:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665783552001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665783552001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:45:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:45:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665783552001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":162484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:45:13] local.INFO: GPS data processed {"connection_id":162484,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:45:13] local.INFO: Acknowledgment sent {"connection_id":162484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:45:16] local.INFO: TCP Data received {"connection_id":163755,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:45:16] local.INFO: Processing buffer {"connection_id":163755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:45:16] local.INFO: IMEI packet received {"connection_id":163755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 20:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":163755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:45:41] local.INFO: TCP Data received {"connection_id":165097,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:45:41] local.INFO: Processing buffer {"connection_id":165097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:45:41] local.INFO: IMEI packet received {"connection_id":165097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":165097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:45:46] local.INFO: TCP Data received {"connection_id":165097,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:45:46] local.INFO: Processing buffer {"connection_id":165097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:45:46] local.INFO: IMEI packet received {"connection_id":165097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":165097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:45:47] local.INFO: TCP Data received {"connection_id":165097,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:45:47] local.INFO: Processing buffer {"connection_id":165097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:45:47] local.INFO: Packet analysis {"connection_id":165097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ea3"} 
[2026-08-26 20:45:47] local.INFO: Extracted packet for processing {"connection_id":165097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ea3"} 
[2026-08-26 20:45:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665783552001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20: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-26 20:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787757268000,"timestamp_ms":1787757268000,"timestamp_seconds":1787757268,"priority":1,"record_length":96,"hex_timestamp":"000001a03ea30c20"} 
[2026-08-26 20: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-26 20: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-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 20: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-26 20: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-26 20:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665783552001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665783552001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:45:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:45:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665783552001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":165097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:45:47] local.INFO: GPS data processed {"connection_id":165097,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:45:47] local.INFO: Acknowledgment sent {"connection_id":165097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:46:19] local.INFO: TCP Data received {"connection_id":165097,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:46:19] local.INFO: Processing buffer {"connection_id":165097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:46:19] local.INFO: Packet analysis {"connection_id":165097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ea3"} 
[2026-08-26 20:46:19] local.INFO: Extracted packet for processing {"connection_id":165097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ea3"} 
[2026-08-26 20:46:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665783552001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 20:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787757268000,"timestamp_ms":1787757268000,"timestamp_seconds":1787757268,"priority":1,"record_length":96,"hex_timestamp":"000001a03ea30c20"} 
[2026-08-26 20: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-26 20:46: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-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 20: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-26 20: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-26 20:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":165097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":165097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":165097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665783552001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665783552001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:46:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:46:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665783552001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":165097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:46:19] local.INFO: GPS data processed {"connection_id":165097,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:46:19] local.INFO: Acknowledgment sent {"connection_id":165097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:46:36] local.INFO: TCP Data received {"connection_id":163756,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:46:36] local.INFO: Processing buffer {"connection_id":163756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:46:36] local.INFO: IMEI packet received {"connection_id":163756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":163756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:46:41] local.INFO: TCP Data received {"connection_id":163756,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:46:41] local.INFO: Processing buffer {"connection_id":163756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:46:41] local.INFO: IMEI packet received {"connection_id":163756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":163756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:46:43] local.INFO: TCP Data received {"connection_id":163756,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:46:43] local.INFO: Processing buffer {"connection_id":163756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:46:43] local.INFO: Packet analysis {"connection_id":163756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ea3"} 
[2026-08-26 20:46:43] local.INFO: Extracted packet for processing {"connection_id":163756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ea3"} 
[2026-08-26 20:46:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665783552001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:46: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-26 20:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787757268000,"timestamp_ms":1787757268000,"timestamp_seconds":1787757268,"priority":1,"record_length":96,"hex_timestamp":"000001a03ea30c20"} 
[2026-08-26 20:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:46: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-26 20:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:46: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-26 20:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665783552001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665783552001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:46:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:46:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665783552001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":163756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:46:43] local.INFO: GPS data processed {"connection_id":163756,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:46:43] local.INFO: Acknowledgment sent {"connection_id":163756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:47:14] local.INFO: TCP Data received {"connection_id":163756,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:47:14] local.INFO: Processing buffer {"connection_id":163756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:47:14] local.INFO: Packet analysis {"connection_id":163756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ea3"} 
[2026-08-26 20:47:14] local.INFO: Extracted packet for processing {"connection_id":163756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ea3"} 
[2026-08-26 20:47:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665783552001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:47: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-26 20:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787757268000,"timestamp_ms":1787757268000,"timestamp_seconds":1787757268,"priority":1,"record_length":96,"hex_timestamp":"000001a03ea30c20"} 
[2026-08-26 20:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 20:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:47: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-26 20:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665783552001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665783552001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:47:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:47:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665783552001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":163756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:47:14] local.INFO: GPS data processed {"connection_id":163756,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:47:14] local.INFO: Acknowledgment sent {"connection_id":163756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:47:36] local.INFO: TCP Data received {"connection_id":162485,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:47:36] local.INFO: Processing buffer {"connection_id":162485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:47:36] local.INFO: IMEI packet received {"connection_id":162485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":162485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:47:41] local.INFO: TCP Data received {"connection_id":162485,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:47:41] local.INFO: Processing buffer {"connection_id":162485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:47:41] local.INFO: IMEI packet received {"connection_id":162485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":162485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:47:42] local.INFO: TCP Data received {"connection_id":162485,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:47:42] local.INFO: Processing buffer {"connection_id":162485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:47:42] local.INFO: Packet analysis {"connection_id":162485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ea3"} 
[2026-08-26 20:47:42] local.INFO: Extracted packet for processing {"connection_id":162485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ea3"} 
[2026-08-26 20:47:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665783552001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:47: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-26 20:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787757268000,"timestamp_ms":1787757268000,"timestamp_seconds":1787757268,"priority":1,"record_length":96,"hex_timestamp":"000001a03ea30c20"} 
[2026-08-26 20:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 20:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:47: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-26 20:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665783552001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665783552001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:47:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:47:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665783552001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":162485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:47:42] local.INFO: GPS data processed {"connection_id":162485,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:47:42] local.INFO: Acknowledgment sent {"connection_id":162485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:48:13] local.INFO: TCP Data received {"connection_id":162485,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:48:13] local.INFO: Processing buffer {"connection_id":162485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:48:13] local.INFO: Packet analysis {"connection_id":162485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ea3"} 
[2026-08-26 20:48:13] local.INFO: Extracted packet for processing {"connection_id":162485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ea3"} 
[2026-08-26 20:48:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665783552001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:48: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-26 20:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787757268000,"timestamp_ms":1787757268000,"timestamp_seconds":1787757268,"priority":1,"record_length":96,"hex_timestamp":"000001a03ea30c20"} 
[2026-08-26 20:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:48: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-26 20:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:48: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-26 20:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665783552001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665783552001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:48:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:48:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665783552001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":162485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:48:13] local.INFO: GPS data processed {"connection_id":162485,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:48:13] local.INFO: Acknowledgment sent {"connection_id":162485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:48:36] local.INFO: TCP Data received {"connection_id":162734,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:48:36] local.INFO: Processing buffer {"connection_id":162734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:48:36] local.INFO: IMEI packet received {"connection_id":162734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":162734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:48:41] local.INFO: TCP Data received {"connection_id":162734,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:48:41] local.INFO: Processing buffer {"connection_id":162734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:48:41] local.INFO: IMEI packet received {"connection_id":162734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":162734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:48:42] local.INFO: TCP Data received {"connection_id":162734,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:48:42] local.INFO: Processing buffer {"connection_id":162734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:48:42] local.INFO: Packet analysis {"connection_id":162734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ea3"} 
[2026-08-26 20:48:42] local.INFO: Extracted packet for processing {"connection_id":162734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ea3"} 
[2026-08-26 20:48:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665783552001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:48: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-26 20:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787757268000,"timestamp_ms":1787757268000,"timestamp_seconds":1787757268,"priority":1,"record_length":96,"hex_timestamp":"000001a03ea30c20"} 
[2026-08-26 20: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-26 20:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:48: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-26 20: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-26 20: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-26 20:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665783552001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665783552001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:48:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:48:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665783552001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":162734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:48:42] local.INFO: GPS data processed {"connection_id":162734,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:48:42] local.INFO: Acknowledgment sent {"connection_id":162734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:49:13] local.INFO: TCP Data received {"connection_id":162734,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:49:13] local.INFO: Processing buffer {"connection_id":162734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:49:13] local.INFO: Packet analysis {"connection_id":162734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ea3"} 
[2026-08-26 20:49:13] local.INFO: Extracted packet for processing {"connection_id":162734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ea3"} 
[2026-08-26 20:49:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665783552001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:49: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-26 20:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787757268000,"timestamp_ms":1787757268000,"timestamp_seconds":1787757268,"priority":1,"record_length":96,"hex_timestamp":"000001a03ea30c20"} 
[2026-08-26 20: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-26 20:49: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-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:49: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-26 20: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-26 20: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-26 20:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665783552001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665783552001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:49:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:49:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665783552001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":162734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:49:13] local.INFO: GPS data processed {"connection_id":162734,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:49:13] local.INFO: Acknowledgment sent {"connection_id":162734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:49:36] local.INFO: TCP Data received {"connection_id":165098,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:49:36] local.INFO: Processing buffer {"connection_id":165098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:49:36] local.INFO: IMEI packet received {"connection_id":165098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":165098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:49:41] local.INFO: TCP Data received {"connection_id":165098,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:49:41] local.INFO: Processing buffer {"connection_id":165098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:49:41] local.INFO: IMEI packet received {"connection_id":165098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":165098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:49:42] local.INFO: TCP Data received {"connection_id":165098,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:49:42] local.INFO: Processing buffer {"connection_id":165098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ea30c20012d34c14006aa4818000900e62e..."} 
[2026-08-26 20:49:42] local.INFO: Packet analysis {"connection_id":165098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ea3"} 
[2026-08-26 20:49:42] local.INFO: Extracted packet for processing {"connection_id":165098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ea3"} 
[2026-08-26 20:49:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665783552001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:49: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-26 20:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787757268000,"timestamp_ms":1787757268000,"timestamp_seconds":1787757268,"priority":1,"record_length":96,"hex_timestamp":"000001a03ea30c20"} 
[2026-08-26 20:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:49: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-26 20:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:49: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-26 20:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665783552001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665783552001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:49:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:49:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665783552001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":165098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:49:42] local.INFO: GPS data processed {"connection_id":165098,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:49:42] local.INFO: Acknowledgment sent {"connection_id":165098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:50:14] local.INFO: TCP Data received {"connection_id":165098,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:50:14] local.INFO: Processing buffer {"connection_id":165098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:50:14] local.INFO: Packet analysis {"connection_id":165098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ea7"} 
[2026-08-26 20:50:14] local.INFO: Extracted packet for processing {"connection_id":165098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ea7"} 
[2026-08-26 20:50:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":19,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665860608001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:50: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-26 20:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787757569000,"timestamp_ms":1787757569000,"timestamp_seconds":1787757569,"priority":1,"record_length":96,"hex_timestamp":"000001a03ea7a3e8"} 
[2026-08-26 20:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 20:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:50: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-26 20:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665860608001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665860608001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:50:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:50:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665860608001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":165098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:50:14] local.INFO: GPS data processed {"connection_id":165098,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:50:14] local.INFO: Acknowledgment sent {"connection_id":165098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:50:41] local.INFO: TCP Data received {"connection_id":163758,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:50:41] local.INFO: Processing buffer {"connection_id":163758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:50:41] local.INFO: IMEI packet received {"connection_id":163758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":163758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:50:46] local.INFO: TCP Data received {"connection_id":163758,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:50:46] local.INFO: Processing buffer {"connection_id":163758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:50:46] local.INFO: IMEI packet received {"connection_id":163758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":163758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:50:47] local.INFO: TCP Data received {"connection_id":163758,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:50:47] local.INFO: Processing buffer {"connection_id":163758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:50:47] local.INFO: Packet analysis {"connection_id":163758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ea7"} 
[2026-08-26 20:50:47] local.INFO: Extracted packet for processing {"connection_id":163758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ea7"} 
[2026-08-26 20:50:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":19,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 20:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665860608001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:50: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-26 20:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787757569000,"timestamp_ms":1787757569000,"timestamp_seconds":1787757569,"priority":1,"record_length":96,"hex_timestamp":"000001a03ea7a3e8"} 
[2026-08-26 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-26 20:50: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-26 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 20:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665860608001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665860608001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:50:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:50:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665860608001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":163758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:50:47] local.INFO: GPS data processed {"connection_id":163758,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:50:47] local.INFO: Acknowledgment sent {"connection_id":163758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:50:52] local.INFO: TCP Data received {"connection_id":163757,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:50:52] local.INFO: Processing buffer {"connection_id":163757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:50:52] local.INFO: IMEI packet received {"connection_id":163757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 20:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":163757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:51:18] local.INFO: TCP Data received {"connection_id":163758,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:51:18] local.INFO: Processing buffer {"connection_id":163758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:51:18] local.INFO: Packet analysis {"connection_id":163758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ea7"} 
[2026-08-26 20:51:18] local.INFO: Extracted packet for processing {"connection_id":163758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ea7"} 
[2026-08-26 20:51:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":19,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 20:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665860608001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:51: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-26 20:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787757569000,"timestamp_ms":1787757569000,"timestamp_seconds":1787757569,"priority":1,"record_length":96,"hex_timestamp":"000001a03ea7a3e8"} 
[2026-08-26 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-26 20:51: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-26 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 20:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665860608001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665860608001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:51:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:51:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665860608001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":163758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:51:18] local.INFO: GPS data processed {"connection_id":163758,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:51:18] local.INFO: Acknowledgment sent {"connection_id":163758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:51:36] local.INFO: TCP Data received {"connection_id":165099,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:51:36] local.INFO: Processing buffer {"connection_id":165099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:51:36] local.INFO: IMEI packet received {"connection_id":165099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":165099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:51:41] local.INFO: TCP Data received {"connection_id":165099,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:51:41] local.INFO: Processing buffer {"connection_id":165099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:51:41] local.INFO: IMEI packet received {"connection_id":165099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":165099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:51:42] local.INFO: TCP Data received {"connection_id":165099,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:51:42] local.INFO: Processing buffer {"connection_id":165099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:51:42] local.INFO: Packet analysis {"connection_id":165099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ea7"} 
[2026-08-26 20:51:42] local.INFO: Extracted packet for processing {"connection_id":165099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ea7"} 
[2026-08-26 20:51:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":19,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665860608001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20: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-26 20:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787757569000,"timestamp_ms":1787757569000,"timestamp_seconds":1787757569,"priority":1,"record_length":96,"hex_timestamp":"000001a03ea7a3e8"} 
[2026-08-26 20: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-26 20:51: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-26 20: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:51: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-26 20: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-26 20: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-26 20:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665860608001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665860608001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:51:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:51:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665860608001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":165099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:51:42] local.INFO: GPS data processed {"connection_id":165099,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:51:42] local.INFO: Acknowledgment sent {"connection_id":165099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:52:14] local.INFO: TCP Data received {"connection_id":165099,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:52:14] local.INFO: Processing buffer {"connection_id":165099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:52:14] local.INFO: Packet analysis {"connection_id":165099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ea7"} 
[2026-08-26 20:52:14] local.INFO: Extracted packet for processing {"connection_id":165099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ea7"} 
[2026-08-26 20:52:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":19,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665860608001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:52: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-26 20:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787757569000,"timestamp_ms":1787757569000,"timestamp_seconds":1787757569,"priority":1,"record_length":96,"hex_timestamp":"000001a03ea7a3e8"} 
[2026-08-26 20: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-26 20:52: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-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:52: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-26 20: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-26 20: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-26 20:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665860608001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665860608001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:52:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:52:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665860608001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":165099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:52:14] local.INFO: GPS data processed {"connection_id":165099,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:52:14] local.INFO: Acknowledgment sent {"connection_id":165099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:52:36] local.INFO: TCP Data received {"connection_id":165100,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:52:36] local.INFO: Processing buffer {"connection_id":165100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:52:36] local.INFO: IMEI packet received {"connection_id":165100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":165100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:52:41] local.INFO: TCP Data received {"connection_id":165100,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:52:41] local.INFO: Processing buffer {"connection_id":165100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:52:41] local.INFO: IMEI packet received {"connection_id":165100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":165100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:52:42] local.INFO: TCP Data received {"connection_id":165100,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:52:42] local.INFO: Processing buffer {"connection_id":165100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:52:42] local.INFO: Packet analysis {"connection_id":165100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ea7"} 
[2026-08-26 20:52:42] local.INFO: Extracted packet for processing {"connection_id":165100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ea7"} 
[2026-08-26 20:52:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":19,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665860608001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:52: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-26 20:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787757569000,"timestamp_ms":1787757569000,"timestamp_seconds":1787757569,"priority":1,"record_length":96,"hex_timestamp":"000001a03ea7a3e8"} 
[2026-08-26 20: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-26 20:52: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-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:52: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-26 20: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-26 20: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-26 20:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665860608001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665860608001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:52:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:52:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665860608001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":165100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:52:42] local.INFO: GPS data processed {"connection_id":165100,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:52:42] local.INFO: Acknowledgment sent {"connection_id":165100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:53:14] local.INFO: TCP Data received {"connection_id":165100,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:53:14] local.INFO: Processing buffer {"connection_id":165100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:53:14] local.INFO: Packet analysis {"connection_id":165100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ea7"} 
[2026-08-26 20:53:14] local.INFO: Extracted packet for processing {"connection_id":165100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ea7"} 
[2026-08-26 20:53:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":19,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665860608001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:53: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-26 20:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787757569000,"timestamp_ms":1787757569000,"timestamp_seconds":1787757569,"priority":1,"record_length":96,"hex_timestamp":"000001a03ea7a3e8"} 
[2026-08-26 20:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:53: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-26 20:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:53: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-26 20:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665860608001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665860608001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:53:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:53:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665860608001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":165100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:53:14] local.INFO: GPS data processed {"connection_id":165100,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:53:14] local.INFO: Acknowledgment sent {"connection_id":165100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:53:36] local.INFO: TCP Data received {"connection_id":163760,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:53:36] local.INFO: Processing buffer {"connection_id":163760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:53:36] local.INFO: IMEI packet received {"connection_id":163760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":163760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:53:41] local.INFO: TCP Data received {"connection_id":163760,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:53:41] local.INFO: Processing buffer {"connection_id":163760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:53:41] local.INFO: IMEI packet received {"connection_id":163760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":163760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:53:42] local.INFO: TCP Data received {"connection_id":163760,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:53:42] local.INFO: Processing buffer {"connection_id":163760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:53:42] local.INFO: Packet analysis {"connection_id":163760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ea7"} 
[2026-08-26 20:53:42] local.INFO: Extracted packet for processing {"connection_id":163760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ea7"} 
[2026-08-26 20:53:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":19,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665860608001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:53: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-26 20:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787757569000,"timestamp_ms":1787757569000,"timestamp_seconds":1787757569,"priority":1,"record_length":96,"hex_timestamp":"000001a03ea7a3e8"} 
[2026-08-26 20: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-26 20:53: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-26 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:53: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-26 20: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-26 20: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-26 20:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665860608001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665860608001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:53:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:53:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665860608001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":163760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:53:42] local.INFO: GPS data processed {"connection_id":163760,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:53:42] local.INFO: Acknowledgment sent {"connection_id":163760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:54:14] local.INFO: TCP Data received {"connection_id":163760,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:54:14] local.INFO: Processing buffer {"connection_id":163760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:54:14] local.INFO: Packet analysis {"connection_id":163760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ea7"} 
[2026-08-26 20:54:14] local.INFO: Extracted packet for processing {"connection_id":163760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ea7"} 
[2026-08-26 20:54:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":19,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665860608001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:54: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-26 20:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787757569000,"timestamp_ms":1787757569000,"timestamp_seconds":1787757569,"priority":1,"record_length":96,"hex_timestamp":"000001a03ea7a3e8"} 
[2026-08-26 20:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:54: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-26 20:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:54: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-26 20:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665860608001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665860608001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:54:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:54:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665860608001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":163760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:54:14] local.INFO: GPS data processed {"connection_id":163760,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:54:14] local.INFO: Acknowledgment sent {"connection_id":163760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:54:35] local.INFO: TCP Data received {"connection_id":163761,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:54:35] local.INFO: Processing buffer {"connection_id":163761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:54:35] local.INFO: IMEI packet received {"connection_id":163761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":163761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:54:41] local.INFO: TCP Data received {"connection_id":163761,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:54:41] local.INFO: Processing buffer {"connection_id":163761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:54:41] local.INFO: IMEI packet received {"connection_id":163761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":163761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:54:42] local.INFO: TCP Data received {"connection_id":163761,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:54:42] local.INFO: Processing buffer {"connection_id":163761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ea7a3e8012d34c14006aa4818001300e62f..."} 
[2026-08-26 20:54:42] local.INFO: Packet analysis {"connection_id":163761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ea7"} 
[2026-08-26 20:54:42] local.INFO: Extracted packet for processing {"connection_id":163761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ea7"} 
[2026-08-26 20:54:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":19,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665860608001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:54: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-26 20:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787757569000,"timestamp_ms":1787757569000,"timestamp_seconds":1787757569,"priority":1,"record_length":96,"hex_timestamp":"000001a03ea7a3e8"} 
[2026-08-26 20:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:54: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-26 20:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 20:54: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-26 20:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665860608001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665860608001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:54:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:54:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665860608001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":163761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:54:42] local.INFO: GPS data processed {"connection_id":163761,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:54:42] local.INFO: Acknowledgment sent {"connection_id":163761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:55:14] local.INFO: TCP Data received {"connection_id":163761,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:55:14] local.INFO: Processing buffer {"connection_id":163761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:55:14] local.INFO: Packet analysis {"connection_id":163761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eac"} 
[2026-08-26 20:55:14] local.INFO: Extracted packet for processing {"connection_id":163761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eac"} 
[2026-08-26 20:55:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665937664001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:55: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-26 20:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787757870000,"timestamp_ms":1787757870000,"timestamp_seconds":1787757870,"priority":1,"record_length":96,"hex_timestamp":"000001a03eac3bb0"} 
[2026-08-26 20:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:55: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-26 20:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:55: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-26 20:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665937664001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665937664001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:55:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:55:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665937664001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":163761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:55:14] local.INFO: GPS data processed {"connection_id":163761,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:55:14] local.INFO: Acknowledgment sent {"connection_id":163761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:55:41] local.INFO: TCP Data received {"connection_id":163762,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:55:41] local.INFO: Processing buffer {"connection_id":163762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:55:41] local.INFO: IMEI packet received {"connection_id":163762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":163762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:55:46] local.INFO: TCP Data received {"connection_id":163762,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:55:46] local.INFO: Processing buffer {"connection_id":163762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:55:46] local.INFO: IMEI packet received {"connection_id":163762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":163762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:55:47] local.INFO: TCP Data received {"connection_id":163762,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:55:47] local.INFO: Processing buffer {"connection_id":163762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:55:47] local.INFO: Packet analysis {"connection_id":163762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eac"} 
[2026-08-26 20:55:47] local.INFO: Extracted packet for processing {"connection_id":163762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eac"} 
[2026-08-26 20:55:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 20:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665937664001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:55: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-26 20:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787757870000,"timestamp_ms":1787757870000,"timestamp_seconds":1787757870,"priority":1,"record_length":96,"hex_timestamp":"000001a03eac3bb0"} 
[2026-08-26 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-26 20:55: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-26 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:55: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-26 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-26 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-26 20:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665937664001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665937664001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:55:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:55:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665937664001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":163762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:55:47] local.INFO: GPS data processed {"connection_id":163762,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:55:47] local.INFO: Acknowledgment sent {"connection_id":163762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:56:18] local.INFO: TCP Data received {"connection_id":163762,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:56:18] local.INFO: Processing buffer {"connection_id":163762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:56:18] local.INFO: Packet analysis {"connection_id":163762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eac"} 
[2026-08-26 20:56:18] local.INFO: Extracted packet for processing {"connection_id":163762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eac"} 
[2026-08-26 20:56:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 20:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665937664001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:56: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-26 20:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787757870000,"timestamp_ms":1787757870000,"timestamp_seconds":1787757870,"priority":1,"record_length":96,"hex_timestamp":"000001a03eac3bb0"} 
[2026-08-26 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-26 20:56: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-26 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 20:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665937664001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665937664001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:56:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:56:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665937664001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":163762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:56:18] local.INFO: GPS data processed {"connection_id":163762,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:56:18] local.INFO: Acknowledgment sent {"connection_id":163762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:56:26] local.INFO: TCP Data received {"connection_id":163759,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:56:26] local.INFO: Processing buffer {"connection_id":163759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 20:56:26] local.INFO: IMEI packet received {"connection_id":163759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 20:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":163759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:56:36] local.INFO: TCP Data received {"connection_id":162735,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:56:36] local.INFO: Processing buffer {"connection_id":162735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:56:36] local.INFO: IMEI packet received {"connection_id":162735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":162735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:56:41] local.INFO: TCP Data received {"connection_id":162735,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:56:41] local.INFO: Processing buffer {"connection_id":162735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:56:41] local.INFO: IMEI packet received {"connection_id":162735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":162735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:56:43] local.INFO: TCP Data received {"connection_id":162735,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:56:43] local.INFO: Processing buffer {"connection_id":162735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:56:43] local.INFO: Packet analysis {"connection_id":162735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eac"} 
[2026-08-26 20:56:43] local.INFO: Extracted packet for processing {"connection_id":162735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eac"} 
[2026-08-26 20:56:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665937664001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:56: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-26 20:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787757870000,"timestamp_ms":1787757870000,"timestamp_seconds":1787757870,"priority":1,"record_length":96,"hex_timestamp":"000001a03eac3bb0"} 
[2026-08-26 20: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-26 20:56: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-26 20: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:56: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-26 20: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-26 20: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-26 20:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665937664001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665937664001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:56:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:56:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665937664001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":162735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:56:43] local.INFO: GPS data processed {"connection_id":162735,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:56:43] local.INFO: Acknowledgment sent {"connection_id":162735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:57:14] local.INFO: TCP Data received {"connection_id":162735,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:57:14] local.INFO: Processing buffer {"connection_id":162735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:57:14] local.INFO: Packet analysis {"connection_id":162735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eac"} 
[2026-08-26 20:57:14] local.INFO: Extracted packet for processing {"connection_id":162735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eac"} 
[2026-08-26 20:57:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665937664001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:57: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-26 20:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787757870000,"timestamp_ms":1787757870000,"timestamp_seconds":1787757870,"priority":1,"record_length":96,"hex_timestamp":"000001a03eac3bb0"} 
[2026-08-26 20:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:57: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-26 20:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:57: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-26 20:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665937664001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665937664001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:57:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:57:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665937664001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":162735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:57:14] local.INFO: GPS data processed {"connection_id":162735,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:57:14] local.INFO: Acknowledgment sent {"connection_id":162735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:57:36] local.INFO: TCP Data received {"connection_id":162486,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:57:36] local.INFO: Processing buffer {"connection_id":162486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:57:36] local.INFO: IMEI packet received {"connection_id":162486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":162486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:57:40] local.INFO: TCP Data received {"connection_id":162486,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:57:40] local.INFO: Processing buffer {"connection_id":162486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:57:40] local.INFO: IMEI packet received {"connection_id":162486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":162486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:57:41] local.INFO: TCP Data received {"connection_id":162486,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:57:41] local.INFO: Processing buffer {"connection_id":162486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:57:41] local.INFO: Packet analysis {"connection_id":162486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eac"} 
[2026-08-26 20:57:41] local.INFO: Extracted packet for processing {"connection_id":162486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eac"} 
[2026-08-26 20:57:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665937664001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:57: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-26 20:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787757870000,"timestamp_ms":1787757870000,"timestamp_seconds":1787757870,"priority":1,"record_length":96,"hex_timestamp":"000001a03eac3bb0"} 
[2026-08-26 20: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-26 20:57: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-26 20: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:57: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-26 20: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-26 20: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-26 20:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665937664001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665937664001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:57:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:57:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665937664001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":162486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:57:41] local.INFO: GPS data processed {"connection_id":162486,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:57:41] local.INFO: Acknowledgment sent {"connection_id":162486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:58:13] local.INFO: TCP Data received {"connection_id":162486,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:58:13] local.INFO: Processing buffer {"connection_id":162486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:58:13] local.INFO: Packet analysis {"connection_id":162486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eac"} 
[2026-08-26 20:58:13] local.INFO: Extracted packet for processing {"connection_id":162486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eac"} 
[2026-08-26 20:58:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 20:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665937664001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:58: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-26 20:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787757870000,"timestamp_ms":1787757870000,"timestamp_seconds":1787757870,"priority":1,"record_length":96,"hex_timestamp":"000001a03eac3bb0"} 
[2026-08-26 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-26 20:58: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-26 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":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:58: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-26 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-26 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-26 20:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665937664001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665937664001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:58:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:58:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665937664001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":162486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:58:13] local.INFO: GPS data processed {"connection_id":162486,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:58:13] local.INFO: Acknowledgment sent {"connection_id":162486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:58:36] local.INFO: TCP Data received {"connection_id":162736,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:58:36] local.INFO: Processing buffer {"connection_id":162736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:58:36] local.INFO: IMEI packet received {"connection_id":162736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":162736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:58:41] local.INFO: TCP Data received {"connection_id":162736,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:58:41] local.INFO: Processing buffer {"connection_id":162736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:58:41] local.INFO: IMEI packet received {"connection_id":162736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":162736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:58:42] local.INFO: TCP Data received {"connection_id":162736,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:58:42] local.INFO: Processing buffer {"connection_id":162736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:58:42] local.INFO: Packet analysis {"connection_id":162736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eac"} 
[2026-08-26 20:58:42] local.INFO: Extracted packet for processing {"connection_id":162736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eac"} 
[2026-08-26 20:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665937664001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20: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-26 20:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787757870000,"timestamp_ms":1787757870000,"timestamp_seconds":1787757870,"priority":1,"record_length":96,"hex_timestamp":"000001a03eac3bb0"} 
[2026-08-26 20: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-26 20: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-26 20:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:58: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-26 20: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-26 20: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-26 20:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665937664001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665937664001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:58:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:58:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665937664001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":162736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:58:42] local.INFO: GPS data processed {"connection_id":162736,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:58:42] local.INFO: Acknowledgment sent {"connection_id":162736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:59:13] local.INFO: TCP Data received {"connection_id":162736,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:59:13] local.INFO: Processing buffer {"connection_id":162736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:59:13] local.INFO: Packet analysis {"connection_id":162736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eac"} 
[2026-08-26 20:59:13] local.INFO: Extracted packet for processing {"connection_id":162736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eac"} 
[2026-08-26 20:59:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20: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-26 20:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665937664001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:59: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-26 20:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787757870000,"timestamp_ms":1787757870000,"timestamp_seconds":1787757870,"priority":1,"record_length":96,"hex_timestamp":"000001a03eac3bb0"} 
[2026-08-26 20: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-26 20:59: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-26 20: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:59: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-26 20: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-26 20: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-26 20:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665937664001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665937664001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:59:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:59:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665937664001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":162736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:59:13] local.INFO: GPS data processed {"connection_id":162736,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:59:13] local.INFO: Acknowledgment sent {"connection_id":162736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 20:59:35] local.INFO: TCP Data received {"connection_id":162487,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:59:35] local.INFO: Processing buffer {"connection_id":162487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:59:35] local.INFO: IMEI packet received {"connection_id":162487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 20:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":162487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 20:59:41] local.INFO: TCP Data received {"connection_id":162487,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:59:41] local.INFO: Processing buffer {"connection_id":162487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 20:59:41] local.INFO: IMEI packet received {"connection_id":162487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 20:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":162487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 20:59:42] local.INFO: TCP Data received {"connection_id":162487,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:59:42] local.INFO: Processing buffer {"connection_id":162487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eac3bb0012d34c14006aa4818000d00e630..."} 
[2026-08-26 20:59:42] local.INFO: Packet analysis {"connection_id":162487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eac"} 
[2026-08-26 20:59:42] local.INFO: Extracted packet for processing {"connection_id":162487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eac"} 
[2026-08-26 20:59:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 20:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 20:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457665937664001,"note":"Value kept but may cause issues"} 
[2026-08-26 20:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 20:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 20:59: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-26 20:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787757870000,"timestamp_ms":1787757870000,"timestamp_seconds":1787757870,"priority":1,"record_length":96,"hex_timestamp":"000001a03eac3bb0"} 
[2026-08-26 20:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 20:59: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-26 20:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 20:59: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-26 20:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 20:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 20:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 20:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 20:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 20:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 20:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 20:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 20:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457665937664001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 20:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 20:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 20:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457665937664001,"description":"Unknown IO ID 0"} 
[2026-08-26 20:59:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 20:59:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 20:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 20:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 20:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457665937664001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 20:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":162487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 20:59:42] local.INFO: GPS data processed {"connection_id":162487,"processed":1,"errors":0,"total":1} 
[2026-08-26 20:59:42] local.INFO: Acknowledgment sent {"connection_id":162487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:00:14] local.INFO: TCP Data received {"connection_id":162487,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:00:14] local.INFO: Processing buffer {"connection_id":162487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:00:14] local.INFO: Packet analysis {"connection_id":162487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eb0"} 
[2026-08-26 21:00:14] local.INFO: Extracted packet for processing {"connection_id":162487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eb0"} 
[2026-08-26 21:00:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666014720001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:00: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-26 21:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787758171000,"timestamp_ms":1787758171000,"timestamp_seconds":1787758171,"priority":1,"record_length":96,"hex_timestamp":"000001a03eb0d378"} 
[2026-08-26 21:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:00: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-26 21:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:00: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-26 21:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666014720001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666014720001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:00:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:00:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666014720001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":162487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:00:14] local.INFO: GPS data processed {"connection_id":162487,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:00:14] local.INFO: Acknowledgment sent {"connection_id":162487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:00:41] local.INFO: TCP Data received {"connection_id":165102,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:00:41] local.INFO: Processing buffer {"connection_id":165102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:00:41] local.INFO: IMEI packet received {"connection_id":165102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":165102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:00:46] local.INFO: TCP Data received {"connection_id":165102,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:00:46] local.INFO: Processing buffer {"connection_id":165102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:00:46] local.INFO: IMEI packet received {"connection_id":165102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":165102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:00:47] local.INFO: TCP Data received {"connection_id":165102,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:00:47] local.INFO: Processing buffer {"connection_id":165102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:00:47] local.INFO: Packet analysis {"connection_id":165102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eb0"} 
[2026-08-26 21:00:47] local.INFO: Extracted packet for processing {"connection_id":165102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eb0"} 
[2026-08-26 21:00:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666014720001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:00: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-26 21:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787758171000,"timestamp_ms":1787758171000,"timestamp_seconds":1787758171,"priority":1,"record_length":96,"hex_timestamp":"000001a03eb0d378"} 
[2026-08-26 21: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-26 21:00: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:00: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-26 21: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-26 21: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-26 21:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666014720001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666014720001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:00:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:00:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666014720001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":165102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:00:47] local.INFO: GPS data processed {"connection_id":165102,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:00:47] local.INFO: Acknowledgment sent {"connection_id":165102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:01:18] local.INFO: TCP Data received {"connection_id":165102,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:01:18] local.INFO: Processing buffer {"connection_id":165102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:01:18] local.INFO: Packet analysis {"connection_id":165102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eb0"} 
[2026-08-26 21:01:18] local.INFO: Extracted packet for processing {"connection_id":165102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eb0"} 
[2026-08-26 21:01:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666014720001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:01: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-26 21:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787758171000,"timestamp_ms":1787758171000,"timestamp_seconds":1787758171,"priority":1,"record_length":96,"hex_timestamp":"000001a03eb0d378"} 
[2026-08-26 21: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-26 21:01: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 21: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-26 21: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-26 21:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":165102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":165102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":165102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666014720001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666014720001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:01:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:01:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666014720001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":165102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:01:18] local.INFO: GPS data processed {"connection_id":165102,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:01:18] local.INFO: Acknowledgment sent {"connection_id":165102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:01:36] local.INFO: TCP Data received {"connection_id":163763,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:01:36] local.INFO: Processing buffer {"connection_id":163763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:01:36] local.INFO: IMEI packet received {"connection_id":163763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":163763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:01:41] local.INFO: TCP Data received {"connection_id":163763,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:01:41] local.INFO: Processing buffer {"connection_id":163763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:01:41] local.INFO: IMEI packet received {"connection_id":163763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":163763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:01:42] local.INFO: TCP Data received {"connection_id":163763,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:01:42] local.INFO: Processing buffer {"connection_id":163763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:01:42] local.INFO: Packet analysis {"connection_id":163763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eb0"} 
[2026-08-26 21:01:42] local.INFO: Extracted packet for processing {"connection_id":163763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eb0"} 
[2026-08-26 21:01:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666014720001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:01: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-26 21:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787758171000,"timestamp_ms":1787758171000,"timestamp_seconds":1787758171,"priority":1,"record_length":96,"hex_timestamp":"000001a03eb0d378"} 
[2026-08-26 21:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:01: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-26 21:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:01: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-26 21:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666014720001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666014720001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:01:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:01:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666014720001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":163763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:01:42] local.INFO: GPS data processed {"connection_id":163763,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:01:42] local.INFO: Acknowledgment sent {"connection_id":163763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:02:01] local.INFO: TCP Data received {"connection_id":165101,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:02:01] local.INFO: Processing buffer {"connection_id":165101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:02:01] local.INFO: IMEI packet received {"connection_id":165101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 21:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":165101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:02:13] local.INFO: TCP Data received {"connection_id":163763,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:02:13] local.INFO: Processing buffer {"connection_id":163763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:02:13] local.INFO: Packet analysis {"connection_id":163763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eb0"} 
[2026-08-26 21:02:13] local.INFO: Extracted packet for processing {"connection_id":163763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eb0"} 
[2026-08-26 21:02:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666014720001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:02: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-26 21:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787758171000,"timestamp_ms":1787758171000,"timestamp_seconds":1787758171,"priority":1,"record_length":96,"hex_timestamp":"000001a03eb0d378"} 
[2026-08-26 21: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-26 21:02: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:02: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-26 21: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-26 21: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-26 21:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666014720001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666014720001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:02:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:02:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666014720001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":163763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:02:13] local.INFO: GPS data processed {"connection_id":163763,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:02:13] local.INFO: Acknowledgment sent {"connection_id":163763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:02:36] local.INFO: TCP Data received {"connection_id":165103,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:02:36] local.INFO: Processing buffer {"connection_id":165103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:02:36] local.INFO: IMEI packet received {"connection_id":165103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":165103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:02:41] local.INFO: TCP Data received {"connection_id":165103,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:02:41] local.INFO: Processing buffer {"connection_id":165103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:02:41] local.INFO: IMEI packet received {"connection_id":165103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":165103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:02:42] local.INFO: TCP Data received {"connection_id":165103,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:02:42] local.INFO: Processing buffer {"connection_id":165103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:02:42] local.INFO: Packet analysis {"connection_id":165103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eb0"} 
[2026-08-26 21:02:42] local.INFO: Extracted packet for processing {"connection_id":165103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eb0"} 
[2026-08-26 21:02:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666014720001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21: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-26 21:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787758171000,"timestamp_ms":1787758171000,"timestamp_seconds":1787758171,"priority":1,"record_length":96,"hex_timestamp":"000001a03eb0d378"} 
[2026-08-26 21:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:02: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-26 21:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:02: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-26 21:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666014720001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666014720001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:02:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:02:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666014720001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":165103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:02:42] local.INFO: GPS data processed {"connection_id":165103,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:02:42] local.INFO: Acknowledgment sent {"connection_id":165103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:03:14] local.INFO: TCP Data received {"connection_id":165103,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:03:14] local.INFO: Processing buffer {"connection_id":165103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:03:14] local.INFO: Packet analysis {"connection_id":165103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eb0"} 
[2026-08-26 21:03:14] local.INFO: Extracted packet for processing {"connection_id":165103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eb0"} 
[2026-08-26 21:03:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666014720001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:03: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-26 21:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787758171000,"timestamp_ms":1787758171000,"timestamp_seconds":1787758171,"priority":1,"record_length":96,"hex_timestamp":"000001a03eb0d378"} 
[2026-08-26 21:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:03: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-26 21:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:03: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-26 21:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666014720001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666014720001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:03:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:03:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666014720001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":165103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:03:14] local.INFO: GPS data processed {"connection_id":165103,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:03:14] local.INFO: Acknowledgment sent {"connection_id":165103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:03:36] local.INFO: TCP Data received {"connection_id":163765,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:03:36] local.INFO: Processing buffer {"connection_id":163765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:03:36] local.INFO: IMEI packet received {"connection_id":163765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":163765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:03:41] local.INFO: TCP Data received {"connection_id":163765,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:03:41] local.INFO: Processing buffer {"connection_id":163765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:03:41] local.INFO: IMEI packet received {"connection_id":163765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":163765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:03:42] local.INFO: TCP Data received {"connection_id":163765,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:03:42] local.INFO: Processing buffer {"connection_id":163765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:03:42] local.INFO: Packet analysis {"connection_id":163765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eb0"} 
[2026-08-26 21:03:42] local.INFO: Extracted packet for processing {"connection_id":163765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eb0"} 
[2026-08-26 21:03:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666014720001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21: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-26 21:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787758171000,"timestamp_ms":1787758171000,"timestamp_seconds":1787758171,"priority":1,"record_length":96,"hex_timestamp":"000001a03eb0d378"} 
[2026-08-26 21: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-26 21:03: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-26 21: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-26 21: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-26 21: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-26 21: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-26 21:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666014720001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666014720001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:03:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:03:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666014720001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":163765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:03:42] local.INFO: GPS data processed {"connection_id":163765,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:03:42] local.INFO: Acknowledgment sent {"connection_id":163765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:04:13] local.INFO: TCP Data received {"connection_id":163765,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:04:13] local.INFO: Processing buffer {"connection_id":163765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:04:13] local.INFO: Packet analysis {"connection_id":163765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eb0"} 
[2026-08-26 21:04:13] local.INFO: Extracted packet for processing {"connection_id":163765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eb0"} 
[2026-08-26 21:04:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666014720001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:04: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-26 21:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787758171000,"timestamp_ms":1787758171000,"timestamp_seconds":1787758171,"priority":1,"record_length":96,"hex_timestamp":"000001a03eb0d378"} 
[2026-08-26 21: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-26 21:04: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:04: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-26 21: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-26 21: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-26 21:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666014720001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666014720001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:04:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:04:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666014720001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":163765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:04:13] local.INFO: GPS data processed {"connection_id":163765,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:04:13] local.INFO: Acknowledgment sent {"connection_id":163765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:04:35] local.INFO: TCP Data received {"connection_id":165104,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:04:35] local.INFO: Processing buffer {"connection_id":165104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:04:35] local.INFO: IMEI packet received {"connection_id":165104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":165104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:04:41] local.INFO: TCP Data received {"connection_id":165104,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:04:41] local.INFO: Processing buffer {"connection_id":165104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:04:41] local.INFO: IMEI packet received {"connection_id":165104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":165104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:04:42] local.INFO: TCP Data received {"connection_id":165104,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:04:42] local.INFO: Processing buffer {"connection_id":165104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eb0d378012d34c14006aa4818000b00e632..."} 
[2026-08-26 21:04:42] local.INFO: Packet analysis {"connection_id":165104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eb0"} 
[2026-08-26 21:04:42] local.INFO: Extracted packet for processing {"connection_id":165104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eb0"} 
[2026-08-26 21:04:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666014720001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21: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-26 21:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787758171000,"timestamp_ms":1787758171000,"timestamp_seconds":1787758171,"priority":1,"record_length":96,"hex_timestamp":"000001a03eb0d378"} 
[2026-08-26 21: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-26 21:04: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-26 21: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-26 21: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-26 21: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-26 21: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-26 21:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666014720001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666014720001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:04:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:04:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666014720001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":165104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:04:42] local.INFO: GPS data processed {"connection_id":165104,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:04:42] local.INFO: Acknowledgment sent {"connection_id":165104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:05:14] local.INFO: TCP Data received {"connection_id":165104,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:05:14] local.INFO: Processing buffer {"connection_id":165104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:05:14] local.INFO: Packet analysis {"connection_id":165104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eb5"} 
[2026-08-26 21:05:14] local.INFO: Extracted packet for processing {"connection_id":165104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eb5"} 
[2026-08-26 21:05:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666091776001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:05: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-26 21:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787758472000,"timestamp_ms":1787758472000,"timestamp_seconds":1787758472,"priority":1,"record_length":96,"hex_timestamp":"000001a03eb56b40"} 
[2026-08-26 21:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:05: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-26 21:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:05: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-26 21: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-26 21:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666091776001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666091776001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:05:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:05:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666091776001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":165104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:05:14] local.INFO: GPS data processed {"connection_id":165104,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:05:14] local.INFO: Acknowledgment sent {"connection_id":165104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:05:41] local.INFO: TCP Data received {"connection_id":165105,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:05:41] local.INFO: Processing buffer {"connection_id":165105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:05:41] local.INFO: IMEI packet received {"connection_id":165105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":165105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:05:46] local.INFO: TCP Data received {"connection_id":165105,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:05:46] local.INFO: Processing buffer {"connection_id":165105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:05:46] local.INFO: IMEI packet received {"connection_id":165105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":165105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:05:47] local.INFO: TCP Data received {"connection_id":165105,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:05:47] local.INFO: Processing buffer {"connection_id":165105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:05:47] local.INFO: Packet analysis {"connection_id":165105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eb5"} 
[2026-08-26 21:05:47] local.INFO: Extracted packet for processing {"connection_id":165105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eb5"} 
[2026-08-26 21:05:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 21:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666091776001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:05: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-26 21:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787758472000,"timestamp_ms":1787758472000,"timestamp_seconds":1787758472,"priority":1,"record_length":96,"hex_timestamp":"000001a03eb56b40"} 
[2026-08-26 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-26 21:05: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-26 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:05: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-26 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-26 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-26 21:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666091776001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666091776001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:05:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:05:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666091776001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":165105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:05:47] local.INFO: GPS data processed {"connection_id":165105,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:05:47] local.INFO: Acknowledgment sent {"connection_id":165105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:06:18] local.INFO: TCP Data received {"connection_id":165105,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:06:18] local.INFO: Processing buffer {"connection_id":165105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:06:18] local.INFO: Packet analysis {"connection_id":165105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eb5"} 
[2026-08-26 21:06:18] local.INFO: Extracted packet for processing {"connection_id":165105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eb5"} 
[2026-08-26 21:06:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 21:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666091776001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:06: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-26 21:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787758472000,"timestamp_ms":1787758472000,"timestamp_seconds":1787758472,"priority":1,"record_length":96,"hex_timestamp":"000001a03eb56b40"} 
[2026-08-26 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-26 21:06: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-26 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 21:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":165105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":165105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":165105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666091776001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666091776001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:06:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:06:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666091776001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":165105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:06:18] local.INFO: GPS data processed {"connection_id":165105,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:06:18] local.INFO: Acknowledgment sent {"connection_id":165105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:06:36] local.INFO: TCP Data received {"connection_id":162488,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:06:36] local.INFO: Processing buffer {"connection_id":162488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:06:36] local.INFO: IMEI packet received {"connection_id":162488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":162488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:06:41] local.INFO: TCP Data received {"connection_id":162488,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:06:41] local.INFO: Processing buffer {"connection_id":162488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:06:41] local.INFO: IMEI packet received {"connection_id":162488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":162488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:06:42] local.INFO: TCP Data received {"connection_id":162488,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:06:42] local.INFO: Processing buffer {"connection_id":162488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:06:42] local.INFO: Packet analysis {"connection_id":162488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eb5"} 
[2026-08-26 21:06:42] local.INFO: Extracted packet for processing {"connection_id":162488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eb5"} 
[2026-08-26 21:06:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666091776001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:06: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-26 21:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787758472000,"timestamp_ms":1787758472000,"timestamp_seconds":1787758472,"priority":1,"record_length":96,"hex_timestamp":"000001a03eb56b40"} 
[2026-08-26 21:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:06: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-26 21:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:06: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-26 21:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666091776001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666091776001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:06:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:06:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666091776001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":162488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:06:42] local.INFO: GPS data processed {"connection_id":162488,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:06:42] local.INFO: Acknowledgment sent {"connection_id":162488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:07:13] local.INFO: TCP Data received {"connection_id":162488,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:07:13] local.INFO: Processing buffer {"connection_id":162488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:07:13] local.INFO: Packet analysis {"connection_id":162488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eb5"} 
[2026-08-26 21:07:13] local.INFO: Extracted packet for processing {"connection_id":162488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eb5"} 
[2026-08-26 21:07:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666091776001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:07: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-26 21:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787758472000,"timestamp_ms":1787758472000,"timestamp_seconds":1787758472,"priority":1,"record_length":96,"hex_timestamp":"000001a03eb56b40"} 
[2026-08-26 21: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-26 21:07: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:07: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-26 21: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-26 21: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-26 21:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666091776001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666091776001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:07:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:07:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666091776001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":162488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:07:13] local.INFO: GPS data processed {"connection_id":162488,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:07:13] local.INFO: Acknowledgment sent {"connection_id":162488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:07:35] local.INFO: TCP Data received {"connection_id":165106,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:07:35] local.INFO: Processing buffer {"connection_id":165106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:07:35] local.INFO: IMEI packet received {"connection_id":165106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":165106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:07:36] local.INFO: TCP Data received {"connection_id":163764,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:07:36] local.INFO: Processing buffer {"connection_id":163764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:07:36] local.INFO: IMEI packet received {"connection_id":163764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 21:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":163764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:07:41] local.INFO: TCP Data received {"connection_id":165106,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:07:41] local.INFO: Processing buffer {"connection_id":165106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:07:41] local.INFO: IMEI packet received {"connection_id":165106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":165106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:07:42] local.INFO: TCP Data received {"connection_id":165106,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:07:42] local.INFO: Processing buffer {"connection_id":165106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:07:42] local.INFO: Packet analysis {"connection_id":165106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eb5"} 
[2026-08-26 21:07:42] local.INFO: Extracted packet for processing {"connection_id":165106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eb5"} 
[2026-08-26 21:07:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666091776001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:07: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-26 21:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787758472000,"timestamp_ms":1787758472000,"timestamp_seconds":1787758472,"priority":1,"record_length":96,"hex_timestamp":"000001a03eb56b40"} 
[2026-08-26 21:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:07: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-26 21:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:07: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-26 21:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666091776001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666091776001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:07:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:07:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666091776001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":165106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:07:42] local.INFO: GPS data processed {"connection_id":165106,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:07:42] local.INFO: Acknowledgment sent {"connection_id":165106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:08:01] local.INFO: TCP Data received {"connection_id":163766,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163766,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:08:01] local.INFO: Processing buffer {"connection_id":163766,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:08:01] local.INFO: IMEI packet received {"connection_id":163766,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 21:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":163766,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:08:14] local.INFO: TCP Data received {"connection_id":165106,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:08:14] local.INFO: Processing buffer {"connection_id":165106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:08:14] local.INFO: Packet analysis {"connection_id":165106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eb5"} 
[2026-08-26 21:08:14] local.INFO: Extracted packet for processing {"connection_id":165106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eb5"} 
[2026-08-26 21:08:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666091776001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:08: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-26 21:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787758472000,"timestamp_ms":1787758472000,"timestamp_seconds":1787758472,"priority":1,"record_length":96,"hex_timestamp":"000001a03eb56b40"} 
[2026-08-26 21: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-26 21:08: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:08: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-26 21: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-26 21: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-26 21:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666091776001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666091776001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:08:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:08:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666091776001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":165106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:08:14] local.INFO: GPS data processed {"connection_id":165106,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:08:14] local.INFO: Acknowledgment sent {"connection_id":165106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:08:36] local.INFO: TCP Data received {"connection_id":165108,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:08:36] local.INFO: Processing buffer {"connection_id":165108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:08:36] local.INFO: IMEI packet received {"connection_id":165108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":165108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:08:41] local.INFO: TCP Data received {"connection_id":165108,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:08:41] local.INFO: Processing buffer {"connection_id":165108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:08:41] local.INFO: IMEI packet received {"connection_id":165108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":165108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:08:42] local.INFO: TCP Data received {"connection_id":165108,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:08:42] local.INFO: Processing buffer {"connection_id":165108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:08:42] local.INFO: Packet analysis {"connection_id":165108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eb5"} 
[2026-08-26 21:08:42] local.INFO: Extracted packet for processing {"connection_id":165108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eb5"} 
[2026-08-26 21:08:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666091776001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21: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-26 21:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787758472000,"timestamp_ms":1787758472000,"timestamp_seconds":1787758472,"priority":1,"record_length":96,"hex_timestamp":"000001a03eb56b40"} 
[2026-08-26 21: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-26 21:08: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-26 21: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-26 21: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-26 21: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-26 21: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-26 21:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666091776001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666091776001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:08:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:08:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666091776001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":165108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:08:42] local.INFO: GPS data processed {"connection_id":165108,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:08:42] local.INFO: Acknowledgment sent {"connection_id":165108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:09:13] local.INFO: TCP Data received {"connection_id":165108,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:09:13] local.INFO: Processing buffer {"connection_id":165108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:09:13] local.INFO: Packet analysis {"connection_id":165108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eb5"} 
[2026-08-26 21:09:13] local.INFO: Extracted packet for processing {"connection_id":165108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eb5"} 
[2026-08-26 21:09:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666091776001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:09: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-26 21:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787758472000,"timestamp_ms":1787758472000,"timestamp_seconds":1787758472,"priority":1,"record_length":96,"hex_timestamp":"000001a03eb56b40"} 
[2026-08-26 21:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:09: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-26 21:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:09: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-26 21:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666091776001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666091776001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:09:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:09:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666091776001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":165108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:09:13] local.INFO: GPS data processed {"connection_id":165108,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:09:13] local.INFO: Acknowledgment sent {"connection_id":165108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:09:36] local.INFO: TCP Data received {"connection_id":162737,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:09:36] local.INFO: Processing buffer {"connection_id":162737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:09:36] local.INFO: IMEI packet received {"connection_id":162737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":162737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:09:41] local.INFO: TCP Data received {"connection_id":162737,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:09:41] local.INFO: Processing buffer {"connection_id":162737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:09:41] local.INFO: IMEI packet received {"connection_id":162737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":162737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:09:42] local.INFO: TCP Data received {"connection_id":162737,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:09:42] local.INFO: Processing buffer {"connection_id":162737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eb56b40012d34c14006aa4818000c00e632..."} 
[2026-08-26 21:09:42] local.INFO: Packet analysis {"connection_id":162737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eb5"} 
[2026-08-26 21:09:42] local.INFO: Extracted packet for processing {"connection_id":162737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eb5"} 
[2026-08-26 21:09:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666091776001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:09: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-26 21:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787758472000,"timestamp_ms":1787758472000,"timestamp_seconds":1787758472,"priority":1,"record_length":96,"hex_timestamp":"000001a03eb56b40"} 
[2026-08-26 21:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:09: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-26 21:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:09: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-26 21:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666091776001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666091776001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:09:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:09:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666091776001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":162737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:09:42] local.INFO: GPS data processed {"connection_id":162737,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:09:42] local.INFO: Acknowledgment sent {"connection_id":162737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:10:13] local.INFO: TCP Data received {"connection_id":162737,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:10:13] local.INFO: Processing buffer {"connection_id":162737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:10:13] local.INFO: Packet analysis {"connection_id":162737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eba"} 
[2026-08-26 21:10:13] local.INFO: Extracted packet for processing {"connection_id":162737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eba"} 
[2026-08-26 21:10:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666168832001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:10: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-26 21:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787758773000,"timestamp_ms":1787758773000,"timestamp_seconds":1787758773,"priority":1,"record_length":96,"hex_timestamp":"000001a03eba0308"} 
[2026-08-26 21: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-26 21:10: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-26 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 21:10: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-26 21: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-26 21: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-26 21:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666168832001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666168832001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:10:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:10:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666168832001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":162737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:10:14] local.INFO: GPS data processed {"connection_id":162737,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:10:14] local.INFO: Acknowledgment sent {"connection_id":162737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:10:41] local.INFO: TCP Data received {"connection_id":165109,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:10:41] local.INFO: Processing buffer {"connection_id":165109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:10:41] local.INFO: IMEI packet received {"connection_id":165109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":165109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:10:46] local.INFO: TCP Data received {"connection_id":165109,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:10:46] local.INFO: Processing buffer {"connection_id":165109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:10:46] local.INFO: IMEI packet received {"connection_id":165109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":165109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:10:47] local.INFO: TCP Data received {"connection_id":165109,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:10:47] local.INFO: Processing buffer {"connection_id":165109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:10:47] local.INFO: Packet analysis {"connection_id":165109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eba"} 
[2026-08-26 21:10:47] local.INFO: Extracted packet for processing {"connection_id":165109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eba"} 
[2026-08-26 21:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666168832001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:10: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-26 21:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787758773000,"timestamp_ms":1787758773000,"timestamp_seconds":1787758773,"priority":1,"record_length":96,"hex_timestamp":"000001a03eba0308"} 
[2026-08-26 21: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-26 21:10: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-26 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 21:10:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 21: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-26 21: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-26 21:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666168832001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666168832001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:10:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:10:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666168832001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":165109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:10:47] local.INFO: GPS data processed {"connection_id":165109,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:10:47] local.INFO: Acknowledgment sent {"connection_id":165109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:11:19] local.INFO: TCP Data received {"connection_id":165109,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:11:19] local.INFO: Processing buffer {"connection_id":165109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:11:19] local.INFO: Packet analysis {"connection_id":165109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eba"} 
[2026-08-26 21:11:19] local.INFO: Extracted packet for processing {"connection_id":165109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eba"} 
[2026-08-26 21:11:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666168832001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 21:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787758773000,"timestamp_ms":1787758773000,"timestamp_seconds":1787758773,"priority":1,"record_length":96,"hex_timestamp":"000001a03eba0308"} 
[2026-08-26 21: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-26 21:11: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-26 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 21:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 21: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-26 21: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-26 21:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":165109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":165109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":165109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666168832001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666168832001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:11:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:11:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666168832001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":165109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:11:19] local.INFO: GPS data processed {"connection_id":165109,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:11:19] local.INFO: Acknowledgment sent {"connection_id":165109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:11:36] local.INFO: TCP Data received {"connection_id":165110,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:11:36] local.INFO: Processing buffer {"connection_id":165110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:11:36] local.INFO: IMEI packet received {"connection_id":165110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":165110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:11:41] local.INFO: TCP Data received {"connection_id":165110,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:11:41] local.INFO: Processing buffer {"connection_id":165110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:11:41] local.INFO: IMEI packet received {"connection_id":165110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":165110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:11:42] local.INFO: TCP Data received {"connection_id":165110,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:11:42] local.INFO: Processing buffer {"connection_id":165110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:11:42] local.INFO: Packet analysis {"connection_id":165110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eba"} 
[2026-08-26 21:11:42] local.INFO: Extracted packet for processing {"connection_id":165110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eba"} 
[2026-08-26 21:11:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666168832001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21: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-26 21:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787758773000,"timestamp_ms":1787758773000,"timestamp_seconds":1787758773,"priority":1,"record_length":96,"hex_timestamp":"000001a03eba0308"} 
[2026-08-26 21: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-26 21:11: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-26 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 21:11: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-26 21: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-26 21: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-26 21:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666168832001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666168832001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:11:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:11:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666168832001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":165110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:11:42] local.INFO: GPS data processed {"connection_id":165110,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:11:42] local.INFO: Acknowledgment sent {"connection_id":165110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:12:14] local.INFO: TCP Data received {"connection_id":165110,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:12:14] local.INFO: Processing buffer {"connection_id":165110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:12:14] local.INFO: Packet analysis {"connection_id":165110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eba"} 
[2026-08-26 21:12:14] local.INFO: Extracted packet for processing {"connection_id":165110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eba"} 
[2026-08-26 21:12:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666168832001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:12: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-26 21:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787758773000,"timestamp_ms":1787758773000,"timestamp_seconds":1787758773,"priority":1,"record_length":96,"hex_timestamp":"000001a03eba0308"} 
[2026-08-26 21: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-26 21:12: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-26 21: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 21:12: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-26 21: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-26 21: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-26 21:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666168832001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666168832001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:12:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:12:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666168832001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":165110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:12:14] local.INFO: GPS data processed {"connection_id":165110,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:12:14] local.INFO: Acknowledgment sent {"connection_id":165110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:12:36] local.INFO: TCP Data received {"connection_id":163767,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:12:36] local.INFO: Processing buffer {"connection_id":163767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:12:36] local.INFO: IMEI packet received {"connection_id":163767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":163767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:12:41] local.INFO: TCP Data received {"connection_id":163767,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:12:41] local.INFO: Processing buffer {"connection_id":163767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:12:41] local.INFO: IMEI packet received {"connection_id":163767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":163767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:12:42] local.INFO: TCP Data received {"connection_id":163767,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:12:42] local.INFO: Processing buffer {"connection_id":163767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:12:42] local.INFO: Packet analysis {"connection_id":163767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eba"} 
[2026-08-26 21:12:42] local.INFO: Extracted packet for processing {"connection_id":163767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eba"} 
[2026-08-26 21:12:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666168832001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:12: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-26 21:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787758773000,"timestamp_ms":1787758773000,"timestamp_seconds":1787758773,"priority":1,"record_length":96,"hex_timestamp":"000001a03eba0308"} 
[2026-08-26 21:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:12: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-26 21:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 21:12: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-26 21:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666168832001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666168832001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:12:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:12:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666168832001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":163767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:12:42] local.INFO: GPS data processed {"connection_id":163767,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:12:42] local.INFO: Acknowledgment sent {"connection_id":163767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:13:13] local.INFO: TCP Data received {"connection_id":163767,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:13:13] local.INFO: Processing buffer {"connection_id":163767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:13:13] local.INFO: Packet analysis {"connection_id":163767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eba"} 
[2026-08-26 21:13:13] local.INFO: Extracted packet for processing {"connection_id":163767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eba"} 
[2026-08-26 21:13:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666168832001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:13: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-26 21:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787758773000,"timestamp_ms":1787758773000,"timestamp_seconds":1787758773,"priority":1,"record_length":96,"hex_timestamp":"000001a03eba0308"} 
[2026-08-26 21: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-26 21:13: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-26 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 21:13: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-26 21: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-26 21: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-26 21:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666168832001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666168832001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:13:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:13:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666168832001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":163767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:13:13] local.INFO: GPS data processed {"connection_id":163767,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:13:13] local.INFO: Acknowledgment sent {"connection_id":163767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:13:26] local.INFO: TCP Data received {"connection_id":165111,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:13:26] local.INFO: Processing buffer {"connection_id":165111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:13:26] local.INFO: IMEI packet received {"connection_id":165111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 21:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":165111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:13:36] local.INFO: TCP Data received {"connection_id":162489,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:13:36] local.INFO: Processing buffer {"connection_id":162489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:13:36] local.INFO: IMEI packet received {"connection_id":162489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":162489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:13:41] local.INFO: TCP Data received {"connection_id":162489,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:13:41] local.INFO: Processing buffer {"connection_id":162489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:13:41] local.INFO: IMEI packet received {"connection_id":162489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":162489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:13:42] local.INFO: TCP Data received {"connection_id":162489,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:13:42] local.INFO: Processing buffer {"connection_id":162489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:13:42] local.INFO: Packet analysis {"connection_id":162489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eba"} 
[2026-08-26 21:13:42] local.INFO: Extracted packet for processing {"connection_id":162489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eba"} 
[2026-08-26 21:13:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666168832001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:13: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-26 21:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787758773000,"timestamp_ms":1787758773000,"timestamp_seconds":1787758773,"priority":1,"record_length":96,"hex_timestamp":"000001a03eba0308"} 
[2026-08-26 21:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:13: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-26 21:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 21:13: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-26 21:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666168832001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666168832001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:13:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:13:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666168832001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":162489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:13:42] local.INFO: GPS data processed {"connection_id":162489,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:13:42] local.INFO: Acknowledgment sent {"connection_id":162489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:14:13] local.INFO: TCP Data received {"connection_id":162489,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:14:13] local.INFO: Processing buffer {"connection_id":162489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:14:13] local.INFO: Packet analysis {"connection_id":162489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eba"} 
[2026-08-26 21:14:13] local.INFO: Extracted packet for processing {"connection_id":162489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eba"} 
[2026-08-26 21:14:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 21:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666168832001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:14: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-26 21:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787758773000,"timestamp_ms":1787758773000,"timestamp_seconds":1787758773,"priority":1,"record_length":96,"hex_timestamp":"000001a03eba0308"} 
[2026-08-26 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-26 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-26 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":53,"data_length":795,"current_offset":136} 
[2026-08-26 21:14: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-26 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-26 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-26 21:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666168832001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666168832001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:14:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:14:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666168832001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":162489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:14:13] local.INFO: GPS data processed {"connection_id":162489,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:14:13] local.INFO: Acknowledgment sent {"connection_id":162489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:14:36] local.INFO: TCP Data received {"connection_id":163768,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:14:36] local.INFO: Processing buffer {"connection_id":163768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:14:36] local.INFO: IMEI packet received {"connection_id":163768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":163768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:14:41] local.INFO: TCP Data received {"connection_id":163768,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:14:41] local.INFO: Processing buffer {"connection_id":163768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:14:41] local.INFO: IMEI packet received {"connection_id":163768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":163768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:14:42] local.INFO: TCP Data received {"connection_id":163768,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:14:42] local.INFO: Processing buffer {"connection_id":163768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eba0308012d34c14006aa4818000600e62d..."} 
[2026-08-26 21:14:42] local.INFO: Packet analysis {"connection_id":163768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eba"} 
[2026-08-26 21:14:42] local.INFO: Extracted packet for processing {"connection_id":163768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eba"} 
[2026-08-26 21:14:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666168832001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21: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-26 21:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787758773000,"timestamp_ms":1787758773000,"timestamp_seconds":1787758773,"priority":1,"record_length":96,"hex_timestamp":"000001a03eba0308"} 
[2026-08-26 21: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-26 21:14: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-26 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 21:14: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-26 21: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-26 21: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-26 21:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666168832001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666168832001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:14:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:14:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666168832001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":163768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:14:42] local.INFO: GPS data processed {"connection_id":163768,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:14:42] local.INFO: Acknowledgment sent {"connection_id":163768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:15:14] local.INFO: TCP Data received {"connection_id":163768,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:15:14] local.INFO: Processing buffer {"connection_id":163768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:15:14] local.INFO: Packet analysis {"connection_id":163768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ebe"} 
[2026-08-26 21:15:14] local.INFO: Extracted packet for processing {"connection_id":163768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ebe"} 
[2026-08-26 21:15:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666245888001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:15: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-26 21:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787759074000,"timestamp_ms":1787759074000,"timestamp_seconds":1787759074,"priority":1,"record_length":96,"hex_timestamp":"000001a03ebe9ad0"} 
[2026-08-26 21:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:15: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-26 21:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:15: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-26 21:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666245888001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666245888001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:15:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:15:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666245888001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":163768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:15:14] local.INFO: GPS data processed {"connection_id":163768,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:15:14] local.INFO: Acknowledgment sent {"connection_id":163768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:15:41] local.INFO: TCP Data received {"connection_id":162738,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:15:41] local.INFO: Processing buffer {"connection_id":162738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:15:41] local.INFO: IMEI packet received {"connection_id":162738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":162738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:15:46] local.INFO: TCP Data received {"connection_id":162738,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:15:46] local.INFO: Processing buffer {"connection_id":162738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:15:46] local.INFO: IMEI packet received {"connection_id":162738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":162738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:15:47] local.INFO: TCP Data received {"connection_id":162738,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:15:47] local.INFO: Processing buffer {"connection_id":162738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:15:47] local.INFO: Packet analysis {"connection_id":162738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ebe"} 
[2026-08-26 21:15:47] local.INFO: Extracted packet for processing {"connection_id":162738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ebe"} 
[2026-08-26 21:15:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666245888001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:15: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-26 21:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787759074000,"timestamp_ms":1787759074000,"timestamp_seconds":1787759074,"priority":1,"record_length":96,"hex_timestamp":"000001a03ebe9ad0"} 
[2026-08-26 21: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-26 21:15: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:15: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-26 21: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-26 21: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-26 21:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666245888001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666245888001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:15:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:15:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666245888001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":162738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:15:47] local.INFO: GPS data processed {"connection_id":162738,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:15:47] local.INFO: Acknowledgment sent {"connection_id":162738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:16:19] local.INFO: TCP Data received {"connection_id":162738,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:16:19] local.INFO: Processing buffer {"connection_id":162738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:16:19] local.INFO: Packet analysis {"connection_id":162738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ebe"} 
[2026-08-26 21:16:19] local.INFO: Extracted packet for processing {"connection_id":162738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ebe"} 
[2026-08-26 21:16:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666245888001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 21:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787759074000,"timestamp_ms":1787759074000,"timestamp_seconds":1787759074,"priority":1,"record_length":96,"hex_timestamp":"000001a03ebe9ad0"} 
[2026-08-26 21: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-26 21:16: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 21: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-26 21: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-26 21:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666245888001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666245888001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:16:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:16:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666245888001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":162738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:16:19] local.INFO: GPS data processed {"connection_id":162738,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:16:19] local.INFO: Acknowledgment sent {"connection_id":162738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:16:36] local.INFO: TCP Data received {"connection_id":165112,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:16:36] local.INFO: Processing buffer {"connection_id":165112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:16:36] local.INFO: IMEI packet received {"connection_id":165112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":165112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:16:41] local.INFO: TCP Data received {"connection_id":165112,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:16:41] local.INFO: Processing buffer {"connection_id":165112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:16:41] local.INFO: IMEI packet received {"connection_id":165112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":165112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:16:42] local.INFO: TCP Data received {"connection_id":165112,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:16:42] local.INFO: Processing buffer {"connection_id":165112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:16:42] local.INFO: Packet analysis {"connection_id":165112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ebe"} 
[2026-08-26 21:16:42] local.INFO: Extracted packet for processing {"connection_id":165112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ebe"} 
[2026-08-26 21:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666245888001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21: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-26 21:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787759074000,"timestamp_ms":1787759074000,"timestamp_seconds":1787759074,"priority":1,"record_length":96,"hex_timestamp":"000001a03ebe9ad0"} 
[2026-08-26 21: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-26 21:16: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-26 21: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:16: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-26 21: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-26 21: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-26 21:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666245888001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666245888001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:16:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666245888001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":165112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:16:42] local.INFO: GPS data processed {"connection_id":165112,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:16:42] local.INFO: Acknowledgment sent {"connection_id":165112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:17:15] local.INFO: TCP Data received {"connection_id":165112,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:17:15] local.INFO: Processing buffer {"connection_id":165112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:17:15] local.INFO: Packet analysis {"connection_id":165112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ebe"} 
[2026-08-26 21:17:15] local.INFO: Extracted packet for processing {"connection_id":165112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ebe"} 
[2026-08-26 21:17:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666245888001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21: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-26 21:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787759074000,"timestamp_ms":1787759074000,"timestamp_seconds":1787759074,"priority":1,"record_length":96,"hex_timestamp":"000001a03ebe9ad0"} 
[2026-08-26 21:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 21:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:17: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-26 21:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":165112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":165112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":165112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666245888001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666245888001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:17:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:17:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666245888001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":165112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:17:15] local.INFO: GPS data processed {"connection_id":165112,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:17:15] local.INFO: Acknowledgment sent {"connection_id":165112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:17:35] local.INFO: TCP Data received {"connection_id":162739,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:17:35] local.INFO: Processing buffer {"connection_id":162739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:17:35] local.INFO: IMEI packet received {"connection_id":162739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":162739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:17:41] local.INFO: TCP Data received {"connection_id":162739,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:17:41] local.INFO: Processing buffer {"connection_id":162739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:17:41] local.INFO: IMEI packet received {"connection_id":162739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":162739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:17:42] local.INFO: TCP Data received {"connection_id":162739,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:17:42] local.INFO: Processing buffer {"connection_id":162739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:17:42] local.INFO: Packet analysis {"connection_id":162739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ebe"} 
[2026-08-26 21:17:42] local.INFO: Extracted packet for processing {"connection_id":162739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ebe"} 
[2026-08-26 21:17:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666245888001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:17: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-26 21:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787759074000,"timestamp_ms":1787759074000,"timestamp_seconds":1787759074,"priority":1,"record_length":96,"hex_timestamp":"000001a03ebe9ad0"} 
[2026-08-26 21: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-26 21:17: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-26 21: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:17: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-26 21: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-26 21: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-26 21:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666245888001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666245888001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:17:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:17:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666245888001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":162739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:17:42] local.INFO: GPS data processed {"connection_id":162739,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:17:42] local.INFO: Acknowledgment sent {"connection_id":162739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:18:13] local.INFO: TCP Data received {"connection_id":162739,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:18:13] local.INFO: Processing buffer {"connection_id":162739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:18:13] local.INFO: Packet analysis {"connection_id":162739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ebe"} 
[2026-08-26 21:18:13] local.INFO: Extracted packet for processing {"connection_id":162739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ebe"} 
[2026-08-26 21:18:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666245888001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:18: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-26 21:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787759074000,"timestamp_ms":1787759074000,"timestamp_seconds":1787759074,"priority":1,"record_length":96,"hex_timestamp":"000001a03ebe9ad0"} 
[2026-08-26 21: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-26 21:18: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:18: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-26 21: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-26 21: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-26 21:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666245888001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666245888001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:18:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:18:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666245888001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":162739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:18:13] local.INFO: GPS data processed {"connection_id":162739,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:18:13] local.INFO: Acknowledgment sent {"connection_id":162739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:18:35] local.INFO: TCP Data received {"connection_id":163769,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:18:35] local.INFO: Processing buffer {"connection_id":163769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:18:35] local.INFO: IMEI packet received {"connection_id":163769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":163769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:18:41] local.INFO: TCP Data received {"connection_id":163769,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:18:41] local.INFO: Processing buffer {"connection_id":163769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:18:41] local.INFO: IMEI packet received {"connection_id":163769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":163769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:18:42] local.INFO: TCP Data received {"connection_id":163769,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:18:42] local.INFO: Processing buffer {"connection_id":163769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:18:42] local.INFO: Packet analysis {"connection_id":163769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ebe"} 
[2026-08-26 21:18:42] local.INFO: Extracted packet for processing {"connection_id":163769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ebe"} 
[2026-08-26 21:18:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666245888001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21: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-26 21:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787759074000,"timestamp_ms":1787759074000,"timestamp_seconds":1787759074,"priority":1,"record_length":96,"hex_timestamp":"000001a03ebe9ad0"} 
[2026-08-26 21: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-26 21:18: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-26 21: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:18: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-26 21: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-26 21: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-26 21:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666245888001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666245888001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:18:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:18:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666245888001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":163769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:18:42] local.INFO: GPS data processed {"connection_id":163769,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:18:42] local.INFO: Acknowledgment sent {"connection_id":163769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:19:01] local.INFO: TCP Data received {"connection_id":162740,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162740,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:19:01] local.INFO: Processing buffer {"connection_id":162740,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:19:01] local.INFO: IMEI packet received {"connection_id":162740,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 21:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":162740,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:19:13] local.INFO: TCP Data received {"connection_id":163769,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:19:13] local.INFO: Processing buffer {"connection_id":163769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:19:13] local.INFO: Packet analysis {"connection_id":163769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ebe"} 
[2026-08-26 21:19:13] local.INFO: Extracted packet for processing {"connection_id":163769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ebe"} 
[2026-08-26 21:19:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666245888001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:19: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-26 21:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787759074000,"timestamp_ms":1787759074000,"timestamp_seconds":1787759074,"priority":1,"record_length":96,"hex_timestamp":"000001a03ebe9ad0"} 
[2026-08-26 21: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-26 21:19: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:19: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-26 21: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-26 21: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-26 21:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666245888001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666245888001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:19:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:19:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666245888001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":163769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:19:13] local.INFO: GPS data processed {"connection_id":163769,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:19:13] local.INFO: Acknowledgment sent {"connection_id":163769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:19:35] local.INFO: TCP Data received {"connection_id":162490,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:19:36] local.INFO: Processing buffer {"connection_id":162490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:19:36] local.INFO: IMEI packet received {"connection_id":162490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":162490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:19:41] local.INFO: TCP Data received {"connection_id":162490,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:19:41] local.INFO: Processing buffer {"connection_id":162490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:19:41] local.INFO: IMEI packet received {"connection_id":162490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":162490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:19:42] local.INFO: TCP Data received {"connection_id":162490,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:19:42] local.INFO: Processing buffer {"connection_id":162490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:19:42] local.INFO: Packet analysis {"connection_id":162490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ebe"} 
[2026-08-26 21:19:42] local.INFO: Extracted packet for processing {"connection_id":162490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ebe"} 
[2026-08-26 21:19:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666245888001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21: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-26 21:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787759074000,"timestamp_ms":1787759074000,"timestamp_seconds":1787759074,"priority":1,"record_length":96,"hex_timestamp":"000001a03ebe9ad0"} 
[2026-08-26 21: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-26 21:19: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:19: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-26 21: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-26 21: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-26 21:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666245888001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666245888001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:19:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:19:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666245888001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":162490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:19:42] local.INFO: GPS data processed {"connection_id":162490,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:19:42] local.INFO: Acknowledgment sent {"connection_id":162490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:20:13] local.INFO: TCP Data received {"connection_id":162490,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:20:13] local.INFO: Processing buffer {"connection_id":162490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ebe9ad0012d34c14006aa4818000c00e631..."} 
[2026-08-26 21:20:13] local.INFO: Packet analysis {"connection_id":162490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ebe"} 
[2026-08-26 21:20:13] local.INFO: Extracted packet for processing {"connection_id":162490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ebe"} 
[2026-08-26 21:20:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 21:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666245888001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:20: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-26 21:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787759074000,"timestamp_ms":1787759074000,"timestamp_seconds":1787759074,"priority":1,"record_length":96,"hex_timestamp":"000001a03ebe9ad0"} 
[2026-08-26 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-26 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-26 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":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:20: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-26 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-26 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-26 21:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666245888001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666245888001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:20:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:20:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666245888001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":162490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:20:13] local.INFO: GPS data processed {"connection_id":162490,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:20:13] local.INFO: Acknowledgment sent {"connection_id":162490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:20:41] local.INFO: TCP Data received {"connection_id":162491,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:20:41] local.INFO: Processing buffer {"connection_id":162491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:20:41] local.INFO: IMEI packet received {"connection_id":162491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":162491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:20:47] local.INFO: TCP Data received {"connection_id":162491,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:20:47] local.INFO: Processing buffer {"connection_id":162491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:20:47] local.INFO: IMEI packet received {"connection_id":162491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":162491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:20:48] local.INFO: TCP Data received {"connection_id":162491,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:20:48] local.INFO: Processing buffer {"connection_id":162491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:20:48] local.INFO: Packet analysis {"connection_id":162491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ec3"} 
[2026-08-26 21:20:48] local.INFO: Extracted packet for processing {"connection_id":162491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ec3"} 
[2026-08-26 21:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666322944001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 21:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787759375000,"timestamp_ms":1787759375000,"timestamp_seconds":1787759375,"priority":1,"record_length":96,"hex_timestamp":"000001a03ec33298"} 
[2026-08-26 21: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-26 21:20: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 21: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-26 21: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-26 21:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666322944001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666322944001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:20:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:20:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666322944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":162491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:20:48] local.INFO: GPS data processed {"connection_id":162491,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:20:48] local.INFO: Acknowledgment sent {"connection_id":162491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:21:19] local.INFO: TCP Data received {"connection_id":162491,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:21:19] local.INFO: Processing buffer {"connection_id":162491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:21:19] local.INFO: Packet analysis {"connection_id":162491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ec3"} 
[2026-08-26 21:21:19] local.INFO: Extracted packet for processing {"connection_id":162491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ec3"} 
[2026-08-26 21:21:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666322944001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 21:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787759375000,"timestamp_ms":1787759375000,"timestamp_seconds":1787759375,"priority":1,"record_length":96,"hex_timestamp":"000001a03ec33298"} 
[2026-08-26 21: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-26 21:21: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 21: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-26 21: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-26 21:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666322944001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666322944001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:21:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:21:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666322944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":162491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:21:19] local.INFO: GPS data processed {"connection_id":162491,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:21:19] local.INFO: Acknowledgment sent {"connection_id":162491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:21:36] local.INFO: TCP Data received {"connection_id":163770,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:21:36] local.INFO: Processing buffer {"connection_id":163770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:21:36] local.INFO: IMEI packet received {"connection_id":163770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":163770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:21:41] local.INFO: TCP Data received {"connection_id":163770,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:21:41] local.INFO: Processing buffer {"connection_id":163770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:21:41] local.INFO: IMEI packet received {"connection_id":163770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":163770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:21:42] local.INFO: TCP Data received {"connection_id":163770,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:21:42] local.INFO: Processing buffer {"connection_id":163770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:21:42] local.INFO: Packet analysis {"connection_id":163770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ec3"} 
[2026-08-26 21:21:42] local.INFO: Extracted packet for processing {"connection_id":163770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ec3"} 
[2026-08-26 21:21:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666322944001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:21: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-26 21:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787759375000,"timestamp_ms":1787759375000,"timestamp_seconds":1787759375,"priority":1,"record_length":96,"hex_timestamp":"000001a03ec33298"} 
[2026-08-26 21: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-26 21:21: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-26 21: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:21: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-26 21: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-26 21: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-26 21:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666322944001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666322944001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:21:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:21:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666322944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":163770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:21:42] local.INFO: GPS data processed {"connection_id":163770,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:21:42] local.INFO: Acknowledgment sent {"connection_id":163770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:22:13] local.INFO: TCP Data received {"connection_id":163770,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:22:13] local.INFO: Processing buffer {"connection_id":163770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:22:13] local.INFO: Packet analysis {"connection_id":163770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ec3"} 
[2026-08-26 21:22:13] local.INFO: Extracted packet for processing {"connection_id":163770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ec3"} 
[2026-08-26 21:22:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666322944001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:22: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-26 21:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787759375000,"timestamp_ms":1787759375000,"timestamp_seconds":1787759375,"priority":1,"record_length":96,"hex_timestamp":"000001a03ec33298"} 
[2026-08-26 21: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-26 21: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-26 21: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:22: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-26 21: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-26 21: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-26 21:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666322944001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666322944001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:22:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:22:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666322944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":163770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:22:13] local.INFO: GPS data processed {"connection_id":163770,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:22:13] local.INFO: Acknowledgment sent {"connection_id":163770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:22:36] local.INFO: TCP Data received {"connection_id":162492,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:22:36] local.INFO: Processing buffer {"connection_id":162492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:22:36] local.INFO: IMEI packet received {"connection_id":162492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":162492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:22:41] local.INFO: TCP Data received {"connection_id":162492,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:22:41] local.INFO: Processing buffer {"connection_id":162492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:22:41] local.INFO: IMEI packet received {"connection_id":162492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":162492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:22:43] local.INFO: TCP Data received {"connection_id":162492,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:22:43] local.INFO: Processing buffer {"connection_id":162492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:22:43] local.INFO: Packet analysis {"connection_id":162492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ec3"} 
[2026-08-26 21:22:43] local.INFO: Extracted packet for processing {"connection_id":162492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ec3"} 
[2026-08-26 21:22:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666322944001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:22: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-26 21:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787759375000,"timestamp_ms":1787759375000,"timestamp_seconds":1787759375,"priority":1,"record_length":96,"hex_timestamp":"000001a03ec33298"} 
[2026-08-26 21:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:22: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-26 21:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:22: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-26 21:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666322944001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666322944001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:22:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:22:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666322944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":162492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:22:43] local.INFO: GPS data processed {"connection_id":162492,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:22:43] local.INFO: Acknowledgment sent {"connection_id":162492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:23:15] local.INFO: TCP Data received {"connection_id":162492,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:23:15] local.INFO: Processing buffer {"connection_id":162492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:23:15] local.INFO: Packet analysis {"connection_id":162492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ec3"} 
[2026-08-26 21:23:15] local.INFO: Extracted packet for processing {"connection_id":162492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ec3"} 
[2026-08-26 21:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666322944001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21: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-26 21:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787759375000,"timestamp_ms":1787759375000,"timestamp_seconds":1787759375,"priority":1,"record_length":96,"hex_timestamp":"000001a03ec33298"} 
[2026-08-26 21: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-26 21:23: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-26 21: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:23: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-26 21: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-26 21: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-26 21:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666322944001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666322944001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666322944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":162492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:23:15] local.INFO: GPS data processed {"connection_id":162492,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:23:15] local.INFO: Acknowledgment sent {"connection_id":162492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:23:35] local.INFO: TCP Data received {"connection_id":163771,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:23:35] local.INFO: Processing buffer {"connection_id":163771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:23:35] local.INFO: IMEI packet received {"connection_id":163771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":163771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:23:41] local.INFO: TCP Data received {"connection_id":163771,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:23:41] local.INFO: Processing buffer {"connection_id":163771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:23:41] local.INFO: IMEI packet received {"connection_id":163771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":163771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:23:42] local.INFO: TCP Data received {"connection_id":163771,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:23:42] local.INFO: Processing buffer {"connection_id":163771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:23:42] local.INFO: Packet analysis {"connection_id":163771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ec3"} 
[2026-08-26 21:23:42] local.INFO: Extracted packet for processing {"connection_id":163771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ec3"} 
[2026-08-26 21:23:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666322944001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21: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-26 21:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787759375000,"timestamp_ms":1787759375000,"timestamp_seconds":1787759375,"priority":1,"record_length":96,"hex_timestamp":"000001a03ec33298"} 
[2026-08-26 21: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-26 21:23: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-26 21: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-26 21: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-26 21: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-26 21: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-26 21:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666322944001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666322944001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:23:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:23:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666322944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":163771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:23:42] local.INFO: GPS data processed {"connection_id":163771,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:23:42] local.INFO: Acknowledgment sent {"connection_id":163771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:24:13] local.INFO: TCP Data received {"connection_id":163771,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:24:13] local.INFO: Processing buffer {"connection_id":163771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:24:13] local.INFO: Packet analysis {"connection_id":163771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ec3"} 
[2026-08-26 21:24:13] local.INFO: Extracted packet for processing {"connection_id":163771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ec3"} 
[2026-08-26 21:24:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666322944001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:24: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-26 21:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787759375000,"timestamp_ms":1787759375000,"timestamp_seconds":1787759375,"priority":1,"record_length":96,"hex_timestamp":"000001a03ec33298"} 
[2026-08-26 21:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:24: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-26 21:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:24: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-26 21: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-26 21:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666322944001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666322944001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:24:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:24:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666322944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":163771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:24:13] local.INFO: GPS data processed {"connection_id":163771,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:24:13] local.INFO: Acknowledgment sent {"connection_id":163771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:24:36] local.INFO: TCP Data received {"connection_id":165113,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:24:36] local.INFO: Processing buffer {"connection_id":165113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:24:36] local.INFO: IMEI packet received {"connection_id":165113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 21:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":165113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:24:41] local.INFO: TCP Data received {"connection_id":163772,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:24:41] local.INFO: Processing buffer {"connection_id":163772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:24:41] local.INFO: IMEI packet received {"connection_id":163772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":163772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:24:46] local.INFO: TCP Data received {"connection_id":163772,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:24:46] local.INFO: Processing buffer {"connection_id":163772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:24:46] local.INFO: IMEI packet received {"connection_id":163772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":163772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:24:47] local.INFO: TCP Data received {"connection_id":163772,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:24:47] local.INFO: Processing buffer {"connection_id":163772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:24:47] local.INFO: Packet analysis {"connection_id":163772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ec3"} 
[2026-08-26 21:24:47] local.INFO: Extracted packet for processing {"connection_id":163772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ec3"} 
[2026-08-26 21:24:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666322944001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:24: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-26 21:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787759375000,"timestamp_ms":1787759375000,"timestamp_seconds":1787759375,"priority":1,"record_length":96,"hex_timestamp":"000001a03ec33298"} 
[2026-08-26 21: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-26 21:24: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:24: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-26 21: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-26 21: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-26 21:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666322944001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666322944001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:24:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:24:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666322944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":163772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:24:47] local.INFO: GPS data processed {"connection_id":163772,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:24:47] local.INFO: Acknowledgment sent {"connection_id":163772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:24:52] local.INFO: TCP Data received {"connection_id":163772,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:24:52] local.INFO: Processing buffer {"connection_id":163772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ec33298012d34c14006aa4818000b00e630..."} 
[2026-08-26 21:24:52] local.INFO: Packet analysis {"connection_id":163772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ec3"} 
[2026-08-26 21:24:52] local.INFO: Extracted packet for processing {"connection_id":163772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ec3"} 
[2026-08-26 21:24:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 21:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666322944001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:24: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-26 21:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787759375000,"timestamp_ms":1787759375000,"timestamp_seconds":1787759375,"priority":1,"record_length":96,"hex_timestamp":"000001a03ec33298"} 
[2026-08-26 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-26 21:24: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-26 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 21:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666322944001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666322944001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:24:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:24:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666322944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":163772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:24:52] local.INFO: GPS data processed {"connection_id":163772,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:24:52] local.INFO: Acknowledgment sent {"connection_id":163772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:25:36] local.INFO: TCP Data received {"connection_id":162741,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:25:36] local.INFO: Processing buffer {"connection_id":162741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:25:36] local.INFO: IMEI packet received {"connection_id":162741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":162741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:25:41] local.INFO: TCP Data received {"connection_id":162741,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:25:41] local.INFO: Processing buffer {"connection_id":162741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:25:41] local.INFO: IMEI packet received {"connection_id":162741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":162741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:25:42] local.INFO: TCP Data received {"connection_id":162741,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:25:42] local.INFO: Processing buffer {"connection_id":162741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:25:42] local.INFO: Packet analysis {"connection_id":162741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ec7"} 
[2026-08-26 21:25:42] local.INFO: Extracted packet for processing {"connection_id":162741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ec7"} 
[2026-08-26 21:25:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666400000001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:25: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-26 21:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787759676000,"timestamp_ms":1787759676000,"timestamp_seconds":1787759676,"priority":1,"record_length":96,"hex_timestamp":"000001a03ec7ca60"} 
[2026-08-26 21: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-26 21:25: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-26 21: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 21:25: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-26 21: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-26 21: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-26 21:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666400000001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666400000001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:25:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:25:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666400000001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":162741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:25:42] local.INFO: GPS data processed {"connection_id":162741,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:25:42] local.INFO: Acknowledgment sent {"connection_id":162741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:26:13] local.INFO: TCP Data received {"connection_id":162741,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:26:13] local.INFO: Processing buffer {"connection_id":162741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:26:13] local.INFO: Packet analysis {"connection_id":162741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ec7"} 
[2026-08-26 21:26:13] local.INFO: Extracted packet for processing {"connection_id":162741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ec7"} 
[2026-08-26 21:26:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666400000001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:26: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-26 21:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787759676000,"timestamp_ms":1787759676000,"timestamp_seconds":1787759676,"priority":1,"record_length":96,"hex_timestamp":"000001a03ec7ca60"} 
[2026-08-26 21: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-26 21:26: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-26 21: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 21:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 21: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-26 21: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-26 21:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666400000001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666400000001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:26:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:26:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666400000001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":162741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:26:13] local.INFO: GPS data processed {"connection_id":162741,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:26:13] local.INFO: Acknowledgment sent {"connection_id":162741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:26:35] local.INFO: TCP Data received {"connection_id":165114,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:26:35] local.INFO: Processing buffer {"connection_id":165114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:26:35] local.INFO: IMEI packet received {"connection_id":165114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":165114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:26:41] local.INFO: TCP Data received {"connection_id":165114,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:26:41] local.INFO: Processing buffer {"connection_id":165114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:26:41] local.INFO: IMEI packet received {"connection_id":165114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":165114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:26:42] local.INFO: TCP Data received {"connection_id":165114,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:26:42] local.INFO: Processing buffer {"connection_id":165114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:26:42] local.INFO: Packet analysis {"connection_id":165114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ec7"} 
[2026-08-26 21:26:42] local.INFO: Extracted packet for processing {"connection_id":165114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ec7"} 
[2026-08-26 21:26:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666400000001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:26: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-26 21:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787759676000,"timestamp_ms":1787759676000,"timestamp_seconds":1787759676,"priority":1,"record_length":96,"hex_timestamp":"000001a03ec7ca60"} 
[2026-08-26 21:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:26: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-26 21:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 21:26: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-26 21:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666400000001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666400000001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:26:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:26:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666400000001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":165114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:26:42] local.INFO: GPS data processed {"connection_id":165114,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:26:42] local.INFO: Acknowledgment sent {"connection_id":165114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:27:13] local.INFO: TCP Data received {"connection_id":165114,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:27:13] local.INFO: Processing buffer {"connection_id":165114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:27:13] local.INFO: Packet analysis {"connection_id":165114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ec7"} 
[2026-08-26 21:27:13] local.INFO: Extracted packet for processing {"connection_id":165114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ec7"} 
[2026-08-26 21:27:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666400000001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:27: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-26 21:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787759676000,"timestamp_ms":1787759676000,"timestamp_seconds":1787759676,"priority":1,"record_length":96,"hex_timestamp":"000001a03ec7ca60"} 
[2026-08-26 21:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:27: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-26 21:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 21:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 21:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666400000001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666400000001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:27:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:27:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666400000001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":165114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:27:13] local.INFO: GPS data processed {"connection_id":165114,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:27:13] local.INFO: Acknowledgment sent {"connection_id":165114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:27:35] local.INFO: TCP Data received {"connection_id":163773,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:27:35] local.INFO: Processing buffer {"connection_id":163773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:27:35] local.INFO: IMEI packet received {"connection_id":163773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":163773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:27:41] local.INFO: TCP Data received {"connection_id":163773,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:27:41] local.INFO: Processing buffer {"connection_id":163773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:27:41] local.INFO: IMEI packet received {"connection_id":163773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":163773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:27:42] local.INFO: TCP Data received {"connection_id":163773,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:27:42] local.INFO: Processing buffer {"connection_id":163773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:27:42] local.INFO: Packet analysis {"connection_id":163773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ec7"} 
[2026-08-26 21:27:42] local.INFO: Extracted packet for processing {"connection_id":163773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ec7"} 
[2026-08-26 21:27:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666400000001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:27: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-26 21:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787759676000,"timestamp_ms":1787759676000,"timestamp_seconds":1787759676,"priority":1,"record_length":96,"hex_timestamp":"000001a03ec7ca60"} 
[2026-08-26 21: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-26 21:27: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-26 21: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 21:27: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-26 21: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-26 21: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-26 21:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666400000001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666400000001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:27:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:27:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666400000001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":163773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:27:42] local.INFO: GPS data processed {"connection_id":163773,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:27:42] local.INFO: Acknowledgment sent {"connection_id":163773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:28:14] local.INFO: TCP Data received {"connection_id":163773,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:28:14] local.INFO: Processing buffer {"connection_id":163773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:28:14] local.INFO: Packet analysis {"connection_id":163773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ec7"} 
[2026-08-26 21:28:14] local.INFO: Extracted packet for processing {"connection_id":163773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ec7"} 
[2026-08-26 21:28:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666400000001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:28: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-26 21:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787759676000,"timestamp_ms":1787759676000,"timestamp_seconds":1787759676,"priority":1,"record_length":96,"hex_timestamp":"000001a03ec7ca60"} 
[2026-08-26 21: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-26 21: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-26 21: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 21:28: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-26 21: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-26 21: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-26 21:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666400000001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666400000001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:28:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:28:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666400000001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":163773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:28:14] local.INFO: GPS data processed {"connection_id":163773,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:28:14] local.INFO: Acknowledgment sent {"connection_id":163773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:28:41] local.INFO: TCP Data received {"connection_id":165115,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:28:41] local.INFO: Processing buffer {"connection_id":165115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:28:41] local.INFO: IMEI packet received {"connection_id":165115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":165115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:28:46] local.INFO: TCP Data received {"connection_id":165115,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:28:46] local.INFO: Processing buffer {"connection_id":165115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:28:46] local.INFO: IMEI packet received {"connection_id":165115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":165115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:28:47] local.INFO: TCP Data received {"connection_id":165115,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:28:47] local.INFO: Processing buffer {"connection_id":165115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:28:47] local.INFO: Packet analysis {"connection_id":165115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ec7"} 
[2026-08-26 21:28:47] local.INFO: Extracted packet for processing {"connection_id":165115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ec7"} 
[2026-08-26 21:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 21:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666400000001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:28: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-26 21:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787759676000,"timestamp_ms":1787759676000,"timestamp_seconds":1787759676,"priority":1,"record_length":96,"hex_timestamp":"000001a03ec7ca60"} 
[2026-08-26 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-26 21:28: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-26 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 21:28: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-26 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-26 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-26 21:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666400000001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666400000001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:28:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:28:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666400000001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":165115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:28:47] local.INFO: GPS data processed {"connection_id":165115,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:28:47] local.INFO: Acknowledgment sent {"connection_id":165115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:28:51] local.INFO: TCP Data received {"connection_id":165115,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:28:51] local.INFO: Processing buffer {"connection_id":165115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:28:51] local.INFO: Packet analysis {"connection_id":165115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ec7"} 
[2026-08-26 21:28:51] local.INFO: Extracted packet for processing {"connection_id":165115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ec7"} 
[2026-08-26 21:28:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666400000001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 21:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787759676000,"timestamp_ms":1787759676000,"timestamp_seconds":1787759676,"priority":1,"record_length":96,"hex_timestamp":"000001a03ec7ca60"} 
[2026-08-26 21:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 21:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 21:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 21:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":165115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":165115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":165115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666400000001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666400000001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:28:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:28:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666400000001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":165115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:28:51] local.INFO: GPS data processed {"connection_id":165115,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:28:51] local.INFO: Acknowledgment sent {"connection_id":165115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:29:36] local.INFO: TCP Data received {"connection_id":162742,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:29:36] local.INFO: Processing buffer {"connection_id":162742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:29:36] local.INFO: IMEI packet received {"connection_id":162742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":162742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:29:42] local.INFO: TCP Data received {"connection_id":162742,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:29:42] local.INFO: Processing buffer {"connection_id":162742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:29:42] local.INFO: IMEI packet received {"connection_id":162742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":162742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:29:43] local.INFO: TCP Data received {"connection_id":162742,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:29:43] local.INFO: Processing buffer {"connection_id":162742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:29:43] local.INFO: Packet analysis {"connection_id":162742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ec7"} 
[2026-08-26 21:29:43] local.INFO: Extracted packet for processing {"connection_id":162742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ec7"} 
[2026-08-26 21:29:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666400000001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:29: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-26 21:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787759676000,"timestamp_ms":1787759676000,"timestamp_seconds":1787759676,"priority":1,"record_length":96,"hex_timestamp":"000001a03ec7ca60"} 
[2026-08-26 21: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-26 21:29: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-26 21: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 21:29: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-26 21: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-26 21: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-26 21:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666400000001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666400000001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:29:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:29:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666400000001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":162742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:29:43] local.INFO: GPS data processed {"connection_id":162742,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:29:43] local.INFO: Acknowledgment sent {"connection_id":162742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:30:11] local.INFO: TCP Data received {"connection_id":162493,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:30:11] local.INFO: Processing buffer {"connection_id":162493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:30:11] local.INFO: IMEI packet received {"connection_id":162493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 21:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":162493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:30:14] local.INFO: TCP Data received {"connection_id":162742,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:30:14] local.INFO: Processing buffer {"connection_id":162742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ec7ca60012d34c14006aa4818000a00e62f..."} 
[2026-08-26 21:30:14] local.INFO: Packet analysis {"connection_id":162742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ec7"} 
[2026-08-26 21:30:14] local.INFO: Extracted packet for processing {"connection_id":162742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ec7"} 
[2026-08-26 21:30:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666400000001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:30: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-26 21:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787759676000,"timestamp_ms":1787759676000,"timestamp_seconds":1787759676,"priority":1,"record_length":96,"hex_timestamp":"000001a03ec7ca60"} 
[2026-08-26 21: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-26 21:30: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-26 21: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 21:30: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-26 21: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-26 21: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-26 21:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666400000001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666400000001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:30:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:30:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666400000001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":162742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:30:14] local.INFO: GPS data processed {"connection_id":162742,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:30:14] local.INFO: Acknowledgment sent {"connection_id":162742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:30:36] local.INFO: TCP Data received {"connection_id":162743,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:30:36] local.INFO: Processing buffer {"connection_id":162743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:30:36] local.INFO: IMEI packet received {"connection_id":162743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":162743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:30:41] local.INFO: TCP Data received {"connection_id":162743,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:30:41] local.INFO: Processing buffer {"connection_id":162743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:30:41] local.INFO: IMEI packet received {"connection_id":162743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":162743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:30:42] local.INFO: TCP Data received {"connection_id":162743,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:30:42] local.INFO: Processing buffer {"connection_id":162743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:30:42] local.INFO: Packet analysis {"connection_id":162743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ecc"} 
[2026-08-26 21:30:42] local.INFO: Extracted packet for processing {"connection_id":162743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ecc"} 
[2026-08-26 21:30:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666477056001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:30: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-26 21:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787759977000,"timestamp_ms":1787759977000,"timestamp_seconds":1787759977,"priority":1,"record_length":96,"hex_timestamp":"000001a03ecc6228"} 
[2026-08-26 21:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:30: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-26 21:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:30: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-26 21:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666477056001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666477056001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:30:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:30:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666477056001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":162743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:30:42] local.INFO: GPS data processed {"connection_id":162743,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:30:42] local.INFO: Acknowledgment sent {"connection_id":162743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:31:13] local.INFO: TCP Data received {"connection_id":162743,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:31:13] local.INFO: Processing buffer {"connection_id":162743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:31:13] local.INFO: Packet analysis {"connection_id":162743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ecc"} 
[2026-08-26 21:31:13] local.INFO: Extracted packet for processing {"connection_id":162743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ecc"} 
[2026-08-26 21:31:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666477056001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:31: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-26 21:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787759977000,"timestamp_ms":1787759977000,"timestamp_seconds":1787759977,"priority":1,"record_length":96,"hex_timestamp":"000001a03ecc6228"} 
[2026-08-26 21:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:31: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-26 21:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:31: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-26 21: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-26 21:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666477056001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666477056001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:31:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:31:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666477056001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":162743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:31:13] local.INFO: GPS data processed {"connection_id":162743,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:31:13] local.INFO: Acknowledgment sent {"connection_id":162743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:31:35] local.INFO: TCP Data received {"connection_id":162494,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:31:36] local.INFO: Processing buffer {"connection_id":162494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:31:36] local.INFO: IMEI packet received {"connection_id":162494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":162494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:31:41] local.INFO: TCP Data received {"connection_id":162494,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:31:41] local.INFO: Processing buffer {"connection_id":162494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:31:41] local.INFO: IMEI packet received {"connection_id":162494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":162494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:31:42] local.INFO: TCP Data received {"connection_id":162494,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:31:42] local.INFO: Processing buffer {"connection_id":162494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:31:42] local.INFO: Packet analysis {"connection_id":162494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ecc"} 
[2026-08-26 21:31:42] local.INFO: Extracted packet for processing {"connection_id":162494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ecc"} 
[2026-08-26 21:31:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666477056001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:31: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-26 21:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787759977000,"timestamp_ms":1787759977000,"timestamp_seconds":1787759977,"priority":1,"record_length":96,"hex_timestamp":"000001a03ecc6228"} 
[2026-08-26 21:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:31: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-26 21:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:31: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-26 21:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666477056001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666477056001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:31:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:31:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666477056001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":162494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:31:42] local.INFO: GPS data processed {"connection_id":162494,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:31:42] local.INFO: Acknowledgment sent {"connection_id":162494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:32:13] local.INFO: TCP Data received {"connection_id":162494,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:32:13] local.INFO: Processing buffer {"connection_id":162494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:32:13] local.INFO: Packet analysis {"connection_id":162494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ecc"} 
[2026-08-26 21:32:13] local.INFO: Extracted packet for processing {"connection_id":162494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ecc"} 
[2026-08-26 21:32:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666477056001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:32: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-26 21:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787759977000,"timestamp_ms":1787759977000,"timestamp_seconds":1787759977,"priority":1,"record_length":96,"hex_timestamp":"000001a03ecc6228"} 
[2026-08-26 21:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:32: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-26 21:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:32: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-26 21:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666477056001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666477056001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:32:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:32:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666477056001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":162494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:32:13] local.INFO: GPS data processed {"connection_id":162494,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:32:13] local.INFO: Acknowledgment sent {"connection_id":162494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:32:35] local.INFO: TCP Data received {"connection_id":165116,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:32:35] local.INFO: Processing buffer {"connection_id":165116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:32:35] local.INFO: IMEI packet received {"connection_id":165116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":165116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:32:41] local.INFO: TCP Data received {"connection_id":165116,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:32:41] local.INFO: Processing buffer {"connection_id":165116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:32:41] local.INFO: IMEI packet received {"connection_id":165116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":165116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:32:42] local.INFO: TCP Data received {"connection_id":165116,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:32:42] local.INFO: Processing buffer {"connection_id":165116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:32:42] local.INFO: Packet analysis {"connection_id":165116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ecc"} 
[2026-08-26 21:32:42] local.INFO: Extracted packet for processing {"connection_id":165116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ecc"} 
[2026-08-26 21:32:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666477056001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:32: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-26 21:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787759977000,"timestamp_ms":1787759977000,"timestamp_seconds":1787759977,"priority":1,"record_length":96,"hex_timestamp":"000001a03ecc6228"} 
[2026-08-26 21: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-26 21:32: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:32: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-26 21: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-26 21: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-26 21:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666477056001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666477056001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:32:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:32:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666477056001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":165116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:32:42] local.INFO: GPS data processed {"connection_id":165116,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:32:42] local.INFO: Acknowledgment sent {"connection_id":165116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:33:15] local.INFO: TCP Data received {"connection_id":165116,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:33:15] local.INFO: Processing buffer {"connection_id":165116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:33:15] local.INFO: Packet analysis {"connection_id":165116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ecc"} 
[2026-08-26 21:33:15] local.INFO: Extracted packet for processing {"connection_id":165116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ecc"} 
[2026-08-26 21:33:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666477056001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21: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-26 21:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787759977000,"timestamp_ms":1787759977000,"timestamp_seconds":1787759977,"priority":1,"record_length":96,"hex_timestamp":"000001a03ecc6228"} 
[2026-08-26 21: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-26 21: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:33: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-26 21: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-26 21: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-26 21:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":165116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":165116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":165116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666477056001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666477056001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:33:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:33:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666477056001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":165116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:33:15] local.INFO: GPS data processed {"connection_id":165116,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:33:15] local.INFO: Acknowledgment sent {"connection_id":165116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:33:41] local.INFO: TCP Data received {"connection_id":162744,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:33:41] local.INFO: Processing buffer {"connection_id":162744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:33:41] local.INFO: IMEI packet received {"connection_id":162744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":162744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:33:46] local.INFO: TCP Data received {"connection_id":162744,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:33:46] local.INFO: Processing buffer {"connection_id":162744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:33:46] local.INFO: IMEI packet received {"connection_id":162744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":162744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:33:47] local.INFO: TCP Data received {"connection_id":162744,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:33:47] local.INFO: Processing buffer {"connection_id":162744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:33:47] local.INFO: Packet analysis {"connection_id":162744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ecc"} 
[2026-08-26 21:33:47] local.INFO: Extracted packet for processing {"connection_id":162744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ecc"} 
[2026-08-26 21:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 21:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666477056001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:33: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-26 21:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787759977000,"timestamp_ms":1787759977000,"timestamp_seconds":1787759977,"priority":1,"record_length":96,"hex_timestamp":"000001a03ecc6228"} 
[2026-08-26 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-26 21:33: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-26 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:33: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-26 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-26 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-26 21:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666477056001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666477056001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:33:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:33:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666477056001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":162744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:33:47] local.INFO: GPS data processed {"connection_id":162744,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:33:47] local.INFO: Acknowledgment sent {"connection_id":162744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:33:51] local.INFO: TCP Data received {"connection_id":162744,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:33:51] local.INFO: Processing buffer {"connection_id":162744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:33:51] local.INFO: Packet analysis {"connection_id":162744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ecc"} 
[2026-08-26 21:33:51] local.INFO: Extracted packet for processing {"connection_id":162744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ecc"} 
[2026-08-26 21:33:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666477056001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 21:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787759977000,"timestamp_ms":1787759977000,"timestamp_seconds":1787759977,"priority":1,"record_length":96,"hex_timestamp":"000001a03ecc6228"} 
[2026-08-26 21: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-26 21:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 21: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-26 21: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-26 21:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666477056001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666477056001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:33:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:33:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666477056001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":162744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:33:51] local.INFO: GPS data processed {"connection_id":162744,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:33:51] local.INFO: Acknowledgment sent {"connection_id":162744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:34:36] local.INFO: TCP Data received {"connection_id":162745,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:34:36] local.INFO: Processing buffer {"connection_id":162745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:34:36] local.INFO: IMEI packet received {"connection_id":162745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":162745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:34:41] local.INFO: TCP Data received {"connection_id":162745,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:34:41] local.INFO: Processing buffer {"connection_id":162745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:34:41] local.INFO: IMEI packet received {"connection_id":162745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":162745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:34:42] local.INFO: TCP Data received {"connection_id":162745,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:34:42] local.INFO: Processing buffer {"connection_id":162745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:34:42] local.INFO: Packet analysis {"connection_id":162745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ecc"} 
[2026-08-26 21:34:42] local.INFO: Extracted packet for processing {"connection_id":162745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ecc"} 
[2026-08-26 21:34:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666477056001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21: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-26 21:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787759977000,"timestamp_ms":1787759977000,"timestamp_seconds":1787759977,"priority":1,"record_length":96,"hex_timestamp":"000001a03ecc6228"} 
[2026-08-26 21: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-26 21: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:34: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-26 21: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-26 21: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-26 21:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666477056001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666477056001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:34:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:34:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666477056001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":162745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:34:42] local.INFO: GPS data processed {"connection_id":162745,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:34:42] local.INFO: Acknowledgment sent {"connection_id":162745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:34:46] local.INFO: TCP Data received {"connection_id":162745,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:34:46] local.INFO: Processing buffer {"connection_id":162745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ecc6228012d34c14006aa4818000d00e62c..."} 
[2026-08-26 21:34:46] local.INFO: Packet analysis {"connection_id":162745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ecc"} 
[2026-08-26 21:34:46] local.INFO: Extracted packet for processing {"connection_id":162745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ecc"} 
[2026-08-26 21:34:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666477056001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 21:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787759977000,"timestamp_ms":1787759977000,"timestamp_seconds":1787759977,"priority":1,"record_length":96,"hex_timestamp":"000001a03ecc6228"} 
[2026-08-26 21: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-26 21:34: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 21: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-26 21: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-26 21:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666477056001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666477056001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:34:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:34:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666477056001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":162745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:34:46] local.INFO: GPS data processed {"connection_id":162745,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:34:46] local.INFO: Acknowledgment sent {"connection_id":162745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:35:17] local.INFO: TCP Data received {"connection_id":162745,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:35:17] local.INFO: Processing buffer {"connection_id":162745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:35:17] local.INFO: Packet analysis {"connection_id":162745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ed0"} 
[2026-08-26 21:35:17] local.INFO: Extracted packet for processing {"connection_id":162745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ed0"} 
[2026-08-26 21:35:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666554112001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:35: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-26 21:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787760278000,"timestamp_ms":1787760278000,"timestamp_seconds":1787760278,"priority":1,"record_length":96,"hex_timestamp":"000001a03ed0f9f0"} 
[2026-08-26 21: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-26 21:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 21: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-26 21: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-26 21:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666554112001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666554112001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:35:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:35:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666554112001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":162745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:35:17] local.INFO: GPS data processed {"connection_id":162745,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:35:17] local.INFO: Acknowledgment sent {"connection_id":162745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:35:36] local.INFO: TCP Data received {"connection_id":165118,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:35:36] local.INFO: Processing buffer {"connection_id":165118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:35:36] local.INFO: IMEI packet received {"connection_id":165118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":165118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:35:41] local.INFO: TCP Data received {"connection_id":165118,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:35:41] local.INFO: Processing buffer {"connection_id":165118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:35:41] local.INFO: IMEI packet received {"connection_id":165118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":165118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:35:42] local.INFO: TCP Data received {"connection_id":165118,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:35:42] local.INFO: Processing buffer {"connection_id":165118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:35:42] local.INFO: Packet analysis {"connection_id":165118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ed0"} 
[2026-08-26 21:35:42] local.INFO: Extracted packet for processing {"connection_id":165118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ed0"} 
[2026-08-26 21:35:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666554112001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:35: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-26 21:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787760278000,"timestamp_ms":1787760278000,"timestamp_seconds":1787760278,"priority":1,"record_length":96,"hex_timestamp":"000001a03ed0f9f0"} 
[2026-08-26 21:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:35: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-26 21:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:35: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-26 21:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666554112001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666554112001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:35:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:35:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666554112001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":165118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:35:42] local.INFO: GPS data processed {"connection_id":165118,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:35:42] local.INFO: Acknowledgment sent {"connection_id":165118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:35:46] local.INFO: TCP Data received {"connection_id":165117,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:35:46] local.INFO: Processing buffer {"connection_id":165117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:35:46] local.INFO: IMEI packet received {"connection_id":165117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 21:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":165117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:36:13] local.INFO: TCP Data received {"connection_id":165118,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:36:13] local.INFO: Processing buffer {"connection_id":165118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:36:13] local.INFO: Packet analysis {"connection_id":165118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ed0"} 
[2026-08-26 21:36:13] local.INFO: Extracted packet for processing {"connection_id":165118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ed0"} 
[2026-08-26 21:36:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666554112001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:36: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-26 21:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787760278000,"timestamp_ms":1787760278000,"timestamp_seconds":1787760278,"priority":1,"record_length":96,"hex_timestamp":"000001a03ed0f9f0"} 
[2026-08-26 21: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-26 21:36: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:36: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-26 21: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-26 21: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-26 21:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666554112001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666554112001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:36:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:36:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666554112001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":165118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:36:13] local.INFO: GPS data processed {"connection_id":165118,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:36:13] local.INFO: Acknowledgment sent {"connection_id":165118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:36:35] local.INFO: TCP Data received {"connection_id":165119,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:36:35] local.INFO: Processing buffer {"connection_id":165119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:36:35] local.INFO: IMEI packet received {"connection_id":165119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":165119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:36:41] local.INFO: TCP Data received {"connection_id":165119,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:36:41] local.INFO: Processing buffer {"connection_id":165119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:36:41] local.INFO: IMEI packet received {"connection_id":165119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":165119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:36:42] local.INFO: TCP Data received {"connection_id":165119,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:36:42] local.INFO: Processing buffer {"connection_id":165119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:36:42] local.INFO: Packet analysis {"connection_id":165119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ed0"} 
[2026-08-26 21:36:42] local.INFO: Extracted packet for processing {"connection_id":165119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ed0"} 
[2026-08-26 21:36:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666554112001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:36: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-26 21:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787760278000,"timestamp_ms":1787760278000,"timestamp_seconds":1787760278,"priority":1,"record_length":96,"hex_timestamp":"000001a03ed0f9f0"} 
[2026-08-26 21:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:36: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-26 21:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:36: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-26 21:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666554112001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666554112001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:36:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:36:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666554112001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":165119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:36:42] local.INFO: GPS data processed {"connection_id":165119,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:36:42] local.INFO: Acknowledgment sent {"connection_id":165119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:37:13] local.INFO: TCP Data received {"connection_id":165119,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:37:13] local.INFO: Processing buffer {"connection_id":165119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:37:13] local.INFO: Packet analysis {"connection_id":165119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ed0"} 
[2026-08-26 21:37:13] local.INFO: Extracted packet for processing {"connection_id":165119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ed0"} 
[2026-08-26 21:37:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666554112001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:37: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-26 21:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787760278000,"timestamp_ms":1787760278000,"timestamp_seconds":1787760278,"priority":1,"record_length":96,"hex_timestamp":"000001a03ed0f9f0"} 
[2026-08-26 21:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:37: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-26 21:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:37: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-26 21:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666554112001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666554112001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:37:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:37:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666554112001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":165119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:37:13] local.INFO: GPS data processed {"connection_id":165119,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:37:13] local.INFO: Acknowledgment sent {"connection_id":165119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:37:41] local.INFO: TCP Data received {"connection_id":165120,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:37:41] local.INFO: Processing buffer {"connection_id":165120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:37:41] local.INFO: IMEI packet received {"connection_id":165120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":165120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:37:46] local.INFO: TCP Data received {"connection_id":165120,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:37:46] local.INFO: Processing buffer {"connection_id":165120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:37:46] local.INFO: IMEI packet received {"connection_id":165120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":165120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:37:47] local.INFO: TCP Data received {"connection_id":165120,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:37:47] local.INFO: Processing buffer {"connection_id":165120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:37:47] local.INFO: Packet analysis {"connection_id":165120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ed0"} 
[2026-08-26 21:37:47] local.INFO: Extracted packet for processing {"connection_id":165120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ed0"} 
[2026-08-26 21:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 21:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666554112001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:37: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-26 21:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787760278000,"timestamp_ms":1787760278000,"timestamp_seconds":1787760278,"priority":1,"record_length":96,"hex_timestamp":"000001a03ed0f9f0"} 
[2026-08-26 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-26 21:37: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-26 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:37: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-26 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-26 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-26 21:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666554112001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666554112001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:37:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:37:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666554112001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":165120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:37:47] local.INFO: GPS data processed {"connection_id":165120,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:37:47] local.INFO: Acknowledgment sent {"connection_id":165120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:37:51] local.INFO: TCP Data received {"connection_id":165120,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:37:51] local.INFO: Processing buffer {"connection_id":165120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:37:51] local.INFO: Packet analysis {"connection_id":165120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ed0"} 
[2026-08-26 21:37:51] local.INFO: Extracted packet for processing {"connection_id":165120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ed0"} 
[2026-08-26 21:37:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666554112001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 21:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787760278000,"timestamp_ms":1787760278000,"timestamp_seconds":1787760278,"priority":1,"record_length":96,"hex_timestamp":"000001a03ed0f9f0"} 
[2026-08-26 21:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 21:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 21:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":165120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":165120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":165120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666554112001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666554112001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:37:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:37:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666554112001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":165120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:37:51] local.INFO: GPS data processed {"connection_id":165120,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:37:51] local.INFO: Acknowledgment sent {"connection_id":165120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:38:36] local.INFO: TCP Data received {"connection_id":162747,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:38:36] local.INFO: Processing buffer {"connection_id":162747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:38:36] local.INFO: IMEI packet received {"connection_id":162747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":162747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:38:41] local.INFO: TCP Data received {"connection_id":162747,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:38:41] local.INFO: Processing buffer {"connection_id":162747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:38:41] local.INFO: IMEI packet received {"connection_id":162747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":162747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:38:42] local.INFO: TCP Data received {"connection_id":162747,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:38:42] local.INFO: Processing buffer {"connection_id":162747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:38:42] local.INFO: Packet analysis {"connection_id":162747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ed0"} 
[2026-08-26 21:38:42] local.INFO: Extracted packet for processing {"connection_id":162747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ed0"} 
[2026-08-26 21:38:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666554112001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21: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-26 21:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787760278000,"timestamp_ms":1787760278000,"timestamp_seconds":1787760278,"priority":1,"record_length":96,"hex_timestamp":"000001a03ed0f9f0"} 
[2026-08-26 21: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-26 21: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:38: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-26 21: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-26 21: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-26 21:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666554112001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666554112001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:38:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:38:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666554112001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":162747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:38:42] local.INFO: GPS data processed {"connection_id":162747,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:38:42] local.INFO: Acknowledgment sent {"connection_id":162747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:39:15] local.INFO: TCP Data received {"connection_id":162747,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:39:15] local.INFO: Processing buffer {"connection_id":162747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:39:15] local.INFO: Packet analysis {"connection_id":162747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ed0"} 
[2026-08-26 21:39:15] local.INFO: Extracted packet for processing {"connection_id":162747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ed0"} 
[2026-08-26 21:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666554112001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:39: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-26 21:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787760278000,"timestamp_ms":1787760278000,"timestamp_seconds":1787760278,"priority":1,"record_length":96,"hex_timestamp":"000001a03ed0f9f0"} 
[2026-08-26 21:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 21:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:39: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-26 21:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666554112001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666554112001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666554112001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":162747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:39:15] local.INFO: GPS data processed {"connection_id":162747,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:39:15] local.INFO: Acknowledgment sent {"connection_id":162747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:39:36] local.INFO: TCP Data received {"connection_id":165121,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:39:36] local.INFO: Processing buffer {"connection_id":165121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:39:36] local.INFO: IMEI packet received {"connection_id":165121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":165121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:39:41] local.INFO: TCP Data received {"connection_id":165121,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:39:41] local.INFO: Processing buffer {"connection_id":165121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:39:41] local.INFO: IMEI packet received {"connection_id":165121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":165121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:39:42] local.INFO: TCP Data received {"connection_id":165121,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:39:42] local.INFO: Processing buffer {"connection_id":165121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:39:42] local.INFO: Packet analysis {"connection_id":165121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ed0"} 
[2026-08-26 21:39:42] local.INFO: Extracted packet for processing {"connection_id":165121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ed0"} 
[2026-08-26 21:39:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666554112001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:39: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-26 21:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787760278000,"timestamp_ms":1787760278000,"timestamp_seconds":1787760278,"priority":1,"record_length":96,"hex_timestamp":"000001a03ed0f9f0"} 
[2026-08-26 21:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:39: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-26 21:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:39: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-26 21:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666554112001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666554112001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:39:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:39:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666554112001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":165121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:39:42] local.INFO: GPS data processed {"connection_id":165121,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:39:42] local.INFO: Acknowledgment sent {"connection_id":165121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:40:13] local.INFO: TCP Data received {"connection_id":165121,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:40:13] local.INFO: Processing buffer {"connection_id":165121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ed0f9f0012d34c14006aa4818000900e62f..."} 
[2026-08-26 21:40:13] local.INFO: Packet analysis {"connection_id":165121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ed0"} 
[2026-08-26 21:40:13] local.INFO: Extracted packet for processing {"connection_id":165121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ed0"} 
[2026-08-26 21:40:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666554112001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:40: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-26 21:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787760278000,"timestamp_ms":1787760278000,"timestamp_seconds":1787760278,"priority":1,"record_length":96,"hex_timestamp":"000001a03ed0f9f0"} 
[2026-08-26 21:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:40: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-26 21:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:40: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-26 21:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666554112001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666554112001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:40:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:40:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666554112001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":165121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:40:14] local.INFO: GPS data processed {"connection_id":165121,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:40:14] local.INFO: Acknowledgment sent {"connection_id":165121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:40:36] local.INFO: TCP Data received {"connection_id":163774,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:40:36] local.INFO: Processing buffer {"connection_id":163774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:40:36] local.INFO: IMEI packet received {"connection_id":163774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":163774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:40:41] local.INFO: TCP Data received {"connection_id":163774,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:40:41] local.INFO: Processing buffer {"connection_id":163774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:40:41] local.INFO: IMEI packet received {"connection_id":163774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":163774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:40:43] local.INFO: TCP Data received {"connection_id":163774,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:40:43] local.INFO: Processing buffer {"connection_id":163774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:40:43] local.INFO: Packet analysis {"connection_id":163774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ed5"} 
[2026-08-26 21:40:43] local.INFO: Extracted packet for processing {"connection_id":163774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ed5"} 
[2026-08-26 21:40:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666631168001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:40: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-26 21:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787760579000,"timestamp_ms":1787760579000,"timestamp_seconds":1787760579,"priority":1,"record_length":96,"hex_timestamp":"000001a03ed591b8"} 
[2026-08-26 21: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-26 21:40: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:40: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-26 21: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-26 21: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-26 21:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666631168001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666631168001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:40:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:40:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666631168001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":163774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:40:43] local.INFO: GPS data processed {"connection_id":163774,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:40:43] local.INFO: Acknowledgment sent {"connection_id":163774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:41:14] local.INFO: TCP Data received {"connection_id":163774,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:41:14] local.INFO: Processing buffer {"connection_id":163774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:41:14] local.INFO: Packet analysis {"connection_id":163774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ed5"} 
[2026-08-26 21:41:14] local.INFO: Extracted packet for processing {"connection_id":163774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ed5"} 
[2026-08-26 21:41:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666631168001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:41: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-26 21:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787760579000,"timestamp_ms":1787760579000,"timestamp_seconds":1787760579,"priority":1,"record_length":96,"hex_timestamp":"000001a03ed591b8"} 
[2026-08-26 21: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-26 21:41: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:41: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-26 21: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-26 21: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-26 21:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666631168001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666631168001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:41:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:41:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666631168001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":163774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:41:14] local.INFO: GPS data processed {"connection_id":163774,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:41:14] local.INFO: Acknowledgment sent {"connection_id":163774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:41:21] local.INFO: TCP Data received {"connection_id":162746,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:41:21] local.INFO: Processing buffer {"connection_id":162746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:41:21] local.INFO: IMEI packet received {"connection_id":162746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 21:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":162746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:41:41] local.INFO: TCP Data received {"connection_id":162748,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:41:41] local.INFO: Processing buffer {"connection_id":162748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:41:41] local.INFO: IMEI packet received {"connection_id":162748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":162748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:41:47] local.INFO: TCP Data received {"connection_id":162748,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:41:47] local.INFO: Processing buffer {"connection_id":162748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:41:47] local.INFO: IMEI packet received {"connection_id":162748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":162748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:41:47] local.INFO: TCP Data received {"connection_id":162748,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:41:47] local.INFO: Processing buffer {"connection_id":162748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:41:47] local.INFO: Packet analysis {"connection_id":162748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ed5"} 
[2026-08-26 21:41:47] local.INFO: Extracted packet for processing {"connection_id":162748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ed5"} 
[2026-08-26 21:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 21:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666631168001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:41: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-26 21:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787760579000,"timestamp_ms":1787760579000,"timestamp_seconds":1787760579,"priority":1,"record_length":96,"hex_timestamp":"000001a03ed591b8"} 
[2026-08-26 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-26 21:41: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-26 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:41: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-26 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-26 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-26 21:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666631168001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666631168001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:41:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666631168001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":162748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:41:48] local.INFO: GPS data processed {"connection_id":162748,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:41:48] local.INFO: Acknowledgment sent {"connection_id":162748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:41:52] local.INFO: TCP Data received {"connection_id":162748,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:41:52] local.INFO: Processing buffer {"connection_id":162748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:41:52] local.INFO: Packet analysis {"connection_id":162748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ed5"} 
[2026-08-26 21:41:52] local.INFO: Extracted packet for processing {"connection_id":162748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ed5"} 
[2026-08-26 21:41:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666631168001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:41:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:41: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-26 21:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787760579000,"timestamp_ms":1787760579000,"timestamp_seconds":1787760579,"priority":1,"record_length":96,"hex_timestamp":"000001a03ed591b8"} 
[2026-08-26 21: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-26 21:41: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:41:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 21: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-26 21: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-26 21:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666631168001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666631168001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:41:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:41:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:41:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666631168001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":162748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:41:52] local.INFO: GPS data processed {"connection_id":162748,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:41:52] local.INFO: Acknowledgment sent {"connection_id":162748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:42:36] local.INFO: TCP Data received {"connection_id":163775,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:42:36] local.INFO: Processing buffer {"connection_id":163775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:42:36] local.INFO: IMEI packet received {"connection_id":163775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":163775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:42:41] local.INFO: TCP Data received {"connection_id":163775,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:42:41] local.INFO: Processing buffer {"connection_id":163775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:42:41] local.INFO: IMEI packet received {"connection_id":163775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":163775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:42:42] local.INFO: TCP Data received {"connection_id":163775,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:42:42] local.INFO: Processing buffer {"connection_id":163775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:42:42] local.INFO: Packet analysis {"connection_id":163775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ed5"} 
[2026-08-26 21:42:42] local.INFO: Extracted packet for processing {"connection_id":163775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ed5"} 
[2026-08-26 21:42:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 21:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666631168001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:42: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-26 21:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787760579000,"timestamp_ms":1787760579000,"timestamp_seconds":1787760579,"priority":1,"record_length":96,"hex_timestamp":"000001a03ed591b8"} 
[2026-08-26 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-26 21:42: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-26 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:42: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-26 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-26 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-26 21:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666631168001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666631168001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:42:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:42:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666631168001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":163775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:42:42] local.INFO: GPS data processed {"connection_id":163775,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:42:42] local.INFO: Acknowledgment sent {"connection_id":163775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:43:13] local.INFO: TCP Data received {"connection_id":163775,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:43:13] local.INFO: Processing buffer {"connection_id":163775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:43:13] local.INFO: Packet analysis {"connection_id":163775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ed5"} 
[2026-08-26 21:43:13] local.INFO: Extracted packet for processing {"connection_id":163775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ed5"} 
[2026-08-26 21:43:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666631168001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:43: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-26 21:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787760579000,"timestamp_ms":1787760579000,"timestamp_seconds":1787760579,"priority":1,"record_length":96,"hex_timestamp":"000001a03ed591b8"} 
[2026-08-26 21:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:43: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-26 21:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:43: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-26 21:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666631168001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666631168001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:43:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:43:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666631168001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":163775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:43:13] local.INFO: GPS data processed {"connection_id":163775,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:43:13] local.INFO: Acknowledgment sent {"connection_id":163775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:43:37] local.INFO: TCP Data received {"connection_id":165122,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:43:37] local.INFO: Processing buffer {"connection_id":165122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:43:37] local.INFO: IMEI packet received {"connection_id":165122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":165122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:43:41] local.INFO: TCP Data received {"connection_id":165122,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:43:41] local.INFO: Processing buffer {"connection_id":165122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:43:41] local.INFO: IMEI packet received {"connection_id":165122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":165122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:43:42] local.INFO: TCP Data received {"connection_id":165122,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:43:42] local.INFO: Processing buffer {"connection_id":165122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:43:42] local.INFO: Packet analysis {"connection_id":165122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ed5"} 
[2026-08-26 21:43:42] local.INFO: Extracted packet for processing {"connection_id":165122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ed5"} 
[2026-08-26 21:43:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666631168001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21: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-26 21:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787760579000,"timestamp_ms":1787760579000,"timestamp_seconds":1787760579,"priority":1,"record_length":96,"hex_timestamp":"000001a03ed591b8"} 
[2026-08-26 21: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-26 21:43: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-26 21: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:43: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-26 21: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-26 21: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-26 21:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666631168001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666631168001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:43:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:43:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666631168001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":165122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:43:42] local.INFO: GPS data processed {"connection_id":165122,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:43:42] local.INFO: Acknowledgment sent {"connection_id":165122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:44:14] local.INFO: TCP Data received {"connection_id":165122,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:44:14] local.INFO: Processing buffer {"connection_id":165122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:44:14] local.INFO: Packet analysis {"connection_id":165122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ed5"} 
[2026-08-26 21:44:14] local.INFO: Extracted packet for processing {"connection_id":165122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ed5"} 
[2026-08-26 21:44:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666631168001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:44: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-26 21:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787760579000,"timestamp_ms":1787760579000,"timestamp_seconds":1787760579,"priority":1,"record_length":96,"hex_timestamp":"000001a03ed591b8"} 
[2026-08-26 21: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-26 21:44: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:44: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-26 21: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-26 21: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-26 21:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666631168001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666631168001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:44:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:44:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666631168001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":165122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:44:14] local.INFO: GPS data processed {"connection_id":165122,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:44:14] local.INFO: Acknowledgment sent {"connection_id":165122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:44:35] local.INFO: TCP Data received {"connection_id":162749,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:44:35] local.INFO: Processing buffer {"connection_id":162749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:44:35] local.INFO: IMEI packet received {"connection_id":162749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":162749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:44:41] local.INFO: TCP Data received {"connection_id":162749,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:44:41] local.INFO: Processing buffer {"connection_id":162749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:44:41] local.INFO: IMEI packet received {"connection_id":162749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":162749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:44:42] local.INFO: TCP Data received {"connection_id":162749,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:44:42] local.INFO: Processing buffer {"connection_id":162749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:44:42] local.INFO: Packet analysis {"connection_id":162749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ed5"} 
[2026-08-26 21:44:42] local.INFO: Extracted packet for processing {"connection_id":162749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ed5"} 
[2026-08-26 21:44:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666631168001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:44: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-26 21:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787760579000,"timestamp_ms":1787760579000,"timestamp_seconds":1787760579,"priority":1,"record_length":96,"hex_timestamp":"000001a03ed591b8"} 
[2026-08-26 21:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:44: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-26 21:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:44: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-26 21:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666631168001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666631168001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:44:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:44:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666631168001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":162749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:44:42] local.INFO: GPS data processed {"connection_id":162749,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:44:42] local.INFO: Acknowledgment sent {"connection_id":162749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:45:13] local.INFO: TCP Data received {"connection_id":162749,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:45:13] local.INFO: Processing buffer {"connection_id":162749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ed591b8012d34c14006aa4818000d00e62f..."} 
[2026-08-26 21:45:13] local.INFO: Packet analysis {"connection_id":162749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ed5"} 
[2026-08-26 21:45:13] local.INFO: Extracted packet for processing {"connection_id":162749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ed5"} 
[2026-08-26 21:45:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666631168001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 21:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787760579000,"timestamp_ms":1787760579000,"timestamp_seconds":1787760579,"priority":1,"record_length":96,"hex_timestamp":"000001a03ed591b8"} 
[2026-08-26 21:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:45: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-26 21:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:45: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-26 21:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666631168001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666631168001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:45:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:45:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666631168001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":162749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:45:13] local.INFO: GPS data processed {"connection_id":162749,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:45:13] local.INFO: Acknowledgment sent {"connection_id":162749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:45:35] local.INFO: TCP Data received {"connection_id":162496,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:45:35] local.INFO: Processing buffer {"connection_id":162496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:45:35] local.INFO: IMEI packet received {"connection_id":162496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":162496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:45:41] local.INFO: TCP Data received {"connection_id":162496,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:45:41] local.INFO: Processing buffer {"connection_id":162496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:45:41] local.INFO: IMEI packet received {"connection_id":162496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":162496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:45:42] local.INFO: TCP Data received {"connection_id":162496,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:45:42] local.INFO: Processing buffer {"connection_id":162496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:45:42] local.INFO: Packet analysis {"connection_id":162496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eda"} 
[2026-08-26 21:45:42] local.INFO: Extracted packet for processing {"connection_id":162496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eda"} 
[2026-08-26 21:45:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666708224001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21: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-26 21:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787760880000,"timestamp_ms":1787760880000,"timestamp_seconds":1787760880,"priority":1,"record_length":96,"hex_timestamp":"000001a03eda2980"} 
[2026-08-26 21: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-26 21:45: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-26 21: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-26 21: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-26 21: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-26 21: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-26 21:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666708224001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666708224001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:45:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:45:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666708224001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":162496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:45:42] local.INFO: GPS data processed {"connection_id":162496,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:45:42] local.INFO: Acknowledgment sent {"connection_id":162496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:46:14] local.INFO: TCP Data received {"connection_id":162496,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:46:14] local.INFO: Processing buffer {"connection_id":162496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:46:14] local.INFO: Packet analysis {"connection_id":162496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eda"} 
[2026-08-26 21:46:14] local.INFO: Extracted packet for processing {"connection_id":162496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eda"} 
[2026-08-26 21:46:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666708224001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21: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-26 21:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787760880000,"timestamp_ms":1787760880000,"timestamp_seconds":1787760880,"priority":1,"record_length":96,"hex_timestamp":"000001a03eda2980"} 
[2026-08-26 21: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-26 21:46: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-26 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 21:46: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-26 21: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-26 21: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-26 21:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666708224001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666708224001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:46:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:46:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666708224001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":162496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:46:14] local.INFO: GPS data processed {"connection_id":162496,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:46:14] local.INFO: Acknowledgment sent {"connection_id":162496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:46:41] local.INFO: TCP Data received {"connection_id":162497,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:46:41] local.INFO: Processing buffer {"connection_id":162497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:46:41] local.INFO: IMEI packet received {"connection_id":162497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":162497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:46:46] local.INFO: TCP Data received {"connection_id":162497,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:46:46] local.INFO: Processing buffer {"connection_id":162497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:46:46] local.INFO: IMEI packet received {"connection_id":162497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":162497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:46:47] local.INFO: TCP Data received {"connection_id":162497,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:46:47] local.INFO: Processing buffer {"connection_id":162497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:46:47] local.INFO: Packet analysis {"connection_id":162497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eda"} 
[2026-08-26 21:46:47] local.INFO: Extracted packet for processing {"connection_id":162497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eda"} 
[2026-08-26 21:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 21:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666708224001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:46: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-26 21:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787760880000,"timestamp_ms":1787760880000,"timestamp_seconds":1787760880,"priority":1,"record_length":96,"hex_timestamp":"000001a03eda2980"} 
[2026-08-26 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-26 21:46: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-26 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 21:46: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-26 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-26 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-26 21:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666708224001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666708224001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:46:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666708224001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":162497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:46:47] local.INFO: GPS data processed {"connection_id":162497,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:46:47] local.INFO: Acknowledgment sent {"connection_id":162497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:46:51] local.INFO: TCP Data received {"connection_id":162497,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:46:51] local.INFO: Processing buffer {"connection_id":162497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:46:51] local.INFO: Packet analysis {"connection_id":162497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eda"} 
[2026-08-26 21:46:51] local.INFO: Extracted packet for processing {"connection_id":162497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eda"} 
[2026-08-26 21:46:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666708224001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 21:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787760880000,"timestamp_ms":1787760880000,"timestamp_seconds":1787760880,"priority":1,"record_length":96,"hex_timestamp":"000001a03eda2980"} 
[2026-08-26 21: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-26 21:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 21:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 21: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-26 21: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-26 21:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666708224001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666708224001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:46:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:46:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666708224001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":162497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:46:51] local.INFO: GPS data processed {"connection_id":162497,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:46:51] local.INFO: Acknowledgment sent {"connection_id":162497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:46:57] local.INFO: TCP Data received {"connection_id":162495,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162495,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:46:57] local.INFO: Processing buffer {"connection_id":162495,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:46:57] local.INFO: IMEI packet received {"connection_id":162495,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 21:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":162495,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:47:36] local.INFO: TCP Data received {"connection_id":163776,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:47:36] local.INFO: Processing buffer {"connection_id":163776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:47:36] local.INFO: IMEI packet received {"connection_id":163776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":163776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:47:41] local.INFO: TCP Data received {"connection_id":163776,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:47:41] local.INFO: Processing buffer {"connection_id":163776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:47:41] local.INFO: IMEI packet received {"connection_id":163776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":163776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:47:42] local.INFO: TCP Data received {"connection_id":163776,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:47:42] local.INFO: Processing buffer {"connection_id":163776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:47:42] local.INFO: Packet analysis {"connection_id":163776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eda"} 
[2026-08-26 21:47:42] local.INFO: Extracted packet for processing {"connection_id":163776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eda"} 
[2026-08-26 21:47:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666708224001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:47: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-26 21:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787760880000,"timestamp_ms":1787760880000,"timestamp_seconds":1787760880,"priority":1,"record_length":96,"hex_timestamp":"000001a03eda2980"} 
[2026-08-26 21:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:47: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-26 21:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 21:47: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-26 21:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666708224001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666708224001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:47:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:47:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666708224001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":163776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:47:42] local.INFO: GPS data processed {"connection_id":163776,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:47:42] local.INFO: Acknowledgment sent {"connection_id":163776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:48:13] local.INFO: TCP Data received {"connection_id":163776,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:48:13] local.INFO: Processing buffer {"connection_id":163776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:48:13] local.INFO: Packet analysis {"connection_id":163776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eda"} 
[2026-08-26 21:48:13] local.INFO: Extracted packet for processing {"connection_id":163776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eda"} 
[2026-08-26 21:48:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666708224001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:48: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-26 21:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787760880000,"timestamp_ms":1787760880000,"timestamp_seconds":1787760880,"priority":1,"record_length":96,"hex_timestamp":"000001a03eda2980"} 
[2026-08-26 21:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:48: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-26 21:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 21:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 21:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666708224001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666708224001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:48:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:48:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666708224001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":163776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:48:13] local.INFO: GPS data processed {"connection_id":163776,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:48:13] local.INFO: Acknowledgment sent {"connection_id":163776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:48:36] local.INFO: TCP Data received {"connection_id":162751,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:48:36] local.INFO: Processing buffer {"connection_id":162751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:48:36] local.INFO: IMEI packet received {"connection_id":162751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":162751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:48:41] local.INFO: TCP Data received {"connection_id":162751,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:48:41] local.INFO: Processing buffer {"connection_id":162751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:48:41] local.INFO: IMEI packet received {"connection_id":162751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":162751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:48:42] local.INFO: TCP Data received {"connection_id":162751,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:48:42] local.INFO: Processing buffer {"connection_id":162751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:48:42] local.INFO: Packet analysis {"connection_id":162751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eda"} 
[2026-08-26 21:48:42] local.INFO: Extracted packet for processing {"connection_id":162751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eda"} 
[2026-08-26 21:48:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666708224001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:48: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-26 21:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787760880000,"timestamp_ms":1787760880000,"timestamp_seconds":1787760880,"priority":1,"record_length":96,"hex_timestamp":"000001a03eda2980"} 
[2026-08-26 21: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-26 21:48: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-26 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 21:48: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-26 21: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-26 21: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-26 21:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666708224001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666708224001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:48:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:48:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666708224001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":162751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:48:42] local.INFO: GPS data processed {"connection_id":162751,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:48:42] local.INFO: Acknowledgment sent {"connection_id":162751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:49:13] local.INFO: TCP Data received {"connection_id":162751,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:49:13] local.INFO: Processing buffer {"connection_id":162751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:49:13] local.INFO: Packet analysis {"connection_id":162751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eda"} 
[2026-08-26 21:49:13] local.INFO: Extracted packet for processing {"connection_id":162751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eda"} 
[2026-08-26 21:49:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666708224001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:49: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-26 21:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787760880000,"timestamp_ms":1787760880000,"timestamp_seconds":1787760880,"priority":1,"record_length":96,"hex_timestamp":"000001a03eda2980"} 
[2026-08-26 21:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:49: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-26 21:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 21:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 21:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666708224001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666708224001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:49:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:49:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666708224001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":162751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:49:13] local.INFO: GPS data processed {"connection_id":162751,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:49:13] local.INFO: Acknowledgment sent {"connection_id":162751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:49:35] local.INFO: TCP Data received {"connection_id":165123,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:49:35] local.INFO: Processing buffer {"connection_id":165123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:49:35] local.INFO: IMEI packet received {"connection_id":165123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":165123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:49:41] local.INFO: TCP Data received {"connection_id":165123,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:49:41] local.INFO: Processing buffer {"connection_id":165123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:49:41] local.INFO: IMEI packet received {"connection_id":165123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":165123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:49:42] local.INFO: TCP Data received {"connection_id":165123,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:49:42] local.INFO: Processing buffer {"connection_id":165123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:49:42] local.INFO: Packet analysis {"connection_id":165123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eda"} 
[2026-08-26 21:49:42] local.INFO: Extracted packet for processing {"connection_id":165123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eda"} 
[2026-08-26 21:49:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666708224001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:49: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-26 21:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787760880000,"timestamp_ms":1787760880000,"timestamp_seconds":1787760880,"priority":1,"record_length":96,"hex_timestamp":"000001a03eda2980"} 
[2026-08-26 21:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:49: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-26 21:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 21:49: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-26 21:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666708224001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666708224001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:49:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:49:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666708224001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":165123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:49:42] local.INFO: GPS data processed {"connection_id":165123,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:49:42] local.INFO: Acknowledgment sent {"connection_id":165123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:50:13] local.INFO: TCP Data received {"connection_id":165123,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:50:13] local.INFO: Processing buffer {"connection_id":165123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eda2980012d34c14006aa4818000b00e62f..."} 
[2026-08-26 21:50:13] local.INFO: Packet analysis {"connection_id":165123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eda"} 
[2026-08-26 21:50:13] local.INFO: Extracted packet for processing {"connection_id":165123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eda"} 
[2026-08-26 21:50:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666708224001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:50: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-26 21:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787760880000,"timestamp_ms":1787760880000,"timestamp_seconds":1787760880,"priority":1,"record_length":96,"hex_timestamp":"000001a03eda2980"} 
[2026-08-26 21:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:50: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-26 21:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 21:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 21:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666708224001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666708224001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:50:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:50:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666708224001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":165123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:50:13] local.INFO: GPS data processed {"connection_id":165123,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:50:13] local.INFO: Acknowledgment sent {"connection_id":165123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:50:35] local.INFO: TCP Data received {"connection_id":163777,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:50:35] local.INFO: Processing buffer {"connection_id":163777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:50:35] local.INFO: IMEI packet received {"connection_id":163777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":163777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:50:41] local.INFO: TCP Data received {"connection_id":163777,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:50:41] local.INFO: Processing buffer {"connection_id":163777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:50:41] local.INFO: IMEI packet received {"connection_id":163777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":163777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:50:44] local.INFO: TCP Data received {"connection_id":163777,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:50:44] local.INFO: Processing buffer {"connection_id":163777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:50:44] local.INFO: Packet analysis {"connection_id":163777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ede"} 
[2026-08-26 21:50:44] local.INFO: Extracted packet for processing {"connection_id":163777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ede"} 
[2026-08-26 21:50:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666785280001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:50: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-26 21:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787761181000,"timestamp_ms":1787761181000,"timestamp_seconds":1787761181,"priority":1,"record_length":96,"hex_timestamp":"000001a03edec148"} 
[2026-08-26 21:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:50: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-26 21:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 21:50: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-26 21:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666785280001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666785280001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:50:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:50:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666785280001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":163777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:50:44] local.INFO: GPS data processed {"connection_id":163777,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:50:44] local.INFO: Acknowledgment sent {"connection_id":163777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:51:15] local.INFO: TCP Data received {"connection_id":163777,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:51:15] local.INFO: Processing buffer {"connection_id":163777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:51:15] local.INFO: Packet analysis {"connection_id":163777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ede"} 
[2026-08-26 21:51:15] local.INFO: Extracted packet for processing {"connection_id":163777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ede"} 
[2026-08-26 21:51:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666785280001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21: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-26 21:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787761181000,"timestamp_ms":1787761181000,"timestamp_seconds":1787761181,"priority":1,"record_length":96,"hex_timestamp":"000001a03edec148"} 
[2026-08-26 21: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-26 21:51: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-26 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 21:51: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-26 21: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-26 21: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-26 21:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666785280001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666785280001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:51:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:51:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666785280001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":163777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:51:15] local.INFO: GPS data processed {"connection_id":163777,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:51:15] local.INFO: Acknowledgment sent {"connection_id":163777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:51:41] local.INFO: TCP Data received {"connection_id":163778,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:51:41] local.INFO: Processing buffer {"connection_id":163778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:51:41] local.INFO: IMEI packet received {"connection_id":163778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":163778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:51:46] local.INFO: TCP Data received {"connection_id":163778,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:51:46] local.INFO: Processing buffer {"connection_id":163778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:51:46] local.INFO: IMEI packet received {"connection_id":163778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":163778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:51:47] local.INFO: TCP Data received {"connection_id":163778,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:51:47] local.INFO: Processing buffer {"connection_id":163778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:51:47] local.INFO: Packet analysis {"connection_id":163778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ede"} 
[2026-08-26 21:51:47] local.INFO: Extracted packet for processing {"connection_id":163778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ede"} 
[2026-08-26 21:51:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 21:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666785280001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:51: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-26 21:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787761181000,"timestamp_ms":1787761181000,"timestamp_seconds":1787761181,"priority":1,"record_length":96,"hex_timestamp":"000001a03edec148"} 
[2026-08-26 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-26 21:51: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-26 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 21:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 21:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666785280001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666785280001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:51:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:51:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666785280001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":163778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:51:47] local.INFO: GPS data processed {"connection_id":163778,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:51:47] local.INFO: Acknowledgment sent {"connection_id":163778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:51:51] local.INFO: TCP Data received {"connection_id":163778,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:51:51] local.INFO: Processing buffer {"connection_id":163778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:51:51] local.INFO: Packet analysis {"connection_id":163778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ede"} 
[2026-08-26 21:51:51] local.INFO: Extracted packet for processing {"connection_id":163778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ede"} 
[2026-08-26 21:51:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666785280001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 21:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787761181000,"timestamp_ms":1787761181000,"timestamp_seconds":1787761181,"priority":1,"record_length":96,"hex_timestamp":"000001a03edec148"} 
[2026-08-26 21:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 21:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 21:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 21:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666785280001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666785280001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:51:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:51:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666785280001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":163778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:51:51] local.INFO: GPS data processed {"connection_id":163778,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:51:51] local.INFO: Acknowledgment sent {"connection_id":163778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:52:31] local.INFO: TCP Data received {"connection_id":162750,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:52:31] local.INFO: Processing buffer {"connection_id":162750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:52:31] local.INFO: IMEI packet received {"connection_id":162750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 21:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":162750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:52:36] local.INFO: TCP Data received {"connection_id":162498,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:52:36] local.INFO: Processing buffer {"connection_id":162498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:52:36] local.INFO: IMEI packet received {"connection_id":162498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":162498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:52:41] local.INFO: TCP Data received {"connection_id":162498,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:52:41] local.INFO: Processing buffer {"connection_id":162498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:52:41] local.INFO: IMEI packet received {"connection_id":162498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":162498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:52:42] local.INFO: TCP Data received {"connection_id":162498,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:52:42] local.INFO: Processing buffer {"connection_id":162498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:52:42] local.INFO: Packet analysis {"connection_id":162498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ede"} 
[2026-08-26 21:52:42] local.INFO: Extracted packet for processing {"connection_id":162498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ede"} 
[2026-08-26 21:52:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666785280001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:52: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-26 21:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787761181000,"timestamp_ms":1787761181000,"timestamp_seconds":1787761181,"priority":1,"record_length":96,"hex_timestamp":"000001a03edec148"} 
[2026-08-26 21: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-26 21:52: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-26 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 21:52: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-26 21: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-26 21: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-26 21:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666785280001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666785280001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:52:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:52:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666785280001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":162498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:52:42] local.INFO: GPS data processed {"connection_id":162498,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:52:42] local.INFO: Acknowledgment sent {"connection_id":162498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:53:01] local.INFO: TCP Data received {"connection_id":165124,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:53:01] local.INFO: Processing buffer {"connection_id":165124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:53:01] local.INFO: IMEI packet received {"connection_id":165124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 21:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":165124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:53:13] local.INFO: TCP Data received {"connection_id":162498,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:53:13] local.INFO: Processing buffer {"connection_id":162498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:53:13] local.INFO: Packet analysis {"connection_id":162498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ede"} 
[2026-08-26 21:53:13] local.INFO: Extracted packet for processing {"connection_id":162498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ede"} 
[2026-08-26 21:53:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666785280001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:53: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-26 21:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787761181000,"timestamp_ms":1787761181000,"timestamp_seconds":1787761181,"priority":1,"record_length":96,"hex_timestamp":"000001a03edec148"} 
[2026-08-26 21:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21: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-26 21:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 21: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-26 21:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666785280001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666785280001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:53:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:53:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666785280001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":162498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:53:13] local.INFO: GPS data processed {"connection_id":162498,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:53:13] local.INFO: Acknowledgment sent {"connection_id":162498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:53:36] local.INFO: TCP Data received {"connection_id":162753,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:53:36] local.INFO: Processing buffer {"connection_id":162753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:53:36] local.INFO: IMEI packet received {"connection_id":162753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":162753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:53:41] local.INFO: TCP Data received {"connection_id":162753,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:53:41] local.INFO: Processing buffer {"connection_id":162753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:53:41] local.INFO: IMEI packet received {"connection_id":162753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":162753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:53:42] local.INFO: TCP Data received {"connection_id":162753,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:53:42] local.INFO: Processing buffer {"connection_id":162753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:53:42] local.INFO: Packet analysis {"connection_id":162753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ede"} 
[2026-08-26 21:53:42] local.INFO: Extracted packet for processing {"connection_id":162753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ede"} 
[2026-08-26 21:53:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666785280001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:53: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-26 21:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787761181000,"timestamp_ms":1787761181000,"timestamp_seconds":1787761181,"priority":1,"record_length":96,"hex_timestamp":"000001a03edec148"} 
[2026-08-26 21: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-26 21:53: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-26 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 21:53: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-26 21: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-26 21: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-26 21:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666785280001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666785280001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:53:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:53:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666785280001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":162753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:53:42] local.INFO: GPS data processed {"connection_id":162753,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:53:42] local.INFO: Acknowledgment sent {"connection_id":162753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:54:13] local.INFO: TCP Data received {"connection_id":162753,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:54:13] local.INFO: Processing buffer {"connection_id":162753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:54:13] local.INFO: Packet analysis {"connection_id":162753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ede"} 
[2026-08-26 21:54:13] local.INFO: Extracted packet for processing {"connection_id":162753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ede"} 
[2026-08-26 21:54:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666785280001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:54: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-26 21:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787761181000,"timestamp_ms":1787761181000,"timestamp_seconds":1787761181,"priority":1,"record_length":96,"hex_timestamp":"000001a03edec148"} 
[2026-08-26 21: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-26 21:54: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-26 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 21:54: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-26 21: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-26 21: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-26 21:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666785280001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666785280001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:54:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:54:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666785280001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":162753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:54:13] local.INFO: GPS data processed {"connection_id":162753,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:54:13] local.INFO: Acknowledgment sent {"connection_id":162753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:54:35] local.INFO: TCP Data received {"connection_id":165125,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:54:35] local.INFO: Processing buffer {"connection_id":165125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:54:35] local.INFO: IMEI packet received {"connection_id":165125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":165125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:54:41] local.INFO: TCP Data received {"connection_id":165125,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:54:41] local.INFO: Processing buffer {"connection_id":165125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:54:41] local.INFO: IMEI packet received {"connection_id":165125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":165125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:54:42] local.INFO: TCP Data received {"connection_id":165125,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:54:42] local.INFO: Processing buffer {"connection_id":165125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:54:42] local.INFO: Packet analysis {"connection_id":165125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ede"} 
[2026-08-26 21:54:42] local.INFO: Extracted packet for processing {"connection_id":165125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ede"} 
[2026-08-26 21:54:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666785280001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:54: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-26 21:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787761181000,"timestamp_ms":1787761181000,"timestamp_seconds":1787761181,"priority":1,"record_length":96,"hex_timestamp":"000001a03edec148"} 
[2026-08-26 21:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:54: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-26 21:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 21:54: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-26 21:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666785280001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666785280001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:54:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:54:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666785280001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":165125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:54:42] local.INFO: GPS data processed {"connection_id":165125,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:54:42] local.INFO: Acknowledgment sent {"connection_id":165125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:55:13] local.INFO: TCP Data received {"connection_id":165125,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:55:13] local.INFO: Processing buffer {"connection_id":165125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03edec148012d34c14006aa4818000a00e630..."} 
[2026-08-26 21:55:13] local.INFO: Packet analysis {"connection_id":165125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ede"} 
[2026-08-26 21:55:13] local.INFO: Extracted packet for processing {"connection_id":165125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ede"} 
[2026-08-26 21:55:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666785280001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:55: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-26 21:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787761181000,"timestamp_ms":1787761181000,"timestamp_seconds":1787761181,"priority":1,"record_length":96,"hex_timestamp":"000001a03edec148"} 
[2026-08-26 21:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:55: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-26 21:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 21:55: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-26 21:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666785280001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666785280001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:55:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:55:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666785280001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":165125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:55:13] local.INFO: GPS data processed {"connection_id":165125,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:55:13] local.INFO: Acknowledgment sent {"connection_id":165125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:55:41] local.INFO: TCP Data received {"connection_id":162754,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:55:41] local.INFO: Processing buffer {"connection_id":162754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:55:41] local.INFO: IMEI packet received {"connection_id":162754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":162754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:55:46] local.INFO: TCP Data received {"connection_id":162754,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:55:46] local.INFO: Processing buffer {"connection_id":162754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:55:46] local.INFO: IMEI packet received {"connection_id":162754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":162754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:55:47] local.INFO: TCP Data received {"connection_id":162754,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:55:47] local.INFO: Processing buffer {"connection_id":162754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:55:47] local.INFO: Packet analysis {"connection_id":162754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ee3"} 
[2026-08-26 21:55:47] local.INFO: Extracted packet for processing {"connection_id":162754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ee3"} 
[2026-08-26 21:55:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 21:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666862336001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:55: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-26 21:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787761482000,"timestamp_ms":1787761482000,"timestamp_seconds":1787761482,"priority":1,"record_length":96,"hex_timestamp":"000001a03ee35910"} 
[2026-08-26 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-26 21:55: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-26 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:55: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-26 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-26 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-26 21:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666862336001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666862336001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:55:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:55:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666862336001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":162754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:55:47] local.INFO: GPS data processed {"connection_id":162754,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:55:47] local.INFO: Acknowledgment sent {"connection_id":162754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:56:19] local.INFO: TCP Data received {"connection_id":162754,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:56:19] local.INFO: Processing buffer {"connection_id":162754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:56:19] local.INFO: Packet analysis {"connection_id":162754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ee3"} 
[2026-08-26 21:56:19] local.INFO: Extracted packet for processing {"connection_id":162754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ee3"} 
[2026-08-26 21:56:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666862336001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 21:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787761482000,"timestamp_ms":1787761482000,"timestamp_seconds":1787761482,"priority":1,"record_length":96,"hex_timestamp":"000001a03ee35910"} 
[2026-08-26 21: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-26 21:56: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-26 21: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 21: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-26 21: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-26 21:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666862336001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666862336001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:56:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:56:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666862336001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":162754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:56:19] local.INFO: GPS data processed {"connection_id":162754,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:56:19] local.INFO: Acknowledgment sent {"connection_id":162754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:56:36] local.INFO: TCP Data received {"connection_id":162499,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:56:36] local.INFO: Processing buffer {"connection_id":162499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:56:36] local.INFO: IMEI packet received {"connection_id":162499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":162499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:56:41] local.INFO: TCP Data received {"connection_id":162499,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:56:41] local.INFO: Processing buffer {"connection_id":162499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:56:41] local.INFO: IMEI packet received {"connection_id":162499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":162499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:56:42] local.INFO: TCP Data received {"connection_id":162499,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:56:42] local.INFO: Processing buffer {"connection_id":162499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:56:42] local.INFO: Packet analysis {"connection_id":162499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ee3"} 
[2026-08-26 21:56:42] local.INFO: Extracted packet for processing {"connection_id":162499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ee3"} 
[2026-08-26 21:56:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666862336001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:56: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-26 21:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787761482000,"timestamp_ms":1787761482000,"timestamp_seconds":1787761482,"priority":1,"record_length":96,"hex_timestamp":"000001a03ee35910"} 
[2026-08-26 21:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:56: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-26 21:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:56: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-26 21:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666862336001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666862336001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:56:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:56:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666862336001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":162499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:56:42] local.INFO: GPS data processed {"connection_id":162499,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:56:42] local.INFO: Acknowledgment sent {"connection_id":162499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:57:13] local.INFO: TCP Data received {"connection_id":162499,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:57:13] local.INFO: Processing buffer {"connection_id":162499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:57:13] local.INFO: Packet analysis {"connection_id":162499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ee3"} 
[2026-08-26 21:57:13] local.INFO: Extracted packet for processing {"connection_id":162499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ee3"} 
[2026-08-26 21:57:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666862336001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:57: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-26 21:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787761482000,"timestamp_ms":1787761482000,"timestamp_seconds":1787761482,"priority":1,"record_length":96,"hex_timestamp":"000001a03ee35910"} 
[2026-08-26 21: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-26 21:57: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:57: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-26 21: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-26 21: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-26 21:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666862336001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666862336001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:57:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:57:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666862336001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":162499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:57:13] local.INFO: GPS data processed {"connection_id":162499,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:57:13] local.INFO: Acknowledgment sent {"connection_id":162499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:57:36] local.INFO: TCP Data received {"connection_id":163779,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:57:36] local.INFO: Processing buffer {"connection_id":163779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:57:36] local.INFO: IMEI packet received {"connection_id":163779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":163779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:57:41] local.INFO: TCP Data received {"connection_id":163779,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:57:41] local.INFO: Processing buffer {"connection_id":163779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:57:41] local.INFO: IMEI packet received {"connection_id":163779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":163779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:57:42] local.INFO: TCP Data received {"connection_id":163779,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:57:42] local.INFO: Processing buffer {"connection_id":163779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:57:42] local.INFO: Packet analysis {"connection_id":163779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ee3"} 
[2026-08-26 21:57:42] local.INFO: Extracted packet for processing {"connection_id":163779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ee3"} 
[2026-08-26 21:57:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666862336001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:57: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-26 21:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787761482000,"timestamp_ms":1787761482000,"timestamp_seconds":1787761482,"priority":1,"record_length":96,"hex_timestamp":"000001a03ee35910"} 
[2026-08-26 21:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:57: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-26 21:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:57: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-26 21:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666862336001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666862336001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:57:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:57:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666862336001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":163779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:57:42] local.INFO: GPS data processed {"connection_id":163779,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:57:42] local.INFO: Acknowledgment sent {"connection_id":163779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:58:14] local.INFO: TCP Data received {"connection_id":163779,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:58:14] local.INFO: Processing buffer {"connection_id":163779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:58:14] local.INFO: Packet analysis {"connection_id":163779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ee3"} 
[2026-08-26 21:58:14] local.INFO: Extracted packet for processing {"connection_id":163779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ee3"} 
[2026-08-26 21:58:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666862336001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:58: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-26 21:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787761482000,"timestamp_ms":1787761482000,"timestamp_seconds":1787761482,"priority":1,"record_length":96,"hex_timestamp":"000001a03ee35910"} 
[2026-08-26 21:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:58: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-26 21:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:58: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-26 21:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666862336001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666862336001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:58:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:58:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666862336001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":163779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:58:14] local.INFO: GPS data processed {"connection_id":163779,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:58:14] local.INFO: Acknowledgment sent {"connection_id":163779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:58:16] local.INFO: TCP Data received {"connection_id":162500,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:58:16] local.INFO: Processing buffer {"connection_id":162500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-26 21:58:16] local.INFO: IMEI packet received {"connection_id":162500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-26 21:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":162500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:58:41] local.INFO: TCP Data received {"connection_id":165126,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:58:41] local.INFO: Processing buffer {"connection_id":165126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:58:41] local.INFO: IMEI packet received {"connection_id":165126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":165126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:58:46] local.INFO: TCP Data received {"connection_id":165126,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:58:46] local.INFO: Processing buffer {"connection_id":165126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:58:46] local.INFO: IMEI packet received {"connection_id":165126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":165126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:58:47] local.INFO: TCP Data received {"connection_id":165126,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:58:47] local.INFO: Processing buffer {"connection_id":165126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:58:47] local.INFO: Packet analysis {"connection_id":165126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ee3"} 
[2026-08-26 21:58:47] local.INFO: Extracted packet for processing {"connection_id":165126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ee3"} 
[2026-08-26 21:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21: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-26 21:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666862336001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:58: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-26 21:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787761482000,"timestamp_ms":1787761482000,"timestamp_seconds":1787761482,"priority":1,"record_length":96,"hex_timestamp":"000001a03ee35910"} 
[2026-08-26 21: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-26 21:58: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-26 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:58: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-26 21: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-26 21: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-26 21:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666862336001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666862336001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:58:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666862336001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":165126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:58:47] local.INFO: GPS data processed {"connection_id":165126,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:58:47] local.INFO: Acknowledgment sent {"connection_id":165126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:58:52] local.INFO: TCP Data received {"connection_id":165126,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:58:52] local.INFO: Processing buffer {"connection_id":165126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:58:52] local.INFO: Packet analysis {"connection_id":165126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ee3"} 
[2026-08-26 21:58:52] local.INFO: Extracted packet for processing {"connection_id":165126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ee3"} 
[2026-08-26 21:58:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 21:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666862336001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:58: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-26 21:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787761482000,"timestamp_ms":1787761482000,"timestamp_seconds":1787761482,"priority":1,"record_length":96,"hex_timestamp":"000001a03ee35910"} 
[2026-08-26 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-26 21:58: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-26 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 21:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666862336001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666862336001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:58:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:58:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666862336001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":165126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:58:52] local.INFO: GPS data processed {"connection_id":165126,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:58:52] local.INFO: Acknowledgment sent {"connection_id":165126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 21:59:36] local.INFO: TCP Data received {"connection_id":162501,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:59:36] local.INFO: Processing buffer {"connection_id":162501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:59:36] local.INFO: IMEI packet received {"connection_id":162501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 21:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":162501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 21:59:41] local.INFO: TCP Data received {"connection_id":162501,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:59:41] local.INFO: Processing buffer {"connection_id":162501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 21:59:41] local.INFO: IMEI packet received {"connection_id":162501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 21:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":162501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 21:59:42] local.INFO: TCP Data received {"connection_id":162501,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:59:42] local.INFO: Processing buffer {"connection_id":162501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 21:59:42] local.INFO: Packet analysis {"connection_id":162501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ee3"} 
[2026-08-26 21:59:42] local.INFO: Extracted packet for processing {"connection_id":162501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ee3"} 
[2026-08-26 21:59:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 21:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 21:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666862336001,"note":"Value kept but may cause issues"} 
[2026-08-26 21:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 21:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 21:59: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-26 21:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787761482000,"timestamp_ms":1787761482000,"timestamp_seconds":1787761482,"priority":1,"record_length":96,"hex_timestamp":"000001a03ee35910"} 
[2026-08-26 21:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 21:59: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-26 21:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 21:59: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-26 21:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 21:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 21:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 21:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 21:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 21:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 21:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 21:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 21:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666862336001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 21:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 21:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 21:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666862336001,"description":"Unknown IO ID 0"} 
[2026-08-26 21:59:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 21:59:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 21:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 21:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 21:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666862336001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 21:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":162501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 21:59:42] local.INFO: GPS data processed {"connection_id":162501,"processed":1,"errors":0,"total":1} 
[2026-08-26 21:59:42] local.INFO: Acknowledgment sent {"connection_id":162501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:00:14] local.INFO: TCP Data received {"connection_id":162501,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:00:14] local.INFO: Processing buffer {"connection_id":162501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ee35910012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:00:14] local.INFO: Packet analysis {"connection_id":162501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ee3"} 
[2026-08-26 22:00:14] local.INFO: Extracted packet for processing {"connection_id":162501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ee3"} 
[2026-08-26 22:00:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666862336001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:00: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-26 22:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787761482000,"timestamp_ms":1787761482000,"timestamp_seconds":1787761482,"priority":1,"record_length":96,"hex_timestamp":"000001a03ee35910"} 
[2026-08-26 22: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-26 22:00: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-26 22: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:00: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-26 22: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-26 22: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-26 22:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666862336001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666862336001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:00:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:00:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666862336001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":162501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:00:14] local.INFO: GPS data processed {"connection_id":162501,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:00:14] local.INFO: Acknowledgment sent {"connection_id":162501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:00:36] local.INFO: TCP Data received {"connection_id":165128,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:00:36] local.INFO: Processing buffer {"connection_id":165128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:00:36] local.INFO: IMEI packet received {"connection_id":165128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":165128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:00:40] local.INFO: TCP Data received {"connection_id":165128,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:00:40] local.INFO: Processing buffer {"connection_id":165128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:00:40] local.INFO: IMEI packet received {"connection_id":165128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":165128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:00:42] local.INFO: TCP Data received {"connection_id":165128,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:00:42] local.INFO: Processing buffer {"connection_id":165128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:00:42] local.INFO: Packet analysis {"connection_id":165128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ee7"} 
[2026-08-26 22:00:42] local.INFO: Extracted packet for processing {"connection_id":165128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ee7"} 
[2026-08-26 22:00:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666939392001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22: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-26 22:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787761783000,"timestamp_ms":1787761783000,"timestamp_seconds":1787761783,"priority":1,"record_length":96,"hex_timestamp":"000001a03ee7f0d8"} 
[2026-08-26 22: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-26 22:00: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-26 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 22:00: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-26 22: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-26 22: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-26 22:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666939392001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666939392001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:00:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:00:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666939392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":165128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:00:42] local.INFO: GPS data processed {"connection_id":165128,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:00:42] local.INFO: Acknowledgment sent {"connection_id":165128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:01:13] local.INFO: TCP Data received {"connection_id":165128,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:01:13] local.INFO: Processing buffer {"connection_id":165128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:01:13] local.INFO: Packet analysis {"connection_id":165128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ee7"} 
[2026-08-26 22:01:13] local.INFO: Extracted packet for processing {"connection_id":165128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ee7"} 
[2026-08-26 22:01:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666939392001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22: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-26 22:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787761783000,"timestamp_ms":1787761783000,"timestamp_seconds":1787761783,"priority":1,"record_length":96,"hex_timestamp":"000001a03ee7f0d8"} 
[2026-08-26 22: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-26 22:01: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-26 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 22:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 22: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-26 22: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-26 22:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666939392001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666939392001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:01:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:01:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666939392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":165128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:01:13] local.INFO: GPS data processed {"connection_id":165128,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:01:13] local.INFO: Acknowledgment sent {"connection_id":165128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:01:35] local.INFO: TCP Data received {"connection_id":165129,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:01:35] local.INFO: Processing buffer {"connection_id":165129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:01:35] local.INFO: IMEI packet received {"connection_id":165129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":165129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:01:41] local.INFO: TCP Data received {"connection_id":165129,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:01:41] local.INFO: Processing buffer {"connection_id":165129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:01:41] local.INFO: IMEI packet received {"connection_id":165129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":165129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:01:42] local.INFO: TCP Data received {"connection_id":165129,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:01:42] local.INFO: Processing buffer {"connection_id":165129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:01:42] local.INFO: Packet analysis {"connection_id":165129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ee7"} 
[2026-08-26 22:01:42] local.INFO: Extracted packet for processing {"connection_id":165129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ee7"} 
[2026-08-26 22:01:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666939392001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:01: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-26 22:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787761783000,"timestamp_ms":1787761783000,"timestamp_seconds":1787761783,"priority":1,"record_length":96,"hex_timestamp":"000001a03ee7f0d8"} 
[2026-08-26 22:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:01: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-26 22:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 22:01: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-26 22:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666939392001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666939392001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:01:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:01:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666939392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":165129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:01:42] local.INFO: GPS data processed {"connection_id":165129,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:01:42] local.INFO: Acknowledgment sent {"connection_id":165129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:02:14] local.INFO: TCP Data received {"connection_id":165129,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:02:14] local.INFO: Processing buffer {"connection_id":165129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:02:14] local.INFO: Packet analysis {"connection_id":165129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ee7"} 
[2026-08-26 22:02:14] local.INFO: Extracted packet for processing {"connection_id":165129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ee7"} 
[2026-08-26 22:02:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666939392001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:02: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-26 22:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787761783000,"timestamp_ms":1787761783000,"timestamp_seconds":1787761783,"priority":1,"record_length":96,"hex_timestamp":"000001a03ee7f0d8"} 
[2026-08-26 22: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-26 22:02: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-26 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 22:02: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-26 22: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-26 22: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-26 22:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666939392001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666939392001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:02:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:02:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666939392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":165129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:02:14] local.INFO: GPS data processed {"connection_id":165129,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:02:14] local.INFO: Acknowledgment sent {"connection_id":165129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:02:41] local.INFO: TCP Data received {"connection_id":162755,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:02:41] local.INFO: Processing buffer {"connection_id":162755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:02:41] local.INFO: IMEI packet received {"connection_id":162755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":162755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:02:46] local.INFO: TCP Data received {"connection_id":162755,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:02:46] local.INFO: Processing buffer {"connection_id":162755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:02:46] local.INFO: IMEI packet received {"connection_id":162755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":162755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:02:47] local.INFO: TCP Data received {"connection_id":162755,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:02:47] local.INFO: Processing buffer {"connection_id":162755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:02:47] local.INFO: Packet analysis {"connection_id":162755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ee7"} 
[2026-08-26 22:02:47] local.INFO: Extracted packet for processing {"connection_id":162755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ee7"} 
[2026-08-26 22:02:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 22:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666939392001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:02: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-26 22:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787761783000,"timestamp_ms":1787761783000,"timestamp_seconds":1787761783,"priority":1,"record_length":96,"hex_timestamp":"000001a03ee7f0d8"} 
[2026-08-26 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-26 22:02: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-26 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 22:02: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-26 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-26 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-26 22:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666939392001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666939392001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:02:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:02:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666939392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":162755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:02:47] local.INFO: GPS data processed {"connection_id":162755,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:02:47] local.INFO: Acknowledgment sent {"connection_id":162755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:02:51] local.INFO: TCP Data received {"connection_id":162755,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:02:51] local.INFO: Processing buffer {"connection_id":162755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:02:51] local.INFO: Packet analysis {"connection_id":162755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ee7"} 
[2026-08-26 22:02:51] local.INFO: Extracted packet for processing {"connection_id":162755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ee7"} 
[2026-08-26 22:02:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:02: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-26 22:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666939392001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 22:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787761783000,"timestamp_ms":1787761783000,"timestamp_seconds":1787761783,"priority":1,"record_length":96,"hex_timestamp":"000001a03ee7f0d8"} 
[2026-08-26 22:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 22:02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 22:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 22:02: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-26 22:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666939392001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666939392001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:02:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:02:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666939392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":162755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:02:51] local.INFO: GPS data processed {"connection_id":162755,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:02:51] local.INFO: Acknowledgment sent {"connection_id":162755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:03:36] local.INFO: TCP Data received {"connection_id":162756,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:03:36] local.INFO: Processing buffer {"connection_id":162756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:03:36] local.INFO: IMEI packet received {"connection_id":162756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":162756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:03:41] local.INFO: TCP Data received {"connection_id":162756,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:03:41] local.INFO: Processing buffer {"connection_id":162756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:03:41] local.INFO: IMEI packet received {"connection_id":162756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":162756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:03:44] local.INFO: TCP Data received {"connection_id":162756,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:03:44] local.INFO: Processing buffer {"connection_id":162756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:03:44] local.INFO: Packet analysis {"connection_id":162756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ee7"} 
[2026-08-26 22:03:44] local.INFO: Extracted packet for processing {"connection_id":162756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ee7"} 
[2026-08-26 22:03:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666939392001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:03: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-26 22:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787761783000,"timestamp_ms":1787761783000,"timestamp_seconds":1787761783,"priority":1,"record_length":96,"hex_timestamp":"000001a03ee7f0d8"} 
[2026-08-26 22:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:03: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-26 22:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 22:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 22:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666939392001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666939392001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:03:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:03:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666939392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":162756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:03:44] local.INFO: GPS data processed {"connection_id":162756,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:03:44] local.INFO: Acknowledgment sent {"connection_id":162756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:04:16] local.INFO: TCP Data received {"connection_id":162756,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:04:16] local.INFO: Processing buffer {"connection_id":162756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:04:16] local.INFO: Packet analysis {"connection_id":162756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ee7"} 
[2026-08-26 22:04:16] local.INFO: Extracted packet for processing {"connection_id":162756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ee7"} 
[2026-08-26 22:04:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666939392001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:04: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-26 22:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787761783000,"timestamp_ms":1787761783000,"timestamp_seconds":1787761783,"priority":1,"record_length":96,"hex_timestamp":"000001a03ee7f0d8"} 
[2026-08-26 22:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:04: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-26 22:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 22:04: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-26 22:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":162756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":162756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":162756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666939392001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666939392001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:04:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:04:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666939392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":162756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:04:16] local.INFO: GPS data processed {"connection_id":162756,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:04:16] local.INFO: Acknowledgment sent {"connection_id":162756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:04:36] local.INFO: TCP Data received {"connection_id":163781,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:04:36] local.INFO: Processing buffer {"connection_id":163781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:04:36] local.INFO: IMEI packet received {"connection_id":163781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":163781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:04:41] local.INFO: TCP Data received {"connection_id":163781,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:04:41] local.INFO: Processing buffer {"connection_id":163781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:04:41] local.INFO: IMEI packet received {"connection_id":163781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":163781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:04:42] local.INFO: TCP Data received {"connection_id":163781,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:04:42] local.INFO: Processing buffer {"connection_id":163781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:04:42] local.INFO: Packet analysis {"connection_id":163781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ee7"} 
[2026-08-26 22:04:42] local.INFO: Extracted packet for processing {"connection_id":163781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ee7"} 
[2026-08-26 22:04:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666939392001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22: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-26 22:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787761783000,"timestamp_ms":1787761783000,"timestamp_seconds":1787761783,"priority":1,"record_length":96,"hex_timestamp":"000001a03ee7f0d8"} 
[2026-08-26 22:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:04: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-26 22:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 22: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-26 22:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666939392001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666939392001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:04:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:04:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666939392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":163781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:04:42] local.INFO: GPS data processed {"connection_id":163781,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:04:42] local.INFO: Acknowledgment sent {"connection_id":163781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:05:14] local.INFO: TCP Data received {"connection_id":163781,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:05:14] local.INFO: Processing buffer {"connection_id":163781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ee7f0d8012d34c14006aa4818000d00e630..."} 
[2026-08-26 22:05:14] local.INFO: Packet analysis {"connection_id":163781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ee7"} 
[2026-08-26 22:05:14] local.INFO: Extracted packet for processing {"connection_id":163781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ee7"} 
[2026-08-26 22:05:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457666939392001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:05: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-26 22:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787761783000,"timestamp_ms":1787761783000,"timestamp_seconds":1787761783,"priority":1,"record_length":96,"hex_timestamp":"000001a03ee7f0d8"} 
[2026-08-26 22: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-26 22:05: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-26 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 22:05: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-26 22: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-26 22: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-26 22:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457666939392001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457666939392001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:05:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:05:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457666939392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":163781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:05:14] local.INFO: GPS data processed {"connection_id":163781,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:05:14] local.INFO: Acknowledgment sent {"connection_id":163781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:05:36] local.INFO: TCP Data received {"connection_id":162757,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:05:36] local.INFO: Processing buffer {"connection_id":162757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:05:36] local.INFO: IMEI packet received {"connection_id":162757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":162757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:05:41] local.INFO: TCP Data received {"connection_id":162757,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:05:41] local.INFO: Processing buffer {"connection_id":162757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:05:41] local.INFO: IMEI packet received {"connection_id":162757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":162757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:05:42] local.INFO: TCP Data received {"connection_id":162757,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:05:42] local.INFO: Processing buffer {"connection_id":162757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:05:42] local.INFO: Packet analysis {"connection_id":162757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eec"} 
[2026-08-26 22:05:42] local.INFO: Extracted packet for processing {"connection_id":162757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eec"} 
[2026-08-26 22:05:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667016448001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:05: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-26 22:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787762084000,"timestamp_ms":1787762084000,"timestamp_seconds":1787762084,"priority":1,"record_length":96,"hex_timestamp":"000001a03eec88a0"} 
[2026-08-26 22:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:05: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-26 22:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 22:05: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-26 22:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667016448001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667016448001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:05:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:05:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667016448001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":162757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:05:42] local.INFO: GPS data processed {"connection_id":162757,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:05:42] local.INFO: Acknowledgment sent {"connection_id":162757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:06:13] local.INFO: TCP Data received {"connection_id":162757,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:06:13] local.INFO: Processing buffer {"connection_id":162757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:06:13] local.INFO: Packet analysis {"connection_id":162757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eec"} 
[2026-08-26 22:06:13] local.INFO: Extracted packet for processing {"connection_id":162757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eec"} 
[2026-08-26 22:06:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667016448001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:06: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-26 22:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787762084000,"timestamp_ms":1787762084000,"timestamp_seconds":1787762084,"priority":1,"record_length":96,"hex_timestamp":"000001a03eec88a0"} 
[2026-08-26 22: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-26 22:06: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-26 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 22:06: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-26 22: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-26 22: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-26 22:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667016448001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667016448001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:06:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:06:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667016448001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":162757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:06:13] local.INFO: GPS data processed {"connection_id":162757,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:06:13] local.INFO: Acknowledgment sent {"connection_id":162757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:06:35] local.INFO: TCP Data received {"connection_id":165130,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:06:35] local.INFO: Processing buffer {"connection_id":165130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:06:35] local.INFO: IMEI packet received {"connection_id":165130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":165130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:06:41] local.INFO: TCP Data received {"connection_id":165130,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:06:41] local.INFO: Processing buffer {"connection_id":165130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:06:41] local.INFO: IMEI packet received {"connection_id":165130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":165130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:06:42] local.INFO: TCP Data received {"connection_id":165130,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:06:42] local.INFO: Processing buffer {"connection_id":165130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:06:42] local.INFO: Packet analysis {"connection_id":165130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eec"} 
[2026-08-26 22:06:42] local.INFO: Extracted packet for processing {"connection_id":165130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eec"} 
[2026-08-26 22:06:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667016448001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:06: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-26 22:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787762084000,"timestamp_ms":1787762084000,"timestamp_seconds":1787762084,"priority":1,"record_length":96,"hex_timestamp":"000001a03eec88a0"} 
[2026-08-26 22:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:06: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-26 22:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 22:06: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-26 22:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667016448001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667016448001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:06:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:06:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667016448001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":165130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:06:42] local.INFO: GPS data processed {"connection_id":165130,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:06:42] local.INFO: Acknowledgment sent {"connection_id":165130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:07:13] local.INFO: TCP Data received {"connection_id":165130,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:07:13] local.INFO: Processing buffer {"connection_id":165130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:07:13] local.INFO: Packet analysis {"connection_id":165130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eec"} 
[2026-08-26 22:07:13] local.INFO: Extracted packet for processing {"connection_id":165130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eec"} 
[2026-08-26 22:07:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667016448001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:07: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-26 22:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787762084000,"timestamp_ms":1787762084000,"timestamp_seconds":1787762084,"priority":1,"record_length":96,"hex_timestamp":"000001a03eec88a0"} 
[2026-08-26 22: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-26 22:07: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-26 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 22:07: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-26 22: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-26 22: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-26 22:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667016448001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667016448001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:07:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:07:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667016448001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":165130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:07:13] local.INFO: GPS data processed {"connection_id":165130,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:07:13] local.INFO: Acknowledgment sent {"connection_id":165130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:07:41] local.INFO: TCP Data received {"connection_id":163782,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:07:41] local.INFO: Processing buffer {"connection_id":163782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:07:41] local.INFO: IMEI packet received {"connection_id":163782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":163782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:07:46] local.INFO: TCP Data received {"connection_id":163782,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:07:46] local.INFO: Processing buffer {"connection_id":163782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:07:46] local.INFO: IMEI packet received {"connection_id":163782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":163782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:07:47] local.INFO: TCP Data received {"connection_id":163782,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:07:47] local.INFO: Processing buffer {"connection_id":163782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:07:47] local.INFO: Packet analysis {"connection_id":163782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eec"} 
[2026-08-26 22:07:47] local.INFO: Extracted packet for processing {"connection_id":163782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eec"} 
[2026-08-26 22:07:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667016448001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:07: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-26 22:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787762084000,"timestamp_ms":1787762084000,"timestamp_seconds":1787762084,"priority":1,"record_length":96,"hex_timestamp":"000001a03eec88a0"} 
[2026-08-26 22: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-26 22:07: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-26 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 22:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 22: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-26 22: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-26 22:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667016448001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667016448001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:07:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:07:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667016448001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":163782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:07:47] local.INFO: GPS data processed {"connection_id":163782,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:07:47] local.INFO: Acknowledgment sent {"connection_id":163782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:07:52] local.INFO: TCP Data received {"connection_id":163782,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:07:52] local.INFO: Processing buffer {"connection_id":163782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:07:52] local.INFO: Packet analysis {"connection_id":163782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eec"} 
[2026-08-26 22:07:52] local.INFO: Extracted packet for processing {"connection_id":163782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eec"} 
[2026-08-26 22:07:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 22:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667016448001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:07: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-26 22:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787762084000,"timestamp_ms":1787762084000,"timestamp_seconds":1787762084,"priority":1,"record_length":96,"hex_timestamp":"000001a03eec88a0"} 
[2026-08-26 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-26 22:07: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-26 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 22:07: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-26 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-26 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-26 22:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667016448001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667016448001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:07:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:07:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667016448001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":163782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:07:52] local.INFO: GPS data processed {"connection_id":163782,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:07:52] local.INFO: Acknowledgment sent {"connection_id":163782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:07:57] local.INFO: TCP Data received {"connection_id":163782,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:07:57] local.INFO: Processing buffer {"connection_id":163782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:07:57] local.INFO: Packet analysis {"connection_id":163782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eec"} 
[2026-08-26 22:07:57] local.INFO: Extracted packet for processing {"connection_id":163782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eec"} 
[2026-08-26 22:07:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667016448001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:07: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-26 22:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787762084000,"timestamp_ms":1787762084000,"timestamp_seconds":1787762084,"priority":1,"record_length":96,"hex_timestamp":"000001a03eec88a0"} 
[2026-08-26 22: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-26 22:07: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-26 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 22:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 22: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-26 22: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-26 22:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667016448001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667016448001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:07:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:07:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667016448001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":163782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:07:57] local.INFO: GPS data processed {"connection_id":163782,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:07:57] local.INFO: Acknowledgment sent {"connection_id":163782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:08:36] local.INFO: TCP Data received {"connection_id":163783,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:08:36] local.INFO: Processing buffer {"connection_id":163783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:08:36] local.INFO: IMEI packet received {"connection_id":163783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":163783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:08:41] local.INFO: TCP Data received {"connection_id":163783,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:08:41] local.INFO: Processing buffer {"connection_id":163783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:08:41] local.INFO: IMEI packet received {"connection_id":163783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":163783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:08:42] local.INFO: TCP Data received {"connection_id":163783,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:08:42] local.INFO: Processing buffer {"connection_id":163783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:08:42] local.INFO: Packet analysis {"connection_id":163783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eec"} 
[2026-08-26 22:08:42] local.INFO: Extracted packet for processing {"connection_id":163783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eec"} 
[2026-08-26 22:08:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667016448001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22: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-26 22:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787762084000,"timestamp_ms":1787762084000,"timestamp_seconds":1787762084,"priority":1,"record_length":96,"hex_timestamp":"000001a03eec88a0"} 
[2026-08-26 22: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-26 22:08: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-26 22: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-26 22: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-26 22: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-26 22: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-26 22:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667016448001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667016448001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:08:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:08:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667016448001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":163783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:08:42] local.INFO: GPS data processed {"connection_id":163783,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:08:42] local.INFO: Acknowledgment sent {"connection_id":163783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:09:13] local.INFO: TCP Data received {"connection_id":163783,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:09:13] local.INFO: Processing buffer {"connection_id":163783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:09:13] local.INFO: Packet analysis {"connection_id":163783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eec"} 
[2026-08-26 22:09:13] local.INFO: Extracted packet for processing {"connection_id":163783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eec"} 
[2026-08-26 22:09:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667016448001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:09: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-26 22:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787762084000,"timestamp_ms":1787762084000,"timestamp_seconds":1787762084,"priority":1,"record_length":96,"hex_timestamp":"000001a03eec88a0"} 
[2026-08-26 22:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:09: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-26 22:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 22:09: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-26 22:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667016448001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667016448001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:09:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:09:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667016448001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":163783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:09:13] local.INFO: GPS data processed {"connection_id":163783,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:09:13] local.INFO: Acknowledgment sent {"connection_id":163783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:09:36] local.INFO: TCP Data received {"connection_id":162758,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:09:36] local.INFO: Processing buffer {"connection_id":162758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:09:36] local.INFO: IMEI packet received {"connection_id":162758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":162758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:09:41] local.INFO: TCP Data received {"connection_id":162758,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:09:41] local.INFO: Processing buffer {"connection_id":162758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:09:41] local.INFO: IMEI packet received {"connection_id":162758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":162758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:09:42] local.INFO: TCP Data received {"connection_id":162758,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:09:42] local.INFO: Processing buffer {"connection_id":162758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:09:42] local.INFO: Packet analysis {"connection_id":162758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eec"} 
[2026-08-26 22:09:42] local.INFO: Extracted packet for processing {"connection_id":162758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eec"} 
[2026-08-26 22:09:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667016448001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:09: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-26 22:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787762084000,"timestamp_ms":1787762084000,"timestamp_seconds":1787762084,"priority":1,"record_length":96,"hex_timestamp":"000001a03eec88a0"} 
[2026-08-26 22:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:09: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-26 22:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 22:09: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-26 22:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667016448001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667016448001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:09:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:09:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667016448001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":162758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:09:42] local.INFO: GPS data processed {"connection_id":162758,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:09:42] local.INFO: Acknowledgment sent {"connection_id":162758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:10:14] local.INFO: TCP Data received {"connection_id":162758,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:10:14] local.INFO: Processing buffer {"connection_id":162758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03eec88a0012d34c14006aa4818000800e62d..."} 
[2026-08-26 22:10:14] local.INFO: Packet analysis {"connection_id":162758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03eec"} 
[2026-08-26 22:10:14] local.INFO: Extracted packet for processing {"connection_id":162758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03eec"} 
[2026-08-26 22:10:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667016448001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:10: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-26 22:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787762084000,"timestamp_ms":1787762084000,"timestamp_seconds":1787762084,"priority":1,"record_length":96,"hex_timestamp":"000001a03eec88a0"} 
[2026-08-26 22: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-26 22:10: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-26 22: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 22:10: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-26 22: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-26 22: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-26 22:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667016448001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667016448001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:10:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:10:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667016448001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":162758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:10:14] local.INFO: GPS data processed {"connection_id":162758,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:10:14] local.INFO: Acknowledgment sent {"connection_id":162758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:10:36] local.INFO: TCP Data received {"connection_id":162759,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:10:36] local.INFO: Processing buffer {"connection_id":162759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:10:36] local.INFO: IMEI packet received {"connection_id":162759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":162759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:10:40] local.INFO: TCP Data received {"connection_id":162759,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:10:40] local.INFO: Processing buffer {"connection_id":162759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:10:40] local.INFO: IMEI packet received {"connection_id":162759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":162759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:10:41] local.INFO: TCP Data received {"connection_id":162759,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:10:41] local.INFO: Processing buffer {"connection_id":162759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:10:41] local.INFO: Packet analysis {"connection_id":162759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ef1"} 
[2026-08-26 22:10:41] local.INFO: Extracted packet for processing {"connection_id":162759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ef1"} 
[2026-08-26 22:10:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667093504001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:10: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-26 22:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787762385000,"timestamp_ms":1787762385000,"timestamp_seconds":1787762385,"priority":1,"record_length":96,"hex_timestamp":"000001a03ef12068"} 
[2026-08-26 22:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:10: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-26 22:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:10: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-26 22:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667093504001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667093504001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:10:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:10:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667093504001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":162759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:10:41] local.INFO: GPS data processed {"connection_id":162759,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:10:41] local.INFO: Acknowledgment sent {"connection_id":162759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:11:14] local.INFO: TCP Data received {"connection_id":162759,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:11:14] local.INFO: Processing buffer {"connection_id":162759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:11:14] local.INFO: Packet analysis {"connection_id":162759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ef1"} 
[2026-08-26 22:11:14] local.INFO: Extracted packet for processing {"connection_id":162759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ef1"} 
[2026-08-26 22:11:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667093504001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:11: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-26 22:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787762385000,"timestamp_ms":1787762385000,"timestamp_seconds":1787762385,"priority":1,"record_length":96,"hex_timestamp":"000001a03ef12068"} 
[2026-08-26 22: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-26 22:11: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-26 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:11: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-26 22: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-26 22: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-26 22:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667093504001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667093504001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:11:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:11:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667093504001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":162759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:11:14] local.INFO: GPS data processed {"connection_id":162759,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:11:14] local.INFO: Acknowledgment sent {"connection_id":162759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:11:35] local.INFO: TCP Data received {"connection_id":162502,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:11:35] local.INFO: Processing buffer {"connection_id":162502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:11:35] local.INFO: IMEI packet received {"connection_id":162502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":162502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:11:41] local.INFO: TCP Data received {"connection_id":162502,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:11:41] local.INFO: Processing buffer {"connection_id":162502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:11:41] local.INFO: IMEI packet received {"connection_id":162502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":162502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:11:42] local.INFO: TCP Data received {"connection_id":162502,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:11:42] local.INFO: Processing buffer {"connection_id":162502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:11:42] local.INFO: Packet analysis {"connection_id":162502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ef1"} 
[2026-08-26 22:11:42] local.INFO: Extracted packet for processing {"connection_id":162502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ef1"} 
[2026-08-26 22:11:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667093504001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22: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-26 22:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787762385000,"timestamp_ms":1787762385000,"timestamp_seconds":1787762385,"priority":1,"record_length":96,"hex_timestamp":"000001a03ef12068"} 
[2026-08-26 22:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:11: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-26 22:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:11: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-26 22:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667093504001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667093504001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:11:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:11:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667093504001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":162502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:11:42] local.INFO: GPS data processed {"connection_id":162502,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:11:42] local.INFO: Acknowledgment sent {"connection_id":162502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:12:14] local.INFO: TCP Data received {"connection_id":162502,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:12:14] local.INFO: Processing buffer {"connection_id":162502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:12:14] local.INFO: Packet analysis {"connection_id":162502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ef1"} 
[2026-08-26 22:12:14] local.INFO: Extracted packet for processing {"connection_id":162502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ef1"} 
[2026-08-26 22:12:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667093504001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:12: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-26 22:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787762385000,"timestamp_ms":1787762385000,"timestamp_seconds":1787762385,"priority":1,"record_length":96,"hex_timestamp":"000001a03ef12068"} 
[2026-08-26 22: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-26 22:12: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-26 22: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:12: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-26 22: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-26 22: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-26 22:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667093504001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667093504001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:12:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:12:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667093504001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":162502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:12:14] local.INFO: GPS data processed {"connection_id":162502,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:12:14] local.INFO: Acknowledgment sent {"connection_id":162502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:12:41] local.INFO: TCP Data received {"connection_id":162760,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:12:41] local.INFO: Processing buffer {"connection_id":162760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:12:41] local.INFO: IMEI packet received {"connection_id":162760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":162760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:12:46] local.INFO: TCP Data received {"connection_id":162760,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:12:46] local.INFO: Processing buffer {"connection_id":162760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:12:46] local.INFO: IMEI packet received {"connection_id":162760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":162760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:12:47] local.INFO: TCP Data received {"connection_id":162760,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:12:47] local.INFO: Processing buffer {"connection_id":162760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:12:47] local.INFO: Packet analysis {"connection_id":162760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ef1"} 
[2026-08-26 22:12:47] local.INFO: Extracted packet for processing {"connection_id":162760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ef1"} 
[2026-08-26 22:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667093504001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:12: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-26 22:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787762385000,"timestamp_ms":1787762385000,"timestamp_seconds":1787762385,"priority":1,"record_length":96,"hex_timestamp":"000001a03ef12068"} 
[2026-08-26 22: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-26 22:12: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-26 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:12: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-26 22: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-26 22: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-26 22:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667093504001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667093504001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:12:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667093504001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":162760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:12:47] local.INFO: GPS data processed {"connection_id":162760,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:12:47] local.INFO: Acknowledgment sent {"connection_id":162760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:12:51] local.INFO: TCP Data received {"connection_id":162760,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:12:51] local.INFO: Processing buffer {"connection_id":162760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:12:51] local.INFO: Packet analysis {"connection_id":162760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ef1"} 
[2026-08-26 22:12:51] local.INFO: Extracted packet for processing {"connection_id":162760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ef1"} 
[2026-08-26 22:12:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667093504001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 22:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787762385000,"timestamp_ms":1787762385000,"timestamp_seconds":1787762385,"priority":1,"record_length":96,"hex_timestamp":"000001a03ef12068"} 
[2026-08-26 22:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 22:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 22:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667093504001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667093504001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:12:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:12:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667093504001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":162760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:12:51] local.INFO: GPS data processed {"connection_id":162760,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:12:51] local.INFO: Acknowledgment sent {"connection_id":162760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:13:36] local.INFO: TCP Data received {"connection_id":165131,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:13:36] local.INFO: Processing buffer {"connection_id":165131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:13:36] local.INFO: IMEI packet received {"connection_id":165131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":165131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:13:41] local.INFO: TCP Data received {"connection_id":165131,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:13:41] local.INFO: Processing buffer {"connection_id":165131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:13:41] local.INFO: IMEI packet received {"connection_id":165131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":165131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:13:42] local.INFO: TCP Data received {"connection_id":165131,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:13:42] local.INFO: Processing buffer {"connection_id":165131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:13:42] local.INFO: Packet analysis {"connection_id":165131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ef1"} 
[2026-08-26 22:13:42] local.INFO: Extracted packet for processing {"connection_id":165131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ef1"} 
[2026-08-26 22:13:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667093504001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:13: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-26 22:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787762385000,"timestamp_ms":1787762385000,"timestamp_seconds":1787762385,"priority":1,"record_length":96,"hex_timestamp":"000001a03ef12068"} 
[2026-08-26 22:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:13: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-26 22:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:13: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-26 22:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667093504001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667093504001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:13:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:13:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667093504001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":165131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:13:42] local.INFO: GPS data processed {"connection_id":165131,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:13:42] local.INFO: Acknowledgment sent {"connection_id":165131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:13:47] local.INFO: TCP Data received {"connection_id":165131,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:13:47] local.INFO: Processing buffer {"connection_id":165131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:13:47] local.INFO: Packet analysis {"connection_id":165131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ef1"} 
[2026-08-26 22:13:47] local.INFO: Extracted packet for processing {"connection_id":165131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ef1"} 
[2026-08-26 22:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 22:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667093504001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:13: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-26 22:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787762385000,"timestamp_ms":1787762385000,"timestamp_seconds":1787762385,"priority":1,"record_length":96,"hex_timestamp":"000001a03ef12068"} 
[2026-08-26 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-26 22:13: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-26 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:13: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-26 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-26 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-26 22:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667093504001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667093504001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:13:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667093504001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":165131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:13:47] local.INFO: GPS data processed {"connection_id":165131,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:13:47] local.INFO: Acknowledgment sent {"connection_id":165131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:14:18] local.INFO: TCP Data received {"connection_id":165131,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:14:18] local.INFO: Processing buffer {"connection_id":165131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:14:18] local.INFO: Packet analysis {"connection_id":165131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ef1"} 
[2026-08-26 22:14:18] local.INFO: Extracted packet for processing {"connection_id":165131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ef1"} 
[2026-08-26 22:14:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 22:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667093504001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:14: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-26 22:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787762385000,"timestamp_ms":1787762385000,"timestamp_seconds":1787762385,"priority":1,"record_length":96,"hex_timestamp":"000001a03ef12068"} 
[2026-08-26 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-26 22:14: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-26 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 22:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":165131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":165131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":165131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667093504001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667093504001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:14:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:14:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667093504001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":165131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:14:18] local.INFO: GPS data processed {"connection_id":165131,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:14:18] local.INFO: Acknowledgment sent {"connection_id":165131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:14:36] local.INFO: TCP Data received {"connection_id":163785,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:14:36] local.INFO: Processing buffer {"connection_id":163785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:14:36] local.INFO: IMEI packet received {"connection_id":163785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":163785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:14:41] local.INFO: TCP Data received {"connection_id":163785,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:14:41] local.INFO: Processing buffer {"connection_id":163785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:14:41] local.INFO: IMEI packet received {"connection_id":163785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":163785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:14:42] local.INFO: TCP Data received {"connection_id":163785,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:14:42] local.INFO: Processing buffer {"connection_id":163785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:14:42] local.INFO: Packet analysis {"connection_id":163785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ef1"} 
[2026-08-26 22:14:42] local.INFO: Extracted packet for processing {"connection_id":163785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ef1"} 
[2026-08-26 22:14:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667093504001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22: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-26 22:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787762385000,"timestamp_ms":1787762385000,"timestamp_seconds":1787762385,"priority":1,"record_length":96,"hex_timestamp":"000001a03ef12068"} 
[2026-08-26 22: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-26 22:14: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-26 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:14: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-26 22: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-26 22: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-26 22:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667093504001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667093504001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:14:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:14:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667093504001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":163785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:14:42] local.INFO: GPS data processed {"connection_id":163785,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:14:42] local.INFO: Acknowledgment sent {"connection_id":163785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:15:13] local.INFO: TCP Data received {"connection_id":163785,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:15:13] local.INFO: Processing buffer {"connection_id":163785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ef12068012d34c14006aa4818000400e62b..."} 
[2026-08-26 22:15:13] local.INFO: Packet analysis {"connection_id":163785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ef1"} 
[2026-08-26 22:15:13] local.INFO: Extracted packet for processing {"connection_id":163785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ef1"} 
[2026-08-26 22:15:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":4,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667093504001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:15: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-26 22:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787762385000,"timestamp_ms":1787762385000,"timestamp_seconds":1787762385,"priority":1,"record_length":96,"hex_timestamp":"000001a03ef12068"} 
[2026-08-26 22: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-26 22:15: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-26 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:15: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-26 22: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-26 22: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-26 22:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667093504001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667093504001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:15:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:15:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667093504001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":163785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:15:13] local.INFO: GPS data processed {"connection_id":163785,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:15:13] local.INFO: Acknowledgment sent {"connection_id":163785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:15:36] local.INFO: TCP Data received {"connection_id":165132,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:15:36] local.INFO: Processing buffer {"connection_id":165132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:15:36] local.INFO: IMEI packet received {"connection_id":165132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":165132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:15:41] local.INFO: TCP Data received {"connection_id":165132,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:15:41] local.INFO: Processing buffer {"connection_id":165132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:15:41] local.INFO: IMEI packet received {"connection_id":165132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":165132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:15:41] local.INFO: TCP Data received {"connection_id":165132,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:15:41] local.INFO: Processing buffer {"connection_id":165132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:15:41] local.INFO: Packet analysis {"connection_id":165132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ef5"} 
[2026-08-26 22:15:41] local.INFO: Extracted packet for processing {"connection_id":165132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ef5"} 
[2026-08-26 22:15:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667170560001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:15: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-26 22:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787762686000,"timestamp_ms":1787762686000,"timestamp_seconds":1787762686,"priority":1,"record_length":96,"hex_timestamp":"000001a03ef5b830"} 
[2026-08-26 22:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:15: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-26 22:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 22:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 22:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":165132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":165132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":165132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667170560001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667170560001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:15:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:15:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667170560001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":165132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:15:41] local.INFO: GPS data processed {"connection_id":165132,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:15:41] local.INFO: Acknowledgment sent {"connection_id":165132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:16:13] local.INFO: TCP Data received {"connection_id":165132,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:16:13] local.INFO: Processing buffer {"connection_id":165132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:16:13] local.INFO: Packet analysis {"connection_id":165132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ef5"} 
[2026-08-26 22:16:13] local.INFO: Extracted packet for processing {"connection_id":165132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ef5"} 
[2026-08-26 22:16:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667170560001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:16: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-26 22:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787762686000,"timestamp_ms":1787762686000,"timestamp_seconds":1787762686,"priority":1,"record_length":96,"hex_timestamp":"000001a03ef5b830"} 
[2026-08-26 22: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-26 22: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-26 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 22:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 22: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-26 22: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-26 22:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667170560001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667170560001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:16:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:16:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667170560001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":165132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:16:13] local.INFO: GPS data processed {"connection_id":165132,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:16:13] local.INFO: Acknowledgment sent {"connection_id":165132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:16:35] local.INFO: TCP Data received {"connection_id":162762,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:16:35] local.INFO: Processing buffer {"connection_id":162762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:16:35] local.INFO: IMEI packet received {"connection_id":162762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":162762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:16:41] local.INFO: TCP Data received {"connection_id":162762,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:16:41] local.INFO: Processing buffer {"connection_id":162762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:16:41] local.INFO: IMEI packet received {"connection_id":162762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":162762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:16:42] local.INFO: TCP Data received {"connection_id":162762,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:16:42] local.INFO: Processing buffer {"connection_id":162762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:16:42] local.INFO: Packet analysis {"connection_id":162762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ef5"} 
[2026-08-26 22:16:42] local.INFO: Extracted packet for processing {"connection_id":162762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ef5"} 
[2026-08-26 22:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667170560001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22: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-26 22:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787762686000,"timestamp_ms":1787762686000,"timestamp_seconds":1787762686,"priority":1,"record_length":96,"hex_timestamp":"000001a03ef5b830"} 
[2026-08-26 22: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-26 22:16: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-26 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 22:16: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-26 22: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-26 22: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-26 22:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667170560001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667170560001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:16:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667170560001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":162762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:16:42] local.INFO: GPS data processed {"connection_id":162762,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:16:42] local.INFO: Acknowledgment sent {"connection_id":162762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:17:13] local.INFO: TCP Data received {"connection_id":162762,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:17:13] local.INFO: Processing buffer {"connection_id":162762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:17:13] local.INFO: Packet analysis {"connection_id":162762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ef5"} 
[2026-08-26 22:17:13] local.INFO: Extracted packet for processing {"connection_id":162762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ef5"} 
[2026-08-26 22:17:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667170560001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:17: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-26 22:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787762686000,"timestamp_ms":1787762686000,"timestamp_seconds":1787762686,"priority":1,"record_length":96,"hex_timestamp":"000001a03ef5b830"} 
[2026-08-26 22:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:17: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-26 22:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 22:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 22:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667170560001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667170560001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:17:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:17:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667170560001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":162762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:17:13] local.INFO: GPS data processed {"connection_id":162762,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:17:13] local.INFO: Acknowledgment sent {"connection_id":162762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:17:41] local.INFO: TCP Data received {"connection_id":165133,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:17:41] local.INFO: Processing buffer {"connection_id":165133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:17:41] local.INFO: IMEI packet received {"connection_id":165133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":165133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:17:46] local.INFO: TCP Data received {"connection_id":165133,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:17:46] local.INFO: Processing buffer {"connection_id":165133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:17:46] local.INFO: IMEI packet received {"connection_id":165133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":165133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:17:47] local.INFO: TCP Data received {"connection_id":165133,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:17:47] local.INFO: Processing buffer {"connection_id":165133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:17:47] local.INFO: Packet analysis {"connection_id":165133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ef5"} 
[2026-08-26 22:17:47] local.INFO: Extracted packet for processing {"connection_id":165133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ef5"} 
[2026-08-26 22:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 22:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667170560001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:17: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-26 22:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787762686000,"timestamp_ms":1787762686000,"timestamp_seconds":1787762686,"priority":1,"record_length":96,"hex_timestamp":"000001a03ef5b830"} 
[2026-08-26 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-26 22:17: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-26 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 22:17: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-26 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-26 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-26 22:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667170560001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667170560001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:17:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667170560001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":165133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:17:47] local.INFO: GPS data processed {"connection_id":165133,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:17:47] local.INFO: Acknowledgment sent {"connection_id":165133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:17:51] local.INFO: TCP Data received {"connection_id":165133,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:17:51] local.INFO: Processing buffer {"connection_id":165133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:17:51] local.INFO: Packet analysis {"connection_id":165133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ef5"} 
[2026-08-26 22:17:51] local.INFO: Extracted packet for processing {"connection_id":165133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ef5"} 
[2026-08-26 22:17:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:17: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-26 22:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667170560001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 22:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787762686000,"timestamp_ms":1787762686000,"timestamp_seconds":1787762686,"priority":1,"record_length":96,"hex_timestamp":"000001a03ef5b830"} 
[2026-08-26 22:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 22:17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 22:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 22:17: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-26 22:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":165133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":165133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":165133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667170560001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667170560001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:17:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:17:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667170560001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":165133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:17:51] local.INFO: GPS data processed {"connection_id":165133,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:17:51] local.INFO: Acknowledgment sent {"connection_id":165133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:18:36] local.INFO: TCP Data received {"connection_id":165134,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:18:36] local.INFO: Processing buffer {"connection_id":165134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:18:36] local.INFO: IMEI packet received {"connection_id":165134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":165134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:18:41] local.INFO: TCP Data received {"connection_id":165134,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:18:41] local.INFO: Processing buffer {"connection_id":165134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:18:41] local.INFO: IMEI packet received {"connection_id":165134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":165134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:18:42] local.INFO: TCP Data received {"connection_id":165134,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:18:42] local.INFO: Processing buffer {"connection_id":165134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:18:42] local.INFO: Packet analysis {"connection_id":165134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ef5"} 
[2026-08-26 22:18:42] local.INFO: Extracted packet for processing {"connection_id":165134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ef5"} 
[2026-08-26 22:18:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667170560001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22: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-26 22:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787762686000,"timestamp_ms":1787762686000,"timestamp_seconds":1787762686,"priority":1,"record_length":96,"hex_timestamp":"000001a03ef5b830"} 
[2026-08-26 22: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-26 22:18: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-26 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 22:18: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-26 22: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-26 22: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-26 22:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667170560001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667170560001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:18:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:18:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667170560001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":165134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:18:42] local.INFO: GPS data processed {"connection_id":165134,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:18:42] local.INFO: Acknowledgment sent {"connection_id":165134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:19:13] local.INFO: TCP Data received {"connection_id":165134,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:19:13] local.INFO: Processing buffer {"connection_id":165134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:19:13] local.INFO: Packet analysis {"connection_id":165134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ef5"} 
[2026-08-26 22:19:13] local.INFO: Extracted packet for processing {"connection_id":165134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ef5"} 
[2026-08-26 22:19:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667170560001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:19: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-26 22:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787762686000,"timestamp_ms":1787762686000,"timestamp_seconds":1787762686,"priority":1,"record_length":96,"hex_timestamp":"000001a03ef5b830"} 
[2026-08-26 22: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-26 22:19: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-26 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 22:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 22: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-26 22: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-26 22:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667170560001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667170560001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:19:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:19:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667170560001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":165134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:19:13] local.INFO: GPS data processed {"connection_id":165134,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:19:13] local.INFO: Acknowledgment sent {"connection_id":165134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:19:36] local.INFO: TCP Data received {"connection_id":162503,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:19:36] local.INFO: Processing buffer {"connection_id":162503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:19:36] local.INFO: IMEI packet received {"connection_id":162503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":162503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:19:41] local.INFO: TCP Data received {"connection_id":162503,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:19:41] local.INFO: Processing buffer {"connection_id":162503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:19:41] local.INFO: IMEI packet received {"connection_id":162503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":162503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:19:42] local.INFO: TCP Data received {"connection_id":162503,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:19:42] local.INFO: Processing buffer {"connection_id":162503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:19:42] local.INFO: Packet analysis {"connection_id":162503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ef5"} 
[2026-08-26 22:19:42] local.INFO: Extracted packet for processing {"connection_id":162503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ef5"} 
[2026-08-26 22:19:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667170560001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22: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-26 22:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787762686000,"timestamp_ms":1787762686000,"timestamp_seconds":1787762686,"priority":1,"record_length":96,"hex_timestamp":"000001a03ef5b830"} 
[2026-08-26 22: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-26 22:19: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-26 22: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":233,"data_length":795,"current_offset":136} 
[2026-08-26 22:19: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-26 22: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-26 22: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-26 22:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667170560001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667170560001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:19:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:19:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667170560001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":162503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:19:42] local.INFO: GPS data processed {"connection_id":162503,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:19:42] local.INFO: Acknowledgment sent {"connection_id":162503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:20:14] local.INFO: TCP Data received {"connection_id":162503,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:20:14] local.INFO: Processing buffer {"connection_id":162503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03ef5b830012d34c14006aa4818000900e62d..."} 
[2026-08-26 22:20:14] local.INFO: Packet analysis {"connection_id":162503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03ef5"} 
[2026-08-26 22:20:14] local.INFO: Extracted packet for processing {"connection_id":162503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03ef5"} 
[2026-08-26 22:20:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667170560001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:20: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-26 22:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787762686000,"timestamp_ms":1787762686000,"timestamp_seconds":1787762686,"priority":1,"record_length":96,"hex_timestamp":"000001a03ef5b830"} 
[2026-08-26 22: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-26 22:20: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-26 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 22:20: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-26 22: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-26 22: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-26 22:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667170560001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667170560001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:20:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:20:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667170560001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":162503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:20:14] local.INFO: GPS data processed {"connection_id":162503,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:20:14] local.INFO: Acknowledgment sent {"connection_id":162503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:20:35] local.INFO: TCP Data received {"connection_id":162764,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:20:35] local.INFO: Processing buffer {"connection_id":162764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:20:35] local.INFO: IMEI packet received {"connection_id":162764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":162764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:20:40] local.INFO: TCP Data received {"connection_id":162764,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:20:40] local.INFO: Processing buffer {"connection_id":162764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:20:40] local.INFO: IMEI packet received {"connection_id":162764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":162764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:20:41] local.INFO: TCP Data received {"connection_id":162764,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:20:41] local.INFO: Processing buffer {"connection_id":162764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:20:41] local.INFO: Packet analysis {"connection_id":162764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03efa"} 
[2026-08-26 22:20:41] local.INFO: Extracted packet for processing {"connection_id":162764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03efa"} 
[2026-08-26 22:20:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667247616001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:20: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-26 22:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787762987000,"timestamp_ms":1787762987000,"timestamp_seconds":1787762987,"priority":1,"record_length":96,"hex_timestamp":"000001a03efa4ff8"} 
[2026-08-26 22:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:20: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-26 22:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:20: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-26 22:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667247616001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667247616001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:20:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:20:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667247616001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":162764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:20:41] local.INFO: GPS data processed {"connection_id":162764,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:20:41] local.INFO: Acknowledgment sent {"connection_id":162764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:21:13] local.INFO: TCP Data received {"connection_id":162764,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:21:13] local.INFO: Processing buffer {"connection_id":162764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:21:13] local.INFO: Packet analysis {"connection_id":162764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03efa"} 
[2026-08-26 22:21:13] local.INFO: Extracted packet for processing {"connection_id":162764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03efa"} 
[2026-08-26 22:21:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667247616001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:21: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-26 22:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787762987000,"timestamp_ms":1787762987000,"timestamp_seconds":1787762987,"priority":1,"record_length":96,"hex_timestamp":"000001a03efa4ff8"} 
[2026-08-26 22: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-26 22:21: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-26 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:21: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-26 22: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-26 22: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-26 22:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667247616001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667247616001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:21:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:21:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667247616001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":162764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:21:13] local.INFO: GPS data processed {"connection_id":162764,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:21:13] local.INFO: Acknowledgment sent {"connection_id":162764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:21:36] local.INFO: TCP Data received {"connection_id":162765,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:21:36] local.INFO: Processing buffer {"connection_id":162765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:21:36] local.INFO: IMEI packet received {"connection_id":162765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":162765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:21:41] local.INFO: TCP Data received {"connection_id":162765,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:21:41] local.INFO: Processing buffer {"connection_id":162765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:21:41] local.INFO: IMEI packet received {"connection_id":162765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":162765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:21:42] local.INFO: TCP Data received {"connection_id":162765,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:21:42] local.INFO: Processing buffer {"connection_id":162765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:21:42] local.INFO: Packet analysis {"connection_id":162765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03efa"} 
[2026-08-26 22:21:42] local.INFO: Extracted packet for processing {"connection_id":162765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03efa"} 
[2026-08-26 22:21:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667247616001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:21: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-26 22:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787762987000,"timestamp_ms":1787762987000,"timestamp_seconds":1787762987,"priority":1,"record_length":96,"hex_timestamp":"000001a03efa4ff8"} 
[2026-08-26 22: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-26 22:21: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-26 22: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:21: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-26 22: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-26 22: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-26 22:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667247616001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667247616001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:21:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:21:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667247616001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":162765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:21:42] local.INFO: GPS data processed {"connection_id":162765,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:21:42] local.INFO: Acknowledgment sent {"connection_id":162765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:22:13] local.INFO: TCP Data received {"connection_id":162765,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:22:13] local.INFO: Processing buffer {"connection_id":162765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:22:13] local.INFO: Packet analysis {"connection_id":162765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03efa"} 
[2026-08-26 22:22:13] local.INFO: Extracted packet for processing {"connection_id":162765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03efa"} 
[2026-08-26 22:22:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667247616001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:22: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-26 22:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787762987000,"timestamp_ms":1787762987000,"timestamp_seconds":1787762987,"priority":1,"record_length":96,"hex_timestamp":"000001a03efa4ff8"} 
[2026-08-26 22: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-26 22: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-26 22: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:22: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-26 22: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-26 22: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-26 22:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667247616001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667247616001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:22:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:22:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667247616001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":162765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:22:13] local.INFO: GPS data processed {"connection_id":162765,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:22:13] local.INFO: Acknowledgment sent {"connection_id":162765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:22:36] local.INFO: TCP Data received {"connection_id":165136,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:22:36] local.INFO: Processing buffer {"connection_id":165136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:22:36] local.INFO: IMEI packet received {"connection_id":165136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":165136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:22:41] local.INFO: TCP Data received {"connection_id":165136,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:22:41] local.INFO: Processing buffer {"connection_id":165136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:22:41] local.INFO: IMEI packet received {"connection_id":165136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":165136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:22:42] local.INFO: TCP Data received {"connection_id":165136,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:22:42] local.INFO: Processing buffer {"connection_id":165136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:22:42] local.INFO: Packet analysis {"connection_id":165136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03efa"} 
[2026-08-26 22:22:42] local.INFO: Extracted packet for processing {"connection_id":165136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03efa"} 
[2026-08-26 22:22:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667247616001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:22: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-26 22:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787762987000,"timestamp_ms":1787762987000,"timestamp_seconds":1787762987,"priority":1,"record_length":96,"hex_timestamp":"000001a03efa4ff8"} 
[2026-08-26 22:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:22: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-26 22:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:22: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-26 22:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667247616001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667247616001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:22:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:22:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667247616001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":165136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:22:42] local.INFO: GPS data processed {"connection_id":165136,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:22:42] local.INFO: Acknowledgment sent {"connection_id":165136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:23:13] local.INFO: TCP Data received {"connection_id":165136,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:23:13] local.INFO: Processing buffer {"connection_id":165136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:23:13] local.INFO: Packet analysis {"connection_id":165136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03efa"} 
[2026-08-26 22:23:13] local.INFO: Extracted packet for processing {"connection_id":165136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03efa"} 
[2026-08-26 22:23:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667247616001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:23: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-26 22:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787762987000,"timestamp_ms":1787762987000,"timestamp_seconds":1787762987,"priority":1,"record_length":96,"hex_timestamp":"000001a03efa4ff8"} 
[2026-08-26 22:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:23: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-26 22:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:23: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-26 22:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667247616001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667247616001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:23:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:23:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667247616001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":165136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:23:13] local.INFO: GPS data processed {"connection_id":165136,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:23:13] local.INFO: Acknowledgment sent {"connection_id":165136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:23:36] local.INFO: TCP Data received {"connection_id":162504,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:23:36] local.INFO: Processing buffer {"connection_id":162504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:23:36] local.INFO: IMEI packet received {"connection_id":162504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":162504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:23:41] local.INFO: TCP Data received {"connection_id":162504,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:23:41] local.INFO: Processing buffer {"connection_id":162504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:23:41] local.INFO: IMEI packet received {"connection_id":162504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":162504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:23:42] local.INFO: TCP Data received {"connection_id":162504,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:23:42] local.INFO: Processing buffer {"connection_id":162504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:23:42] local.INFO: Packet analysis {"connection_id":162504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03efa"} 
[2026-08-26 22:23:42] local.INFO: Extracted packet for processing {"connection_id":162504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03efa"} 
[2026-08-26 22:23:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667247616001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22: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-26 22:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787762987000,"timestamp_ms":1787762987000,"timestamp_seconds":1787762987,"priority":1,"record_length":96,"hex_timestamp":"000001a03efa4ff8"} 
[2026-08-26 22: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-26 22:23: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-26 22: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-26 22: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-26 22: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-26 22: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-26 22:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667247616001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667247616001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:23:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:23:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667247616001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":162504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:23:42] local.INFO: GPS data processed {"connection_id":162504,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:23:42] local.INFO: Acknowledgment sent {"connection_id":162504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:24:13] local.INFO: TCP Data received {"connection_id":162504,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:24:13] local.INFO: Processing buffer {"connection_id":162504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:24:13] local.INFO: Packet analysis {"connection_id":162504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03efa"} 
[2026-08-26 22:24:13] local.INFO: Extracted packet for processing {"connection_id":162504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03efa"} 
[2026-08-26 22:24:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667247616001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:24: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-26 22:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787762987000,"timestamp_ms":1787762987000,"timestamp_seconds":1787762987,"priority":1,"record_length":96,"hex_timestamp":"000001a03efa4ff8"} 
[2026-08-26 22:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:24: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-26 22:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:24: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-26 22:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667247616001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667247616001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:24:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:24:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667247616001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":162504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:24:13] local.INFO: GPS data processed {"connection_id":162504,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:24:13] local.INFO: Acknowledgment sent {"connection_id":162504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:24:35] local.INFO: TCP Data received {"connection_id":165137,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:24:35] local.INFO: Processing buffer {"connection_id":165137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:24:35] local.INFO: IMEI packet received {"connection_id":165137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":165137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:24:41] local.INFO: TCP Data received {"connection_id":165137,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:24:41] local.INFO: Processing buffer {"connection_id":165137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:24:41] local.INFO: IMEI packet received {"connection_id":165137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":165137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:24:42] local.INFO: TCP Data received {"connection_id":165137,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:24:42] local.INFO: Processing buffer {"connection_id":165137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:24:42] local.INFO: Packet analysis {"connection_id":165137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03efa"} 
[2026-08-26 22:24:42] local.INFO: Extracted packet for processing {"connection_id":165137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03efa"} 
[2026-08-26 22:24:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667247616001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:24: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-26 22:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787762987000,"timestamp_ms":1787762987000,"timestamp_seconds":1787762987,"priority":1,"record_length":96,"hex_timestamp":"000001a03efa4ff8"} 
[2026-08-26 22:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:24: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-26 22:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:24: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-26 22:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667247616001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667247616001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:24:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:24:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667247616001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":165137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:24:42] local.INFO: GPS data processed {"connection_id":165137,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:24:42] local.INFO: Acknowledgment sent {"connection_id":165137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:25:14] local.INFO: TCP Data received {"connection_id":165137,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:25:14] local.INFO: Processing buffer {"connection_id":165137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03efa4ff8012d34c14006aa4818000d00e62c..."} 
[2026-08-26 22:25:14] local.INFO: Packet analysis {"connection_id":165137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03efa"} 
[2026-08-26 22:25:14] local.INFO: Extracted packet for processing {"connection_id":165137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03efa"} 
[2026-08-26 22:25:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667247616001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:25: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-26 22:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787762987000,"timestamp_ms":1787762987000,"timestamp_seconds":1787762987,"priority":1,"record_length":96,"hex_timestamp":"000001a03efa4ff8"} 
[2026-08-26 22:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:25: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-26 22:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:25: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-26 22:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667247616001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667247616001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:25:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:25:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667247616001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":165137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:25:14] local.INFO: GPS data processed {"connection_id":165137,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:25:14] local.INFO: Acknowledgment sent {"connection_id":165137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:25:41] local.INFO: TCP Data received {"connection_id":165138,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:25:41] local.INFO: Processing buffer {"connection_id":165138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:25:41] local.INFO: IMEI packet received {"connection_id":165138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":165138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:25:46] local.INFO: TCP Data received {"connection_id":165138,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:25:46] local.INFO: Processing buffer {"connection_id":165138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:25:46] local.INFO: IMEI packet received {"connection_id":165138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":165138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:25:47] local.INFO: TCP Data received {"connection_id":165138,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:25:47] local.INFO: Processing buffer {"connection_id":165138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:25:47] local.INFO: Packet analysis {"connection_id":165138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03efe"} 
[2026-08-26 22:25:47] local.INFO: Extracted packet for processing {"connection_id":165138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03efe"} 
[2026-08-26 22:25:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 22:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667324672001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:25: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-26 22:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787763288000,"timestamp_ms":1787763288000,"timestamp_seconds":1787763288,"priority":1,"record_length":96,"hex_timestamp":"000001a03efee7c0"} 
[2026-08-26 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-26 22:25: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-26 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 22:25: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-26 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-26 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-26 22:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667324672001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667324672001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:25:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:25:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667324672001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":165138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:25:47] local.INFO: GPS data processed {"connection_id":165138,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:25:47] local.INFO: Acknowledgment sent {"connection_id":165138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:25:51] local.INFO: TCP Data received {"connection_id":165138,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:25:51] local.INFO: Processing buffer {"connection_id":165138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:25:51] local.INFO: Packet analysis {"connection_id":165138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03efe"} 
[2026-08-26 22:25:51] local.INFO: Extracted packet for processing {"connection_id":165138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03efe"} 
[2026-08-26 22:25:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667324672001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 22:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787763288000,"timestamp_ms":1787763288000,"timestamp_seconds":1787763288,"priority":1,"record_length":96,"hex_timestamp":"000001a03efee7c0"} 
[2026-08-26 22: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-26 22:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 22:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 22: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-26 22: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-26 22:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":165138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":165138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":165138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667324672001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667324672001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:25:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:25:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667324672001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":165138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:25:51] local.INFO: GPS data processed {"connection_id":165138,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:25:51] local.INFO: Acknowledgment sent {"connection_id":165138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:26:36] local.INFO: TCP Data received {"connection_id":162505,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:26:36] local.INFO: Processing buffer {"connection_id":162505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:26:36] local.INFO: IMEI packet received {"connection_id":162505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":162505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:26:41] local.INFO: TCP Data received {"connection_id":162505,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:26:41] local.INFO: Processing buffer {"connection_id":162505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:26:41] local.INFO: IMEI packet received {"connection_id":162505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":162505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:26:42] local.INFO: TCP Data received {"connection_id":162505,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:26:42] local.INFO: Processing buffer {"connection_id":162505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:26:42] local.INFO: Packet analysis {"connection_id":162505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03efe"} 
[2026-08-26 22:26:42] local.INFO: Extracted packet for processing {"connection_id":162505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03efe"} 
[2026-08-26 22:26:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667324672001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:26: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-26 22:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787763288000,"timestamp_ms":1787763288000,"timestamp_seconds":1787763288,"priority":1,"record_length":96,"hex_timestamp":"000001a03efee7c0"} 
[2026-08-26 22:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:26: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-26 22:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 22:26: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-26 22:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667324672001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667324672001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:26:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:26:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667324672001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":162505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:26:42] local.INFO: GPS data processed {"connection_id":162505,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:26:42] local.INFO: Acknowledgment sent {"connection_id":162505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:27:13] local.INFO: TCP Data received {"connection_id":162505,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:27:13] local.INFO: Processing buffer {"connection_id":162505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:27:13] local.INFO: Packet analysis {"connection_id":162505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03efe"} 
[2026-08-26 22:27:13] local.INFO: Extracted packet for processing {"connection_id":162505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03efe"} 
[2026-08-26 22:27:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667324672001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:27: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-26 22:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787763288000,"timestamp_ms":1787763288000,"timestamp_seconds":1787763288,"priority":1,"record_length":96,"hex_timestamp":"000001a03efee7c0"} 
[2026-08-26 22:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:27: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-26 22:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 22:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 22:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667324672001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667324672001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:27:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:27:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667324672001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":162505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:27:13] local.INFO: GPS data processed {"connection_id":162505,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:27:13] local.INFO: Acknowledgment sent {"connection_id":162505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:27:35] local.INFO: TCP Data received {"connection_id":162766,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:27:35] local.INFO: Processing buffer {"connection_id":162766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:27:35] local.INFO: IMEI packet received {"connection_id":162766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":162766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:27:41] local.INFO: TCP Data received {"connection_id":162766,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:27:41] local.INFO: Processing buffer {"connection_id":162766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:27:41] local.INFO: IMEI packet received {"connection_id":162766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":162766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:27:42] local.INFO: TCP Data received {"connection_id":162766,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:27:42] local.INFO: Processing buffer {"connection_id":162766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:27:42] local.INFO: Packet analysis {"connection_id":162766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03efe"} 
[2026-08-26 22:27:42] local.INFO: Extracted packet for processing {"connection_id":162766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03efe"} 
[2026-08-26 22:27:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667324672001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:27: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-26 22:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787763288000,"timestamp_ms":1787763288000,"timestamp_seconds":1787763288,"priority":1,"record_length":96,"hex_timestamp":"000001a03efee7c0"} 
[2026-08-26 22: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-26 22:27: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-26 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 22:27: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-26 22: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-26 22: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-26 22:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667324672001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667324672001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:27:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:27:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667324672001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":162766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:27:42] local.INFO: GPS data processed {"connection_id":162766,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:27:42] local.INFO: Acknowledgment sent {"connection_id":162766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:28:13] local.INFO: TCP Data received {"connection_id":162766,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:28:13] local.INFO: Processing buffer {"connection_id":162766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:28:13] local.INFO: Packet analysis {"connection_id":162766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03efe"} 
[2026-08-26 22:28:13] local.INFO: Extracted packet for processing {"connection_id":162766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03efe"} 
[2026-08-26 22:28:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667324672001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:28: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-26 22:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787763288000,"timestamp_ms":1787763288000,"timestamp_seconds":1787763288,"priority":1,"record_length":96,"hex_timestamp":"000001a03efee7c0"} 
[2026-08-26 22: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-26 22:28: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-26 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 22:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 22: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-26 22: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-26 22:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667324672001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667324672001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:28:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:28:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667324672001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":162766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:28:13] local.INFO: GPS data processed {"connection_id":162766,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:28:13] local.INFO: Acknowledgment sent {"connection_id":162766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:28:35] local.INFO: TCP Data received {"connection_id":162767,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:28:35] local.INFO: Processing buffer {"connection_id":162767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:28:35] local.INFO: IMEI packet received {"connection_id":162767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":162767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:28:41] local.INFO: TCP Data received {"connection_id":162767,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:28:41] local.INFO: Processing buffer {"connection_id":162767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:28:41] local.INFO: IMEI packet received {"connection_id":162767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":162767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:28:42] local.INFO: TCP Data received {"connection_id":162767,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:28:42] local.INFO: Processing buffer {"connection_id":162767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:28:42] local.INFO: Packet analysis {"connection_id":162767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03efe"} 
[2026-08-26 22:28:42] local.INFO: Extracted packet for processing {"connection_id":162767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03efe"} 
[2026-08-26 22:28:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667324672001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22: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-26 22:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787763288000,"timestamp_ms":1787763288000,"timestamp_seconds":1787763288,"priority":1,"record_length":96,"hex_timestamp":"000001a03efee7c0"} 
[2026-08-26 22: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-26 22:28: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-26 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 22:28: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-26 22: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-26 22: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-26 22:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667324672001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667324672001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:28:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:28:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667324672001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":162767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:28:42] local.INFO: GPS data processed {"connection_id":162767,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:28:42] local.INFO: Acknowledgment sent {"connection_id":162767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:29:13] local.INFO: TCP Data received {"connection_id":162767,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:29:13] local.INFO: Processing buffer {"connection_id":162767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:29:13] local.INFO: Packet analysis {"connection_id":162767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03efe"} 
[2026-08-26 22:29:13] local.INFO: Extracted packet for processing {"connection_id":162767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03efe"} 
[2026-08-26 22:29:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667324672001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:29: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-26 22:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787763288000,"timestamp_ms":1787763288000,"timestamp_seconds":1787763288,"priority":1,"record_length":96,"hex_timestamp":"000001a03efee7c0"} 
[2026-08-26 22: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-26 22:29: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-26 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 22:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 22: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-26 22: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-26 22:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667324672001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667324672001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:29:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:29:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667324672001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":162767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:29:13] local.INFO: GPS data processed {"connection_id":162767,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:29:13] local.INFO: Acknowledgment sent {"connection_id":162767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:29:41] local.INFO: TCP Data received {"connection_id":162506,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:29:41] local.INFO: Processing buffer {"connection_id":162506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:29:41] local.INFO: IMEI packet received {"connection_id":162506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":162506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:29:46] local.INFO: TCP Data received {"connection_id":162506,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:29:46] local.INFO: Processing buffer {"connection_id":162506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:29:46] local.INFO: IMEI packet received {"connection_id":162506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":162506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:29:47] local.INFO: TCP Data received {"connection_id":162506,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:29:47] local.INFO: Processing buffer {"connection_id":162506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:29:47] local.INFO: Packet analysis {"connection_id":162506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03efe"} 
[2026-08-26 22:29:47] local.INFO: Extracted packet for processing {"connection_id":162506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03efe"} 
[2026-08-26 22:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 22:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667324672001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:29: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-26 22:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787763288000,"timestamp_ms":1787763288000,"timestamp_seconds":1787763288,"priority":1,"record_length":96,"hex_timestamp":"000001a03efee7c0"} 
[2026-08-26 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-26 22:29: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-26 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 22:29: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-26 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-26 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-26 22:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667324672001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667324672001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:29:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:29:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667324672001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":162506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:29:47] local.INFO: GPS data processed {"connection_id":162506,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:29:47] local.INFO: Acknowledgment sent {"connection_id":162506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:29:51] local.INFO: TCP Data received {"connection_id":162506,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:29:51] local.INFO: Processing buffer {"connection_id":162506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03efee7c0012d34c14006aa4818000900e62e..."} 
[2026-08-26 22:29:51] local.INFO: Packet analysis {"connection_id":162506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03efe"} 
[2026-08-26 22:29:51] local.INFO: Extracted packet for processing {"connection_id":162506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03efe"} 
[2026-08-26 22:29:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667324672001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 22:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787763288000,"timestamp_ms":1787763288000,"timestamp_seconds":1787763288,"priority":1,"record_length":96,"hex_timestamp":"000001a03efee7c0"} 
[2026-08-26 22: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-26 22:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 22:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 22: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-26 22: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-26 22:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667324672001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667324672001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:29:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:29:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667324672001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":162506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:29:51] local.INFO: GPS data processed {"connection_id":162506,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:29:51] local.INFO: Acknowledgment sent {"connection_id":162506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:30:36] local.INFO: TCP Data received {"connection_id":162768,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:30:36] local.INFO: Processing buffer {"connection_id":162768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:30:36] local.INFO: IMEI packet received {"connection_id":162768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":162768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:30:41] local.INFO: TCP Data received {"connection_id":162768,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:30:41] local.INFO: Processing buffer {"connection_id":162768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:30:41] local.INFO: IMEI packet received {"connection_id":162768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":162768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:30:42] local.INFO: TCP Data received {"connection_id":162768,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:30:42] local.INFO: Processing buffer {"connection_id":162768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:30:42] local.INFO: Packet analysis {"connection_id":162768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f03"} 
[2026-08-26 22:30:42] local.INFO: Extracted packet for processing {"connection_id":162768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f03"} 
[2026-08-26 22:30:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667401728001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:30: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-26 22:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787763589000,"timestamp_ms":1787763589000,"timestamp_seconds":1787763589,"priority":1,"record_length":96,"hex_timestamp":"000001a03f037f88"} 
[2026-08-26 22:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:30: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-26 22:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 22:30: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-26 22:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667401728001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 22:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667401728001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:30:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:30:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667401728001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":162768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:30:43] local.INFO: GPS data processed {"connection_id":162768,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:30:43] local.INFO: Acknowledgment sent {"connection_id":162768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:31:35] local.INFO: TCP Data received {"connection_id":162507,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:31:35] local.INFO: Processing buffer {"connection_id":162507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:31:35] local.INFO: IMEI packet received {"connection_id":162507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":162507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:31:41] local.INFO: TCP Data received {"connection_id":162507,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:31:41] local.INFO: Processing buffer {"connection_id":162507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:31:41] local.INFO: IMEI packet received {"connection_id":162507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":162507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:31:42] local.INFO: TCP Data received {"connection_id":162507,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:31:42] local.INFO: Processing buffer {"connection_id":162507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:31:42] local.INFO: Packet analysis {"connection_id":162507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f03"} 
[2026-08-26 22:31:42] local.INFO: Extracted packet for processing {"connection_id":162507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f03"} 
[2026-08-26 22:31:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667401728001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:31: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-26 22:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787763589000,"timestamp_ms":1787763589000,"timestamp_seconds":1787763589,"priority":1,"record_length":96,"hex_timestamp":"000001a03f037f88"} 
[2026-08-26 22:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:31: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-26 22:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 22:31: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-26 22:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:31: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-26 22:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667401728001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667401728001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:31:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:31:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667401728001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":162507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:31:42] local.INFO: GPS data processed {"connection_id":162507,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:31:42] local.INFO: Acknowledgment sent {"connection_id":162507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:32:14] local.INFO: TCP Data received {"connection_id":162507,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:32:14] local.INFO: Processing buffer {"connection_id":162507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:32:14] local.INFO: Packet analysis {"connection_id":162507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f03"} 
[2026-08-26 22:32:14] local.INFO: Extracted packet for processing {"connection_id":162507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f03"} 
[2026-08-26 22:32:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667401728001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:32: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-26 22:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787763589000,"timestamp_ms":1787763589000,"timestamp_seconds":1787763589,"priority":1,"record_length":96,"hex_timestamp":"000001a03f037f88"} 
[2026-08-26 22:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:32: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-26 22:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 22:32: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-26 22:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:32: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-26 22:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667401728001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667401728001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:32:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:32:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667401728001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":162507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:32:14] local.INFO: GPS data processed {"connection_id":162507,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:32:14] local.INFO: Acknowledgment sent {"connection_id":162507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:32:35] local.INFO: TCP Data received {"connection_id":165140,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:32:35] local.INFO: Processing buffer {"connection_id":165140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:32:35] local.INFO: IMEI packet received {"connection_id":165140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":165140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:32:41] local.INFO: TCP Data received {"connection_id":165140,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:32:41] local.INFO: Processing buffer {"connection_id":165140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:32:41] local.INFO: IMEI packet received {"connection_id":165140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":165140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:32:42] local.INFO: TCP Data received {"connection_id":165140,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:32:42] local.INFO: Processing buffer {"connection_id":165140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:32:42] local.INFO: Packet analysis {"connection_id":165140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f03"} 
[2026-08-26 22:32:42] local.INFO: Extracted packet for processing {"connection_id":165140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f03"} 
[2026-08-26 22:32:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667401728001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:32: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-26 22:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787763589000,"timestamp_ms":1787763589000,"timestamp_seconds":1787763589,"priority":1,"record_length":96,"hex_timestamp":"000001a03f037f88"} 
[2026-08-26 22: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-26 22:32: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-26 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 22:32: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-26 22: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-26 22: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-26 22:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:32: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-26 22:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667401728001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667401728001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:32:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:32:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667401728001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":165140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:32:42] local.INFO: GPS data processed {"connection_id":165140,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:32:42] local.INFO: Acknowledgment sent {"connection_id":165140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:33:13] local.INFO: TCP Data received {"connection_id":165140,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:33:13] local.INFO: Processing buffer {"connection_id":165140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:33:13] local.INFO: Packet analysis {"connection_id":165140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f03"} 
[2026-08-26 22:33:13] local.INFO: Extracted packet for processing {"connection_id":165140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f03"} 
[2026-08-26 22:33:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667401728001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:33: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-26 22:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787763589000,"timestamp_ms":1787763589000,"timestamp_seconds":1787763589,"priority":1,"record_length":96,"hex_timestamp":"000001a03f037f88"} 
[2026-08-26 22: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-26 22:33: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-26 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 22:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 22: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-26 22: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-26 22:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667401728001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667401728001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:33:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:33:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667401728001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":165140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:33:13] local.INFO: GPS data processed {"connection_id":165140,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:33:13] local.INFO: Acknowledgment sent {"connection_id":165140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:33:40] local.INFO: TCP Data received {"connection_id":165141,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:33:40] local.INFO: Processing buffer {"connection_id":165141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:33:40] local.INFO: IMEI packet received {"connection_id":165141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":165141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:33:46] local.INFO: TCP Data received {"connection_id":165141,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:33:46] local.INFO: Processing buffer {"connection_id":165141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:33:46] local.INFO: IMEI packet received {"connection_id":165141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":165141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:33:47] local.INFO: TCP Data received {"connection_id":165141,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:33:47] local.INFO: Processing buffer {"connection_id":165141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:33:47] local.INFO: Packet analysis {"connection_id":165141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f03"} 
[2026-08-26 22:33:47] local.INFO: Extracted packet for processing {"connection_id":165141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f03"} 
[2026-08-26 22:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 22:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667401728001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:33: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-26 22:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787763589000,"timestamp_ms":1787763589000,"timestamp_seconds":1787763589,"priority":1,"record_length":96,"hex_timestamp":"000001a03f037f88"} 
[2026-08-26 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-26 22: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-26 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 22:33: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-26 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-26 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-26 22:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:33:47] 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-26 22:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667401728001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667401728001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:33:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:33:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667401728001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":165141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:33:47] local.INFO: GPS data processed {"connection_id":165141,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:33:47] local.INFO: Acknowledgment sent {"connection_id":165141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:33:52] local.INFO: TCP Data received {"connection_id":165141,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:33:52] local.INFO: Processing buffer {"connection_id":165141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:33:52] local.INFO: Packet analysis {"connection_id":165141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f03"} 
[2026-08-26 22:33:52] local.INFO: Extracted packet for processing {"connection_id":165141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f03"} 
[2026-08-26 22:33:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667401728001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:33: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-26 22:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787763589000,"timestamp_ms":1787763589000,"timestamp_seconds":1787763589,"priority":1,"record_length":96,"hex_timestamp":"000001a03f037f88"} 
[2026-08-26 22: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-26 22:33: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-26 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 22:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 22: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-26 22: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-26 22:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667401728001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667401728001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:33:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:33:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667401728001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":165141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:33:52] local.INFO: GPS data processed {"connection_id":165141,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:33:52] local.INFO: Acknowledgment sent {"connection_id":165141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:34:36] local.INFO: TCP Data received {"connection_id":165142,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:34:36] local.INFO: Processing buffer {"connection_id":165142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:34:36] local.INFO: IMEI packet received {"connection_id":165142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":165142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:34:41] local.INFO: TCP Data received {"connection_id":165142,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:34:41] local.INFO: Processing buffer {"connection_id":165142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:34:41] local.INFO: IMEI packet received {"connection_id":165142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":165142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:34:42] local.INFO: TCP Data received {"connection_id":165142,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:34:42] local.INFO: Processing buffer {"connection_id":165142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:34:42] local.INFO: Packet analysis {"connection_id":165142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f03"} 
[2026-08-26 22:34:42] local.INFO: Extracted packet for processing {"connection_id":165142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f03"} 
[2026-08-26 22:34:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667401728001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22: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-26 22:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787763589000,"timestamp_ms":1787763589000,"timestamp_seconds":1787763589,"priority":1,"record_length":96,"hex_timestamp":"000001a03f037f88"} 
[2026-08-26 22: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-26 22:34: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-26 22: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-26 22: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-26 22: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-26 22: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-26 22:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:34: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-26 22:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667401728001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667401728001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:34:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:34:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667401728001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":165142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:34:42] local.INFO: GPS data processed {"connection_id":165142,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:34:42] local.INFO: Acknowledgment sent {"connection_id":165142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:35:13] local.INFO: TCP Data received {"connection_id":165142,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:35:13] local.INFO: Processing buffer {"connection_id":165142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f037f88012d34c14006aa4818000600e62e..."} 
[2026-08-26 22:35:13] local.INFO: Packet analysis {"connection_id":165142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f03"} 
[2026-08-26 22:35:13] local.INFO: Extracted packet for processing {"connection_id":165142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f03"} 
[2026-08-26 22:35:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667401728001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:35: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-26 22:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787763589000,"timestamp_ms":1787763589000,"timestamp_seconds":1787763589,"priority":1,"record_length":96,"hex_timestamp":"000001a03f037f88"} 
[2026-08-26 22: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-26 22:35: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-26 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 22:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 22: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-26 22: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-26 22:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:35: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-26 22:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667401728001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667401728001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:35:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:35:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667401728001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":165142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:35:13] local.INFO: GPS data processed {"connection_id":165142,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:35:13] local.INFO: Acknowledgment sent {"connection_id":165142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:35:36] local.INFO: TCP Data received {"connection_id":163787,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:35:36] local.INFO: Processing buffer {"connection_id":163787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:35:36] local.INFO: IMEI packet received {"connection_id":163787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":163787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:35:40] local.INFO: TCP Data received {"connection_id":163787,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:35:40] local.INFO: Processing buffer {"connection_id":163787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:35:40] local.INFO: IMEI packet received {"connection_id":163787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":163787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:35:42] local.INFO: TCP Data received {"connection_id":163787,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:35:42] local.INFO: Processing buffer {"connection_id":163787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:35:42] local.INFO: Packet analysis {"connection_id":163787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f08"} 
[2026-08-26 22:35:42] local.INFO: Extracted packet for processing {"connection_id":163787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f08"} 
[2026-08-26 22:35:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667478784001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:35: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-26 22:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787763889000,"timestamp_ms":1787763889000,"timestamp_seconds":1787763889,"priority":1,"record_length":96,"hex_timestamp":"000001a03f081368"} 
[2026-08-26 22:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:35: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-26 22:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:35: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-26 22:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667478784001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667478784001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:35:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:35:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667478784001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":163787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:35:42] local.INFO: GPS data processed {"connection_id":163787,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:35:42] local.INFO: Acknowledgment sent {"connection_id":163787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:36:13] local.INFO: TCP Data received {"connection_id":163787,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:36:13] local.INFO: Processing buffer {"connection_id":163787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:36:13] local.INFO: Packet analysis {"connection_id":163787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f08"} 
[2026-08-26 22:36:13] local.INFO: Extracted packet for processing {"connection_id":163787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f08"} 
[2026-08-26 22:36:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667478784001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:36: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-26 22:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787763889000,"timestamp_ms":1787763889000,"timestamp_seconds":1787763889,"priority":1,"record_length":96,"hex_timestamp":"000001a03f081368"} 
[2026-08-26 22: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-26 22:36: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-26 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:36: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-26 22: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-26 22: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-26 22:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:36:13] 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-26 22:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667478784001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667478784001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:36:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:36:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667478784001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":163787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:36:13] local.INFO: GPS data processed {"connection_id":163787,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:36:13] local.INFO: Acknowledgment sent {"connection_id":163787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:36:41] local.INFO: TCP Data received {"connection_id":165143,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:36:41] local.INFO: Processing buffer {"connection_id":165143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:36:41] local.INFO: IMEI packet received {"connection_id":165143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":165143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:36:49] local.INFO: TCP Data received {"connection_id":165143,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:36:49] local.INFO: Processing buffer {"connection_id":165143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:36:49] local.INFO: IMEI packet received {"connection_id":165143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":165143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:36:50] local.INFO: TCP Data received {"connection_id":165143,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:36:50] local.INFO: Processing buffer {"connection_id":165143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:36:50] local.INFO: IMEI packet received {"connection_id":165143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":165143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:36:56] local.INFO: TCP Data received {"connection_id":165143,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:36:56] local.INFO: Processing buffer {"connection_id":165143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:36:56] local.INFO: IMEI packet received {"connection_id":165143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":165143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:36:57] local.INFO: TCP Data received {"connection_id":165143,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:36:57] local.INFO: Processing buffer {"connection_id":165143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:36:57] local.INFO: Packet analysis {"connection_id":165143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f08"} 
[2026-08-26 22:36:57] local.INFO: Extracted packet for processing {"connection_id":165143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f08"} 
[2026-08-26 22:36:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667478784001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:36: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-26 22:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787763889000,"timestamp_ms":1787763889000,"timestamp_seconds":1787763889,"priority":1,"record_length":96,"hex_timestamp":"000001a03f081368"} 
[2026-08-26 22:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:36: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-26 22:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:36: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-26 22:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":165143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":165143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":165143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667478784001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667478784001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:36:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:36:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667478784001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":165143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:36:57] local.INFO: GPS data processed {"connection_id":165143,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:36:57] local.INFO: Acknowledgment sent {"connection_id":165143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:37:01] local.INFO: TCP Data received {"connection_id":165143,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:37:01] local.INFO: Processing buffer {"connection_id":165143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:37:01] local.INFO: Packet analysis {"connection_id":165143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f08"} 
[2026-08-26 22:37:01] local.INFO: Extracted packet for processing {"connection_id":165143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f08"} 
[2026-08-26 22:37:01] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667478784001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:37: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-26 22:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787763889000,"timestamp_ms":1787763889000,"timestamp_seconds":1787763889,"priority":1,"record_length":96,"hex_timestamp":"000001a03f081368"} 
[2026-08-26 22: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-26 22:37: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-26 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:37: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-26 22: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-26 22: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-26 22:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":165143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":165143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":165143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667478784001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667478784001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:37:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:37:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667478784001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":165143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:37:01] local.INFO: GPS data processed {"connection_id":165143,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:37:01] local.INFO: Acknowledgment sent {"connection_id":165143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:37:36] local.INFO: TCP Data received {"connection_id":162508,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:37:36] local.INFO: Processing buffer {"connection_id":162508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:37:36] local.INFO: IMEI packet received {"connection_id":162508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":162508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:37:40] local.INFO: TCP Data received {"connection_id":162508,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:37:40] local.INFO: Processing buffer {"connection_id":162508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:37:40] local.INFO: IMEI packet received {"connection_id":162508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":162508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:37:41] local.INFO: TCP Data received {"connection_id":162508,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:37:41] local.INFO: Processing buffer {"connection_id":162508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:37:41] local.INFO: Packet analysis {"connection_id":162508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f08"} 
[2026-08-26 22:37:41] local.INFO: Extracted packet for processing {"connection_id":162508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f08"} 
[2026-08-26 22:37:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667478784001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:37: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-26 22:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787763889000,"timestamp_ms":1787763889000,"timestamp_seconds":1787763889,"priority":1,"record_length":96,"hex_timestamp":"000001a03f081368"} 
[2026-08-26 22:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:37: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-26 22:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:37: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-26 22:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:37: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-26 22:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667478784001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667478784001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:37:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:37:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667478784001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":162508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:37:41] local.INFO: GPS data processed {"connection_id":162508,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:37:41] local.INFO: Acknowledgment sent {"connection_id":162508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:38:13] local.INFO: TCP Data received {"connection_id":162508,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:38:13] local.INFO: Processing buffer {"connection_id":162508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:38:13] local.INFO: Packet analysis {"connection_id":162508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f08"} 
[2026-08-26 22:38:13] local.INFO: Extracted packet for processing {"connection_id":162508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f08"} 
[2026-08-26 22:38:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667478784001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:38: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-26 22:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787763889000,"timestamp_ms":1787763889000,"timestamp_seconds":1787763889,"priority":1,"record_length":96,"hex_timestamp":"000001a03f081368"} 
[2026-08-26 22: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-26 22:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 22: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:38: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-26 22: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-26 22: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-26 22:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:38: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-26 22:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667478784001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667478784001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:38:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:38:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667478784001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":162508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:38:13] local.INFO: GPS data processed {"connection_id":162508,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:38:13] local.INFO: Acknowledgment sent {"connection_id":162508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:38:36] local.INFO: TCP Data received {"connection_id":165144,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:38:36] local.INFO: Processing buffer {"connection_id":165144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:38:36] local.INFO: IMEI packet received {"connection_id":165144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":165144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:38:41] local.INFO: TCP Data received {"connection_id":165144,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:38:41] local.INFO: Processing buffer {"connection_id":165144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:38:41] local.INFO: IMEI packet received {"connection_id":165144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":165144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:38:42] local.INFO: TCP Data received {"connection_id":165144,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:38:42] local.INFO: Processing buffer {"connection_id":165144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:38:42] local.INFO: Packet analysis {"connection_id":165144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f08"} 
[2026-08-26 22:38:42] local.INFO: Extracted packet for processing {"connection_id":165144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f08"} 
[2026-08-26 22:38:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667478784001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22: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-26 22:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787763889000,"timestamp_ms":1787763889000,"timestamp_seconds":1787763889,"priority":1,"record_length":96,"hex_timestamp":"000001a03f081368"} 
[2026-08-26 22: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-26 22:38: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-26 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:38: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-26 22: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-26 22: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-26 22:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667478784001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667478784001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:38:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:38:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667478784001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":165144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:38:42] local.INFO: GPS data processed {"connection_id":165144,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:38:42] local.INFO: Acknowledgment sent {"connection_id":165144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:39:13] local.INFO: TCP Data received {"connection_id":165144,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:39:13] local.INFO: Processing buffer {"connection_id":165144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:39:13] local.INFO: Packet analysis {"connection_id":165144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f08"} 
[2026-08-26 22:39:13] local.INFO: Extracted packet for processing {"connection_id":165144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f08"} 
[2026-08-26 22:39:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667478784001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:39: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-26 22:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787763889000,"timestamp_ms":1787763889000,"timestamp_seconds":1787763889,"priority":1,"record_length":96,"hex_timestamp":"000001a03f081368"} 
[2026-08-26 22: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-26 22: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-26 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:39: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-26 22: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-26 22: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-26 22:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:39:13] 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-26 22:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667478784001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667478784001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:39:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:39:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667478784001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":165144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:39:13] local.INFO: GPS data processed {"connection_id":165144,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:39:13] local.INFO: Acknowledgment sent {"connection_id":165144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:39:35] local.INFO: TCP Data received {"connection_id":163788,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:39:35] local.INFO: Processing buffer {"connection_id":163788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:39:35] local.INFO: IMEI packet received {"connection_id":163788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":163788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:39:41] local.INFO: TCP Data received {"connection_id":163788,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:39:41] local.INFO: Processing buffer {"connection_id":163788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:39:41] local.INFO: IMEI packet received {"connection_id":163788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":163788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:39:42] local.INFO: TCP Data received {"connection_id":163788,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:39:42] local.INFO: Processing buffer {"connection_id":163788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:39:42] local.INFO: Packet analysis {"connection_id":163788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f08"} 
[2026-08-26 22:39:42] local.INFO: Extracted packet for processing {"connection_id":163788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f08"} 
[2026-08-26 22:39:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667478784001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:39: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-26 22:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787763889000,"timestamp_ms":1787763889000,"timestamp_seconds":1787763889,"priority":1,"record_length":96,"hex_timestamp":"000001a03f081368"} 
[2026-08-26 22:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:39: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-26 22:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:39: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-26 22:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:39:42] 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-26 22:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667478784001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667478784001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:39:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:39:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667478784001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":163788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:39:42] local.INFO: GPS data processed {"connection_id":163788,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:39:42] local.INFO: Acknowledgment sent {"connection_id":163788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:40:14] local.INFO: TCP Data received {"connection_id":163788,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:40:14] local.INFO: Processing buffer {"connection_id":163788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f081368012d34c14006aa4818000c00e62d..."} 
[2026-08-26 22:40:14] local.INFO: Packet analysis {"connection_id":163788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f08"} 
[2026-08-26 22:40:14] local.INFO: Extracted packet for processing {"connection_id":163788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f08"} 
[2026-08-26 22:40:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667478784001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:40: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-26 22:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787763889000,"timestamp_ms":1787763889000,"timestamp_seconds":1787763889,"priority":1,"record_length":96,"hex_timestamp":"000001a03f081368"} 
[2026-08-26 22: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-26 22:40: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-26 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:40: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-26 22: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-26 22: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-26 22:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:40: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-26 22:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667478784001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667478784001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:40:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:40:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667478784001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":163788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:40:14] local.INFO: GPS data processed {"connection_id":163788,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:40:14] local.INFO: Acknowledgment sent {"connection_id":163788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:40:35] local.INFO: TCP Data received {"connection_id":165146,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:40:35] local.INFO: Processing buffer {"connection_id":165146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:40:35] local.INFO: IMEI packet received {"connection_id":165146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":165146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:40:41] local.INFO: TCP Data received {"connection_id":165146,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:40:41] local.INFO: Processing buffer {"connection_id":165146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:40:41] local.INFO: IMEI packet received {"connection_id":165146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":165146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:40:41] local.INFO: TCP Data received {"connection_id":165146,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:40:41] local.INFO: Processing buffer {"connection_id":165146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:40:41] local.INFO: Packet analysis {"connection_id":165146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f0c"} 
[2026-08-26 22:40:41] local.INFO: Extracted packet for processing {"connection_id":165146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f0c"} 
[2026-08-26 22:40:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667555584001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:40: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-26 22:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787764190000,"timestamp_ms":1787764190000,"timestamp_seconds":1787764190,"priority":1,"record_length":96,"hex_timestamp":"000001a03f0cab30"} 
[2026-08-26 22:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:40: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-26 22:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:40: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-26 22:40: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-26 22:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":165146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":165146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":165146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:40: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-26 22:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667555584001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667555584001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:40:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:40:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667555584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":165146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:40:41] local.INFO: GPS data processed {"connection_id":165146,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:40:41] local.INFO: Acknowledgment sent {"connection_id":165146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:41:13] local.INFO: TCP Data received {"connection_id":165146,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:41:13] local.INFO: Processing buffer {"connection_id":165146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:41:13] local.INFO: Packet analysis {"connection_id":165146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f0c"} 
[2026-08-26 22:41:13] local.INFO: Extracted packet for processing {"connection_id":165146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f0c"} 
[2026-08-26 22:41:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667555584001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:41: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-26 22:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787764190000,"timestamp_ms":1787764190000,"timestamp_seconds":1787764190,"priority":1,"record_length":96,"hex_timestamp":"000001a03f0cab30"} 
[2026-08-26 22:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 22:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:41: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-26 22:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667555584001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667555584001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:41:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:41:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667555584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":165146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:41:13] local.INFO: GPS data processed {"connection_id":165146,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:41:13] local.INFO: Acknowledgment sent {"connection_id":165146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:41:36] local.INFO: TCP Data received {"connection_id":165147,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:41:36] local.INFO: Processing buffer {"connection_id":165147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:41:36] local.INFO: IMEI packet received {"connection_id":165147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":165147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:41:41] local.INFO: TCP Data received {"connection_id":165147,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:41:41] local.INFO: Processing buffer {"connection_id":165147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:41:41] local.INFO: IMEI packet received {"connection_id":165147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":165147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:41:43] local.INFO: TCP Data received {"connection_id":165147,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:41:43] local.INFO: Processing buffer {"connection_id":165147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:41:43] local.INFO: Packet analysis {"connection_id":165147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f0c"} 
[2026-08-26 22:41:43] local.INFO: Extracted packet for processing {"connection_id":165147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f0c"} 
[2026-08-26 22:41:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667555584001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:41: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-26 22:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787764190000,"timestamp_ms":1787764190000,"timestamp_seconds":1787764190,"priority":1,"record_length":96,"hex_timestamp":"000001a03f0cab30"} 
[2026-08-26 22:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:41: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-26 22:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:41: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-26 22:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:41:43] 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-26 22:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667555584001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667555584001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:41:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:41:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667555584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":165147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:41:43] local.INFO: GPS data processed {"connection_id":165147,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:41:43] local.INFO: Acknowledgment sent {"connection_id":165147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:42:14] local.INFO: TCP Data received {"connection_id":165147,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:42:14] local.INFO: Processing buffer {"connection_id":165147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:42:14] local.INFO: Packet analysis {"connection_id":165147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f0c"} 
[2026-08-26 22:42:14] local.INFO: Extracted packet for processing {"connection_id":165147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f0c"} 
[2026-08-26 22:42:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667555584001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:42: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-26 22:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787764190000,"timestamp_ms":1787764190000,"timestamp_seconds":1787764190,"priority":1,"record_length":96,"hex_timestamp":"000001a03f0cab30"} 
[2026-08-26 22: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-26 22:42: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-26 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:42: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-26 22: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-26 22: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-26 22:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:42: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-26 22:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667555584001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667555584001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:42:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:42:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667555584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":165147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:42:14] local.INFO: GPS data processed {"connection_id":165147,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:42:14] local.INFO: Acknowledgment sent {"connection_id":165147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:42:36] local.INFO: TCP Data received {"connection_id":162509,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:42:36] local.INFO: Processing buffer {"connection_id":162509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:42:36] local.INFO: IMEI packet received {"connection_id":162509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":162509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:42:41] local.INFO: TCP Data received {"connection_id":162509,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:42:41] local.INFO: Processing buffer {"connection_id":162509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:42:41] local.INFO: IMEI packet received {"connection_id":162509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":162509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:42:41] local.INFO: TCP Data received {"connection_id":162509,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:42:41] local.INFO: Processing buffer {"connection_id":162509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:42:41] local.INFO: Packet analysis {"connection_id":162509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f0c"} 
[2026-08-26 22:42:41] local.INFO: Extracted packet for processing {"connection_id":162509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f0c"} 
[2026-08-26 22:42:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667555584001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:42: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-26 22:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787764190000,"timestamp_ms":1787764190000,"timestamp_seconds":1787764190,"priority":1,"record_length":96,"hex_timestamp":"000001a03f0cab30"} 
[2026-08-26 22:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:42: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-26 22:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:42: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-26 22:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:42: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-26 22:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667555584001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667555584001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:42:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:42:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667555584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":162509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:42:41] local.INFO: GPS data processed {"connection_id":162509,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:42:41] local.INFO: Acknowledgment sent {"connection_id":162509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:43:13] local.INFO: TCP Data received {"connection_id":162509,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:43:13] local.INFO: Processing buffer {"connection_id":162509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:43:13] local.INFO: Packet analysis {"connection_id":162509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f0c"} 
[2026-08-26 22:43:13] local.INFO: Extracted packet for processing {"connection_id":162509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f0c"} 
[2026-08-26 22:43:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667555584001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:43: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-26 22:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787764190000,"timestamp_ms":1787764190000,"timestamp_seconds":1787764190,"priority":1,"record_length":96,"hex_timestamp":"000001a03f0cab30"} 
[2026-08-26 22:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:43: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-26 22:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:43: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-26 22:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:43:13] 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-26 22:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667555584001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667555584001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:43:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:43:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667555584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":162509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:43:13] local.INFO: GPS data processed {"connection_id":162509,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:43:13] local.INFO: Acknowledgment sent {"connection_id":162509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:43:35] local.INFO: TCP Data received {"connection_id":162510,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:43:35] local.INFO: Processing buffer {"connection_id":162510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:43:35] local.INFO: IMEI packet received {"connection_id":162510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":162510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:43:41] local.INFO: TCP Data received {"connection_id":162510,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:43:41] local.INFO: Processing buffer {"connection_id":162510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:43:41] local.INFO: IMEI packet received {"connection_id":162510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":162510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:43:42] local.INFO: TCP Data received {"connection_id":162510,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:43:42] local.INFO: Processing buffer {"connection_id":162510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:43:42] local.INFO: Packet analysis {"connection_id":162510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f0c"} 
[2026-08-26 22:43:42] local.INFO: Extracted packet for processing {"connection_id":162510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f0c"} 
[2026-08-26 22:43:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667555584001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22: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-26 22:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787764190000,"timestamp_ms":1787764190000,"timestamp_seconds":1787764190,"priority":1,"record_length":96,"hex_timestamp":"000001a03f0cab30"} 
[2026-08-26 22: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-26 22:43: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-26 22: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:43: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-26 22: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-26 22: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-26 22:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:43: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-26 22:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667555584001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667555584001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:43:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:43:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667555584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":162510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:43:42] local.INFO: GPS data processed {"connection_id":162510,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:43:42] local.INFO: Acknowledgment sent {"connection_id":162510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:44:14] local.INFO: TCP Data received {"connection_id":162510,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:44:14] local.INFO: Processing buffer {"connection_id":162510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:44:14] local.INFO: Packet analysis {"connection_id":162510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f0c"} 
[2026-08-26 22:44:14] local.INFO: Extracted packet for processing {"connection_id":162510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f0c"} 
[2026-08-26 22:44:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667555584001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:44: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-26 22:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787764190000,"timestamp_ms":1787764190000,"timestamp_seconds":1787764190,"priority":1,"record_length":96,"hex_timestamp":"000001a03f0cab30"} 
[2026-08-26 22:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:44: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-26 22:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:44: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-26 22:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:44: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-26 22:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667555584001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667555584001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:44:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:44:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667555584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":162510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:44:14] local.INFO: GPS data processed {"connection_id":162510,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:44:14] local.INFO: Acknowledgment sent {"connection_id":162510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:44:35] local.INFO: TCP Data received {"connection_id":162769,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:44:35] local.INFO: Processing buffer {"connection_id":162769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:44:35] local.INFO: IMEI packet received {"connection_id":162769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":162769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:44:41] local.INFO: TCP Data received {"connection_id":162769,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:44:41] local.INFO: Processing buffer {"connection_id":162769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:44:41] local.INFO: IMEI packet received {"connection_id":162769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":162769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:44:42] local.INFO: TCP Data received {"connection_id":162769,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:44:42] local.INFO: Processing buffer {"connection_id":162769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:44:42] local.INFO: Packet analysis {"connection_id":162769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f0c"} 
[2026-08-26 22:44:42] local.INFO: Extracted packet for processing {"connection_id":162769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f0c"} 
[2026-08-26 22:44:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667555584001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:44: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-26 22:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787764190000,"timestamp_ms":1787764190000,"timestamp_seconds":1787764190,"priority":1,"record_length":96,"hex_timestamp":"000001a03f0cab30"} 
[2026-08-26 22:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:44: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-26 22:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:44: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-26 22:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:44: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-26 22:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667555584001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667555584001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:44:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:44:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667555584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":162769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:44:42] local.INFO: GPS data processed {"connection_id":162769,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:44:42] local.INFO: Acknowledgment sent {"connection_id":162769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:45:13] local.INFO: TCP Data received {"connection_id":162769,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:45:13] local.INFO: Processing buffer {"connection_id":162769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f0cab30012d34c14006aa4818000800e62f..."} 
[2026-08-26 22:45:13] local.INFO: Packet analysis {"connection_id":162769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f0c"} 
[2026-08-26 22:45:13] local.INFO: Extracted packet for processing {"connection_id":162769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f0c"} 
[2026-08-26 22:45:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667555584001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 22:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787764190000,"timestamp_ms":1787764190000,"timestamp_seconds":1787764190,"priority":1,"record_length":96,"hex_timestamp":"000001a03f0cab30"} 
[2026-08-26 22:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:45: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-26 22:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:45: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-26 22:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:45:13] 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-26 22:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667555584001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667555584001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:45:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:45:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667555584001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":162769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:45:13] local.INFO: GPS data processed {"connection_id":162769,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:45:13] local.INFO: Acknowledgment sent {"connection_id":162769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:45:35] local.INFO: TCP Data received {"connection_id":162511,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:45:35] local.INFO: Processing buffer {"connection_id":162511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:45:35] local.INFO: IMEI packet received {"connection_id":162511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":162511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:45:41] local.INFO: TCP Data received {"connection_id":162511,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:45:41] local.INFO: Processing buffer {"connection_id":162511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:45:41] local.INFO: IMEI packet received {"connection_id":162511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":162511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:45:42] local.INFO: TCP Data received {"connection_id":162511,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:45:42] local.INFO: Processing buffer {"connection_id":162511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:45:42] local.INFO: Packet analysis {"connection_id":162511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f11"} 
[2026-08-26 22:45:42] local.INFO: Extracted packet for processing {"connection_id":162511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f11"} 
[2026-08-26 22:45:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667632640001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22: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-26 22:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787764491000,"timestamp_ms":1787764491000,"timestamp_seconds":1787764491,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1142f8"} 
[2026-08-26 22: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-26 22:45: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-26 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 22:45: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-26 22: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-26 22: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-26 22:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:45:42] 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-26 22:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667632640001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667632640001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:45:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:45:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667632640001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":162511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:45:42] local.INFO: GPS data processed {"connection_id":162511,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:45:42] local.INFO: Acknowledgment sent {"connection_id":162511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:46:15] local.INFO: TCP Data received {"connection_id":162511,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:46:15] local.INFO: Processing buffer {"connection_id":162511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:46:15] local.INFO: Packet analysis {"connection_id":162511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f11"} 
[2026-08-26 22:46:15] local.INFO: Extracted packet for processing {"connection_id":162511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f11"} 
[2026-08-26 22:46:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667632640001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:46: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-26 22:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787764491000,"timestamp_ms":1787764491000,"timestamp_seconds":1787764491,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1142f8"} 
[2026-08-26 22:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:46: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-26 22:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 22:46: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-26 22:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:46: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-26 22:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667632640001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667632640001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:46:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:46:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667632640001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":162511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:46:15] local.INFO: GPS data processed {"connection_id":162511,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:46:15] local.INFO: Acknowledgment sent {"connection_id":162511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:46:35] local.INFO: TCP Data received {"connection_id":165148,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:46:35] local.INFO: Processing buffer {"connection_id":165148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:46:35] local.INFO: IMEI packet received {"connection_id":165148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":165148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:46:41] local.INFO: TCP Data received {"connection_id":165148,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:46:41] local.INFO: Processing buffer {"connection_id":165148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:46:41] local.INFO: IMEI packet received {"connection_id":165148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":165148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:46:42] local.INFO: TCP Data received {"connection_id":165148,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:46:42] local.INFO: Processing buffer {"connection_id":165148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:46:42] local.INFO: Packet analysis {"connection_id":165148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f11"} 
[2026-08-26 22:46:42] local.INFO: Extracted packet for processing {"connection_id":165148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f11"} 
[2026-08-26 22:46:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667632640001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:46: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-26 22:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787764491000,"timestamp_ms":1787764491000,"timestamp_seconds":1787764491,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1142f8"} 
[2026-08-26 22:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:46: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-26 22:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 22:46: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-26 22:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667632640001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667632640001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:46:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:46:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667632640001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":165148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:46:42] local.INFO: GPS data processed {"connection_id":165148,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:46:42] local.INFO: Acknowledgment sent {"connection_id":165148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:47:13] local.INFO: TCP Data received {"connection_id":165148,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:47:13] local.INFO: Processing buffer {"connection_id":165148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:47:13] local.INFO: Packet analysis {"connection_id":165148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f11"} 
[2026-08-26 22:47:13] local.INFO: Extracted packet for processing {"connection_id":165148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f11"} 
[2026-08-26 22:47:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667632640001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:47: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-26 22:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787764491000,"timestamp_ms":1787764491000,"timestamp_seconds":1787764491,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1142f8"} 
[2026-08-26 22: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-26 22: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-26 22: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-26 22: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-26 22: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-26 22: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-26 22:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:47: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-26 22:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667632640001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667632640001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:47:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:47:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667632640001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":165148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:47:13] local.INFO: GPS data processed {"connection_id":165148,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:47:13] local.INFO: Acknowledgment sent {"connection_id":165148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:47:35] local.INFO: TCP Data received {"connection_id":162770,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:47:35] local.INFO: Processing buffer {"connection_id":162770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:47:35] local.INFO: IMEI packet received {"connection_id":162770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":162770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:47:41] local.INFO: TCP Data received {"connection_id":162770,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:47:41] local.INFO: Processing buffer {"connection_id":162770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:47:41] local.INFO: IMEI packet received {"connection_id":162770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":162770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:47:42] local.INFO: TCP Data received {"connection_id":162770,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:47:42] local.INFO: Processing buffer {"connection_id":162770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:47:42] local.INFO: Packet analysis {"connection_id":162770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f11"} 
[2026-08-26 22:47:42] local.INFO: Extracted packet for processing {"connection_id":162770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f11"} 
[2026-08-26 22:47:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667632640001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:47: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-26 22:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787764491000,"timestamp_ms":1787764491000,"timestamp_seconds":1787764491,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1142f8"} 
[2026-08-26 22:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:47: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-26 22:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 22:47: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-26 22:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667632640001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667632640001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:47:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:47:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667632640001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":162770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:47:42] local.INFO: GPS data processed {"connection_id":162770,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:47:42] local.INFO: Acknowledgment sent {"connection_id":162770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:48:14] local.INFO: TCP Data received {"connection_id":162770,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:48:14] local.INFO: Processing buffer {"connection_id":162770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:48:14] local.INFO: Packet analysis {"connection_id":162770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f11"} 
[2026-08-26 22:48:14] local.INFO: Extracted packet for processing {"connection_id":162770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f11"} 
[2026-08-26 22:48:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667632640001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:48: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-26 22:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787764491000,"timestamp_ms":1787764491000,"timestamp_seconds":1787764491,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1142f8"} 
[2026-08-26 22: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-26 22:48: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-26 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 22:48: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-26 22: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-26 22: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-26 22:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:48: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-26 22:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667632640001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667632640001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:48:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:48:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667632640001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":162770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:48:14] local.INFO: GPS data processed {"connection_id":162770,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:48:14] local.INFO: Acknowledgment sent {"connection_id":162770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:48:35] local.INFO: TCP Data received {"connection_id":162513,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:48:35] local.INFO: Processing buffer {"connection_id":162513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:48:35] local.INFO: IMEI packet received {"connection_id":162513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":162513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:48:41] local.INFO: TCP Data received {"connection_id":162513,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:48:41] local.INFO: Processing buffer {"connection_id":162513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:48:41] local.INFO: IMEI packet received {"connection_id":162513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":162513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:48:42] local.INFO: TCP Data received {"connection_id":162513,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:48:42] local.INFO: Processing buffer {"connection_id":162513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:48:42] local.INFO: Packet analysis {"connection_id":162513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f11"} 
[2026-08-26 22:48:42] local.INFO: Extracted packet for processing {"connection_id":162513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f11"} 
[2026-08-26 22:48:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 22:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667632640001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:48: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-26 22:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787764491000,"timestamp_ms":1787764491000,"timestamp_seconds":1787764491,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1142f8"} 
[2026-08-26 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-26 22:48: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-26 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 22:48: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-26 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-26 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-26 22:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:48: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-26 22:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667632640001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667632640001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:48:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:48:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667632640001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":162513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:48:42] local.INFO: GPS data processed {"connection_id":162513,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:48:42] local.INFO: Acknowledgment sent {"connection_id":162513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:49:14] local.INFO: TCP Data received {"connection_id":162513,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:49:14] local.INFO: Processing buffer {"connection_id":162513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:49:14] local.INFO: Packet analysis {"connection_id":162513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f11"} 
[2026-08-26 22:49:14] local.INFO: Extracted packet for processing {"connection_id":162513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f11"} 
[2026-08-26 22:49:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667632640001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:49: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-26 22:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787764491000,"timestamp_ms":1787764491000,"timestamp_seconds":1787764491,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1142f8"} 
[2026-08-26 22:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:49: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-26 22:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 22:49: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-26 22:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:49: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-26 22:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667632640001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667632640001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:49:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:49:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667632640001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":162513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:49:14] local.INFO: GPS data processed {"connection_id":162513,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:49:14] local.INFO: Acknowledgment sent {"connection_id":162513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:49:41] local.INFO: TCP Data received {"connection_id":162771,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:49:41] local.INFO: Processing buffer {"connection_id":162771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:49:41] local.INFO: IMEI packet received {"connection_id":162771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":162771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:49:46] local.INFO: TCP Data received {"connection_id":162771,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:49:46] local.INFO: Processing buffer {"connection_id":162771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:49:46] local.INFO: IMEI packet received {"connection_id":162771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":162771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:49:48] local.INFO: TCP Data received {"connection_id":162771,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:49:48] local.INFO: Processing buffer {"connection_id":162771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:49:48] local.INFO: Packet analysis {"connection_id":162771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f11"} 
[2026-08-26 22:49:48] local.INFO: Extracted packet for processing {"connection_id":162771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f11"} 
[2026-08-26 22:49:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667632640001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 22:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787764491000,"timestamp_ms":1787764491000,"timestamp_seconds":1787764491,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1142f8"} 
[2026-08-26 22: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-26 22:49: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-26 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 22:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 22: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-26 22: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-26 22:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":162771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":162771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":162771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:49:48] 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-26 22:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667632640001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667632640001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:49:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:49:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667632640001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":162771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:49:48] local.INFO: GPS data processed {"connection_id":162771,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:49:48] local.INFO: Acknowledgment sent {"connection_id":162771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:49:51] local.INFO: TCP Data received {"connection_id":162771,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:49:51] local.INFO: Processing buffer {"connection_id":162771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1142f8012d34c14006aa4818000a00e62f..."} 
[2026-08-26 22:49:51] local.INFO: Packet analysis {"connection_id":162771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f11"} 
[2026-08-26 22:49:51] local.INFO: Extracted packet for processing {"connection_id":162771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f11"} 
[2026-08-26 22:49:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667632640001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 22:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787764491000,"timestamp_ms":1787764491000,"timestamp_seconds":1787764491,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1142f8"} 
[2026-08-26 22: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-26 22:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 22:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 22: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-26 22: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-26 22:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:49:51] 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-26 22:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667632640001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667632640001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:49:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:49:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667632640001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":162771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:49:51] local.INFO: GPS data processed {"connection_id":162771,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:49:51] local.INFO: Acknowledgment sent {"connection_id":162771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:50:36] local.INFO: TCP Data received {"connection_id":163789,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:50:36] local.INFO: Processing buffer {"connection_id":163789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:50:36] local.INFO: IMEI packet received {"connection_id":163789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":163789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:50:41] local.INFO: TCP Data received {"connection_id":163789,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:50:41] local.INFO: Processing buffer {"connection_id":163789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:50:41] local.INFO: IMEI packet received {"connection_id":163789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":163789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:50:41] local.INFO: TCP Data received {"connection_id":163789,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:50:41] local.INFO: Processing buffer {"connection_id":163789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:50:41] local.INFO: Packet analysis {"connection_id":163789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f15"} 
[2026-08-26 22:50:41] local.INFO: Extracted packet for processing {"connection_id":163789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f15"} 
[2026-08-26 22:50:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667709696001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:50: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-26 22:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787764792000,"timestamp_ms":1787764792000,"timestamp_seconds":1787764792,"priority":1,"record_length":96,"hex_timestamp":"000001a03f15dac0"} 
[2026-08-26 22: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-26 22:50: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-26 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:50: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-26 22: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-26 22: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-26 22:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:50: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-26 22:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667709696001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667709696001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:50:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:50:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667709696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":163789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:50:41] local.INFO: GPS data processed {"connection_id":163789,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:50:41] local.INFO: Acknowledgment sent {"connection_id":163789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:51:13] local.INFO: TCP Data received {"connection_id":163789,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:51:13] local.INFO: Processing buffer {"connection_id":163789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:51:13] local.INFO: Packet analysis {"connection_id":163789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f15"} 
[2026-08-26 22:51:13] local.INFO: Extracted packet for processing {"connection_id":163789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f15"} 
[2026-08-26 22:51:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667709696001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:51: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-26 22:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787764792000,"timestamp_ms":1787764792000,"timestamp_seconds":1787764792,"priority":1,"record_length":96,"hex_timestamp":"000001a03f15dac0"} 
[2026-08-26 22:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:51: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-26 22:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:51: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-26 22:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:51: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-26 22:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667709696001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667709696001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:51:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:51:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667709696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":163789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:51:13] local.INFO: GPS data processed {"connection_id":163789,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:51:13] local.INFO: Acknowledgment sent {"connection_id":163789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:51:35] local.INFO: TCP Data received {"connection_id":163790,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:51:35] local.INFO: Processing buffer {"connection_id":163790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:51:35] local.INFO: IMEI packet received {"connection_id":163790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":163790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:51:41] local.INFO: TCP Data received {"connection_id":163790,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:51:41] local.INFO: Processing buffer {"connection_id":163790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:51:41] local.INFO: IMEI packet received {"connection_id":163790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":163790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:51:42] local.INFO: TCP Data received {"connection_id":163790,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:51:42] local.INFO: Processing buffer {"connection_id":163790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:51:42] local.INFO: Packet analysis {"connection_id":163790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f15"} 
[2026-08-26 22:51:42] local.INFO: Extracted packet for processing {"connection_id":163790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f15"} 
[2026-08-26 22:51:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667709696001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22: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-26 22:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787764792000,"timestamp_ms":1787764792000,"timestamp_seconds":1787764792,"priority":1,"record_length":96,"hex_timestamp":"000001a03f15dac0"} 
[2026-08-26 22: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-26 22:51: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-26 22: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-26 22: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-26 22: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-26 22: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-26 22:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:51: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-26 22:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667709696001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667709696001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:51:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:51:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667709696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":163790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:51:42] local.INFO: GPS data processed {"connection_id":163790,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:51:42] local.INFO: Acknowledgment sent {"connection_id":163790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:52:14] local.INFO: TCP Data received {"connection_id":163790,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:52:14] local.INFO: Processing buffer {"connection_id":163790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:52:14] local.INFO: Packet analysis {"connection_id":163790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f15"} 
[2026-08-26 22:52:14] local.INFO: Extracted packet for processing {"connection_id":163790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f15"} 
[2026-08-26 22:52:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667709696001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:52: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-26 22:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787764792000,"timestamp_ms":1787764792000,"timestamp_seconds":1787764792,"priority":1,"record_length":96,"hex_timestamp":"000001a03f15dac0"} 
[2026-08-26 22: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-26 22:52: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-26 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:52: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-26 22: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-26 22: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-26 22:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:52: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-26 22:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667709696001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667709696001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:52:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:52:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667709696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":163790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:52:14] local.INFO: GPS data processed {"connection_id":163790,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:52:14] local.INFO: Acknowledgment sent {"connection_id":163790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:52:35] local.INFO: TCP Data received {"connection_id":162514,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:52:35] local.INFO: Processing buffer {"connection_id":162514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:52:35] local.INFO: IMEI packet received {"connection_id":162514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":162514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:52:40] local.INFO: TCP Data received {"connection_id":162514,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:52:40] local.INFO: Processing buffer {"connection_id":162514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:52:40] local.INFO: IMEI packet received {"connection_id":162514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":162514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:52:42] local.INFO: TCP Data received {"connection_id":162514,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:52:42] local.INFO: Processing buffer {"connection_id":162514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:52:42] local.INFO: Packet analysis {"connection_id":162514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f15"} 
[2026-08-26 22:52:42] local.INFO: Extracted packet for processing {"connection_id":162514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f15"} 
[2026-08-26 22:52:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667709696001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:52: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-26 22:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787764792000,"timestamp_ms":1787764792000,"timestamp_seconds":1787764792,"priority":1,"record_length":96,"hex_timestamp":"000001a03f15dac0"} 
[2026-08-26 22: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-26 22:52: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-26 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:52: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-26 22: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-26 22: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-26 22:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:52:42] 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-26 22:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667709696001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667709696001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:52:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:52:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667709696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":162514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:52:42] local.INFO: GPS data processed {"connection_id":162514,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:52:42] local.INFO: Acknowledgment sent {"connection_id":162514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:53:13] local.INFO: TCP Data received {"connection_id":162514,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:53:13] local.INFO: Processing buffer {"connection_id":162514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:53:13] local.INFO: Packet analysis {"connection_id":162514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f15"} 
[2026-08-26 22:53:13] local.INFO: Extracted packet for processing {"connection_id":162514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f15"} 
[2026-08-26 22:53:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667709696001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:53: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-26 22:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787764792000,"timestamp_ms":1787764792000,"timestamp_seconds":1787764792,"priority":1,"record_length":96,"hex_timestamp":"000001a03f15dac0"} 
[2026-08-26 22: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-26 22: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-26 22: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:53: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-26 22: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-26 22: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-26 22:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:53:13] 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-26 22:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667709696001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667709696001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:53:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:53:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667709696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":162514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:53:13] local.INFO: GPS data processed {"connection_id":162514,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:53:13] local.INFO: Acknowledgment sent {"connection_id":162514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:53:40] local.INFO: TCP Data received {"connection_id":162515,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:53:40] local.INFO: Processing buffer {"connection_id":162515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:53:40] local.INFO: IMEI packet received {"connection_id":162515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":162515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:53:46] local.INFO: TCP Data received {"connection_id":162515,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:53:46] local.INFO: Processing buffer {"connection_id":162515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:53:46] local.INFO: IMEI packet received {"connection_id":162515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":162515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:53:47] local.INFO: TCP Data received {"connection_id":162515,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:53:47] local.INFO: Processing buffer {"connection_id":162515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:53:47] local.INFO: Packet analysis {"connection_id":162515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f15"} 
[2026-08-26 22:53:47] local.INFO: Extracted packet for processing {"connection_id":162515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f15"} 
[2026-08-26 22:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667709696001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:53: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-26 22:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787764792000,"timestamp_ms":1787764792000,"timestamp_seconds":1787764792,"priority":1,"record_length":96,"hex_timestamp":"000001a03f15dac0"} 
[2026-08-26 22: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-26 22:53: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-26 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:53: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-26 22: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-26 22: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-26 22:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:53:47] 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-26 22:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667709696001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667709696001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:53:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667709696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":162515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:53:47] local.INFO: GPS data processed {"connection_id":162515,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:53:47] local.INFO: Acknowledgment sent {"connection_id":162515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:53:51] local.INFO: TCP Data received {"connection_id":162515,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:53:51] local.INFO: Processing buffer {"connection_id":162515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:53:51] local.INFO: Packet analysis {"connection_id":162515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f15"} 
[2026-08-26 22:53:51] local.INFO: Extracted packet for processing {"connection_id":162515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f15"} 
[2026-08-26 22:53:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667709696001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 22:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787764792000,"timestamp_ms":1787764792000,"timestamp_seconds":1787764792,"priority":1,"record_length":96,"hex_timestamp":"000001a03f15dac0"} 
[2026-08-26 22: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-26 22:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 22: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-26 22: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-26 22:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:53:51] 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-26 22:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667709696001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667709696001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:53:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:53:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667709696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":162515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:53:51] local.INFO: GPS data processed {"connection_id":162515,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:53:51] local.INFO: Acknowledgment sent {"connection_id":162515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:54:36] local.INFO: TCP Data received {"connection_id":163791,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:54:36] local.INFO: Processing buffer {"connection_id":163791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:54:36] local.INFO: IMEI packet received {"connection_id":163791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":163791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:54:41] local.INFO: TCP Data received {"connection_id":163791,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:54:41] local.INFO: Processing buffer {"connection_id":163791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:54:41] local.INFO: IMEI packet received {"connection_id":163791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":163791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:54:42] local.INFO: TCP Data received {"connection_id":163791,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:54:42] local.INFO: Processing buffer {"connection_id":163791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:54:42] local.INFO: Packet analysis {"connection_id":163791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f15"} 
[2026-08-26 22:54:42] local.INFO: Extracted packet for processing {"connection_id":163791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f15"} 
[2026-08-26 22:54:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667709696001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:54: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-26 22:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787764792000,"timestamp_ms":1787764792000,"timestamp_seconds":1787764792,"priority":1,"record_length":96,"hex_timestamp":"000001a03f15dac0"} 
[2026-08-26 22:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:54: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-26 22:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:54: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-26 22:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:54: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-26 22:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667709696001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667709696001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:54:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:54:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667709696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":163791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:54:42] local.INFO: GPS data processed {"connection_id":163791,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:54:42] local.INFO: Acknowledgment sent {"connection_id":163791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:54:46] local.INFO: TCP Data received {"connection_id":163791,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:54:46] local.INFO: Processing buffer {"connection_id":163791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:54:46] local.INFO: Packet analysis {"connection_id":163791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f15"} 
[2026-08-26 22:54:46] local.INFO: Extracted packet for processing {"connection_id":163791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f15"} 
[2026-08-26 22:54:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667709696001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 22:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787764792000,"timestamp_ms":1787764792000,"timestamp_seconds":1787764792,"priority":1,"record_length":96,"hex_timestamp":"000001a03f15dac0"} 
[2026-08-26 22:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 22:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 22:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667709696001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667709696001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:54:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:54:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667709696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":163791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:54:46] local.INFO: GPS data processed {"connection_id":163791,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:54:46] local.INFO: Acknowledgment sent {"connection_id":163791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:55:18] local.INFO: TCP Data received {"connection_id":163791,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:55:18] local.INFO: Processing buffer {"connection_id":163791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f15dac0012d34c14006aa4818000800e62e..."} 
[2026-08-26 22:55:18] local.INFO: Packet analysis {"connection_id":163791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f15"} 
[2026-08-26 22:55:18] local.INFO: Extracted packet for processing {"connection_id":163791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f15"} 
[2026-08-26 22:55:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 22:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667709696001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:55: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-26 22:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787764792000,"timestamp_ms":1787764792000,"timestamp_seconds":1787764792,"priority":1,"record_length":96,"hex_timestamp":"000001a03f15dac0"} 
[2026-08-26 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-26 22:55: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-26 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 22:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:55: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-26 22:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667709696001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667709696001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:55:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:55:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667709696001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":163791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:55:18] local.INFO: GPS data processed {"connection_id":163791,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:55:18] local.INFO: Acknowledgment sent {"connection_id":163791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:55:36] local.INFO: TCP Data received {"connection_id":162516,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:55:36] local.INFO: Processing buffer {"connection_id":162516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:55:36] local.INFO: IMEI packet received {"connection_id":162516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":162516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:55:41] local.INFO: TCP Data received {"connection_id":162516,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:55:41] local.INFO: Processing buffer {"connection_id":162516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:55:41] local.INFO: IMEI packet received {"connection_id":162516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":162516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:55:42] local.INFO: TCP Data received {"connection_id":162516,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:55:42] local.INFO: Processing buffer {"connection_id":162516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:55:42] local.INFO: Packet analysis {"connection_id":162516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f1a"} 
[2026-08-26 22:55:42] local.INFO: Extracted packet for processing {"connection_id":162516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f1a"} 
[2026-08-26 22:55:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667786752001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:55: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-26 22:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787765093000,"timestamp_ms":1787765093000,"timestamp_seconds":1787765093,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1a7288"} 
[2026-08-26 22: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-26 22:55: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-26 22: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:55: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-26 22: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-26 22: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-26 22:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:55: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-26 22:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667786752001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667786752001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:55:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:55:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667786752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":162516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:55:42] local.INFO: GPS data processed {"connection_id":162516,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:55:42] local.INFO: Acknowledgment sent {"connection_id":162516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:56:14] local.INFO: TCP Data received {"connection_id":162516,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:56:14] local.INFO: Processing buffer {"connection_id":162516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:56:14] local.INFO: Packet analysis {"connection_id":162516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f1a"} 
[2026-08-26 22:56:14] local.INFO: Extracted packet for processing {"connection_id":162516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f1a"} 
[2026-08-26 22:56:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667786752001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:56: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-26 22:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787765093000,"timestamp_ms":1787765093000,"timestamp_seconds":1787765093,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1a7288"} 
[2026-08-26 22:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22: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-26 22:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:56: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-26 22:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:56: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-26 22:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667786752001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667786752001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:56:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:56:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667786752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":162516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:56:14] local.INFO: GPS data processed {"connection_id":162516,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:56:14] local.INFO: Acknowledgment sent {"connection_id":162516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:56:35] local.INFO: TCP Data received {"connection_id":165149,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:56:35] local.INFO: Processing buffer {"connection_id":165149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:56:35] local.INFO: IMEI packet received {"connection_id":165149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":165149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:56:41] local.INFO: TCP Data received {"connection_id":165149,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:56:41] local.INFO: Processing buffer {"connection_id":165149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:56:41] local.INFO: IMEI packet received {"connection_id":165149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":165149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:56:42] local.INFO: TCP Data received {"connection_id":165149,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:56:42] local.INFO: Processing buffer {"connection_id":165149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:56:42] local.INFO: Packet analysis {"connection_id":165149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f1a"} 
[2026-08-26 22:56:42] local.INFO: Extracted packet for processing {"connection_id":165149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f1a"} 
[2026-08-26 22:56:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667786752001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:56: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-26 22:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787765093000,"timestamp_ms":1787765093000,"timestamp_seconds":1787765093,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1a7288"} 
[2026-08-26 22:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:56: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-26 22:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:56: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-26 22:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:56:42] 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-26 22:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667786752001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667786752001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:56:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:56:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667786752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":165149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:56:42] local.INFO: GPS data processed {"connection_id":165149,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:56:42] local.INFO: Acknowledgment sent {"connection_id":165149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:57:14] local.INFO: TCP Data received {"connection_id":165149,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:57:14] local.INFO: Processing buffer {"connection_id":165149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:57:14] local.INFO: Packet analysis {"connection_id":165149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f1a"} 
[2026-08-26 22:57:14] local.INFO: Extracted packet for processing {"connection_id":165149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f1a"} 
[2026-08-26 22:57:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22: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-26 22:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667786752001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:57: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-26 22:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787765093000,"timestamp_ms":1787765093000,"timestamp_seconds":1787765093,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1a7288"} 
[2026-08-26 22: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-26 22:57: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-26 22: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":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:57: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-26 22: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-26 22: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-26 22:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:57: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-26 22:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667786752001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667786752001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:57:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:57:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667786752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":165149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:57:14] local.INFO: GPS data processed {"connection_id":165149,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:57:14] local.INFO: Acknowledgment sent {"connection_id":165149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:57:35] local.INFO: TCP Data received {"connection_id":163792,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:57:35] local.INFO: Processing buffer {"connection_id":163792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:57:35] local.INFO: IMEI packet received {"connection_id":163792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":163792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:57:41] local.INFO: TCP Data received {"connection_id":163792,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:57:41] local.INFO: Processing buffer {"connection_id":163792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:57:41] local.INFO: IMEI packet received {"connection_id":163792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":163792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:57:42] local.INFO: TCP Data received {"connection_id":163792,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:57:42] local.INFO: Processing buffer {"connection_id":163792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:57:42] local.INFO: Packet analysis {"connection_id":163792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f1a"} 
[2026-08-26 22:57:42] local.INFO: Extracted packet for processing {"connection_id":163792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f1a"} 
[2026-08-26 22:57:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667786752001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:57: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-26 22:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787765093000,"timestamp_ms":1787765093000,"timestamp_seconds":1787765093,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1a7288"} 
[2026-08-26 22:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:57: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-26 22:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:57: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-26 22:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 22:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667786752001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667786752001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:57:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:57:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667786752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":163792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:57:42] local.INFO: GPS data processed {"connection_id":163792,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:57:42] local.INFO: Acknowledgment sent {"connection_id":163792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:58:14] local.INFO: TCP Data received {"connection_id":163792,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:58:14] local.INFO: Processing buffer {"connection_id":163792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:58:14] local.INFO: Packet analysis {"connection_id":163792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f1a"} 
[2026-08-26 22:58:14] local.INFO: Extracted packet for processing {"connection_id":163792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f1a"} 
[2026-08-26 22:58:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667786752001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:58: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-26 22:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787765093000,"timestamp_ms":1787765093000,"timestamp_seconds":1787765093,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1a7288"} 
[2026-08-26 22:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:58: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-26 22:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:58: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-26 22:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:58:14] 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-26 22:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667786752001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667786752001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:58:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:58:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667786752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":163792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:58:14] local.INFO: GPS data processed {"connection_id":163792,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:58:14] local.INFO: Acknowledgment sent {"connection_id":163792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:58:41] local.INFO: TCP Data received {"connection_id":165150,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:58:41] local.INFO: Processing buffer {"connection_id":165150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:58:41] local.INFO: IMEI packet received {"connection_id":165150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":165150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:58:46] local.INFO: TCP Data received {"connection_id":165150,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:58:46] local.INFO: Processing buffer {"connection_id":165150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:58:46] local.INFO: IMEI packet received {"connection_id":165150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":165150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:58:47] local.INFO: TCP Data received {"connection_id":165150,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:58:47] local.INFO: Processing buffer {"connection_id":165150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:58:47] local.INFO: Packet analysis {"connection_id":165150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f1a"} 
[2026-08-26 22:58:47] local.INFO: Extracted packet for processing {"connection_id":165150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f1a"} 
[2026-08-26 22:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 22:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667786752001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:58: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-26 22:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787765093000,"timestamp_ms":1787765093000,"timestamp_seconds":1787765093,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1a7288"} 
[2026-08-26 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-26 22:58: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-26 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:58: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-26 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-26 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-26 22:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:58:47] 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-26 22:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667786752001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667786752001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:58:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667786752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":165150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:58:47] local.INFO: GPS data processed {"connection_id":165150,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:58:47] local.INFO: Acknowledgment sent {"connection_id":165150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:58:51] local.INFO: TCP Data received {"connection_id":165150,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:58:51] local.INFO: Processing buffer {"connection_id":165150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:58:51] local.INFO: Packet analysis {"connection_id":165150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f1a"} 
[2026-08-26 22:58:51] local.INFO: Extracted packet for processing {"connection_id":165150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f1a"} 
[2026-08-26 22:58:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 22:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667786752001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 22:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787765093000,"timestamp_ms":1787765093000,"timestamp_seconds":1787765093,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1a7288"} 
[2026-08-26 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-26 22:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 22:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":165150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":165150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":165150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:58:51] 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-26 22:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667786752001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667786752001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:58:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:58:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667786752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":165150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:58:51] local.INFO: GPS data processed {"connection_id":165150,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:58:51] local.INFO: Acknowledgment sent {"connection_id":165150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 22:59:36] local.INFO: TCP Data received {"connection_id":162517,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:59:36] local.INFO: Processing buffer {"connection_id":162517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:59:36] local.INFO: IMEI packet received {"connection_id":162517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 22:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":162517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 22:59:41] local.INFO: TCP Data received {"connection_id":162517,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:59:41] local.INFO: Processing buffer {"connection_id":162517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 22:59:41] local.INFO: IMEI packet received {"connection_id":162517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 22:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":162517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 22:59:42] local.INFO: TCP Data received {"connection_id":162517,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:59:42] local.INFO: Processing buffer {"connection_id":162517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 22:59:42] local.INFO: Packet analysis {"connection_id":162517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f1a"} 
[2026-08-26 22:59:42] local.INFO: Extracted packet for processing {"connection_id":162517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f1a"} 
[2026-08-26 22:59:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 22:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 22:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667786752001,"note":"Value kept but may cause issues"} 
[2026-08-26 22:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 22:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 22:59: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-26 22:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787765093000,"timestamp_ms":1787765093000,"timestamp_seconds":1787765093,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1a7288"} 
[2026-08-26 22:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 22:59: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-26 22:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 22:59: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-26 22:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 22:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 22:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 22:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 22:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 22:59: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-26 22:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 22:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 22:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667786752001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 22:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 22:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 22:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667786752001,"description":"Unknown IO ID 0"} 
[2026-08-26 22:59:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 22:59:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 22:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 22:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 22:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667786752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 22:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":162517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 22:59:42] local.INFO: GPS data processed {"connection_id":162517,"processed":1,"errors":0,"total":1} 
[2026-08-26 22:59:42] local.INFO: Acknowledgment sent {"connection_id":162517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:00:13] local.INFO: TCP Data received {"connection_id":162517,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 23:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 23:00:13] local.INFO: Processing buffer {"connection_id":162517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1a7288012d34c14006aa4818000a00e62b..."} 
[2026-08-26 23:00:13] local.INFO: Packet analysis {"connection_id":162517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f1a"} 
[2026-08-26 23:00:13] local.INFO: Extracted packet for processing {"connection_id":162517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f1a"} 
[2026-08-26 23:00:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667786752001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:00: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-26 23:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787765093000,"timestamp_ms":1787765093000,"timestamp_seconds":1787765093,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1a7288"} 
[2026-08-26 23: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-26 23:00: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-26 23: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 23:00: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-26 23: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-26 23: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-26 23:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:00: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-26 23:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667786752001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667786752001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:00:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:00:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667786752001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":162517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:00:13] local.INFO: GPS data processed {"connection_id":162517,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:00:13] local.INFO: Acknowledgment sent {"connection_id":162517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:00:36] local.INFO: TCP Data received {"connection_id":162518,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:00:36] local.INFO: Processing buffer {"connection_id":162518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:00:36] local.INFO: IMEI packet received {"connection_id":162518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":162518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:00:41] local.INFO: TCP Data received {"connection_id":162518,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:00:41] local.INFO: Processing buffer {"connection_id":162518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:00:41] local.INFO: IMEI packet received {"connection_id":162518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":162518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:00:42] local.INFO: TCP Data received {"connection_id":162518,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:00:42] local.INFO: Processing buffer {"connection_id":162518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:00:42] local.INFO: Packet analysis {"connection_id":162518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f1f"} 
[2026-08-26 23:00:42] local.INFO: Extracted packet for processing {"connection_id":162518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f1f"} 
[2026-08-26 23:00:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667863808001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23: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-26 23:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787765394000,"timestamp_ms":1787765394000,"timestamp_seconds":1787765394,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1f0a50"} 
[2026-08-26 23: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-26 23:00: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-26 23: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 23:00: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-26 23: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-26 23: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-26 23:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:00: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-26 23:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667863808001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667863808001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:00:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:00:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667863808001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":162518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:00:42] local.INFO: GPS data processed {"connection_id":162518,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:00:42] local.INFO: Acknowledgment sent {"connection_id":162518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:01:13] local.INFO: TCP Data received {"connection_id":162518,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:01:13] local.INFO: Processing buffer {"connection_id":162518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:01:13] local.INFO: Packet analysis {"connection_id":162518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f1f"} 
[2026-08-26 23:01:13] local.INFO: Extracted packet for processing {"connection_id":162518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f1f"} 
[2026-08-26 23:01:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667863808001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23: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-26 23:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787765394000,"timestamp_ms":1787765394000,"timestamp_seconds":1787765394,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1f0a50"} 
[2026-08-26 23: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-26 23:01: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-26 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 23:01: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-26 23: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-26 23: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-26 23:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:01: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-26 23:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667863808001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667863808001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:01:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:01:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667863808001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":162518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:01:14] local.INFO: GPS data processed {"connection_id":162518,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:01:14] local.INFO: Acknowledgment sent {"connection_id":162518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:01:41] local.INFO: TCP Data received {"connection_id":163793,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:01:41] local.INFO: Processing buffer {"connection_id":163793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:01:41] local.INFO: IMEI packet received {"connection_id":163793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":163793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:01:46] local.INFO: TCP Data received {"connection_id":163793,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:01:46] local.INFO: Processing buffer {"connection_id":163793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:01:46] local.INFO: IMEI packet received {"connection_id":163793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":163793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:01:47] local.INFO: TCP Data received {"connection_id":163793,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:01:47] local.INFO: Processing buffer {"connection_id":163793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:01:47] local.INFO: Packet analysis {"connection_id":163793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f1f"} 
[2026-08-26 23:01:47] local.INFO: Extracted packet for processing {"connection_id":163793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f1f"} 
[2026-08-26 23:01:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 23:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667863808001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:01: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-26 23:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787765394000,"timestamp_ms":1787765394000,"timestamp_seconds":1787765394,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1f0a50"} 
[2026-08-26 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-26 23:01: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-26 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 23:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 23:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:01:47] 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-26 23:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667863808001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667863808001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:01:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:01:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667863808001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":163793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:01:47] local.INFO: GPS data processed {"connection_id":163793,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:01:47] local.INFO: Acknowledgment sent {"connection_id":163793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:01:51] local.INFO: TCP Data received {"connection_id":163793,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:01:51] local.INFO: Processing buffer {"connection_id":163793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:01:51] local.INFO: Packet analysis {"connection_id":163793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f1f"} 
[2026-08-26 23:01:51] local.INFO: Extracted packet for processing {"connection_id":163793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f1f"} 
[2026-08-26 23:01:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667863808001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 23:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787765394000,"timestamp_ms":1787765394000,"timestamp_seconds":1787765394,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1f0a50"} 
[2026-08-26 23: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-26 23:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 23:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 23: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-26 23: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-26 23:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:01:51] 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-26 23:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667863808001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667863808001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:01:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:01:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667863808001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":163793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:01:51] local.INFO: GPS data processed {"connection_id":163793,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:01:51] local.INFO: Acknowledgment sent {"connection_id":163793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:02:36] local.INFO: TCP Data received {"connection_id":162519,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:02:36] local.INFO: Processing buffer {"connection_id":162519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:02:36] local.INFO: IMEI packet received {"connection_id":162519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":162519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:02:41] local.INFO: TCP Data received {"connection_id":162519,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:02:41] local.INFO: Processing buffer {"connection_id":162519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:02:41] local.INFO: IMEI packet received {"connection_id":162519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":162519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:02:41] local.INFO: TCP Data received {"connection_id":162519,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:02:41] local.INFO: Processing buffer {"connection_id":162519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:02:41] local.INFO: Packet analysis {"connection_id":162519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f1f"} 
[2026-08-26 23:02:41] local.INFO: Extracted packet for processing {"connection_id":162519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f1f"} 
[2026-08-26 23:02:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667863808001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:02: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-26 23:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787765394000,"timestamp_ms":1787765394000,"timestamp_seconds":1787765394,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1f0a50"} 
[2026-08-26 23:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:02: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-26 23:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 23:02: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-26 23:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:02: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-26 23:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667863808001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667863808001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:02:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:02:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667863808001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":162519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:02:41] local.INFO: GPS data processed {"connection_id":162519,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:02:41] local.INFO: Acknowledgment sent {"connection_id":162519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:03:13] local.INFO: TCP Data received {"connection_id":162519,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:03:13] local.INFO: Processing buffer {"connection_id":162519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:03:13] local.INFO: Packet analysis {"connection_id":162519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f1f"} 
[2026-08-26 23:03:13] local.INFO: Extracted packet for processing {"connection_id":162519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f1f"} 
[2026-08-26 23:03:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667863808001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:03: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-26 23:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787765394000,"timestamp_ms":1787765394000,"timestamp_seconds":1787765394,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1f0a50"} 
[2026-08-26 23:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:03: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-26 23:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 23:03: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-26 23:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:03: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-26 23:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667863808001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667863808001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:03:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:03:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667863808001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":162519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:03:13] local.INFO: GPS data processed {"connection_id":162519,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:03:13] local.INFO: Acknowledgment sent {"connection_id":162519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:03:36] local.INFO: TCP Data received {"connection_id":162774,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:03:36] local.INFO: Processing buffer {"connection_id":162774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:03:36] local.INFO: IMEI packet received {"connection_id":162774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":162774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:03:41] local.INFO: TCP Data received {"connection_id":162774,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:03:41] local.INFO: Processing buffer {"connection_id":162774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:03:41] local.INFO: IMEI packet received {"connection_id":162774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":162774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:03:42] local.INFO: TCP Data received {"connection_id":162774,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:03:42] local.INFO: Processing buffer {"connection_id":162774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:03:42] local.INFO: Packet analysis {"connection_id":162774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f1f"} 
[2026-08-26 23:03:42] local.INFO: Extracted packet for processing {"connection_id":162774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f1f"} 
[2026-08-26 23:03:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 23:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667863808001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23: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-26 23:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787765394000,"timestamp_ms":1787765394000,"timestamp_seconds":1787765394,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1f0a50"} 
[2026-08-26 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-26 23:03: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-26 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 23:03: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-26 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-26 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-26 23:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:03: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-26 23:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667863808001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667863808001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:03:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:03:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667863808001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":162774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:03:42] local.INFO: GPS data processed {"connection_id":162774,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:03:42] local.INFO: Acknowledgment sent {"connection_id":162774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:04:13] local.INFO: TCP Data received {"connection_id":162774,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:04:13] local.INFO: Processing buffer {"connection_id":162774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:04:13] local.INFO: Packet analysis {"connection_id":162774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f1f"} 
[2026-08-26 23:04:13] local.INFO: Extracted packet for processing {"connection_id":162774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f1f"} 
[2026-08-26 23:04:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 23:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667863808001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:04: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-26 23:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787765394000,"timestamp_ms":1787765394000,"timestamp_seconds":1787765394,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1f0a50"} 
[2026-08-26 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-26 23:04: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-26 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 23:04: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-26 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-26 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-26 23:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667863808001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667863808001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:04:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:04:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667863808001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":162774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:04:13] local.INFO: GPS data processed {"connection_id":162774,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:04:13] local.INFO: Acknowledgment sent {"connection_id":162774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:04:35] local.INFO: TCP Data received {"connection_id":162775,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:04:35] local.INFO: Processing buffer {"connection_id":162775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:04:35] local.INFO: IMEI packet received {"connection_id":162775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":162775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:04:41] local.INFO: TCP Data received {"connection_id":162775,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:04:41] local.INFO: Processing buffer {"connection_id":162775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:04:41] local.INFO: IMEI packet received {"connection_id":162775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":162775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:04:41] local.INFO: TCP Data received {"connection_id":162775,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:04:41] local.INFO: Processing buffer {"connection_id":162775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:04:41] local.INFO: Packet analysis {"connection_id":162775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f1f"} 
[2026-08-26 23:04:41] local.INFO: Extracted packet for processing {"connection_id":162775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f1f"} 
[2026-08-26 23:04:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667863808001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:04: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-26 23:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787765394000,"timestamp_ms":1787765394000,"timestamp_seconds":1787765394,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1f0a50"} 
[2026-08-26 23:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:04: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-26 23:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 23:04: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-26 23:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:04: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-26 23:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667863808001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667863808001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:04:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:04:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667863808001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":162775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:04:42] local.INFO: GPS data processed {"connection_id":162775,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:04:42] local.INFO: Acknowledgment sent {"connection_id":162775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:05:13] local.INFO: TCP Data received {"connection_id":162775,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:05:13] local.INFO: Processing buffer {"connection_id":162775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f1f0a50012d34c14006aa4818000f00e62f..."} 
[2026-08-26 23:05:13] local.INFO: Packet analysis {"connection_id":162775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f1f"} 
[2026-08-26 23:05:13] local.INFO: Extracted packet for processing {"connection_id":162775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f1f"} 
[2026-08-26 23:05:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667863808001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:05: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-26 23:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787765394000,"timestamp_ms":1787765394000,"timestamp_seconds":1787765394,"priority":1,"record_length":96,"hex_timestamp":"000001a03f1f0a50"} 
[2026-08-26 23: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-26 23:05: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-26 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 23:05: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-26 23: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-26 23: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-26 23:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667863808001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667863808001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:05:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:05:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667863808001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":162775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:05:13] local.INFO: GPS data processed {"connection_id":162775,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:05:13] local.INFO: Acknowledgment sent {"connection_id":162775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:05:35] local.INFO: TCP Data received {"connection_id":162521,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:05:35] local.INFO: Processing buffer {"connection_id":162521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:05:35] local.INFO: IMEI packet received {"connection_id":162521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":162521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:05:41] local.INFO: TCP Data received {"connection_id":162521,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:05:41] local.INFO: Processing buffer {"connection_id":162521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:05:41] local.INFO: IMEI packet received {"connection_id":162521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":162521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:05:42] local.INFO: TCP Data received {"connection_id":162521,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:05:42] local.INFO: Processing buffer {"connection_id":162521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:05:42] local.INFO: Packet analysis {"connection_id":162521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f23"} 
[2026-08-26 23:05:42] local.INFO: Extracted packet for processing {"connection_id":162521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f23"} 
[2026-08-26 23:05:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":17,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667940864001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:05: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-26 23:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787765695000,"timestamp_ms":1787765695000,"timestamp_seconds":1787765695,"priority":1,"record_length":96,"hex_timestamp":"000001a03f23a218"} 
[2026-08-26 23:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:05: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-26 23:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:05: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-26 23:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:05:42] 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-26 23:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667940864001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667940864001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:05:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:05:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667940864001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":162521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:05:42] local.INFO: GPS data processed {"connection_id":162521,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:05:42] local.INFO: Acknowledgment sent {"connection_id":162521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:06:13] local.INFO: TCP Data received {"connection_id":162521,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:06:13] local.INFO: Processing buffer {"connection_id":162521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:06:13] local.INFO: Packet analysis {"connection_id":162521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f23"} 
[2026-08-26 23:06:13] local.INFO: Extracted packet for processing {"connection_id":162521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f23"} 
[2026-08-26 23:06:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":17,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667940864001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:06: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-26 23:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787765695000,"timestamp_ms":1787765695000,"timestamp_seconds":1787765695,"priority":1,"record_length":96,"hex_timestamp":"000001a03f23a218"} 
[2026-08-26 23: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-26 23:06: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-26 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23: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-26 23: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-26 23:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:06: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-26 23:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667940864001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667940864001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:06:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:06:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667940864001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":162521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:06:13] local.INFO: GPS data processed {"connection_id":162521,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:06:13] local.INFO: Acknowledgment sent {"connection_id":162521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:06:35] local.INFO: TCP Data received {"connection_id":162776,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:06:35] local.INFO: Processing buffer {"connection_id":162776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:06:35] local.INFO: IMEI packet received {"connection_id":162776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":162776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:06:41] local.INFO: TCP Data received {"connection_id":162776,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:06:41] local.INFO: Processing buffer {"connection_id":162776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:06:41] local.INFO: IMEI packet received {"connection_id":162776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":162776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:06:42] local.INFO: TCP Data received {"connection_id":162776,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:06:42] local.INFO: Processing buffer {"connection_id":162776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:06:42] local.INFO: Packet analysis {"connection_id":162776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f23"} 
[2026-08-26 23:06:42] local.INFO: Extracted packet for processing {"connection_id":162776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f23"} 
[2026-08-26 23:06:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":17,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667940864001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:06: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-26 23:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787765695000,"timestamp_ms":1787765695000,"timestamp_seconds":1787765695,"priority":1,"record_length":96,"hex_timestamp":"000001a03f23a218"} 
[2026-08-26 23:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:06: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-26 23:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:06: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-26 23:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667940864001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667940864001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:06:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:06:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667940864001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":162776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:06:42] local.INFO: GPS data processed {"connection_id":162776,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:06:42] local.INFO: Acknowledgment sent {"connection_id":162776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:07:13] local.INFO: TCP Data received {"connection_id":162776,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:07:13] local.INFO: Processing buffer {"connection_id":162776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:07:13] local.INFO: Packet analysis {"connection_id":162776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f23"} 
[2026-08-26 23:07:13] local.INFO: Extracted packet for processing {"connection_id":162776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f23"} 
[2026-08-26 23:07:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":17,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667940864001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:07: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-26 23:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787765695000,"timestamp_ms":1787765695000,"timestamp_seconds":1787765695,"priority":1,"record_length":96,"hex_timestamp":"000001a03f23a218"} 
[2026-08-26 23: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-26 23:07: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-26 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23: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-26 23: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-26 23:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:07:13] 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-26 23:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667940864001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667940864001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:07:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:07:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667940864001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":162776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:07:13] local.INFO: GPS data processed {"connection_id":162776,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:07:13] local.INFO: Acknowledgment sent {"connection_id":162776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:07:35] local.INFO: TCP Data received {"connection_id":165151,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:07:35] local.INFO: Processing buffer {"connection_id":165151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:07:35] local.INFO: IMEI packet received {"connection_id":165151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":165151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:07:41] local.INFO: TCP Data received {"connection_id":165151,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:07:41] local.INFO: Processing buffer {"connection_id":165151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:07:41] local.INFO: IMEI packet received {"connection_id":165151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":165151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:07:42] local.INFO: TCP Data received {"connection_id":165151,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:07:42] local.INFO: Processing buffer {"connection_id":165151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:07:42] local.INFO: Packet analysis {"connection_id":165151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f23"} 
[2026-08-26 23:07:42] local.INFO: Extracted packet for processing {"connection_id":165151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f23"} 
[2026-08-26 23:07:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":17,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667940864001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:07: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-26 23:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787765695000,"timestamp_ms":1787765695000,"timestamp_seconds":1787765695,"priority":1,"record_length":96,"hex_timestamp":"000001a03f23a218"} 
[2026-08-26 23:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:07: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-26 23:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:07: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-26 23:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:07: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-26 23:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667940864001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667940864001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:07:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:07:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667940864001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":165151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:07:42] local.INFO: GPS data processed {"connection_id":165151,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:07:42] local.INFO: Acknowledgment sent {"connection_id":165151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:08:13] local.INFO: TCP Data received {"connection_id":165151,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:08:13] local.INFO: Processing buffer {"connection_id":165151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:08:13] local.INFO: Packet analysis {"connection_id":165151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f23"} 
[2026-08-26 23:08:13] local.INFO: Extracted packet for processing {"connection_id":165151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f23"} 
[2026-08-26 23:08:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":17,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667940864001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:08: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-26 23:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787765695000,"timestamp_ms":1787765695000,"timestamp_seconds":1787765695,"priority":1,"record_length":96,"hex_timestamp":"000001a03f23a218"} 
[2026-08-26 23: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-26 23: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-26 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23: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-26 23: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-26 23:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:08: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-26 23:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667940864001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667940864001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:08:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:08:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667940864001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":165151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:08:13] local.INFO: GPS data processed {"connection_id":165151,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:08:13] local.INFO: Acknowledgment sent {"connection_id":165151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:08:41] local.INFO: TCP Data received {"connection_id":165152,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:08:41] local.INFO: Processing buffer {"connection_id":165152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:08:41] local.INFO: IMEI packet received {"connection_id":165152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":165152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:08:46] local.INFO: TCP Data received {"connection_id":165152,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:08:46] local.INFO: Processing buffer {"connection_id":165152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:08:46] local.INFO: IMEI packet received {"connection_id":165152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":165152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:08:47] local.INFO: TCP Data received {"connection_id":165152,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:08:47] local.INFO: Processing buffer {"connection_id":165152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:08:47] local.INFO: Packet analysis {"connection_id":165152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f23"} 
[2026-08-26 23:08:47] local.INFO: Extracted packet for processing {"connection_id":165152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f23"} 
[2026-08-26 23:08:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":17,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 23:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667940864001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23: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-26 23:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787765695000,"timestamp_ms":1787765695000,"timestamp_seconds":1787765695,"priority":1,"record_length":96,"hex_timestamp":"000001a03f23a218"} 
[2026-08-26 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-26 23:08: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-26 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:08: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-26 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-26 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-26 23:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:08:47] 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-26 23:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667940864001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667940864001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:08:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:08:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667940864001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":165152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:08:47] local.INFO: GPS data processed {"connection_id":165152,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:08:47] local.INFO: Acknowledgment sent {"connection_id":165152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:08:51] local.INFO: TCP Data received {"connection_id":165152,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:08:51] local.INFO: Processing buffer {"connection_id":165152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:08:51] local.INFO: Packet analysis {"connection_id":165152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f23"} 
[2026-08-26 23:08:51] local.INFO: Extracted packet for processing {"connection_id":165152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f23"} 
[2026-08-26 23:08:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":17,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667940864001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 23:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787765695000,"timestamp_ms":1787765695000,"timestamp_seconds":1787765695,"priority":1,"record_length":96,"hex_timestamp":"000001a03f23a218"} 
[2026-08-26 23: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-26 23:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23: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-26 23: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-26 23:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":165152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":165152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":165152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:08:51] 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-26 23:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667940864001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667940864001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:08:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:08:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667940864001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":165152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:08:51] local.INFO: GPS data processed {"connection_id":165152,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:08:51] local.INFO: Acknowledgment sent {"connection_id":165152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:09:36] local.INFO: TCP Data received {"connection_id":162522,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:09:36] local.INFO: Processing buffer {"connection_id":162522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:09:36] local.INFO: IMEI packet received {"connection_id":162522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":162522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:09:40] local.INFO: TCP Data received {"connection_id":162522,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:09:40] local.INFO: Processing buffer {"connection_id":162522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:09:40] local.INFO: IMEI packet received {"connection_id":162522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":162522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:09:41] local.INFO: TCP Data received {"connection_id":162522,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:09:41] local.INFO: Processing buffer {"connection_id":162522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:09:41] local.INFO: Packet analysis {"connection_id":162522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f23"} 
[2026-08-26 23:09:41] local.INFO: Extracted packet for processing {"connection_id":162522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f23"} 
[2026-08-26 23:09:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":17,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667940864001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:09: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-26 23:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787765695000,"timestamp_ms":1787765695000,"timestamp_seconds":1787765695,"priority":1,"record_length":96,"hex_timestamp":"000001a03f23a218"} 
[2026-08-26 23:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:09: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-26 23:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:09: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-26 23:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:09: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-26 23:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667940864001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667940864001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:09:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:09:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667940864001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":162522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:09:41] local.INFO: GPS data processed {"connection_id":162522,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:09:41] local.INFO: Acknowledgment sent {"connection_id":162522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:09:47] local.INFO: TCP Data received {"connection_id":162522,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:09:47] local.INFO: Processing buffer {"connection_id":162522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:09:47] local.INFO: Packet analysis {"connection_id":162522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f23"} 
[2026-08-26 23:09:47] local.INFO: Extracted packet for processing {"connection_id":162522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f23"} 
[2026-08-26 23:09:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":17,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667940864001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:09: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-26 23:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787765695000,"timestamp_ms":1787765695000,"timestamp_seconds":1787765695,"priority":1,"record_length":96,"hex_timestamp":"000001a03f23a218"} 
[2026-08-26 23: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-26 23:09: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-26 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:09: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-26 23: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-26 23: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-26 23:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:09:47] 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-26 23:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667940864001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667940864001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:09:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:09:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667940864001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":162522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:09:47] local.INFO: GPS data processed {"connection_id":162522,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:09:47] local.INFO: Acknowledgment sent {"connection_id":162522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:10:18] local.INFO: TCP Data received {"connection_id":162522,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:10:18] local.INFO: Processing buffer {"connection_id":162522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f23a218012d34c14006aa4818001100e62f..."} 
[2026-08-26 23:10:18] local.INFO: Packet analysis {"connection_id":162522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f23"} 
[2026-08-26 23:10:18] local.INFO: Extracted packet for processing {"connection_id":162522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f23"} 
[2026-08-26 23:10:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":17,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457667940864001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:10: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-26 23:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787765695000,"timestamp_ms":1787765695000,"timestamp_seconds":1787765695,"priority":1,"record_length":96,"hex_timestamp":"000001a03f23a218"} 
[2026-08-26 23: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-26 23:10: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-26 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23: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-26 23: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-26 23:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:10: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-26 23:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457667940864001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457667940864001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:10:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:10:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457667940864001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":162522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:10:18] local.INFO: GPS data processed {"connection_id":162522,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:10:18] local.INFO: Acknowledgment sent {"connection_id":162522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:10:34] local.INFO: TCP Data received {"connection_id":165153,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:10:34] local.INFO: Processing buffer {"connection_id":165153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:10:34] local.INFO: IMEI packet received {"connection_id":165153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":165153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:10:35] local.INFO: TCP Data received {"connection_id":165153,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:10:35] local.INFO: Processing buffer {"connection_id":165153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:10:35] local.INFO: IMEI packet received {"connection_id":165153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":165153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:10:41] local.INFO: TCP Data received {"connection_id":165153,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:10:41] local.INFO: Processing buffer {"connection_id":165153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:10:41] local.INFO: IMEI packet received {"connection_id":165153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":165153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:10:44] local.INFO: TCP Data received {"connection_id":165153,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:10:44] local.INFO: Processing buffer {"connection_id":165153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:10:44] local.INFO: Packet analysis {"connection_id":165153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f28"} 
[2026-08-26 23:10:44] local.INFO: Extracted packet for processing {"connection_id":165153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f28"} 
[2026-08-26 23:10:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668017920001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:10: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-26 23:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787765996000,"timestamp_ms":1787765996000,"timestamp_seconds":1787765996,"priority":1,"record_length":96,"hex_timestamp":"000001a03f2839e0"} 
[2026-08-26 23: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-26 23: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-26 23: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-26 23: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-26 23: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-26 23: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-26 23:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":165153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":165153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":165153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:10:44] 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-26 23:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668017920001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668017920001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:10:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:10:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668017920001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":165153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:10:44] local.INFO: GPS data processed {"connection_id":165153,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:10:44] local.INFO: Acknowledgment sent {"connection_id":165153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:11:16] local.INFO: TCP Data received {"connection_id":165153,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:11:16] local.INFO: Processing buffer {"connection_id":165153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:11:16] local.INFO: Packet analysis {"connection_id":165153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f28"} 
[2026-08-26 23:11:16] local.INFO: Extracted packet for processing {"connection_id":165153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f28"} 
[2026-08-26 23:11:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668017920001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:11: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-26 23:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787765996000,"timestamp_ms":1787765996000,"timestamp_seconds":1787765996,"priority":1,"record_length":96,"hex_timestamp":"000001a03f2839e0"} 
[2026-08-26 23:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:11: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-26 23:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 23:11: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-26 23:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":165153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":165153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":165153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:11: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-26 23:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668017920001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668017920001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:11:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:11:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668017920001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":165153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:11:16] local.INFO: GPS data processed {"connection_id":165153,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:11:16] local.INFO: Acknowledgment sent {"connection_id":165153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:11:35] local.INFO: TCP Data received {"connection_id":162778,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:11:35] local.INFO: Processing buffer {"connection_id":162778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:11:35] local.INFO: IMEI packet received {"connection_id":162778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":162778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:11:40] local.INFO: TCP Data received {"connection_id":162778,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:11:40] local.INFO: Processing buffer {"connection_id":162778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:11:40] local.INFO: IMEI packet received {"connection_id":162778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":162778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:11:41] local.INFO: TCP Data received {"connection_id":162778,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:11:41] local.INFO: Processing buffer {"connection_id":162778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:11:41] local.INFO: Packet analysis {"connection_id":162778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f28"} 
[2026-08-26 23:11:41] local.INFO: Extracted packet for processing {"connection_id":162778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f28"} 
[2026-08-26 23:11:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668017920001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:11: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-26 23:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787765996000,"timestamp_ms":1787765996000,"timestamp_seconds":1787765996,"priority":1,"record_length":96,"hex_timestamp":"000001a03f2839e0"} 
[2026-08-26 23:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:11: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-26 23:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 23:11: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-26 23:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:11: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-26 23:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668017920001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668017920001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:11:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:11:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668017920001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":162778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:11:41] local.INFO: GPS data processed {"connection_id":162778,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:11:41] local.INFO: Acknowledgment sent {"connection_id":162778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:12:14] local.INFO: TCP Data received {"connection_id":162778,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:12:14] local.INFO: Processing buffer {"connection_id":162778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:12:14] local.INFO: Packet analysis {"connection_id":162778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f28"} 
[2026-08-26 23:12:14] local.INFO: Extracted packet for processing {"connection_id":162778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f28"} 
[2026-08-26 23:12:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668017920001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:12: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-26 23:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787765996000,"timestamp_ms":1787765996000,"timestamp_seconds":1787765996,"priority":1,"record_length":96,"hex_timestamp":"000001a03f2839e0"} 
[2026-08-26 23:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:12: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-26 23:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 23:12: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-26 23:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:12: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-26 23:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668017920001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668017920001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:12:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:12:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668017920001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":162778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:12:14] local.INFO: GPS data processed {"connection_id":162778,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:12:14] local.INFO: Acknowledgment sent {"connection_id":162778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:12:41] local.INFO: TCP Data received {"connection_id":163794,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:12:41] local.INFO: Processing buffer {"connection_id":163794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:12:41] local.INFO: IMEI packet received {"connection_id":163794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":163794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:12:46] local.INFO: TCP Data received {"connection_id":163794,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:12:46] local.INFO: Processing buffer {"connection_id":163794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:12:46] local.INFO: IMEI packet received {"connection_id":163794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":163794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:12:47] local.INFO: TCP Data received {"connection_id":163794,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:12:47] local.INFO: Processing buffer {"connection_id":163794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:12:47] local.INFO: Packet analysis {"connection_id":163794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f28"} 
[2026-08-26 23:12:47] local.INFO: Extracted packet for processing {"connection_id":163794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f28"} 
[2026-08-26 23:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 23:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668017920001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:12: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-26 23:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787765996000,"timestamp_ms":1787765996000,"timestamp_seconds":1787765996,"priority":1,"record_length":96,"hex_timestamp":"000001a03f2839e0"} 
[2026-08-26 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-26 23:12: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-26 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 23:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 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-26 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-26 23:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:12:47] 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-26 23:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668017920001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668017920001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:12:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668017920001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":163794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:12:47] local.INFO: GPS data processed {"connection_id":163794,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:12:47] local.INFO: Acknowledgment sent {"connection_id":163794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:12:51] local.INFO: TCP Data received {"connection_id":163794,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:12:51] local.INFO: Processing buffer {"connection_id":163794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:12:51] local.INFO: Packet analysis {"connection_id":163794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f28"} 
[2026-08-26 23:12:51] local.INFO: Extracted packet for processing {"connection_id":163794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f28"} 
[2026-08-26 23:12:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668017920001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 23:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787765996000,"timestamp_ms":1787765996000,"timestamp_seconds":1787765996,"priority":1,"record_length":96,"hex_timestamp":"000001a03f2839e0"} 
[2026-08-26 23:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 23:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 23:12:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 23:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:12:51] 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-26 23:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668017920001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668017920001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:12:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:12:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668017920001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":163794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:12:51] local.INFO: GPS data processed {"connection_id":163794,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:12:51] local.INFO: Acknowledgment sent {"connection_id":163794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:13:36] local.INFO: TCP Data received {"connection_id":165154,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:13:36] local.INFO: Processing buffer {"connection_id":165154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:13:36] local.INFO: IMEI packet received {"connection_id":165154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":165154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:13:41] local.INFO: TCP Data received {"connection_id":165154,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:13:41] local.INFO: Processing buffer {"connection_id":165154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:13:41] local.INFO: IMEI packet received {"connection_id":165154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":165154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:13:42] local.INFO: TCP Data received {"connection_id":165154,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:13:42] local.INFO: Processing buffer {"connection_id":165154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:13:42] local.INFO: Packet analysis {"connection_id":165154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f28"} 
[2026-08-26 23:13:42] local.INFO: Extracted packet for processing {"connection_id":165154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f28"} 
[2026-08-26 23:13:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668017920001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:13: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-26 23:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787765996000,"timestamp_ms":1787765996000,"timestamp_seconds":1787765996,"priority":1,"record_length":96,"hex_timestamp":"000001a03f2839e0"} 
[2026-08-26 23:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:13: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-26 23:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 23:13: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-26 23:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:13: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-26 23:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668017920001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668017920001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:13:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:13:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668017920001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":165154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:13:42] local.INFO: GPS data processed {"connection_id":165154,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:13:42] local.INFO: Acknowledgment sent {"connection_id":165154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:14:14] local.INFO: TCP Data received {"connection_id":165154,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:14:14] local.INFO: Processing buffer {"connection_id":165154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:14:14] local.INFO: Packet analysis {"connection_id":165154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f28"} 
[2026-08-26 23:14:14] local.INFO: Extracted packet for processing {"connection_id":165154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f28"} 
[2026-08-26 23:14:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668017920001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:14: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-26 23:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787765996000,"timestamp_ms":1787765996000,"timestamp_seconds":1787765996,"priority":1,"record_length":96,"hex_timestamp":"000001a03f2839e0"} 
[2026-08-26 23: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-26 23:14: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-26 23: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":53,"data_length":795,"current_offset":136} 
[2026-08-26 23:14: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-26 23: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-26 23: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-26 23:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:14: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-26 23:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668017920001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668017920001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:14:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:14:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668017920001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":165154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:14:14] local.INFO: GPS data processed {"connection_id":165154,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:14:14] local.INFO: Acknowledgment sent {"connection_id":165154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:14:36] local.INFO: TCP Data received {"connection_id":162523,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:14:36] local.INFO: Processing buffer {"connection_id":162523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:14:36] local.INFO: IMEI packet received {"connection_id":162523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":162523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:14:41] local.INFO: TCP Data received {"connection_id":162523,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:14:41] local.INFO: Processing buffer {"connection_id":162523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:14:41] local.INFO: IMEI packet received {"connection_id":162523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":162523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:14:42] local.INFO: TCP Data received {"connection_id":162523,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:14:42] local.INFO: Processing buffer {"connection_id":162523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:14:42] local.INFO: Packet analysis {"connection_id":162523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f28"} 
[2026-08-26 23:14:42] local.INFO: Extracted packet for processing {"connection_id":162523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f28"} 
[2026-08-26 23:14:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668017920001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23: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-26 23:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787765996000,"timestamp_ms":1787765996000,"timestamp_seconds":1787765996,"priority":1,"record_length":96,"hex_timestamp":"000001a03f2839e0"} 
[2026-08-26 23: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-26 23:14: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-26 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 23:14: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-26 23: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-26 23: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-26 23:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:14: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-26 23:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668017920001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668017920001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:14:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:14:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668017920001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":162523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:14:42] local.INFO: GPS data processed {"connection_id":162523,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:14:42] local.INFO: Acknowledgment sent {"connection_id":162523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:15:13] local.INFO: TCP Data received {"connection_id":162523,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:15:13] local.INFO: Processing buffer {"connection_id":162523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f2839e0012d34c14006aa4818000b00e62f..."} 
[2026-08-26 23:15:13] local.INFO: Packet analysis {"connection_id":162523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f28"} 
[2026-08-26 23:15:13] local.INFO: Extracted packet for processing {"connection_id":162523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f28"} 
[2026-08-26 23:15:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668017920001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:15: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-26 23:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787765996000,"timestamp_ms":1787765996000,"timestamp_seconds":1787765996,"priority":1,"record_length":96,"hex_timestamp":"000001a03f2839e0"} 
[2026-08-26 23: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-26 23:15: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-26 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-26 23:15: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-26 23: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-26 23: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-26 23:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668017920001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668017920001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:15:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:15:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668017920001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":162523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:15:13] local.INFO: GPS data processed {"connection_id":162523,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:15:13] local.INFO: Acknowledgment sent {"connection_id":162523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:15:35] local.INFO: TCP Data received {"connection_id":162524,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:15:35] local.INFO: Processing buffer {"connection_id":162524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:15:35] local.INFO: IMEI packet received {"connection_id":162524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":162524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:15:36] local.INFO: TCP Data received {"connection_id":162524,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:15:36] local.INFO: Processing buffer {"connection_id":162524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:15:36] local.INFO: IMEI packet received {"connection_id":162524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":162524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:15:41] local.INFO: TCP Data received {"connection_id":162524,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:15:41] local.INFO: Processing buffer {"connection_id":162524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:15:41] local.INFO: IMEI packet received {"connection_id":162524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":162524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:15:41] local.INFO: TCP Data received {"connection_id":162524,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:15:41] local.INFO: Processing buffer {"connection_id":162524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:15:41] local.INFO: Packet analysis {"connection_id":162524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f2c"} 
[2026-08-26 23:15:41] local.INFO: Extracted packet for processing {"connection_id":162524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f2c"} 
[2026-08-26 23:15:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668094976001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:15: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-26 23:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787766297000,"timestamp_ms":1787766297000,"timestamp_seconds":1787766297,"priority":1,"record_length":96,"hex_timestamp":"000001a03f2cd1a8"} 
[2026-08-26 23:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:15: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-26 23:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-26 23:15:41] 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-26 23:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:15:41] 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-26 23:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668094976001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668094976001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:15:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:15:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668094976001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":162524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:15:42] local.INFO: GPS data processed {"connection_id":162524,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:15:42] local.INFO: Acknowledgment sent {"connection_id":162524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:16:13] local.INFO: TCP Data received {"connection_id":162524,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:16:13] local.INFO: Processing buffer {"connection_id":162524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:16:13] local.INFO: Packet analysis {"connection_id":162524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f2c"} 
[2026-08-26 23:16:13] local.INFO: Extracted packet for processing {"connection_id":162524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f2c"} 
[2026-08-26 23:16:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668094976001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:16: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-26 23:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787766297000,"timestamp_ms":1787766297000,"timestamp_seconds":1787766297,"priority":1,"record_length":96,"hex_timestamp":"000001a03f2cd1a8"} 
[2026-08-26 23:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23: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-26 23:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-26 23:16:13] 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-26 23:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:16:13] 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-26 23:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668094976001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668094976001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:16:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:16:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668094976001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":162524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:16:13] local.INFO: GPS data processed {"connection_id":162524,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:16:13] local.INFO: Acknowledgment sent {"connection_id":162524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:16:35] local.INFO: TCP Data received {"connection_id":162779,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:16:35] local.INFO: Processing buffer {"connection_id":162779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:16:35] local.INFO: IMEI packet received {"connection_id":162779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":162779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:16:41] local.INFO: TCP Data received {"connection_id":162779,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:16:41] local.INFO: Processing buffer {"connection_id":162779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:16:41] local.INFO: IMEI packet received {"connection_id":162779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":162779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:16:44] local.INFO: TCP Data received {"connection_id":162779,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:16:44] local.INFO: Processing buffer {"connection_id":162779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:16:44] local.INFO: Packet analysis {"connection_id":162779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f2c"} 
[2026-08-26 23:16:44] local.INFO: Extracted packet for processing {"connection_id":162779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f2c"} 
[2026-08-26 23:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668094976001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:16: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-26 23:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787766297000,"timestamp_ms":1787766297000,"timestamp_seconds":1787766297,"priority":1,"record_length":96,"hex_timestamp":"000001a03f2cd1a8"} 
[2026-08-26 23:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:16: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-26 23:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-26 23:16:44] 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-26 23:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668094976001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668094976001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:16:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:16:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668094976001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":162779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:16:44] local.INFO: GPS data processed {"connection_id":162779,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:16:44] local.INFO: Acknowledgment sent {"connection_id":162779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:17:19] local.INFO: TCP Data received {"connection_id":162779,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:17:19] local.INFO: Processing buffer {"connection_id":162779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:17:19] local.INFO: Packet analysis {"connection_id":162779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f2c"} 
[2026-08-26 23:17:19] local.INFO: Extracted packet for processing {"connection_id":162779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f2c"} 
[2026-08-26 23:17:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668094976001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 23:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787766297000,"timestamp_ms":1787766297000,"timestamp_seconds":1787766297,"priority":1,"record_length":96,"hex_timestamp":"000001a03f2cd1a8"} 
[2026-08-26 23: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-26 23:17: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-26 23: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-26 23:17:19] 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-26 23: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-26 23: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-26 23:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":162779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":162779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":162779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668094976001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668094976001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:17:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:17:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668094976001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":162779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:17:19] local.INFO: GPS data processed {"connection_id":162779,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:17:19] local.INFO: Acknowledgment sent {"connection_id":162779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:17:41] local.INFO: TCP Data received {"connection_id":165156,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:17:41] local.INFO: Processing buffer {"connection_id":165156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:17:41] local.INFO: IMEI packet received {"connection_id":165156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":165156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:17:46] local.INFO: TCP Data received {"connection_id":165156,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:17:46] local.INFO: Processing buffer {"connection_id":165156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:17:46] local.INFO: IMEI packet received {"connection_id":165156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":165156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:17:47] local.INFO: TCP Data received {"connection_id":165156,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:17:47] local.INFO: Processing buffer {"connection_id":165156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:17:47] local.INFO: Packet analysis {"connection_id":165156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f2c"} 
[2026-08-26 23:17:47] local.INFO: Extracted packet for processing {"connection_id":165156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f2c"} 
[2026-08-26 23:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 23:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668094976001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:17: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-26 23:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787766297000,"timestamp_ms":1787766297000,"timestamp_seconds":1787766297,"priority":1,"record_length":96,"hex_timestamp":"000001a03f2cd1a8"} 
[2026-08-26 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-26 23:17: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-26 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-26 23:17: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-26 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-26 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-26 23:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:17:47] 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-26 23:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668094976001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668094976001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:17:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668094976001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":165156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:17:47] local.INFO: GPS data processed {"connection_id":165156,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:17:47] local.INFO: Acknowledgment sent {"connection_id":165156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:18:19] local.INFO: TCP Data received {"connection_id":165156,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:18:19] local.INFO: Processing buffer {"connection_id":165156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:18:19] local.INFO: Packet analysis {"connection_id":165156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f2c"} 
[2026-08-26 23:18:19] local.INFO: Extracted packet for processing {"connection_id":165156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f2c"} 
[2026-08-26 23:18:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668094976001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 23:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787766297000,"timestamp_ms":1787766297000,"timestamp_seconds":1787766297,"priority":1,"record_length":96,"hex_timestamp":"000001a03f2cd1a8"} 
[2026-08-26 23: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-26 23:18: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-26 23: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-26 23:18:19] 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-26 23: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-26 23: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-26 23:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":165156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":165156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":165156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:18:19] 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-26 23:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668094976001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668094976001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:18:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:18:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668094976001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":165156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:18:19] local.INFO: GPS data processed {"connection_id":165156,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:18:19] local.INFO: Acknowledgment sent {"connection_id":165156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:18:36] local.INFO: TCP Data received {"connection_id":163795,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:18:36] local.INFO: Processing buffer {"connection_id":163795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:18:36] local.INFO: IMEI packet received {"connection_id":163795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":163795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:18:41] local.INFO: TCP Data received {"connection_id":163795,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:18:41] local.INFO: Processing buffer {"connection_id":163795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:18:41] local.INFO: IMEI packet received {"connection_id":163795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":163795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:18:42] local.INFO: TCP Data received {"connection_id":163795,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:18:42] local.INFO: Processing buffer {"connection_id":163795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:18:42] local.INFO: Packet analysis {"connection_id":163795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f2c"} 
[2026-08-26 23:18:42] local.INFO: Extracted packet for processing {"connection_id":163795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f2c"} 
[2026-08-26 23:18:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668094976001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23: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-26 23:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787766297000,"timestamp_ms":1787766297000,"timestamp_seconds":1787766297,"priority":1,"record_length":96,"hex_timestamp":"000001a03f2cd1a8"} 
[2026-08-26 23: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-26 23:18: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-26 23: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-26 23:18:42] 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-26 23: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-26 23: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-26 23:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:18: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-26 23:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668094976001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668094976001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:18:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:18:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668094976001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":163795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:18:42] local.INFO: GPS data processed {"connection_id":163795,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:18:42] local.INFO: Acknowledgment sent {"connection_id":163795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:19:13] local.INFO: TCP Data received {"connection_id":163795,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:19:13] local.INFO: Processing buffer {"connection_id":163795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:19:13] local.INFO: Packet analysis {"connection_id":163795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f2c"} 
[2026-08-26 23:19:13] local.INFO: Extracted packet for processing {"connection_id":163795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f2c"} 
[2026-08-26 23:19:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668094976001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:19: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-26 23:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787766297000,"timestamp_ms":1787766297000,"timestamp_seconds":1787766297,"priority":1,"record_length":96,"hex_timestamp":"000001a03f2cd1a8"} 
[2026-08-26 23: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-26 23:19: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-26 23: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-26 23:19:13] 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-26 23: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-26 23: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-26 23:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:19:13] 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-26 23:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668094976001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668094976001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:19:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:19:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668094976001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":163795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:19:13] local.INFO: GPS data processed {"connection_id":163795,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:19:13] local.INFO: Acknowledgment sent {"connection_id":163795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:19:35] local.INFO: TCP Data received {"connection_id":162525,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:19:35] local.INFO: Processing buffer {"connection_id":162525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:19:35] local.INFO: IMEI packet received {"connection_id":162525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":162525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:19:40] local.INFO: TCP Data received {"connection_id":162525,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:19:40] local.INFO: Processing buffer {"connection_id":162525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:19:40] local.INFO: IMEI packet received {"connection_id":162525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":162525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:19:41] local.INFO: TCP Data received {"connection_id":162525,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:19:41] local.INFO: Processing buffer {"connection_id":162525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:19:41] local.INFO: Packet analysis {"connection_id":162525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f2c"} 
[2026-08-26 23:19:41] local.INFO: Extracted packet for processing {"connection_id":162525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f2c"} 
[2026-08-26 23:19:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668094976001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:19: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-26 23:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787766297000,"timestamp_ms":1787766297000,"timestamp_seconds":1787766297,"priority":1,"record_length":96,"hex_timestamp":"000001a03f2cd1a8"} 
[2026-08-26 23:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:19: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-26 23:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-26 23:19:41] 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-26 23:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:19: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-26 23:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668094976001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668094976001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:19:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:19:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668094976001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":162525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:19:41] local.INFO: GPS data processed {"connection_id":162525,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:19:41] local.INFO: Acknowledgment sent {"connection_id":162525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:20:13] local.INFO: TCP Data received {"connection_id":162525,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:20:13] local.INFO: Processing buffer {"connection_id":162525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f2cd1a8012d34c14006aa4818000600e62c..."} 
[2026-08-26 23:20:13] local.INFO: Packet analysis {"connection_id":162525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f2c"} 
[2026-08-26 23:20:13] local.INFO: Extracted packet for processing {"connection_id":162525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f2c"} 
[2026-08-26 23:20:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":6,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668094976001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:20: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-26 23:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787766297000,"timestamp_ms":1787766297000,"timestamp_seconds":1787766297,"priority":1,"record_length":96,"hex_timestamp":"000001a03f2cd1a8"} 
[2026-08-26 23: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-26 23: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-26 23: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-26 23:20:13] 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-26 23: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-26 23: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-26 23:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668094976001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668094976001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:20:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:20:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668094976001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":162525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:20:13] local.INFO: GPS data processed {"connection_id":162525,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:20:13] local.INFO: Acknowledgment sent {"connection_id":162525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:20:35] local.INFO: TCP Data received {"connection_id":162780,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:20:35] local.INFO: Processing buffer {"connection_id":162780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:20:35] local.INFO: IMEI packet received {"connection_id":162780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":162780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:20:36] local.INFO: TCP Data received {"connection_id":162780,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:20:36] local.INFO: Processing buffer {"connection_id":162780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:20:36] local.INFO: IMEI packet received {"connection_id":162780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":162780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:20:41] local.INFO: TCP Data received {"connection_id":162780,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:20:41] local.INFO: Processing buffer {"connection_id":162780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:20:41] local.INFO: IMEI packet received {"connection_id":162780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":162780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:20:42] local.INFO: TCP Data received {"connection_id":162780,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:20:42] local.INFO: Processing buffer {"connection_id":162780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:20:42] local.INFO: Packet analysis {"connection_id":162780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f31"} 
[2026-08-26 23:20:42] local.INFO: Extracted packet for processing {"connection_id":162780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f31"} 
[2026-08-26 23:20:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668172032001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:20: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-26 23:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787766598000,"timestamp_ms":1787766598000,"timestamp_seconds":1787766598,"priority":1,"record_length":96,"hex_timestamp":"000001a03f316970"} 
[2026-08-26 23:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:20: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-26 23:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 23:20: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-26 23:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:20: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-26 23:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668172032001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668172032001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:20:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:20:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668172032001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":162780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:20:42] local.INFO: GPS data processed {"connection_id":162780,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:20:42] local.INFO: Acknowledgment sent {"connection_id":162780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:21:14] local.INFO: TCP Data received {"connection_id":162780,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:21:14] local.INFO: Processing buffer {"connection_id":162780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:21:14] local.INFO: Packet analysis {"connection_id":162780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f31"} 
[2026-08-26 23:21:14] local.INFO: Extracted packet for processing {"connection_id":162780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f31"} 
[2026-08-26 23:21:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668172032001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:21: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-26 23:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787766598000,"timestamp_ms":1787766598000,"timestamp_seconds":1787766598,"priority":1,"record_length":96,"hex_timestamp":"000001a03f316970"} 
[2026-08-26 23: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-26 23:21: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-26 23: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 23:21: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-26 23: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-26 23: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-26 23:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:21:14] 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-26 23:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668172032001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668172032001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:21:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:21:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668172032001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":162780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:21:14] local.INFO: GPS data processed {"connection_id":162780,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:21:14] local.INFO: Acknowledgment sent {"connection_id":162780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:21:36] local.INFO: TCP Data received {"connection_id":162781,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:21:36] local.INFO: Processing buffer {"connection_id":162781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:21:36] local.INFO: IMEI packet received {"connection_id":162781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":162781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:21:41] local.INFO: TCP Data received {"connection_id":162781,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:21:41] local.INFO: Processing buffer {"connection_id":162781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:21:41] local.INFO: IMEI packet received {"connection_id":162781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":162781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:21:42] local.INFO: TCP Data received {"connection_id":162781,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:21:42] local.INFO: Processing buffer {"connection_id":162781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:21:42] local.INFO: Packet analysis {"connection_id":162781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f31"} 
[2026-08-26 23:21:42] local.INFO: Extracted packet for processing {"connection_id":162781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f31"} 
[2026-08-26 23:21:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668172032001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:21: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-26 23:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787766598000,"timestamp_ms":1787766598000,"timestamp_seconds":1787766598,"priority":1,"record_length":96,"hex_timestamp":"000001a03f316970"} 
[2026-08-26 23:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:21: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-26 23:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 23:21: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-26 23:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:21: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-26 23:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668172032001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668172032001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:21:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:21:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668172032001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":162781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:21:42] local.INFO: GPS data processed {"connection_id":162781,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:21:42] local.INFO: Acknowledgment sent {"connection_id":162781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:21:46] local.INFO: TCP Data received {"connection_id":162781,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:21:46] local.INFO: Processing buffer {"connection_id":162781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:21:46] local.INFO: Packet analysis {"connection_id":162781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f31"} 
[2026-08-26 23:21:46] local.INFO: Extracted packet for processing {"connection_id":162781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f31"} 
[2026-08-26 23:21:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668172032001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 23:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787766598000,"timestamp_ms":1787766598000,"timestamp_seconds":1787766598,"priority":1,"record_length":96,"hex_timestamp":"000001a03f316970"} 
[2026-08-26 23:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 23:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 23:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 23:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668172032001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668172032001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:21:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:21:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668172032001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":162781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:21:46] local.INFO: GPS data processed {"connection_id":162781,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:21:46] local.INFO: Acknowledgment sent {"connection_id":162781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:22:17] local.INFO: TCP Data received {"connection_id":162781,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:22:17] local.INFO: Processing buffer {"connection_id":162781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:22:17] local.INFO: Packet analysis {"connection_id":162781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f31"} 
[2026-08-26 23:22:17] local.INFO: Extracted packet for processing {"connection_id":162781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f31"} 
[2026-08-26 23:22:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668172032001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:22: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-26 23:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787766598000,"timestamp_ms":1787766598000,"timestamp_seconds":1787766598,"priority":1,"record_length":96,"hex_timestamp":"000001a03f316970"} 
[2026-08-26 23:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 23:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 23:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 23:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":162781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":162781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":162781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:22: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-26 23:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668172032001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668172032001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:22:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:22:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668172032001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":162781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:22:17] local.INFO: GPS data processed {"connection_id":162781,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:22:17] local.INFO: Acknowledgment sent {"connection_id":162781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:22:36] local.INFO: TCP Data received {"connection_id":162782,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:22:36] local.INFO: Processing buffer {"connection_id":162782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:22:36] local.INFO: IMEI packet received {"connection_id":162782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":162782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:22:41] local.INFO: TCP Data received {"connection_id":162782,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:22:41] local.INFO: Processing buffer {"connection_id":162782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:22:41] local.INFO: IMEI packet received {"connection_id":162782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":162782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:22:41] local.INFO: TCP Data received {"connection_id":162782,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:22:41] local.INFO: Processing buffer {"connection_id":162782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:22:41] local.INFO: Packet analysis {"connection_id":162782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f31"} 
[2026-08-26 23:22:41] local.INFO: Extracted packet for processing {"connection_id":162782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f31"} 
[2026-08-26 23:22:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668172032001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23: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-26 23:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787766598000,"timestamp_ms":1787766598000,"timestamp_seconds":1787766598,"priority":1,"record_length":96,"hex_timestamp":"000001a03f316970"} 
[2026-08-26 23: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-26 23: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-26 23: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 23:22: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-26 23: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-26 23: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-26 23:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23: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-26 23:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668172032001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668172032001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:22:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:22:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668172032001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":162782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:22:42] local.INFO: GPS data processed {"connection_id":162782,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:22:42] local.INFO: Acknowledgment sent {"connection_id":162782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:23:13] local.INFO: TCP Data received {"connection_id":162782,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:23:13] local.INFO: Processing buffer {"connection_id":162782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:23:13] local.INFO: Packet analysis {"connection_id":162782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f31"} 
[2026-08-26 23:23:13] local.INFO: Extracted packet for processing {"connection_id":162782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f31"} 
[2026-08-26 23:23:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668172032001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:23: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-26 23:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787766598000,"timestamp_ms":1787766598000,"timestamp_seconds":1787766598,"priority":1,"record_length":96,"hex_timestamp":"000001a03f316970"} 
[2026-08-26 23: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-26 23:23: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-26 23: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 23:23: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-26 23: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-26 23: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-26 23:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:23:13] 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-26 23:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668172032001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668172032001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:23:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:23:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668172032001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":162782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:23:13] local.INFO: GPS data processed {"connection_id":162782,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:23:13] local.INFO: Acknowledgment sent {"connection_id":162782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:23:35] local.INFO: TCP Data received {"connection_id":162526,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:23:35] local.INFO: Processing buffer {"connection_id":162526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:23:35] local.INFO: IMEI packet received {"connection_id":162526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":162526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:23:41] local.INFO: TCP Data received {"connection_id":162526,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:23:41] local.INFO: Processing buffer {"connection_id":162526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:23:41] local.INFO: IMEI packet received {"connection_id":162526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":162526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:23:42] local.INFO: TCP Data received {"connection_id":162526,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:23:42] local.INFO: Processing buffer {"connection_id":162526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:23:42] local.INFO: Packet analysis {"connection_id":162526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f31"} 
[2026-08-26 23:23:42] local.INFO: Extracted packet for processing {"connection_id":162526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f31"} 
[2026-08-26 23:23:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668172032001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23: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-26 23:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787766598000,"timestamp_ms":1787766598000,"timestamp_seconds":1787766598,"priority":1,"record_length":96,"hex_timestamp":"000001a03f316970"} 
[2026-08-26 23: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-26 23:23: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-26 23: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-26 23: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-26 23: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-26 23: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-26 23:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:23:42] 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-26 23:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668172032001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668172032001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:23:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:23:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668172032001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":162526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:23:42] local.INFO: GPS data processed {"connection_id":162526,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:23:42] local.INFO: Acknowledgment sent {"connection_id":162526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:24:13] local.INFO: TCP Data received {"connection_id":162526,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:24:13] local.INFO: Processing buffer {"connection_id":162526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:24:13] local.INFO: Packet analysis {"connection_id":162526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f31"} 
[2026-08-26 23:24:13] local.INFO: Extracted packet for processing {"connection_id":162526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f31"} 
[2026-08-26 23:24:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668172032001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:24: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-26 23:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787766598000,"timestamp_ms":1787766598000,"timestamp_seconds":1787766598,"priority":1,"record_length":96,"hex_timestamp":"000001a03f316970"} 
[2026-08-26 23: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-26 23:24: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-26 23: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 23:24: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-26 23: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-26 23: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-26 23:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:24:13] 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-26 23:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668172032001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668172032001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:24:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:24:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668172032001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":162526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:24:13] local.INFO: GPS data processed {"connection_id":162526,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:24:13] local.INFO: Acknowledgment sent {"connection_id":162526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:24:35] local.INFO: TCP Data received {"connection_id":162783,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:24:35] local.INFO: Processing buffer {"connection_id":162783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:24:35] local.INFO: IMEI packet received {"connection_id":162783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":162783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:24:41] local.INFO: TCP Data received {"connection_id":162783,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:24:41] local.INFO: Processing buffer {"connection_id":162783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:24:41] local.INFO: IMEI packet received {"connection_id":162783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":162783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:24:42] local.INFO: TCP Data received {"connection_id":162783,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:24:42] local.INFO: Processing buffer {"connection_id":162783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:24:42] local.INFO: Packet analysis {"connection_id":162783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f31"} 
[2026-08-26 23:24:42] local.INFO: Extracted packet for processing {"connection_id":162783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f31"} 
[2026-08-26 23:24:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668172032001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:24: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-26 23:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787766598000,"timestamp_ms":1787766598000,"timestamp_seconds":1787766598,"priority":1,"record_length":96,"hex_timestamp":"000001a03f316970"} 
[2026-08-26 23:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:24: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-26 23:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 23:24: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-26 23:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:24: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-26 23:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668172032001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668172032001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:24:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:24:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668172032001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":162783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:24:42] local.INFO: GPS data processed {"connection_id":162783,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:24:42] local.INFO: Acknowledgment sent {"connection_id":162783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:25:15] local.INFO: TCP Data received {"connection_id":162783,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:25:15] local.INFO: Processing buffer {"connection_id":162783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f316970012d34c14006aa4818000f00e62e..."} 
[2026-08-26 23:25:15] local.INFO: Packet analysis {"connection_id":162783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f31"} 
[2026-08-26 23:25:15] local.INFO: Extracted packet for processing {"connection_id":162783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f31"} 
[2026-08-26 23:25:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668172032001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:25: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-26 23:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787766598000,"timestamp_ms":1787766598000,"timestamp_seconds":1787766598,"priority":1,"record_length":96,"hex_timestamp":"000001a03f316970"} 
[2026-08-26 23:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:25: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-26 23:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-26 23:25: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-26 23:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668172032001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668172032001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:25:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:25:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668172032001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":162783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:25:15] local.INFO: GPS data processed {"connection_id":162783,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:25:15] local.INFO: Acknowledgment sent {"connection_id":162783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:25:37] local.INFO: TCP Data received {"connection_id":162784,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:25:37] local.INFO: Processing buffer {"connection_id":162784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:25:37] local.INFO: IMEI packet received {"connection_id":162784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":162784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:25:40] local.INFO: TCP Data received {"connection_id":162784,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:25:40] local.INFO: Processing buffer {"connection_id":162784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:25:40] local.INFO: IMEI packet received {"connection_id":162784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":162784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:25:46] local.INFO: TCP Data received {"connection_id":162784,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:25:46] local.INFO: Processing buffer {"connection_id":162784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:25:46] local.INFO: IMEI packet received {"connection_id":162784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":162784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:25:47] local.INFO: TCP Data received {"connection_id":162784,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:25:47] local.INFO: Processing buffer {"connection_id":162784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:25:47] local.INFO: Packet analysis {"connection_id":162784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f36"} 
[2026-08-26 23:25:47] local.INFO: Extracted packet for processing {"connection_id":162784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f36"} 
[2026-08-26 23:25:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 23:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668249088001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:25: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-26 23:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787766899000,"timestamp_ms":1787766899000,"timestamp_seconds":1787766899,"priority":1,"record_length":96,"hex_timestamp":"000001a03f360138"} 
[2026-08-26 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-26 23:25: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-26 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-26 23:25:47] 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-26 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-26 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-26 23:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:25:47] 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-26 23:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668249088001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668249088001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:25:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:25:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668249088001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":162784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:25:47] local.INFO: GPS data processed {"connection_id":162784,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:25:47] local.INFO: Acknowledgment sent {"connection_id":162784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:25:51] local.INFO: TCP Data received {"connection_id":162784,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:25:51] local.INFO: Processing buffer {"connection_id":162784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:25:51] local.INFO: Packet analysis {"connection_id":162784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f36"} 
[2026-08-26 23:25:51] local.INFO: Extracted packet for processing {"connection_id":162784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f36"} 
[2026-08-26 23:25:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668249088001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 23:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787766899000,"timestamp_ms":1787766899000,"timestamp_seconds":1787766899,"priority":1,"record_length":96,"hex_timestamp":"000001a03f360138"} 
[2026-08-26 23: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-26 23:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-26 23:25:51] 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-26 23: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-26 23: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-26 23:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:25:51] 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-26 23:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668249088001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668249088001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:25:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:25:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668249088001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":162784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:25:51] local.INFO: GPS data processed {"connection_id":162784,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:25:51] local.INFO: Acknowledgment sent {"connection_id":162784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:26:36] local.INFO: TCP Data received {"connection_id":165157,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:26:36] local.INFO: Processing buffer {"connection_id":165157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:26:36] local.INFO: IMEI packet received {"connection_id":165157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":165157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:26:40] local.INFO: TCP Data received {"connection_id":165157,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:26:40] local.INFO: Processing buffer {"connection_id":165157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:26:40] local.INFO: IMEI packet received {"connection_id":165157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":165157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:26:41] local.INFO: TCP Data received {"connection_id":165157,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:26:41] local.INFO: Processing buffer {"connection_id":165157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:26:41] local.INFO: Packet analysis {"connection_id":165157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f36"} 
[2026-08-26 23:26:41] local.INFO: Extracted packet for processing {"connection_id":165157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f36"} 
[2026-08-26 23:26:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668249088001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23: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-26 23:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787766899000,"timestamp_ms":1787766899000,"timestamp_seconds":1787766899,"priority":1,"record_length":96,"hex_timestamp":"000001a03f360138"} 
[2026-08-26 23: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-26 23:26: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-26 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-26 23:26: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-26 23: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-26 23: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-26 23:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":165157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":165157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":165157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:26: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-26 23:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668249088001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668249088001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:26:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:26:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668249088001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":165157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:26:41] local.INFO: GPS data processed {"connection_id":165157,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:26:41] local.INFO: Acknowledgment sent {"connection_id":165157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:27:13] local.INFO: TCP Data received {"connection_id":165157,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:27:13] local.INFO: Processing buffer {"connection_id":165157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:27:13] local.INFO: Packet analysis {"connection_id":165157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f36"} 
[2026-08-26 23:27:13] local.INFO: Extracted packet for processing {"connection_id":165157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f36"} 
[2026-08-26 23:27:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668249088001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:27: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-26 23:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787766899000,"timestamp_ms":1787766899000,"timestamp_seconds":1787766899,"priority":1,"record_length":96,"hex_timestamp":"000001a03f360138"} 
[2026-08-26 23:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:27: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-26 23:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-26 23:27:13] 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-26 23:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:27:13] 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-26 23:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668249088001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668249088001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:27:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:27:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668249088001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":165157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:27:13] local.INFO: GPS data processed {"connection_id":165157,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:27:13] local.INFO: Acknowledgment sent {"connection_id":165157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:27:35] local.INFO: TCP Data received {"connection_id":162785,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:27:35] local.INFO: Processing buffer {"connection_id":162785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:27:35] local.INFO: IMEI packet received {"connection_id":162785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":162785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:27:40] local.INFO: TCP Data received {"connection_id":162785,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:27:40] local.INFO: Processing buffer {"connection_id":162785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:27:40] local.INFO: IMEI packet received {"connection_id":162785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":162785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:27:41] local.INFO: TCP Data received {"connection_id":162785,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:27:41] local.INFO: Processing buffer {"connection_id":162785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:27:41] local.INFO: Packet analysis {"connection_id":162785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f36"} 
[2026-08-26 23:27:41] local.INFO: Extracted packet for processing {"connection_id":162785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f36"} 
[2026-08-26 23:27:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668249088001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:27: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-26 23:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787766899000,"timestamp_ms":1787766899000,"timestamp_seconds":1787766899,"priority":1,"record_length":96,"hex_timestamp":"000001a03f360138"} 
[2026-08-26 23:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:27: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-26 23:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-26 23:27: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-26 23:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:27: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-26 23:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668249088001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668249088001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:27:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:27:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668249088001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":162785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:27:41] local.INFO: GPS data processed {"connection_id":162785,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:27:41] local.INFO: Acknowledgment sent {"connection_id":162785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:28:13] local.INFO: TCP Data received {"connection_id":162785,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:28:13] local.INFO: Processing buffer {"connection_id":162785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:28:13] local.INFO: Packet analysis {"connection_id":162785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f36"} 
[2026-08-26 23:28:13] local.INFO: Extracted packet for processing {"connection_id":162785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f36"} 
[2026-08-26 23:28:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668249088001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:28: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-26 23:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787766899000,"timestamp_ms":1787766899000,"timestamp_seconds":1787766899,"priority":1,"record_length":96,"hex_timestamp":"000001a03f360138"} 
[2026-08-26 23: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-26 23:28: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-26 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-26 23:28:13] 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-26 23: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-26 23: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-26 23:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:28: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-26 23:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668249088001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668249088001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:28:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:28:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668249088001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":162785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:28:13] local.INFO: GPS data processed {"connection_id":162785,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:28:13] local.INFO: Acknowledgment sent {"connection_id":162785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:28:41] local.INFO: TCP Data received {"connection_id":162528,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:28:41] local.INFO: Processing buffer {"connection_id":162528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:28:41] local.INFO: IMEI packet received {"connection_id":162528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":162528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:28:46] local.INFO: TCP Data received {"connection_id":162528,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:28:46] local.INFO: Processing buffer {"connection_id":162528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:28:46] local.INFO: IMEI packet received {"connection_id":162528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":162528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:28:47] local.INFO: TCP Data received {"connection_id":162528,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:28:47] local.INFO: Processing buffer {"connection_id":162528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:28:47] local.INFO: Packet analysis {"connection_id":162528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f36"} 
[2026-08-26 23:28:47] local.INFO: Extracted packet for processing {"connection_id":162528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f36"} 
[2026-08-26 23:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 23:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668249088001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:28: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-26 23:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787766899000,"timestamp_ms":1787766899000,"timestamp_seconds":1787766899,"priority":1,"record_length":96,"hex_timestamp":"000001a03f360138"} 
[2026-08-26 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-26 23:28: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-26 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-26 23:28:47] 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-26 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-26 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-26 23:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668249088001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668249088001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:28:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:28:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668249088001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":162528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:28:47] local.INFO: GPS data processed {"connection_id":162528,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:28:47] local.INFO: Acknowledgment sent {"connection_id":162528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:28:52] local.INFO: TCP Data received {"connection_id":162528,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:28:52] local.INFO: Processing buffer {"connection_id":162528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:28:52] local.INFO: Packet analysis {"connection_id":162528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f36"} 
[2026-08-26 23:28:52] local.INFO: Extracted packet for processing {"connection_id":162528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f36"} 
[2026-08-26 23:28:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:28: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-26 23:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668249088001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:28: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-26 23:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787766899000,"timestamp_ms":1787766899000,"timestamp_seconds":1787766899,"priority":1,"record_length":96,"hex_timestamp":"000001a03f360138"} 
[2026-08-26 23: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-26 23:28: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-26 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-26 23:28:52] 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-26 23: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-26 23: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-26 23:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":162528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":162528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":162528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668249088001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668249088001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:28:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:28:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668249088001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":162528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:28:52] local.INFO: GPS data processed {"connection_id":162528,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:28:52] local.INFO: Acknowledgment sent {"connection_id":162528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:29:36] local.INFO: TCP Data received {"connection_id":165158,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:29:36] local.INFO: Processing buffer {"connection_id":165158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:29:36] local.INFO: IMEI packet received {"connection_id":165158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":165158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:29:41] local.INFO: TCP Data received {"connection_id":165158,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:29:41] local.INFO: Processing buffer {"connection_id":165158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:29:41] local.INFO: IMEI packet received {"connection_id":165158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":165158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:29:42] local.INFO: TCP Data received {"connection_id":165158,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:29:42] local.INFO: Processing buffer {"connection_id":165158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:29:42] local.INFO: Packet analysis {"connection_id":165158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f36"} 
[2026-08-26 23:29:42] local.INFO: Extracted packet for processing {"connection_id":165158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f36"} 
[2026-08-26 23:29:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668249088001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23: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-26 23:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787766899000,"timestamp_ms":1787766899000,"timestamp_seconds":1787766899,"priority":1,"record_length":96,"hex_timestamp":"000001a03f360138"} 
[2026-08-26 23: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-26 23:29: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-26 23: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":211,"data_length":795,"current_offset":136} 
[2026-08-26 23:29: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-26 23: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-26 23: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-26 23:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:29:42] 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-26 23:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668249088001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668249088001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:29:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:29:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668249088001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":165158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:29:42] local.INFO: GPS data processed {"connection_id":165158,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:29:42] local.INFO: Acknowledgment sent {"connection_id":165158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:30:13] local.INFO: TCP Data received {"connection_id":165158,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:30:13] local.INFO: Processing buffer {"connection_id":165158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f360138012d34c14006aa4818000c00e62e..."} 
[2026-08-26 23:30:13] local.INFO: Packet analysis {"connection_id":165158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f36"} 
[2026-08-26 23:30:13] local.INFO: Extracted packet for processing {"connection_id":165158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f36"} 
[2026-08-26 23:30:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":12,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668249088001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:30: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-26 23:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787766899000,"timestamp_ms":1787766899000,"timestamp_seconds":1787766899,"priority":1,"record_length":96,"hex_timestamp":"000001a03f360138"} 
[2026-08-26 23: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-26 23:30: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-26 23: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-26 23:30:13] 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-26 23: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-26 23: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-26 23:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:30:13] 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-26 23:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668249088001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668249088001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:30:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:30:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668249088001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":165158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:30:13] local.INFO: GPS data processed {"connection_id":165158,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:30:13] local.INFO: Acknowledgment sent {"connection_id":165158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:30:35] local.INFO: TCP Data received {"connection_id":163797,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:30:35] local.INFO: Processing buffer {"connection_id":163797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:30:35] local.INFO: IMEI packet received {"connection_id":163797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":163797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:30:39] local.INFO: TCP Data received {"connection_id":163797,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:30:39] local.INFO: Processing buffer {"connection_id":163797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:30:39] local.INFO: IMEI packet received {"connection_id":163797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":163797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:30:40] local.INFO: TCP Data received {"connection_id":163797,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:30:40] local.INFO: Processing buffer {"connection_id":163797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:30:40] local.INFO: Packet analysis {"connection_id":163797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f3a"} 
[2026-08-26 23:30:40] local.INFO: Extracted packet for processing {"connection_id":163797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f3a"} 
[2026-08-26 23:30:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668326144001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:30: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-26 23:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787767200000,"timestamp_ms":1787767200000,"timestamp_seconds":1787767200,"priority":1,"record_length":96,"hex_timestamp":"000001a03f3a9900"} 
[2026-08-26 23:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:30: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-26 23:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-26 23:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668326144001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668326144001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:30:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:30:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668326144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":163797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:30:40] local.INFO: GPS data processed {"connection_id":163797,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:30:40] local.INFO: Acknowledgment sent {"connection_id":163797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:31:11] local.INFO: TCP Data received {"connection_id":163797,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:31:11] local.INFO: Processing buffer {"connection_id":163797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:31:11] local.INFO: Packet analysis {"connection_id":163797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f3a"} 
[2026-08-26 23:31:11] local.INFO: Extracted packet for processing {"connection_id":163797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f3a"} 
[2026-08-26 23:31:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668326144001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23: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-26 23:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787767200000,"timestamp_ms":1787767200000,"timestamp_seconds":1787767200,"priority":1,"record_length":96,"hex_timestamp":"000001a03f3a9900"} 
[2026-08-26 23: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-26 23:31: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-26 23: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":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:31: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-26 23: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-26 23: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-26 23:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:31: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-26 23:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668326144001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668326144001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:31:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:31:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668326144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":163797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:31:11] local.INFO: GPS data processed {"connection_id":163797,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:31:11] local.INFO: Acknowledgment sent {"connection_id":163797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:31:41] local.INFO: TCP Data received {"connection_id":162786,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:31:41] local.INFO: Processing buffer {"connection_id":162786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:31:41] local.INFO: IMEI packet received {"connection_id":162786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":162786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:31:46] local.INFO: TCP Data received {"connection_id":162786,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:31:46] local.INFO: Processing buffer {"connection_id":162786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:31:46] local.INFO: IMEI packet received {"connection_id":162786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":162786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:31:46] local.INFO: TCP Data received {"connection_id":162786,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:31:46] local.INFO: Processing buffer {"connection_id":162786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:31:46] local.INFO: Packet analysis {"connection_id":162786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f3a"} 
[2026-08-26 23:31:46] local.INFO: Extracted packet for processing {"connection_id":162786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f3a"} 
[2026-08-26 23:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668326144001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 23:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787767200000,"timestamp_ms":1787767200000,"timestamp_seconds":1787767200,"priority":1,"record_length":96,"hex_timestamp":"000001a03f3a9900"} 
[2026-08-26 23:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 23:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668326144001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668326144001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:31:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668326144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":162786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:31:46] local.INFO: GPS data processed {"connection_id":162786,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:31:46] local.INFO: Acknowledgment sent {"connection_id":162786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:31:51] local.INFO: TCP Data received {"connection_id":162786,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:31:51] local.INFO: Processing buffer {"connection_id":162786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:31:51] local.INFO: Packet analysis {"connection_id":162786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f3a"} 
[2026-08-26 23:31:51] local.INFO: Extracted packet for processing {"connection_id":162786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f3a"} 
[2026-08-26 23:31:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668326144001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 23:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787767200000,"timestamp_ms":1787767200000,"timestamp_seconds":1787767200,"priority":1,"record_length":96,"hex_timestamp":"000001a03f3a9900"} 
[2026-08-26 23:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 23:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668326144001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668326144001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:31:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:31:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668326144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":162786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:31:51] local.INFO: GPS data processed {"connection_id":162786,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:31:51] local.INFO: Acknowledgment sent {"connection_id":162786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:32:36] local.INFO: TCP Data received {"connection_id":162529,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:32:36] local.INFO: Processing buffer {"connection_id":162529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:32:36] local.INFO: IMEI packet received {"connection_id":162529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":162529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:32:41] local.INFO: TCP Data received {"connection_id":162529,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:32:41] local.INFO: Processing buffer {"connection_id":162529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:32:41] local.INFO: IMEI packet received {"connection_id":162529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":162529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:32:41] local.INFO: TCP Data received {"connection_id":162529,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:32:42] local.INFO: Processing buffer {"connection_id":162529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:32:42] local.INFO: Packet analysis {"connection_id":162529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f3a"} 
[2026-08-26 23:32:42] local.INFO: Extracted packet for processing {"connection_id":162529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f3a"} 
[2026-08-26 23:32:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668326144001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:32: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-26 23:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787767200000,"timestamp_ms":1787767200000,"timestamp_seconds":1787767200,"priority":1,"record_length":96,"hex_timestamp":"000001a03f3a9900"} 
[2026-08-26 23: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-26 23:32: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-26 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:32: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-26 23: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-26 23: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-26 23:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:32: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-26 23:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668326144001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668326144001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:32:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:32:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668326144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":162529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:32:42] local.INFO: GPS data processed {"connection_id":162529,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:32:42] local.INFO: Acknowledgment sent {"connection_id":162529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:33:13] local.INFO: TCP Data received {"connection_id":162529,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:33:13] local.INFO: Processing buffer {"connection_id":162529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:33:13] local.INFO: Packet analysis {"connection_id":162529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f3a"} 
[2026-08-26 23:33:13] local.INFO: Extracted packet for processing {"connection_id":162529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f3a"} 
[2026-08-26 23:33:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668326144001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:33: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-26 23:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787767200000,"timestamp_ms":1787767200000,"timestamp_seconds":1787767200,"priority":1,"record_length":96,"hex_timestamp":"000001a03f3a9900"} 
[2026-08-26 23: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-26 23:33: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-26 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23: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-26 23: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-26 23:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668326144001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668326144001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:33:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:33:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668326144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":162529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:33:13] local.INFO: GPS data processed {"connection_id":162529,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:33:13] local.INFO: Acknowledgment sent {"connection_id":162529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:33:36] local.INFO: TCP Data received {"connection_id":165159,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:33:36] local.INFO: Processing buffer {"connection_id":165159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:33:36] local.INFO: IMEI packet received {"connection_id":165159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":165159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:33:41] local.INFO: TCP Data received {"connection_id":165159,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:33:41] local.INFO: Processing buffer {"connection_id":165159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:33:41] local.INFO: IMEI packet received {"connection_id":165159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":165159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:33:42] local.INFO: TCP Data received {"connection_id":165159,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:33:42] local.INFO: Processing buffer {"connection_id":165159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:33:42] local.INFO: Packet analysis {"connection_id":165159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f3a"} 
[2026-08-26 23:33:42] local.INFO: Extracted packet for processing {"connection_id":165159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f3a"} 
[2026-08-26 23:33:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668326144001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23: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-26 23:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787767200000,"timestamp_ms":1787767200000,"timestamp_seconds":1787767200,"priority":1,"record_length":96,"hex_timestamp":"000001a03f3a9900"} 
[2026-08-26 23: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-26 23: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-26 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:33: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-26 23: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-26 23: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-26 23:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:33:42] 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-26 23:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668326144001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668326144001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:33:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:33:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668326144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":165159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:33:42] local.INFO: GPS data processed {"connection_id":165159,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:33:42] local.INFO: Acknowledgment sent {"connection_id":165159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:34:16] local.INFO: TCP Data received {"connection_id":165159,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:34:16] local.INFO: Processing buffer {"connection_id":165159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:34:16] local.INFO: Packet analysis {"connection_id":165159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f3a"} 
[2026-08-26 23:34:16] local.INFO: Extracted packet for processing {"connection_id":165159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f3a"} 
[2026-08-26 23:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668326144001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:34: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-26 23:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787767200000,"timestamp_ms":1787767200000,"timestamp_seconds":1787767200,"priority":1,"record_length":96,"hex_timestamp":"000001a03f3a9900"} 
[2026-08-26 23:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:34: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-26 23:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:34: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-26 23:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":165159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":165159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":165159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:34: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-26 23:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668326144001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668326144001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:34:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:34:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668326144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":165159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:34:16] local.INFO: GPS data processed {"connection_id":165159,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:34:16] local.INFO: Acknowledgment sent {"connection_id":165159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:34:36] local.INFO: TCP Data received {"connection_id":162788,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:34:36] local.INFO: Processing buffer {"connection_id":162788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:34:36] local.INFO: IMEI packet received {"connection_id":162788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":162788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:34:41] local.INFO: TCP Data received {"connection_id":162788,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:34:41] local.INFO: Processing buffer {"connection_id":162788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:34:41] local.INFO: IMEI packet received {"connection_id":162788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":162788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:34:46] local.INFO: TCP Data received {"connection_id":162788,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:34:46] local.INFO: Processing buffer {"connection_id":162788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:34:46] local.INFO: IMEI packet received {"connection_id":162788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":162788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:34:47] local.INFO: TCP Data received {"connection_id":162788,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:34:47] local.INFO: Processing buffer {"connection_id":162788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:34:47] local.INFO: Packet analysis {"connection_id":162788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f3a"} 
[2026-08-26 23:34:47] local.INFO: Extracted packet for processing {"connection_id":162788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f3a"} 
[2026-08-26 23:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668326144001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:34: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-26 23:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787767200000,"timestamp_ms":1787767200000,"timestamp_seconds":1787767200,"priority":1,"record_length":96,"hex_timestamp":"000001a03f3a9900"} 
[2026-08-26 23: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-26 23:34: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-26 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:34: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-26 23: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-26 23: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-26 23:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":162788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":162788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":162788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:34: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-26 23:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668326144001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668326144001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:34:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:34:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668326144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":162788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:34:47] local.INFO: GPS data processed {"connection_id":162788,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:34:47] local.INFO: Acknowledgment sent {"connection_id":162788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:35:18] local.INFO: TCP Data received {"connection_id":162788,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:35:18] local.INFO: Processing buffer {"connection_id":162788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f3a9900012d34c14006aa4818000b00e62b..."} 
[2026-08-26 23:35:18] local.INFO: Packet analysis {"connection_id":162788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f3a"} 
[2026-08-26 23:35:18] local.INFO: Extracted packet for processing {"connection_id":162788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f3a"} 
[2026-08-26 23:35:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668326144001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:35: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-26 23:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787767200000,"timestamp_ms":1787767200000,"timestamp_seconds":1787767200,"priority":1,"record_length":96,"hex_timestamp":"000001a03f3a9900"} 
[2026-08-26 23: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-26 23:35: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-26 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23: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-26 23: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-26 23:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:35:18] 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-26 23:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668326144001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668326144001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:35:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:35:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668326144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":162788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:35:18] local.INFO: GPS data processed {"connection_id":162788,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:35:18] local.INFO: Acknowledgment sent {"connection_id":162788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:35:35] local.INFO: TCP Data received {"connection_id":162789,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:35:35] local.INFO: Processing buffer {"connection_id":162789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:35:35] local.INFO: IMEI packet received {"connection_id":162789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":162789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:35:39] local.INFO: TCP Data received {"connection_id":162789,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:35:39] local.INFO: Processing buffer {"connection_id":162789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:35:39] local.INFO: IMEI packet received {"connection_id":162789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":162789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:35:41] local.INFO: TCP Data received {"connection_id":162789,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:35:41] local.INFO: Processing buffer {"connection_id":162789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:35:41] local.INFO: Packet analysis {"connection_id":162789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f3f"} 
[2026-08-26 23:35:41] local.INFO: Extracted packet for processing {"connection_id":162789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f3f"} 
[2026-08-26 23:35:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668403200001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:35: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-26 23:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787767501000,"timestamp_ms":1787767501000,"timestamp_seconds":1787767501,"priority":1,"record_length":96,"hex_timestamp":"000001a03f3f30c8"} 
[2026-08-26 23: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-26 23:35: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-26 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23: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-26 23: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-26 23:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668403200001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668403200001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:35:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:35:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668403200001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":162789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:35:41] local.INFO: GPS data processed {"connection_id":162789,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:35:41] local.INFO: Acknowledgment sent {"connection_id":162789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:36:12] local.INFO: TCP Data received {"connection_id":162789,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:36:12] local.INFO: Processing buffer {"connection_id":162789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:36:12] local.INFO: Packet analysis {"connection_id":162789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f3f"} 
[2026-08-26 23:36:12] local.INFO: Extracted packet for processing {"connection_id":162789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f3f"} 
[2026-08-26 23:36:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668403200001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:36: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-26 23:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787767501000,"timestamp_ms":1787767501000,"timestamp_seconds":1787767501,"priority":1,"record_length":96,"hex_timestamp":"000001a03f3f30c8"} 
[2026-08-26 23:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:36: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-26 23:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:36: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-26 23:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":162789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":162789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":162789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:36:12] 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-26 23:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668403200001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668403200001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:36:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:36:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668403200001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":162789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:36:12] local.INFO: GPS data processed {"connection_id":162789,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:36:12] local.INFO: Acknowledgment sent {"connection_id":162789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:36:36] local.INFO: TCP Data received {"connection_id":162530,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:36:36] local.INFO: Processing buffer {"connection_id":162530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:36:36] local.INFO: IMEI packet received {"connection_id":162530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":162530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:36:41] local.INFO: TCP Data received {"connection_id":162530,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:36:41] local.INFO: Processing buffer {"connection_id":162530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:36:41] local.INFO: IMEI packet received {"connection_id":162530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":162530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:36:43] local.INFO: TCP Data received {"connection_id":162530,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:36:43] local.INFO: Processing buffer {"connection_id":162530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:36:43] local.INFO: Packet analysis {"connection_id":162530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f3f"} 
[2026-08-26 23:36:43] local.INFO: Extracted packet for processing {"connection_id":162530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f3f"} 
[2026-08-26 23:36:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668403200001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:36: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-26 23:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787767501000,"timestamp_ms":1787767501000,"timestamp_seconds":1787767501,"priority":1,"record_length":96,"hex_timestamp":"000001a03f3f30c8"} 
[2026-08-26 23:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:36: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-26 23:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:36: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-26 23:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":162530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":162530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":162530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:36: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-26 23:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668403200001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668403200001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:36:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:36:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668403200001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":162530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:36:43] local.INFO: GPS data processed {"connection_id":162530,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:36:43] local.INFO: Acknowledgment sent {"connection_id":162530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:37:14] local.INFO: TCP Data received {"connection_id":162530,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:37:14] local.INFO: Processing buffer {"connection_id":162530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:37:14] local.INFO: Packet analysis {"connection_id":162530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f3f"} 
[2026-08-26 23:37:14] local.INFO: Extracted packet for processing {"connection_id":162530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f3f"} 
[2026-08-26 23:37:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668403200001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:37: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-26 23:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787767501000,"timestamp_ms":1787767501000,"timestamp_seconds":1787767501,"priority":1,"record_length":96,"hex_timestamp":"000001a03f3f30c8"} 
[2026-08-26 23: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-26 23:37: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-26 23: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":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:37: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-26 23: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-26 23: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-26 23:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:37: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-26 23:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668403200001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668403200001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:37:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:37:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668403200001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":162530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:37:14] local.INFO: GPS data processed {"connection_id":162530,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:37:14] local.INFO: Acknowledgment sent {"connection_id":162530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:37:19] local.INFO: TCP Data received {"connection_id":163798,"ip":"80.66.83.80","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-26 23:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163798,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-26 23:37:19] local.INFO: Processing buffer {"connection_id":163798,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-26 23:37:19] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":163798,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-08-26 23:37:36] local.INFO: TCP Data received {"connection_id":165160,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:37:36] local.INFO: Processing buffer {"connection_id":165160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:37:36] local.INFO: IMEI packet received {"connection_id":165160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":165160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:37:41] local.INFO: TCP Data received {"connection_id":165160,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:37:41] local.INFO: Processing buffer {"connection_id":165160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:37:41] local.INFO: IMEI packet received {"connection_id":165160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":165160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:37:41] local.INFO: TCP Data received {"connection_id":165160,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:37:41] local.INFO: Processing buffer {"connection_id":165160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:37:41] local.INFO: Packet analysis {"connection_id":165160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f3f"} 
[2026-08-26 23:37:41] local.INFO: Extracted packet for processing {"connection_id":165160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f3f"} 
[2026-08-26 23:37:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668403200001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:37: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-26 23:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787767501000,"timestamp_ms":1787767501000,"timestamp_seconds":1787767501,"priority":1,"record_length":96,"hex_timestamp":"000001a03f3f30c8"} 
[2026-08-26 23:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:37: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-26 23:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":165160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":165160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":165160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:37:41] 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-26 23:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668403200001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668403200001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:37:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:37:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668403200001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":165160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:37:41] local.INFO: GPS data processed {"connection_id":165160,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:37:41] local.INFO: Acknowledgment sent {"connection_id":165160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:38:13] local.INFO: TCP Data received {"connection_id":165160,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:38:13] local.INFO: Processing buffer {"connection_id":165160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:38:13] local.INFO: Packet analysis {"connection_id":165160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f3f"} 
[2026-08-26 23:38:13] local.INFO: Extracted packet for processing {"connection_id":165160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f3f"} 
[2026-08-26 23:38:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668403200001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:38: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-26 23:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787767501000,"timestamp_ms":1787767501000,"timestamp_seconds":1787767501,"priority":1,"record_length":96,"hex_timestamp":"000001a03f3f30c8"} 
[2026-08-26 23: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-26 23:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23: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-26 23: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-26 23:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:38:13] 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-26 23:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668403200001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668403200001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:38:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:38:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668403200001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":165160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:38:13] local.INFO: GPS data processed {"connection_id":165160,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:38:13] local.INFO: Acknowledgment sent {"connection_id":165160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:38:35] local.INFO: TCP Data received {"connection_id":165161,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:38:35] local.INFO: Processing buffer {"connection_id":165161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:38:35] local.INFO: IMEI packet received {"connection_id":165161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":165161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:38:41] local.INFO: TCP Data received {"connection_id":165161,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:38:41] local.INFO: Processing buffer {"connection_id":165161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:38:41] local.INFO: IMEI packet received {"connection_id":165161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":165161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:38:42] local.INFO: TCP Data received {"connection_id":165161,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:38:42] local.INFO: Processing buffer {"connection_id":165161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:38:42] local.INFO: Packet analysis {"connection_id":165161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f3f"} 
[2026-08-26 23:38:42] local.INFO: Extracted packet for processing {"connection_id":165161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f3f"} 
[2026-08-26 23:38:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668403200001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23: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-26 23:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787767501000,"timestamp_ms":1787767501000,"timestamp_seconds":1787767501,"priority":1,"record_length":96,"hex_timestamp":"000001a03f3f30c8"} 
[2026-08-26 23: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-26 23:38: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-26 23: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":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:38: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-26 23: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-26 23: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-26 23:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:38:42] 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-26 23:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668403200001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668403200001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:38:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:38:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668403200001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":165161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:38:42] local.INFO: GPS data processed {"connection_id":165161,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:38:42] local.INFO: Acknowledgment sent {"connection_id":165161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:39:13] local.INFO: TCP Data received {"connection_id":165161,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:39:13] local.INFO: Processing buffer {"connection_id":165161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:39:13] local.INFO: Packet analysis {"connection_id":165161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f3f"} 
[2026-08-26 23:39:13] local.INFO: Extracted packet for processing {"connection_id":165161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f3f"} 
[2026-08-26 23:39:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668403200001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:39: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-26 23:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787767501000,"timestamp_ms":1787767501000,"timestamp_seconds":1787767501,"priority":1,"record_length":96,"hex_timestamp":"000001a03f3f30c8"} 
[2026-08-26 23: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-26 23: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-26 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23: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-26 23: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-26 23:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:39: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-26 23:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668403200001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668403200001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:39:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:39:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668403200001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":165161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:39:13] local.INFO: GPS data processed {"connection_id":165161,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:39:13] local.INFO: Acknowledgment sent {"connection_id":165161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:39:35] local.INFO: TCP Data received {"connection_id":162790,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:39:35] local.INFO: Processing buffer {"connection_id":162790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:39:35] local.INFO: IMEI packet received {"connection_id":162790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":162790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:39:40] local.INFO: TCP Data received {"connection_id":162790,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:39:40] local.INFO: Processing buffer {"connection_id":162790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:39:40] local.INFO: IMEI packet received {"connection_id":162790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":162790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:39:42] local.INFO: TCP Data received {"connection_id":162790,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:39:42] local.INFO: Processing buffer {"connection_id":162790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:39:42] local.INFO: Packet analysis {"connection_id":162790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f3f"} 
[2026-08-26 23:39:42] local.INFO: Extracted packet for processing {"connection_id":162790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f3f"} 
[2026-08-26 23:39:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668403200001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:39: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-26 23:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787767501000,"timestamp_ms":1787767501000,"timestamp_seconds":1787767501,"priority":1,"record_length":96,"hex_timestamp":"000001a03f3f30c8"} 
[2026-08-26 23:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:39: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-26 23:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:39: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-26 23:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:39:42] 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-26 23:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668403200001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668403200001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:39:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:39:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668403200001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":162790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:39:42] local.INFO: GPS data processed {"connection_id":162790,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:39:42] local.INFO: Acknowledgment sent {"connection_id":162790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:40:13] local.INFO: TCP Data received {"connection_id":162790,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:40:13] local.INFO: Processing buffer {"connection_id":162790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f3f30c8012d34c14006aa4818000900e62f..."} 
[2026-08-26 23:40:13] local.INFO: Packet analysis {"connection_id":162790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f3f"} 
[2026-08-26 23:40:13] local.INFO: Extracted packet for processing {"connection_id":162790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f3f"} 
[2026-08-26 23:40:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":9,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668403200001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:40: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-26 23:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787767501000,"timestamp_ms":1787767501000,"timestamp_seconds":1787767501,"priority":1,"record_length":96,"hex_timestamp":"000001a03f3f30c8"} 
[2026-08-26 23:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 23:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:40:13] 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-26 23:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668403200001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668403200001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:40:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:40:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668403200001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":162790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:40:13] local.INFO: GPS data processed {"connection_id":162790,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:40:13] local.INFO: Acknowledgment sent {"connection_id":162790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:40:41] local.INFO: TCP Data received {"connection_id":165162,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:40:41] local.INFO: Processing buffer {"connection_id":165162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:40:41] local.INFO: IMEI packet received {"connection_id":165162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":165162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:40:41] local.INFO: TCP Data received {"connection_id":165162,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:40:41] local.INFO: Processing buffer {"connection_id":165162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:40:41] local.INFO: IMEI packet received {"connection_id":165162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":165162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:40:45] local.INFO: TCP Data received {"connection_id":165162,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:40:45] local.INFO: Processing buffer {"connection_id":165162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:40:45] local.INFO: IMEI packet received {"connection_id":165162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":165162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:40:46] local.INFO: TCP Data received {"connection_id":165162,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:40:46] local.INFO: Processing buffer {"connection_id":165162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:40:46] local.INFO: Packet analysis {"connection_id":165162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f43"} 
[2026-08-26 23:40:46] local.INFO: Extracted packet for processing {"connection_id":165162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f43"} 
[2026-08-26 23:40:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668480256001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 23:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787767802000,"timestamp_ms":1787767802000,"timestamp_seconds":1787767802,"priority":1,"record_length":96,"hex_timestamp":"000001a03f43c890"} 
[2026-08-26 23: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-26 23:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23: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-26 23: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-26 23:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":165162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":165162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":165162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:40:46] 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-26 23:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668480256001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668480256001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:40:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:40:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668480256001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":165162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:40:46] local.INFO: GPS data processed {"connection_id":165162,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:40:46] local.INFO: Acknowledgment sent {"connection_id":165162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:40:51] local.INFO: TCP Data received {"connection_id":165162,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:40:51] local.INFO: Processing buffer {"connection_id":165162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:40:51] local.INFO: Packet analysis {"connection_id":165162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f43"} 
[2026-08-26 23:40:51] local.INFO: Extracted packet for processing {"connection_id":165162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f43"} 
[2026-08-26 23:40:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 23:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668480256001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 23:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787767802000,"timestamp_ms":1787767802000,"timestamp_seconds":1787767802,"priority":1,"record_length":96,"hex_timestamp":"000001a03f43c890"} 
[2026-08-26 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-26 23:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 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-26 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-26 23:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":165162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":165162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":165162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:40:51] 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-26 23:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668480256001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668480256001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:40:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:40:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668480256001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":165162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:40:51] local.INFO: GPS data processed {"connection_id":165162,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:40:51] local.INFO: Acknowledgment sent {"connection_id":165162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:41:36] local.INFO: TCP Data received {"connection_id":162791,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:41:36] local.INFO: Processing buffer {"connection_id":162791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:41:36] local.INFO: IMEI packet received {"connection_id":162791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":162791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:41:41] local.INFO: TCP Data received {"connection_id":162791,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:41:41] local.INFO: Processing buffer {"connection_id":162791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:41:41] local.INFO: IMEI packet received {"connection_id":162791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":162791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:41:41] local.INFO: TCP Data received {"connection_id":162791,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:41:41] local.INFO: Processing buffer {"connection_id":162791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:41:41] local.INFO: Packet analysis {"connection_id":162791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f43"} 
[2026-08-26 23:41:41] local.INFO: Extracted packet for processing {"connection_id":162791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f43"} 
[2026-08-26 23:41:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668480256001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:41: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-26 23:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787767802000,"timestamp_ms":1787767802000,"timestamp_seconds":1787767802,"priority":1,"record_length":96,"hex_timestamp":"000001a03f43c890"} 
[2026-08-26 23:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:41: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-26 23:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:41: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-26 23:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:41: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-26 23:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668480256001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668480256001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:41:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:41:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668480256001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":162791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:41:41] local.INFO: GPS data processed {"connection_id":162791,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:41:41] local.INFO: Acknowledgment sent {"connection_id":162791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:42:13] local.INFO: TCP Data received {"connection_id":162791,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:42:13] local.INFO: Processing buffer {"connection_id":162791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:42:13] local.INFO: Packet analysis {"connection_id":162791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f43"} 
[2026-08-26 23:42:13] local.INFO: Extracted packet for processing {"connection_id":162791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f43"} 
[2026-08-26 23:42:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668480256001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:42: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-26 23:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787767802000,"timestamp_ms":1787767802000,"timestamp_seconds":1787767802,"priority":1,"record_length":96,"hex_timestamp":"000001a03f43c890"} 
[2026-08-26 23: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-26 23: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-26 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23: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-26 23: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-26 23:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23: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-26 23:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668480256001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668480256001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:42:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:42:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668480256001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":162791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:42:13] local.INFO: GPS data processed {"connection_id":162791,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:42:13] local.INFO: Acknowledgment sent {"connection_id":162791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:42:35] local.INFO: TCP Data received {"connection_id":163800,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:42:35] local.INFO: Processing buffer {"connection_id":163800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:42:35] local.INFO: IMEI packet received {"connection_id":163800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":163800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:42:40] local.INFO: TCP Data received {"connection_id":163800,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:42:40] local.INFO: Processing buffer {"connection_id":163800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:42:40] local.INFO: IMEI packet received {"connection_id":163800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":163800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:42:41] local.INFO: TCP Data received {"connection_id":163800,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:42:41] local.INFO: Processing buffer {"connection_id":163800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:42:41] local.INFO: Packet analysis {"connection_id":163800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f43"} 
[2026-08-26 23:42:41] local.INFO: Extracted packet for processing {"connection_id":163800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f43"} 
[2026-08-26 23:42:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668480256001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:42: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-26 23:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787767802000,"timestamp_ms":1787767802000,"timestamp_seconds":1787767802,"priority":1,"record_length":96,"hex_timestamp":"000001a03f43c890"} 
[2026-08-26 23:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:42: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-26 23:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:42: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-26 23:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:42: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-26 23:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668480256001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668480256001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:42:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:42:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668480256001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":163800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:42:41] local.INFO: GPS data processed {"connection_id":163800,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:42:41] local.INFO: Acknowledgment sent {"connection_id":163800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:43:15] local.INFO: TCP Data received {"connection_id":163800,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:43:15] local.INFO: Processing buffer {"connection_id":163800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:43:15] local.INFO: Packet analysis {"connection_id":163800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f43"} 
[2026-08-26 23:43:15] local.INFO: Extracted packet for processing {"connection_id":163800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f43"} 
[2026-08-26 23:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668480256001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:43: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-26 23:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787767802000,"timestamp_ms":1787767802000,"timestamp_seconds":1787767802,"priority":1,"record_length":96,"hex_timestamp":"000001a03f43c890"} 
[2026-08-26 23:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:43: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-26 23:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:43: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-26 23:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:43: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-26 23:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668480256001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668480256001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:43:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668480256001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":163800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:43:15] local.INFO: GPS data processed {"connection_id":163800,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:43:15] local.INFO: Acknowledgment sent {"connection_id":163800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:43:35] local.INFO: TCP Data received {"connection_id":162792,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:43:35] local.INFO: Processing buffer {"connection_id":162792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:43:35] local.INFO: IMEI packet received {"connection_id":162792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":162792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:43:40] local.INFO: TCP Data received {"connection_id":162792,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:43:40] local.INFO: Processing buffer {"connection_id":162792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:43:40] local.INFO: IMEI packet received {"connection_id":162792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":162792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:43:42] local.INFO: TCP Data received {"connection_id":162792,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:43:42] local.INFO: Processing buffer {"connection_id":162792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:43:42] local.INFO: Packet analysis {"connection_id":162792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f43"} 
[2026-08-26 23:43:42] local.INFO: Extracted packet for processing {"connection_id":162792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f43"} 
[2026-08-26 23:43:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668480256001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23: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-26 23:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787767802000,"timestamp_ms":1787767802000,"timestamp_seconds":1787767802,"priority":1,"record_length":96,"hex_timestamp":"000001a03f43c890"} 
[2026-08-26 23: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-26 23:43: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-26 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:43: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-26 23: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-26 23: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-26 23:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:43: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-26 23:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668480256001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668480256001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:43:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:43:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668480256001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":162792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:43:42] local.INFO: GPS data processed {"connection_id":162792,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:43:42] local.INFO: Acknowledgment sent {"connection_id":162792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:44:13] local.INFO: TCP Data received {"connection_id":162792,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:44:13] local.INFO: Processing buffer {"connection_id":162792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:44:13] local.INFO: Packet analysis {"connection_id":162792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f43"} 
[2026-08-26 23:44:13] local.INFO: Extracted packet for processing {"connection_id":162792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f43"} 
[2026-08-26 23:44:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668480256001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23: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-26 23:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787767802000,"timestamp_ms":1787767802000,"timestamp_seconds":1787767802,"priority":1,"record_length":96,"hex_timestamp":"000001a03f43c890"} 
[2026-08-26 23: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-26 23:44: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-26 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23: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-26 23: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-26 23:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23: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-26 23:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668480256001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668480256001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:44:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:44:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668480256001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":162792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:44:13] local.INFO: GPS data processed {"connection_id":162792,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:44:13] local.INFO: Acknowledgment sent {"connection_id":162792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:44:40] local.INFO: TCP Data received {"connection_id":162793,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:44:40] local.INFO: Processing buffer {"connection_id":162793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:44:40] local.INFO: IMEI packet received {"connection_id":162793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":162793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:44:45] local.INFO: TCP Data received {"connection_id":162793,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:44:45] local.INFO: Processing buffer {"connection_id":162793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:44:45] local.INFO: IMEI packet received {"connection_id":162793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":162793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:44:46] local.INFO: TCP Data received {"connection_id":162793,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:44:46] local.INFO: Processing buffer {"connection_id":162793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:44:46] local.INFO: Packet analysis {"connection_id":162793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f43"} 
[2026-08-26 23:44:46] local.INFO: Extracted packet for processing {"connection_id":162793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f43"} 
[2026-08-26 23:44:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 23:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668480256001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 23:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787767802000,"timestamp_ms":1787767802000,"timestamp_seconds":1787767802,"priority":1,"record_length":96,"hex_timestamp":"000001a03f43c890"} 
[2026-08-26 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-26 23:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 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-26 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-26 23:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668480256001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668480256001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:44:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:44:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668480256001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":162793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:44:46] local.INFO: GPS data processed {"connection_id":162793,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:44:46] local.INFO: Acknowledgment sent {"connection_id":162793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:44:51] local.INFO: TCP Data received {"connection_id":162793,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:44:51] local.INFO: Processing buffer {"connection_id":162793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:44:51] local.INFO: Packet analysis {"connection_id":162793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f43"} 
[2026-08-26 23:44:51] local.INFO: Extracted packet for processing {"connection_id":162793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f43"} 
[2026-08-26 23:44:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668480256001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 23:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787767802000,"timestamp_ms":1787767802000,"timestamp_seconds":1787767802,"priority":1,"record_length":96,"hex_timestamp":"000001a03f43c890"} 
[2026-08-26 23: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-26 23:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23: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-26 23: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-26 23:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":162793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":162793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":162793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668480256001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668480256001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:44:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:44:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668480256001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":162793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:44:51] local.INFO: GPS data processed {"connection_id":162793,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:44:51] local.INFO: Acknowledgment sent {"connection_id":162793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:45:36] local.INFO: TCP Data received {"connection_id":162794,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:45:36] local.INFO: Processing buffer {"connection_id":162794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:45:36] local.INFO: IMEI packet received {"connection_id":162794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":162794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:45:41] local.INFO: TCP Data received {"connection_id":162794,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:45:41] local.INFO: Processing buffer {"connection_id":162794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:45:41] local.INFO: IMEI packet received {"connection_id":162794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":162794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:45:41] local.INFO: TCP Data received {"connection_id":162794,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:45:41] local.INFO: Processing buffer {"connection_id":162794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f43c890012d34c14006aa4818000f00e62d..."} 
[2026-08-26 23:45:41] local.INFO: Packet analysis {"connection_id":162794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f43"} 
[2026-08-26 23:45:41] local.INFO: Extracted packet for processing {"connection_id":162794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f43"} 
[2026-08-26 23:45:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668480256001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23: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-26 23:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787767802000,"timestamp_ms":1787767802000,"timestamp_seconds":1787767802,"priority":1,"record_length":96,"hex_timestamp":"000001a03f43c890"} 
[2026-08-26 23: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-26 23:45: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-26 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:45: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-26 23: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-26 23: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-26 23:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:45:41] 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-26 23:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668480256001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668480256001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:45:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:45:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668480256001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":162794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:45:41] local.INFO: GPS data processed {"connection_id":162794,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:45:41] local.INFO: Acknowledgment sent {"connection_id":162794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:46:14] local.INFO: TCP Data received {"connection_id":162794,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:46:14] local.INFO: Processing buffer {"connection_id":162794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:46:14] local.INFO: Packet analysis {"connection_id":162794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f48"} 
[2026-08-26 23:46:14] local.INFO: Extracted packet for processing {"connection_id":162794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f48"} 
[2026-08-26 23:46:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668557312001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23: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-26 23:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787768103000,"timestamp_ms":1787768103000,"timestamp_seconds":1787768103,"priority":1,"record_length":96,"hex_timestamp":"000001a03f486058"} 
[2026-08-26 23:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:46: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-26 23:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:46: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-26 23:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":162794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":162794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":162794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:46: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-26 23:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668557312001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668557312001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:46:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:46:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668557312001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":162794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:46:14] local.INFO: GPS data processed {"connection_id":162794,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:46:14] local.INFO: Acknowledgment sent {"connection_id":162794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:46:35] local.INFO: TCP Data received {"connection_id":163801,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:46:35] local.INFO: Processing buffer {"connection_id":163801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:46:35] local.INFO: IMEI packet received {"connection_id":163801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":163801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:46:41] local.INFO: TCP Data received {"connection_id":163801,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:46:41] local.INFO: Processing buffer {"connection_id":163801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:46:41] local.INFO: IMEI packet received {"connection_id":163801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":163801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:46:42] local.INFO: TCP Data received {"connection_id":163801,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:46:42] local.INFO: Processing buffer {"connection_id":163801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:46:42] local.INFO: Packet analysis {"connection_id":163801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f48"} 
[2026-08-26 23:46:42] local.INFO: Extracted packet for processing {"connection_id":163801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f48"} 
[2026-08-26 23:46:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668557312001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:46: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-26 23:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787768103000,"timestamp_ms":1787768103000,"timestamp_seconds":1787768103,"priority":1,"record_length":96,"hex_timestamp":"000001a03f486058"} 
[2026-08-26 23:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:46: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-26 23:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:46: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-26 23:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:46: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-26 23:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668557312001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668557312001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:46:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:46:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668557312001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":163801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:46:42] local.INFO: GPS data processed {"connection_id":163801,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:46:42] local.INFO: Acknowledgment sent {"connection_id":163801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:47:13] local.INFO: TCP Data received {"connection_id":163801,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:47:13] local.INFO: Processing buffer {"connection_id":163801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:47:13] local.INFO: Packet analysis {"connection_id":163801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f48"} 
[2026-08-26 23:47:13] local.INFO: Extracted packet for processing {"connection_id":163801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f48"} 
[2026-08-26 23:47:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668557312001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:47: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-26 23:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787768103000,"timestamp_ms":1787768103000,"timestamp_seconds":1787768103,"priority":1,"record_length":96,"hex_timestamp":"000001a03f486058"} 
[2026-08-26 23: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-26 23: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-26 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23: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-26 23: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-26 23:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:47: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-26 23:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668557312001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668557312001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:47:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:47:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668557312001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":163801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:47:13] local.INFO: GPS data processed {"connection_id":163801,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:47:13] local.INFO: Acknowledgment sent {"connection_id":163801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:47:41] local.INFO: TCP Data received {"connection_id":165163,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:47:41] local.INFO: Processing buffer {"connection_id":165163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:47:41] local.INFO: IMEI packet received {"connection_id":165163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":165163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:47:46] local.INFO: TCP Data received {"connection_id":165163,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:47:46] local.INFO: Processing buffer {"connection_id":165163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:47:46] local.INFO: IMEI packet received {"connection_id":165163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":165163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:47:47] local.INFO: TCP Data received {"connection_id":165163,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:47:47] local.INFO: Processing buffer {"connection_id":165163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:47:47] local.INFO: Packet analysis {"connection_id":165163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f48"} 
[2026-08-26 23:47:47] local.INFO: Extracted packet for processing {"connection_id":165163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f48"} 
[2026-08-26 23:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 23:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668557312001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:47: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-26 23:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787768103000,"timestamp_ms":1787768103000,"timestamp_seconds":1787768103,"priority":1,"record_length":96,"hex_timestamp":"000001a03f486058"} 
[2026-08-26 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-26 23:47: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-26 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:47: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-26 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-26 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-26 23:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668557312001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668557312001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:47:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:47:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668557312001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":165163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:47:47] local.INFO: GPS data processed {"connection_id":165163,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:47:47] local.INFO: Acknowledgment sent {"connection_id":165163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:47:51] local.INFO: TCP Data received {"connection_id":165163,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:47:51] local.INFO: Processing buffer {"connection_id":165163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:47:51] local.INFO: Packet analysis {"connection_id":165163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f48"} 
[2026-08-26 23:47:51] local.INFO: Extracted packet for processing {"connection_id":165163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f48"} 
[2026-08-26 23:47:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668557312001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 23:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787768103000,"timestamp_ms":1787768103000,"timestamp_seconds":1787768103,"priority":1,"record_length":96,"hex_timestamp":"000001a03f486058"} 
[2026-08-26 23: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-26 23:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23: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-26 23: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-26 23:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":165163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":165163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":165163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668557312001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668557312001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:47:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:47:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668557312001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":165163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:47:51] local.INFO: GPS data processed {"connection_id":165163,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:47:51] local.INFO: Acknowledgment sent {"connection_id":165163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:48:35] local.INFO: TCP Data received {"connection_id":162532,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:48:35] local.INFO: Processing buffer {"connection_id":162532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:48:35] local.INFO: IMEI packet received {"connection_id":162532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":162532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:48:40] local.INFO: TCP Data received {"connection_id":162532,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:48:40] local.INFO: Processing buffer {"connection_id":162532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:48:40] local.INFO: IMEI packet received {"connection_id":162532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":162532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:48:41] local.INFO: TCP Data received {"connection_id":162532,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:48:41] local.INFO: Processing buffer {"connection_id":162532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:48:41] local.INFO: Packet analysis {"connection_id":162532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f48"} 
[2026-08-26 23:48:41] local.INFO: Extracted packet for processing {"connection_id":162532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f48"} 
[2026-08-26 23:48:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668557312001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23: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-26 23:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787768103000,"timestamp_ms":1787768103000,"timestamp_seconds":1787768103,"priority":1,"record_length":96,"hex_timestamp":"000001a03f486058"} 
[2026-08-26 23: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-26 23:48: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-26 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:48: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-26 23: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-26 23: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-26 23:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:48: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-26 23:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668557312001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668557312001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:48:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:48:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668557312001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":162532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:48:41] local.INFO: GPS data processed {"connection_id":162532,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:48:41] local.INFO: Acknowledgment sent {"connection_id":162532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:49:13] local.INFO: TCP Data received {"connection_id":162532,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:49:13] local.INFO: Processing buffer {"connection_id":162532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:49:13] local.INFO: Packet analysis {"connection_id":162532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f48"} 
[2026-08-26 23:49:13] local.INFO: Extracted packet for processing {"connection_id":162532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f48"} 
[2026-08-26 23:49:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668557312001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:49: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-26 23:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787768103000,"timestamp_ms":1787768103000,"timestamp_seconds":1787768103,"priority":1,"record_length":96,"hex_timestamp":"000001a03f486058"} 
[2026-08-26 23: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-26 23:49: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-26 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23: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-26 23: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-26 23:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:49:13] 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-26 23:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668557312001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668557312001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:49:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:49:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668557312001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":162532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:49:13] local.INFO: GPS data processed {"connection_id":162532,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:49:13] local.INFO: Acknowledgment sent {"connection_id":162532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:49:35] local.INFO: TCP Data received {"connection_id":163802,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:49:35] local.INFO: Processing buffer {"connection_id":163802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:49:35] local.INFO: IMEI packet received {"connection_id":163802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":163802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:49:41] local.INFO: TCP Data received {"connection_id":163802,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:49:41] local.INFO: Processing buffer {"connection_id":163802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:49:41] local.INFO: IMEI packet received {"connection_id":163802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":163802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:49:41] local.INFO: TCP Data received {"connection_id":163802,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:49:41] local.INFO: Processing buffer {"connection_id":163802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:49:41] local.INFO: Packet analysis {"connection_id":163802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f48"} 
[2026-08-26 23:49:41] local.INFO: Extracted packet for processing {"connection_id":163802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f48"} 
[2026-08-26 23:49:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668557312001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:49: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-26 23:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787768103000,"timestamp_ms":1787768103000,"timestamp_seconds":1787768103,"priority":1,"record_length":96,"hex_timestamp":"000001a03f486058"} 
[2026-08-26 23: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-26 23:49: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-26 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:49: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-26 23: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-26 23: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-26 23:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:49: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-26 23:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668557312001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668557312001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:49:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:49:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668557312001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":163802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:49:41] local.INFO: GPS data processed {"connection_id":163802,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:49:41] local.INFO: Acknowledgment sent {"connection_id":163802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:50:13] local.INFO: TCP Data received {"connection_id":163802,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:50:13] local.INFO: Processing buffer {"connection_id":163802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:50:13] local.INFO: Packet analysis {"connection_id":163802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f48"} 
[2026-08-26 23:50:13] local.INFO: Extracted packet for processing {"connection_id":163802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f48"} 
[2026-08-26 23:50:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668557312001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:50: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-26 23:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787768103000,"timestamp_ms":1787768103000,"timestamp_seconds":1787768103,"priority":1,"record_length":96,"hex_timestamp":"000001a03f486058"} 
[2026-08-26 23:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:50: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-26 23:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:50: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-26 23:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668557312001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668557312001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:50:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:50:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668557312001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":163802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:50:13] local.INFO: GPS data processed {"connection_id":163802,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:50:13] local.INFO: Acknowledgment sent {"connection_id":163802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:50:35] local.INFO: TCP Data received {"connection_id":165164,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:50:35] local.INFO: Processing buffer {"connection_id":165164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:50:35] local.INFO: IMEI packet received {"connection_id":165164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":165164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:50:41] local.INFO: TCP Data received {"connection_id":165164,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:50:41] local.INFO: Processing buffer {"connection_id":165164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:50:41] local.INFO: IMEI packet received {"connection_id":165164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":165164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:50:42] local.INFO: TCP Data received {"connection_id":165164,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:50:42] local.INFO: Processing buffer {"connection_id":165164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f486058012d34c14006aa4818000e00e62e..."} 
[2026-08-26 23:50:42] local.INFO: Packet analysis {"connection_id":165164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f48"} 
[2026-08-26 23:50:42] local.INFO: Extracted packet for processing {"connection_id":165164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f48"} 
[2026-08-26 23:50:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":14,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668557312001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:50: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-26 23:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787768103000,"timestamp_ms":1787768103000,"timestamp_seconds":1787768103,"priority":1,"record_length":96,"hex_timestamp":"000001a03f486058"} 
[2026-08-26 23:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:50: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-26 23:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:50: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-26 23:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:50: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-26 23:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668557312001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668557312001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:50:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:50:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668557312001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":165164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:50:42] local.INFO: GPS data processed {"connection_id":165164,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:50:42] local.INFO: Acknowledgment sent {"connection_id":165164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:51:13] local.INFO: TCP Data received {"connection_id":165164,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:51:13] local.INFO: Processing buffer {"connection_id":165164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:51:13] local.INFO: Packet analysis {"connection_id":165164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f4c"} 
[2026-08-26 23:51:13] local.INFO: Extracted packet for processing {"connection_id":165164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f4c"} 
[2026-08-26 23:51:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668634368001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:51: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-26 23:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787768404000,"timestamp_ms":1787768404000,"timestamp_seconds":1787768404,"priority":1,"record_length":96,"hex_timestamp":"000001a03f4cf820"} 
[2026-08-26 23:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:51: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-26 23:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:51: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-26 23:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668634368001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668634368001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:51:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:51:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668634368001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":165164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:51:13] local.INFO: GPS data processed {"connection_id":165164,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:51:13] local.INFO: Acknowledgment sent {"connection_id":165164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:51:35] local.INFO: TCP Data received {"connection_id":162533,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:51:35] local.INFO: Processing buffer {"connection_id":162533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:51:35] local.INFO: IMEI packet received {"connection_id":162533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":162533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:51:40] local.INFO: TCP Data received {"connection_id":162533,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:51:40] local.INFO: Processing buffer {"connection_id":162533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:51:40] local.INFO: IMEI packet received {"connection_id":162533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":162533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:51:41] local.INFO: TCP Data received {"connection_id":162533,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:51:41] local.INFO: Processing buffer {"connection_id":162533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:51:41] local.INFO: Packet analysis {"connection_id":162533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f4c"} 
[2026-08-26 23:51:41] local.INFO: Extracted packet for processing {"connection_id":162533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f4c"} 
[2026-08-26 23:51:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668634368001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:51: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-26 23:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787768404000,"timestamp_ms":1787768404000,"timestamp_seconds":1787768404,"priority":1,"record_length":96,"hex_timestamp":"000001a03f4cf820"} 
[2026-08-26 23:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:51: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-26 23:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:51: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-26 23:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:51: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-26 23:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668634368001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668634368001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:51:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:51:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668634368001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":162533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:51:41] local.INFO: GPS data processed {"connection_id":162533,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:51:41] local.INFO: Acknowledgment sent {"connection_id":162533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:52:15] local.INFO: TCP Data received {"connection_id":162533,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:52:15] local.INFO: Processing buffer {"connection_id":162533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:52:15] local.INFO: Packet analysis {"connection_id":162533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f4c"} 
[2026-08-26 23:52:15] local.INFO: Extracted packet for processing {"connection_id":162533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f4c"} 
[2026-08-26 23:52:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668634368001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:52: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-26 23:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787768404000,"timestamp_ms":1787768404000,"timestamp_seconds":1787768404,"priority":1,"record_length":96,"hex_timestamp":"000001a03f4cf820"} 
[2026-08-26 23:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:52: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-26 23:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:52: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-26 23:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":162533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":162533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":162533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:52: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-26 23:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668634368001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668634368001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:52:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:52:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668634368001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":162533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:52:15] local.INFO: GPS data processed {"connection_id":162533,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:52:15] local.INFO: Acknowledgment sent {"connection_id":162533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:52:36] local.INFO: TCP Data received {"connection_id":165165,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:52:36] local.INFO: Processing buffer {"connection_id":165165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:52:36] local.INFO: IMEI packet received {"connection_id":165165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":165165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:52:40] local.INFO: TCP Data received {"connection_id":165165,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:52:40] local.INFO: Processing buffer {"connection_id":165165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:52:40] local.INFO: IMEI packet received {"connection_id":165165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":165165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:52:42] local.INFO: TCP Data received {"connection_id":165165,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:52:42] local.INFO: Processing buffer {"connection_id":165165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:52:42] local.INFO: Packet analysis {"connection_id":165165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f4c"} 
[2026-08-26 23:52:42] local.INFO: Extracted packet for processing {"connection_id":165165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f4c"} 
[2026-08-26 23:52:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668634368001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:52: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-26 23:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787768404000,"timestamp_ms":1787768404000,"timestamp_seconds":1787768404,"priority":1,"record_length":96,"hex_timestamp":"000001a03f4cf820"} 
[2026-08-26 23: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-26 23:52: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-26 23: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":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:52: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-26 23: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-26 23: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-26 23:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:52: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-26 23:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668634368001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668634368001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:52:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:52:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668634368001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":165165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:52:42] local.INFO: GPS data processed {"connection_id":165165,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:52:42] local.INFO: Acknowledgment sent {"connection_id":165165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:53:13] local.INFO: TCP Data received {"connection_id":165165,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:53:13] local.INFO: Processing buffer {"connection_id":165165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:53:13] local.INFO: Packet analysis {"connection_id":165165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f4c"} 
[2026-08-26 23:53:13] local.INFO: Extracted packet for processing {"connection_id":165165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f4c"} 
[2026-08-26 23:53:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668634368001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:53: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-26 23:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787768404000,"timestamp_ms":1787768404000,"timestamp_seconds":1787768404,"priority":1,"record_length":96,"hex_timestamp":"000001a03f4cf820"} 
[2026-08-26 23: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-26 23: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-26 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23: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-26 23: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-26 23:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668634368001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668634368001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:53:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:53:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668634368001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":165165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:53:13] local.INFO: GPS data processed {"connection_id":165165,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:53:13] local.INFO: Acknowledgment sent {"connection_id":165165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:53:35] local.INFO: TCP Data received {"connection_id":162535,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:53:35] local.INFO: Processing buffer {"connection_id":162535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:53:35] local.INFO: IMEI packet received {"connection_id":162535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":162535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:53:41] local.INFO: TCP Data received {"connection_id":162535,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:53:41] local.INFO: Processing buffer {"connection_id":162535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:53:41] local.INFO: IMEI packet received {"connection_id":162535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":162535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:53:41] local.INFO: TCP Data received {"connection_id":162535,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:53:41] local.INFO: Processing buffer {"connection_id":162535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:53:41] local.INFO: Packet analysis {"connection_id":162535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f4c"} 
[2026-08-26 23:53:41] local.INFO: Extracted packet for processing {"connection_id":162535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f4c"} 
[2026-08-26 23:53:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668634368001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:53: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-26 23:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787768404000,"timestamp_ms":1787768404000,"timestamp_seconds":1787768404,"priority":1,"record_length":96,"hex_timestamp":"000001a03f4cf820"} 
[2026-08-26 23:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:53: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-26 23:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23: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-26 23:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668634368001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668634368001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:53:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:53:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668634368001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":162535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:53:41] local.INFO: GPS data processed {"connection_id":162535,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:53:41] local.INFO: Acknowledgment sent {"connection_id":162535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:54:13] local.INFO: TCP Data received {"connection_id":162535,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:54:13] local.INFO: Processing buffer {"connection_id":162535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:54:13] local.INFO: Packet analysis {"connection_id":162535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f4c"} 
[2026-08-26 23:54:13] local.INFO: Extracted packet for processing {"connection_id":162535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f4c"} 
[2026-08-26 23:54:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 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-26 23:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668634368001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:54: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-26 23:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787768404000,"timestamp_ms":1787768404000,"timestamp_seconds":1787768404,"priority":1,"record_length":96,"hex_timestamp":"000001a03f4cf820"} 
[2026-08-26 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-26 23:54: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-26 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 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-26 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-26 23:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:54:13] 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-26 23:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668634368001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668634368001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:54:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:54:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668634368001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":162535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:54:13] local.INFO: GPS data processed {"connection_id":162535,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:54:13] local.INFO: Acknowledgment sent {"connection_id":162535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:54:35] local.INFO: TCP Data received {"connection_id":165166,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:54:35] local.INFO: Processing buffer {"connection_id":165166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:54:35] local.INFO: IMEI packet received {"connection_id":165166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":165166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:54:40] local.INFO: TCP Data received {"connection_id":165166,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:54:40] local.INFO: Processing buffer {"connection_id":165166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:54:40] local.INFO: IMEI packet received {"connection_id":165166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":165166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:54:42] local.INFO: TCP Data received {"connection_id":165166,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:54:42] local.INFO: Processing buffer {"connection_id":165166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:54:42] local.INFO: Packet analysis {"connection_id":165166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f4c"} 
[2026-08-26 23:54:42] local.INFO: Extracted packet for processing {"connection_id":165166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f4c"} 
[2026-08-26 23:54:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668634368001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:54: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-26 23:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787768404000,"timestamp_ms":1787768404000,"timestamp_seconds":1787768404,"priority":1,"record_length":96,"hex_timestamp":"000001a03f4cf820"} 
[2026-08-26 23:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:54: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-26 23:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:54: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-26 23:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:54: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-26 23:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668634368001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668634368001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:54:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:54:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668634368001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":165166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:54:42] local.INFO: GPS data processed {"connection_id":165166,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:54:42] local.INFO: Acknowledgment sent {"connection_id":165166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:55:13] local.INFO: TCP Data received {"connection_id":165166,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:55:13] local.INFO: Processing buffer {"connection_id":165166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f4cf820012d34c14006aa4818000a00e62d..."} 
[2026-08-26 23:55:13] local.INFO: Packet analysis {"connection_id":165166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f4c"} 
[2026-08-26 23:55:13] local.INFO: Extracted packet for processing {"connection_id":165166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f4c"} 
[2026-08-26 23:55:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":10,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668634368001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:55: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-26 23:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787768404000,"timestamp_ms":1787768404000,"timestamp_seconds":1787768404,"priority":1,"record_length":96,"hex_timestamp":"000001a03f4cf820"} 
[2026-08-26 23:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:55: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-26 23:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-26 23:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668634368001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668634368001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:55:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:55:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668634368001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":165166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:55:13] local.INFO: GPS data processed {"connection_id":165166,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:55:13] local.INFO: Acknowledgment sent {"connection_id":165166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:55:41] local.INFO: TCP Data received {"connection_id":162536,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:55:41] local.INFO: Processing buffer {"connection_id":162536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:55:41] local.INFO: IMEI packet received {"connection_id":162536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":162536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:55:43] local.INFO: TCP Data received {"connection_id":162536,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:55:43] local.INFO: Processing buffer {"connection_id":162536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:55:43] local.INFO: IMEI packet received {"connection_id":162536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":162536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:55:44] local.INFO: TCP Data received {"connection_id":162536,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:55:44] local.INFO: Processing buffer {"connection_id":162536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:55:44] local.INFO: Packet analysis {"connection_id":162536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f51"} 
[2026-08-26 23:55:44] local.INFO: Extracted packet for processing {"connection_id":162536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f51"} 
[2026-08-26 23:55:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668711424001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:55: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-26 23:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787768705000,"timestamp_ms":1787768705000,"timestamp_seconds":1787768705,"priority":1,"record_length":96,"hex_timestamp":"000001a03f518fe8"} 
[2026-08-26 23:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:55: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-26 23:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":162536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":162536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":162536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:55:44] 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-26 23:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668711424001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668711424001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:55:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:55:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668711424001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":162536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:55:44] local.INFO: GPS data processed {"connection_id":162536,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:55:44] local.INFO: Acknowledgment sent {"connection_id":162536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:55:46] local.INFO: TCP Data received {"connection_id":162536,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:55:46] local.INFO: Processing buffer {"connection_id":162536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:55:46] local.INFO: Packet analysis {"connection_id":162536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f51"} 
[2026-08-26 23:55:46] local.INFO: Extracted packet for processing {"connection_id":162536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f51"} 
[2026-08-26 23:55:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668711424001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 23:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787768705000,"timestamp_ms":1787768705000,"timestamp_seconds":1787768705,"priority":1,"record_length":96,"hex_timestamp":"000001a03f518fe8"} 
[2026-08-26 23:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 23:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":162536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":162536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":162536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:55:46] 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-26 23:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668711424001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668711424001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:55:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668711424001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":162536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:55:46] local.INFO: GPS data processed {"connection_id":162536,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:55:46] local.INFO: Acknowledgment sent {"connection_id":162536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:56:18] local.INFO: TCP Data received {"connection_id":162536,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:56:18] local.INFO: Processing buffer {"connection_id":162536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:56:18] local.INFO: Packet analysis {"connection_id":162536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f51"} 
[2026-08-26 23:56:18] local.INFO: Extracted packet for processing {"connection_id":162536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f51"} 
[2026-08-26 23:56:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668711424001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:56: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-26 23:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787768705000,"timestamp_ms":1787768705000,"timestamp_seconds":1787768705,"priority":1,"record_length":96,"hex_timestamp":"000001a03f518fe8"} 
[2026-08-26 23: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-26 23:56: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-26 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23: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-26 23: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-26 23:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":162536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":162536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":162536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:56:18] 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-26 23:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668711424001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668711424001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:56:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:56:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668711424001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":162536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:56:18] local.INFO: GPS data processed {"connection_id":162536,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:56:18] local.INFO: Acknowledgment sent {"connection_id":162536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:56:35] local.INFO: TCP Data received {"connection_id":162795,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:56:35] local.INFO: Processing buffer {"connection_id":162795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:56:35] local.INFO: IMEI packet received {"connection_id":162795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":162795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:56:40] local.INFO: TCP Data received {"connection_id":162795,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:56:40] local.INFO: Processing buffer {"connection_id":162795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:56:40] local.INFO: IMEI packet received {"connection_id":162795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":162795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:56:41] local.INFO: TCP Data received {"connection_id":162795,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:56:41] local.INFO: Processing buffer {"connection_id":162795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:56:41] local.INFO: Packet analysis {"connection_id":162795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f51"} 
[2026-08-26 23:56:41] local.INFO: Extracted packet for processing {"connection_id":162795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f51"} 
[2026-08-26 23:56:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668711424001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23: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-26 23:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787768705000,"timestamp_ms":1787768705000,"timestamp_seconds":1787768705,"priority":1,"record_length":96,"hex_timestamp":"000001a03f518fe8"} 
[2026-08-26 23: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-26 23:56: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-26 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23: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-26 23: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-26 23:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":162795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":162795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":162795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:56:41] 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-26 23:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668711424001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 23:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668711424001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:56:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:56:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668711424001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":162795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:56:41] local.INFO: GPS data processed {"connection_id":162795,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:56:41] local.INFO: Acknowledgment sent {"connection_id":162795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:57:13] local.INFO: TCP Data received {"connection_id":162795,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:57:13] local.INFO: Processing buffer {"connection_id":162795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:57:13] local.INFO: Packet analysis {"connection_id":162795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f51"} 
[2026-08-26 23:57:13] local.INFO: Extracted packet for processing {"connection_id":162795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f51"} 
[2026-08-26 23:57:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668711424001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:57: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-26 23:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787768705000,"timestamp_ms":1787768705000,"timestamp_seconds":1787768705,"priority":1,"record_length":96,"hex_timestamp":"000001a03f518fe8"} 
[2026-08-26 23: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-26 23:57: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-26 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23: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-26 23: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-26 23:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:57:13] 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-26 23:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668711424001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-26 23:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668711424001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:57:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:57:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668711424001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":162795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:57:13] local.INFO: GPS data processed {"connection_id":162795,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:57:13] local.INFO: Acknowledgment sent {"connection_id":162795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:57:35] local.INFO: TCP Data received {"connection_id":162537,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:57:35] local.INFO: Processing buffer {"connection_id":162537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:57:35] local.INFO: IMEI packet received {"connection_id":162537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":162537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:57:40] local.INFO: TCP Data received {"connection_id":162537,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:57:40] local.INFO: Processing buffer {"connection_id":162537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:57:40] local.INFO: IMEI packet received {"connection_id":162537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":162537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:57:42] local.INFO: TCP Data received {"connection_id":162537,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:57:42] local.INFO: Processing buffer {"connection_id":162537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:57:42] local.INFO: Packet analysis {"connection_id":162537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f51"} 
[2026-08-26 23:57:42] local.INFO: Extracted packet for processing {"connection_id":162537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f51"} 
[2026-08-26 23:57:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-26 23:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668711424001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:57: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-26 23:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787768705000,"timestamp_ms":1787768705000,"timestamp_seconds":1787768705,"priority":1,"record_length":96,"hex_timestamp":"000001a03f518fe8"} 
[2026-08-26 23:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:57: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-26 23:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:57: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-26 23:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-26 23:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":162537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":162537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":162537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:57: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-26 23:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668711424001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668711424001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:57:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:57:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668711424001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":162537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:57:42] local.INFO: GPS data processed {"connection_id":162537,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:57:42] local.INFO: Acknowledgment sent {"connection_id":162537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:58:13] local.INFO: TCP Data received {"connection_id":162537,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":162537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:58:13] local.INFO: Processing buffer {"connection_id":162537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:58:13] local.INFO: Packet analysis {"connection_id":162537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f51"} 
[2026-08-26 23:58:13] local.INFO: Extracted packet for processing {"connection_id":162537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f51"} 
[2026-08-26 23:58:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668711424001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:58: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-26 23:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787768705000,"timestamp_ms":1787768705000,"timestamp_seconds":1787768705,"priority":1,"record_length":96,"hex_timestamp":"000001a03f518fe8"} 
[2026-08-26 23: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-26 23: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-26 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23: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-26 23: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-26 23:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":162537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":162537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":162537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668711424001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668711424001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:58:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:58:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668711424001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":162537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:58:14] local.INFO: GPS data processed {"connection_id":162537,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:58:14] local.INFO: Acknowledgment sent {"connection_id":162537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:58:35] local.INFO: TCP Data received {"connection_id":165168,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:58:35] local.INFO: Processing buffer {"connection_id":165168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:58:35] local.INFO: IMEI packet received {"connection_id":165168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":165168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:58:40] local.INFO: TCP Data received {"connection_id":165168,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:58:40] local.INFO: Processing buffer {"connection_id":165168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:58:40] local.INFO: IMEI packet received {"connection_id":165168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":165168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:58:42] local.INFO: TCP Data received {"connection_id":165168,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:58:42] local.INFO: Processing buffer {"connection_id":165168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:58:42] local.INFO: Packet analysis {"connection_id":165168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f51"} 
[2026-08-26 23:58:42] local.INFO: Extracted packet for processing {"connection_id":165168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f51"} 
[2026-08-26 23:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668711424001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23: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-26 23:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787768705000,"timestamp_ms":1787768705000,"timestamp_seconds":1787768705,"priority":1,"record_length":96,"hex_timestamp":"000001a03f518fe8"} 
[2026-08-26 23: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-26 23:58: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-26 23: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":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:58: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-26 23: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-26 23: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-26 23:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668711424001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668711424001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:58:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:58:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668711424001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":165168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:58:42] local.INFO: GPS data processed {"connection_id":165168,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:58:42] local.INFO: Acknowledgment sent {"connection_id":165168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:59:13] local.INFO: TCP Data received {"connection_id":165168,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:59:13] local.INFO: Processing buffer {"connection_id":165168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:59:13] local.INFO: Packet analysis {"connection_id":165168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f51"} 
[2026-08-26 23:59:13] local.INFO: Extracted packet for processing {"connection_id":165168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f51"} 
[2026-08-26 23:59:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668711424001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:59: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-26 23:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787768705000,"timestamp_ms":1787768705000,"timestamp_seconds":1787768705,"priority":1,"record_length":96,"hex_timestamp":"000001a03f518fe8"} 
[2026-08-26 23: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-26 23:59: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-26 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23: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-26 23: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-26 23:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:59: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-26 23:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668711424001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668711424001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:59:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:59:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668711424001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":165168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:59:13] local.INFO: GPS data processed {"connection_id":165168,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:59:13] local.INFO: Acknowledgment sent {"connection_id":165168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:59:40] local.INFO: TCP Data received {"connection_id":163803,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:59:40] local.INFO: Processing buffer {"connection_id":163803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:59:40] local.INFO: IMEI packet received {"connection_id":163803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-26 23:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":163803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-26 23:59:46] local.INFO: TCP Data received {"connection_id":163803,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:59:46] local.INFO: Processing buffer {"connection_id":163803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-26 23:59:46] local.INFO: IMEI packet received {"connection_id":163803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-26 23:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":163803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-26 23:59:47] local.INFO: TCP Data received {"connection_id":163803,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:59:47] local.INFO: Processing buffer {"connection_id":163803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:59:47] local.INFO: Packet analysis {"connection_id":163803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f51"} 
[2026-08-26 23:59:47] local.INFO: Extracted packet for processing {"connection_id":163803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f51"} 
[2026-08-26 23:59:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23: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-26 23:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668711424001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:59: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-26 23:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787768705000,"timestamp_ms":1787768705000,"timestamp_seconds":1787768705,"priority":1,"record_length":96,"hex_timestamp":"000001a03f518fe8"} 
[2026-08-26 23: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-26 23:59: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-26 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:59: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-26 23: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-26 23: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-26 23:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668711424001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668711424001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:59:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:59:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668711424001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":163803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:59:47] local.INFO: GPS data processed {"connection_id":163803,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:59:47] local.INFO: Acknowledgment sent {"connection_id":163803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-26 23:59:51] local.INFO: TCP Data received {"connection_id":163803,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:59:51] local.INFO: Processing buffer {"connection_id":163803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a03f518fe8012d34c14006aa4818000f00e630..."} 
[2026-08-26 23:59:51] local.INFO: Packet analysis {"connection_id":163803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a03f51"} 
[2026-08-26 23:59:51] local.INFO: Extracted packet for processing {"connection_id":163803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a03f51"} 
[2026-08-26 23:59:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":15,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-26 23:59: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-26 23:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457668711424001,"note":"Value kept but may cause issues"} 
[2026-08-26 23:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-26 23:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-26 23:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-26 23:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787768705000,"timestamp_ms":1787768705000,"timestamp_seconds":1787768705,"priority":1,"record_length":96,"hex_timestamp":"000001a03f518fe8"} 
[2026-08-26 23:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-26 23:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-26 23:59: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-26 23:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE 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-26 23:59: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-26 23:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-26 23:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-26 23:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-26 23:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-26 23:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-26 23:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-26 23:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-26 23:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457668711424001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848242176},"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-26 23:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-26 23:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-26 23:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457668711424001,"description":"Unknown IO ID 0"} 
[2026-08-26 23:59:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-26 23:59:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-26 23:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-26 23:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-26 23:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457668711424001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-26 23:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":163803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":701676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-26 23:59:51] local.INFO: GPS data processed {"connection_id":163803,"processed":1,"errors":0,"total":1} 
[2026-08-26 23:59:51] local.INFO: Acknowledgment sent {"connection_id":163803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
